Implement jumpjets.
This commit is contained in:
@@ -77,6 +77,11 @@ JUMPJET:
|
||||
VoiceSet: JumpJet
|
||||
Mobile:
|
||||
Speed: 56
|
||||
Jumpjet: True
|
||||
JumpjetTransitionCost: 100
|
||||
JumpjetCondition: airborne
|
||||
TerrainSpeeds:
|
||||
Jumpjet: 110
|
||||
Health:
|
||||
HP: 120
|
||||
Armor:
|
||||
@@ -91,10 +96,71 @@ JUMPJET:
|
||||
AttackFrontal:
|
||||
Voice: Attack
|
||||
WithInfantryBody:
|
||||
RequiresCondition: !airborne
|
||||
DefaultAttackSequence: attack
|
||||
WithInfantryBody@flying:
|
||||
RequiresCondition: airborne
|
||||
DefaultAttackSequence: flying-attack
|
||||
StandSequences: flying
|
||||
MoveSequence: flying
|
||||
-TakeCover:
|
||||
Hovers:
|
||||
RequiresCondition: airborne
|
||||
ProducibleWithLevel:
|
||||
Prerequisites: barracks.upgraded
|
||||
Targetable:
|
||||
RequiresCondition: !airborne && !inside-tunnel
|
||||
Targetable@AIRBORNE:
|
||||
TargetTypes: Air
|
||||
RequiresCondition: airborne
|
||||
SpawnActorOnDeath@airborne:
|
||||
Actor: JUMPJET.Husk
|
||||
RequiresCondition: airborne
|
||||
DeathSounds@airborne:
|
||||
RequiresCondition: airborne
|
||||
WithDeathAnimation@normal:
|
||||
RequiresCondition: !airborne
|
||||
WithDeathAnimation@explosion:
|
||||
RequiresCondition: !airborne
|
||||
WithDeathAnimation@energy:
|
||||
RequiresCondition: !airborne
|
||||
WithDeathAnimation:
|
||||
RequiresCondition: !airborne
|
||||
DeathSounds@NORMAL:
|
||||
RequiresCondition: !airborne
|
||||
DeathSounds@EXPLOSION:
|
||||
RequiresCondition: !airborne
|
||||
DeathSounds@BURNED:
|
||||
RequiresCondition: !airborne
|
||||
DeathSounds@ZAPPED:
|
||||
RequiresCondition: !airborne
|
||||
SpawnActorOnDeath:
|
||||
RequiresCondition: !airborne
|
||||
SpawnActorOnDeath@FLAMEGUY:
|
||||
RequiresCondition: !airborne
|
||||
|
||||
JUMPJET.Husk:
|
||||
RenderSprites:
|
||||
BodyOrientation:
|
||||
QuantizedFacings: 1
|
||||
Aircraft:
|
||||
HiddenUnderFog:
|
||||
Type: GroundPosition
|
||||
AutoTargetIgnore:
|
||||
ScriptTriggers:
|
||||
Tooltip:
|
||||
Name: Jumpjet Infantry
|
||||
FallsToEarth:
|
||||
Velocity: 86
|
||||
Explosion:
|
||||
Aircraft:
|
||||
Speed: 186
|
||||
CanHover: True
|
||||
RenderSprites:
|
||||
Image: jumpjet
|
||||
AutoSelectionSize:
|
||||
WithSpriteBody:
|
||||
Sequence: die-falling
|
||||
|
||||
GHOST:
|
||||
Inherits: ^Soldier
|
||||
|
||||
@@ -61,6 +61,7 @@
|
||||
ExitsDebugOverlayManager:
|
||||
CliffBackImpassabilityLayer:
|
||||
SubterraneanActorLayer:
|
||||
JumpjetActorLayer:
|
||||
|
||||
World:
|
||||
Inherits: ^BaseWorld
|
||||
|
||||
@@ -359,10 +359,18 @@ jumpjet:
|
||||
prone-stand:
|
||||
Facings: 8
|
||||
ShadowStart: 451
|
||||
flying:
|
||||
Facings: 8
|
||||
Length: 6
|
||||
Start: 292
|
||||
ShadowStart: 743
|
||||
die-twirling: # TODO: animation for falling from sky starts at 436
|
||||
Start: 445
|
||||
Length: 6
|
||||
ShadowStart: 896
|
||||
die-falling:
|
||||
Start: 436
|
||||
Length: 9
|
||||
die-flying: # TODO: animation for falling from sky starts at 436
|
||||
Start: 445
|
||||
Length: 6
|
||||
@@ -379,6 +387,11 @@ jumpjet:
|
||||
Length: 6
|
||||
Facings: 8
|
||||
ShadowStart: 615
|
||||
flying-attack:
|
||||
Start: 388
|
||||
Facings: 8
|
||||
Length: 6
|
||||
ShadowStart: 839
|
||||
prone-attack:
|
||||
Start: 212
|
||||
Length: 6
|
||||
|
||||
@@ -75,6 +75,9 @@ Terrain:
|
||||
TerrainType@Subterranean:
|
||||
Type: Subterranean
|
||||
Color: C7C9FA
|
||||
TerrainType@Jumpjet:
|
||||
Type: Jumpjet
|
||||
Color: C7C9FA
|
||||
|
||||
# Automatically generated. DO NOT EDIT!
|
||||
Templates:
|
||||
|
||||
@@ -75,6 +75,9 @@ Terrain:
|
||||
TerrainType@Subterranean:
|
||||
Type: Subterranean
|
||||
Color: 745537
|
||||
TerrainType@Jumpjet:
|
||||
Type: Jumpjet
|
||||
Color: 745537
|
||||
|
||||
# Automatically generated. DO NOT EDIT!
|
||||
Templates:
|
||||
|
||||
Reference in New Issue
Block a user