Add a decoration glyph for friendly units in tunnels.
This commit is contained in:
committed by
Matthias Mailänder
parent
53d916d7f1
commit
90815ace59
BIN
mods/ts/bits/typeglyphs.shp
Normal file
BIN
mods/ts/bits/typeglyphs.shp
Normal file
Binary file not shown.
@@ -625,6 +625,13 @@
|
|||||||
Categories: Infantry
|
Categories: Infantry
|
||||||
GrantConditionOnTunnelLayer:
|
GrantConditionOnTunnelLayer:
|
||||||
Condition: inside-tunnel
|
Condition: inside-tunnel
|
||||||
|
WithDecoration@UNDERGROUND:
|
||||||
|
RequiresCondition: inside-tunnel
|
||||||
|
Position: Center
|
||||||
|
Image: typeglyphs
|
||||||
|
Sequence: infantry
|
||||||
|
Palette: player
|
||||||
|
IsPlayerPalette: true
|
||||||
|
|
||||||
^RegularInfantryDeath:
|
^RegularInfantryDeath:
|
||||||
WithDeathAnimation@normal:
|
WithDeathAnimation@normal:
|
||||||
@@ -820,6 +827,13 @@
|
|||||||
Categories: Vehicle
|
Categories: Vehicle
|
||||||
GrantConditionOnTunnelLayer:
|
GrantConditionOnTunnelLayer:
|
||||||
Condition: inside-tunnel
|
Condition: inside-tunnel
|
||||||
|
WithDecoration@UNDERGROUND:
|
||||||
|
RequiresCondition: inside-tunnel
|
||||||
|
Position: Center
|
||||||
|
Image: typeglyphs
|
||||||
|
Sequence: vehicle
|
||||||
|
Palette: player
|
||||||
|
IsPlayerPalette: true
|
||||||
|
|
||||||
^Tank:
|
^Tank:
|
||||||
Inherits: ^Vehicle
|
Inherits: ^Vehicle
|
||||||
|
|||||||
@@ -439,6 +439,8 @@ SAPC:
|
|||||||
SubterraneanTransitionSound: subdril1.aud
|
SubterraneanTransitionSound: subdril1.aud
|
||||||
Carryable:
|
Carryable:
|
||||||
RequiresCondition: !submerged
|
RequiresCondition: !submerged
|
||||||
|
WithDecoration@UNDERGROUND:
|
||||||
|
RequiresCondition: inside-tunnel || submerged
|
||||||
|
|
||||||
SUBTANK:
|
SUBTANK:
|
||||||
Inherits: ^Tank
|
Inherits: ^Tank
|
||||||
@@ -487,6 +489,8 @@ SUBTANK:
|
|||||||
SubterraneanTransitionSound: subdril1.aud
|
SubterraneanTransitionSound: subdril1.aud
|
||||||
Carryable:
|
Carryable:
|
||||||
RequiresCondition: !submerged
|
RequiresCondition: !submerged
|
||||||
|
WithDecoration@UNDERGROUND:
|
||||||
|
RequiresCondition: inside-tunnel || submerged
|
||||||
|
|
||||||
STNK:
|
STNK:
|
||||||
Inherits: ^Tank
|
Inherits: ^Tank
|
||||||
|
|||||||
@@ -107,6 +107,8 @@ HARV:
|
|||||||
ResourceSequences:
|
ResourceSequences:
|
||||||
Tiberium: pip-green
|
Tiberium: pip-green
|
||||||
BlueTiberium: pip-blue
|
BlueTiberium: pip-blue
|
||||||
|
WithDecoration@UNDERGROUND:
|
||||||
|
Sequence: harvester
|
||||||
|
|
||||||
LPST:
|
LPST:
|
||||||
Inherits: ^Tank
|
Inherits: ^Tank
|
||||||
|
|||||||
@@ -644,3 +644,14 @@ dig:
|
|||||||
Length: *
|
Length: *
|
||||||
ZOffset: 511
|
ZOffset: 511
|
||||||
Offset: 0, 0, 24
|
Offset: 0, 0, 24
|
||||||
|
|
||||||
|
typeglyphs:
|
||||||
|
infantry:
|
||||||
|
vehicle:
|
||||||
|
Start: 1
|
||||||
|
helicopter:
|
||||||
|
Start: 2
|
||||||
|
harvester:
|
||||||
|
Start: 3
|
||||||
|
structure:
|
||||||
|
Start: 4
|
||||||
|
|||||||
Reference in New Issue
Block a user