Skip to content

Commit

Permalink
INI configuration for TS Client
Browse files Browse the repository at this point in the history
  • Loading branch information
Rampastring committed Jul 31, 2023
1 parent c6a0649 commit 78c3a3d
Show file tree
Hide file tree
Showing 21 changed files with 514 additions and 1,202 deletions.
12 changes: 6 additions & 6 deletions src/TSMapEditor/Config/Constants.ini
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,20 @@ RenderPixelPadding=50
; Determines whether the world is flat.
; If set, disables some height-specific functionality
; that is not necessary when height levels are not used.
IsFlatWorld=true
IsFlatWorld=false

; Does Tiberium use the Theater palette instead of the Unit palette?
TheaterPaletteForTiberium=true
TheaterPaletteForTiberium=false

; The file name of the executable that the map editor expects to find from the game directory.
; Used for the verification that the user has given us the correct game directory.
ExpectedClientExecutableName=DTA.exe
ExpectedClientExecutableName=TiberianSun.exe

; Specifies the path that we should check in the Windows registry to determine
; the game installation directory (if one hasn't been defined in the map editor settings file).
; We check a key "InstallPath" in the location to determine where the user has installed their game.
; The CnCNet Client has been programmed to write its installation path to the registry by default.
GameRegistryInstallPath=SOFTWARE\DawnOfTheTiberiumAge
GameRegistryInstallPath=SOFTWARE\TiberianSun

; Should the editor consider Ares [#include] or Phobos [$Include] section?
EnableIniInclude=false
Expand All @@ -57,9 +57,9 @@ NewTheaterGenericBuilding=false
; Paths to various files that the editor loads
[FilePaths]
Rules=INI/Rules.ini
Firestorm=INI/Enhance.ini
Firestorm=INI/Firestrm.ini
Art=INI/Art.ini
ArtFS=INI/ArtE.ini
ArtFS=INI/Artfs.ini
Tutorial=INI/Tutorial.ini
Theme=INI/Theme.ini

115 changes: 34 additions & 81 deletions src/TSMapEditor/Config/EditorRules.ini
Original file line number Diff line number Diff line change
@@ -1,41 +1,26 @@
; Rules.ini overrides for the scenario editor.

[ObjectCategoryOverrides]
GDI1=GDI
GDI2=GDI
Nod1=Nod
Nod2=Nod
Allies1=Allies
Allies2=Allies
Soviet1=Soviet
Soviet2=Soviet
; GDI1=GDI
; GDI2=GDI
; Nod1=Nod
; Nod2=Nod
; Allies1=Allies
; Allies2=Allies
; Soviet1=Soviet
; Soviet2=Soviet

[ObjectCategoryPriorities]
GDI=0
Nod=1
Allies=2
Soviet=3
Special Units=4
Civilian Vehicles=5
Lifeforms=6
Trains=7
Misc=9001
Neutral=2
Special=3

[Houses]
0=GDI
1=Nod
2=Allies
3=Soviet
4=Neutral
5=Special
6=GDI1
7=Nod1
8=GDI2
9=Nod2
10=Allies1
11=Allies2
12=Soviet1
13=Soviet2
2=Neutral
3=Special
50=Spawn1
51=Spawn2
52=Spawn3
Expand All @@ -48,26 +33,16 @@ Misc=9001
[SPHouses]
0=GDI
1=Nod
2=Allies
3=Soviet
4=Neutral
5=Special
6=GDI1
7=Nod1
8=GDI2
9=Nod2
10=Allies1
11=Allies2
12=Soviet1
13=Soviet2
2=Neutral
3=Special

[CoopHouses]
0=GDI
1=Nod
2=Allies
3=Soviet
4=Neutral
5=Special
2=Neutral
3=Special
4=Fake4
5=Fake5
6=Fake6
7=Fake7
8=Fake8
Expand Down Expand Up @@ -104,14 +79,22 @@ Misc=9001
39=Fake39
40=Fake40
41=Fake41
42=Spawn1
43=Spawn2
44=Spawn3
45=Spawn4
46=Spawn5
47=Spawn6
48=Spawn7
49=Spawn8
42=Fake42
43=Fake43
44=Fake44
45=Fake45
46=Fake46
47=Fake47
48=Fake48
49=Fake49
50=Spawn1
51=Spawn2
52=Spawn3
53=Spawn4
54=Spawn5
55=Spawn6
56=Spawn7
57=Spawn8


[GDI]
Expand All @@ -120,42 +103,12 @@ Color=Gold
[Nod]
Color=DarkRed

[Allies]
Color=DarkSky

[Soviet]
Color=DarkRed

[Neutral]
Color=LightGrey

[Special]
Color=White

[GDI1]
Color=Yellow

[Nod1]
Color=Red

[GDI2]
Color=Orange

[Nod2]
Color=Magenta ; "metalic"

[Allies1]
Color=Blue

[Allies2]
Color=LightSky

[Soviet1]
Color=DarkOrange

[Soviet2]
Color=LightOrange


[Spawn1]
Color=Orange
Expand Down
2 changes: 1 addition & 1 deletion src/TSMapEditor/Config/FileManagerConfig.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@
4=ECache04.mix
5=ECache05.mix
6=RampaCache.mix

7=marble.mix

This file was deleted.

This file was deleted.

12 changes: 0 additions & 12 deletions src/TSMapEditor/Config/MapCode/Enable Ore Spreader Lighting.ini

This file was deleted.

23 changes: 0 additions & 23 deletions src/TSMapEditor/Config/MapCode/Enable Spreading Ore.ini

This file was deleted.

This file was deleted.

66 changes: 0 additions & 66 deletions src/TSMapEditor/Config/MapCode/Replace Tiberium With Ore.ini

This file was deleted.

Loading

0 comments on commit 78c3a3d

Please sign in to comment.