Extract common cnc campaign rules to shared includes.

This commit is contained in:
Paul Chote
2016-03-19 14:28:04 +00:00
parent 5d8824fece
commit 6ca7663579
46 changed files with 261 additions and 2444 deletions

View File

@@ -586,4 +586,4 @@ Actors:
Owner: GDI
SubCell: 1
Rules: rules.yaml
Rules: cnc|rules/campaign-maprules.yaml, cnc|rules/campaign-tooltips.yaml, cnc|rules/campaign-palettes.yaml, rules.yaml

View File

@@ -1,42 +1,4 @@
^Palettes:
-PlayerColorPalette:
IndexedPlayerPalette:
BasePalette: terrain
RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191
PlayerIndex:
GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191
Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120
Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198
Civilians: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198
IndexedPlayerPalette@units:
BasePalette: terrain
BaseName: player-units
RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191
PlayerIndex:
GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191
Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114
Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198
Civilians: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198
Player:
-ConquestVictoryConditions:
MissionObjectives:
EarlyGameOver: true
Shroud:
FogLocked: True
FogEnabled: True
ExploredMapLocked: True
ExploredMapEnabled: False
PlayerResources:
DefaultCashLocked: True
DefaultCash: 0
World:
-CrateSpawner:
-SpawnMPUnits:
-MPStartLocations:
ObjectivesPanel:
PanelName: MISSION_OBJECTIVES
LuaScript:
Scripts: nod06b.lua
MusicPlaylist:
@@ -47,75 +9,18 @@ World:
BriefingVideo: nod6.vqa
StartVideo: sundial.vqa
LossVideo: banner.vqa
MapCreeps:
Locked: True
Enabled: False
MapBuildRadius:
AllyBuildRadiusLocked: True
AllyBuildRadiusEnabled: False
MapOptions:
ShortGameLocked: True
ShortGameEnabled: False
^Vehicle:
Tooltip:
GenericVisibility: Enemy
ShowOwnerRow: false
RenderSprites:
PlayerPalette: player-units
Player:
PlayerResources:
DefaultCash: 0
^Tank:
Tooltip:
GenericVisibility: Enemy
ShowOwnerRow: false
RenderSprites:
PlayerPalette: player-units
^Infantry:
Tooltip:
GenericVisibility: Enemy
ShowOwnerRow: false
RenderSprites:
PlayerPalette: player-units
^Helicopter:
Tooltip:
GenericVisibility: Enemy
ShowOwnerRow: false
RenderSprites:
PlayerPalette: player-units
^Plane:
Tooltip:
GenericVisibility: Enemy
ShowOwnerRow: false
^Ship:
Tooltip:
GenericVisibility: Enemy
ShowOwnerRow: false
^Building:
Tooltip:
GenericVisibility: Enemy, Neutral
ShowOwnerRow: false
^CivBuilding:
Tooltip:
GenericVisibility: Enemy, Neutral
ShowOwnerRow: false
^CommonHuskDefaults:
Tooltip:
GenericVisibility: Enemy
ShowOwnerRow: false
RenderSprites:
PlayerPalette: player-units
^CivBuildingHusk:
Tooltip:
GenericVisibility: Enemy, Neutral
ShowOwnerRow: false
^Palettes:
IndexedPlayerPalette:
PlayerIndex:
Civilians: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198
IndexedPlayerPalette@units:
PlayerIndex:
Civilians: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198
FLARE:
Tooltip:
@@ -123,19 +28,3 @@ FLARE:
TRAN:
-Selectable:
HARV:
RenderSprites:
PlayerPalette: player
MCV:
RenderSprites:
PlayerPalette: player
HARV.Husk:
RenderSprites:
PlayerPalette: player
MCV.Husk:
RenderSprites:
PlayerPalette: player