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 Aug 18, 2023
1 parent c009019 commit d1188af
Show file tree
Hide file tree
Showing 25 changed files with 750 additions and 1,438 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

107 changes: 26 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,34 +33,24 @@ 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
6=GDI1
7=Nod1
8=GDI2
9=Nod2
10=Allies1
11=Allies2
12=Soviet1
13=Soviet2
2=Neutral
3=Special
4=Fake4
5=Fake5
6=Fake6
7=Fake7
8=Fake8
9=Fake9
10=Fake10
11=Fake11
12=Fake12
13=Fake13
14=Fake14
15=Fake15
16=Fake16
Expand Down Expand Up @@ -128,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 d1188af

Please sign in to comment.