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

@@ -740,6 +740,6 @@ Actors:
Location: 28,47
Owner: Neutral
Rules: rules.yaml
Rules: cnc|rules/campaign-maprules.yaml, cnc|rules/campaign-tooltips.yaml, cnc|rules/campaign-palettes.yaml, rules.yaml
Weapons: weapons.yaml

View File

@@ -1,31 +1,6 @@
^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
Civillians: 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
Civillians: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198
World:
-SpawnMPUnits:
-MPStartLocations:
-CrateSpawner:
LuaScript:
Scripts: gdi04c.lua
ObjectivesPanel:
PanelName: MISSION_OBJECTIVES
MusicPlaylist:
StartingMusic: ind
MissionData:
@@ -35,15 +10,6 @@ World:
StartVideo: nodsweep.vqa
WinVideo: burdet1.vqa
LossVideo: gameover.vqa
MapCreeps:
Locked: True
Enabled: False
MapBuildRadius:
AllyBuildRadiusLocked: True
AllyBuildRadiusEnabled: False
MapOptions:
ShortGameLocked: True
ShortGameEnabled: False
SmudgeLayer@SCORCH:
InitialSmudges:
58,38: sc5,0
@@ -61,103 +27,21 @@ World:
23,32: cr1,0
Player:
-ConquestVictoryConditions:
MissionObjectives:
EarlyGameOver: true
Shroud:
FogLocked: True
FogEnabled: True
ExploredMapLocked: True
ExploredMapEnabled: False
PlayerResources:
DefaultCashLocked: True
DefaultCash: 0
^Vehicle:
Tooltip:
GenericVisibility: Enemy
ShowOwnerRow: false
RenderSprites:
PlayerPalette: player-units
^Tank:
Tooltip:
GenericVisibility: Enemy
ShowOwnerRow: false
RenderSprites:
PlayerPalette: player-units
^Helicopter:
Tooltip:
GenericVisibility: Enemy
ShowOwnerRow: false
RenderSprites:
PlayerPalette: player-units
^Infantry:
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
^Wall:
Tooltip:
ShowOwnerRow: false
^CommonHuskDefaults:
Tooltip:
GenericVisibility: Enemy, Ally, Neutral
GenericStancePrefix: false
ShowOwnerRow: false
RenderSprites:
PlayerPalette: player-units
^Palettes:
IndexedPlayerPalette:
PlayerIndex:
Civillians: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198
IndexedPlayerPalette@units:
PlayerIndex:
Civillians: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198
^CivInfantry:
Health:
HP: 125
^CivBuilding:
Tooltip:
GenericVisibility: Enemy, Neutral
ShowOwnerRow: false
^CivBuildingHusk:
Tooltip:
GenericVisibility: Enemy, Neutral
ShowOwnerRow: false
^Bridge:
DamageMultiplier@INVULNERABLE:
Modifier: 0
HARV:
RenderSprites:
PlayerPalette: player
MCV:
RenderSprites:
PlayerPalette: player
HARV.Husk:
RenderSprites:
PlayerPalette: player
MCV.Husk:
RenderSprites:
PlayerPalette: player