Add the Nod mobile stealth generator.
This commit is contained in:
committed by
Gustas
parent
bb1e830264
commit
65361ed8dc
@@ -637,6 +637,12 @@ actor-stnk =
|
|||||||
Strong vs Vehicles, Aircraft
|
Strong vs Vehicles, Aircraft
|
||||||
Weak vs Infantry
|
Weak vs Infantry
|
||||||
|
|
||||||
|
actor-sgen =
|
||||||
|
.name = Mobile Stealth Generator
|
||||||
|
.deployed--name = Mobile Stealth Generator (deployed)
|
||||||
|
.description = Can cloak units when deployed.
|
||||||
|
Unarmed
|
||||||
|
|
||||||
## shared-infantry.yaml
|
## shared-infantry.yaml
|
||||||
actor-e1 =
|
actor-e1 =
|
||||||
.description = General-purpose infantry.
|
.description = General-purpose infantry.
|
||||||
|
|||||||
@@ -408,6 +408,7 @@ NASTLH:
|
|||||||
BuildPaletteOrder: 100
|
BuildPaletteOrder: 100
|
||||||
Prerequisites: proc, natech, ~structures.nod, ~techlevel.high
|
Prerequisites: proc, natech, ~structures.nod, ~techlevel.high
|
||||||
Description: actor-nastlh.description
|
Description: actor-nastlh.description
|
||||||
|
ProvidesPrerequisite@buildingname:
|
||||||
Building:
|
Building:
|
||||||
Footprint: xxx XXX
|
Footprint: xxx XXX
|
||||||
Dimensions: 3,2
|
Dimensions: 3,2
|
||||||
|
|||||||
@@ -549,3 +549,88 @@ STNK:
|
|||||||
Explodes@ELITE:
|
Explodes@ELITE:
|
||||||
RequiresCondition: rank-elite
|
RequiresCondition: rank-elite
|
||||||
Weapon: UnitExplode
|
Weapon: UnitExplode
|
||||||
|
|
||||||
|
SGEN:
|
||||||
|
Inherits: ^Tank
|
||||||
|
Inherits@VOXELS: ^VoxelActor
|
||||||
|
Inherits@selection: ^SelectableSupportUnit
|
||||||
|
-AppearsOnRadar:
|
||||||
|
Buildable:
|
||||||
|
Queue: Vehicle
|
||||||
|
BuildPaletteOrder: 130
|
||||||
|
Prerequisites: ~naweap, nastlh
|
||||||
|
Description: actor-sgen.description
|
||||||
|
Valued:
|
||||||
|
Cost: 1600
|
||||||
|
Tooltip:
|
||||||
|
Name: actor-sgen.name
|
||||||
|
RequiresCondition: !deployed
|
||||||
|
Tooltip@DEPLOYED:
|
||||||
|
Name: actor-sgen.deployed--name
|
||||||
|
RequiresCondition: deployed
|
||||||
|
Selectable:
|
||||||
|
Bounds: 1206, 1768, 0, -603
|
||||||
|
Health:
|
||||||
|
HP: 20000
|
||||||
|
Armor:
|
||||||
|
Type: Light
|
||||||
|
Voiced:
|
||||||
|
VoiceSet: Spy
|
||||||
|
Mobile:
|
||||||
|
Speed: 85
|
||||||
|
TurnSpeed: 20
|
||||||
|
ImmovableCondition: !undeployed
|
||||||
|
RequireForceMoveCondition: !undeployed
|
||||||
|
RevealsShroud:
|
||||||
|
RequiresCondition: !inside-tunnel && undeployed
|
||||||
|
Range: 5c0
|
||||||
|
MaxHeightDelta: 3
|
||||||
|
RevealsShroud@DEPLOYED:
|
||||||
|
RequiresCondition: inside-tunnel || deployed
|
||||||
|
Range: 6c0
|
||||||
|
MaxHeightDelta: 3
|
||||||
|
WithMakeAnimation:
|
||||||
|
GrantCondition@PREVIEWWORKAROUND:
|
||||||
|
Condition: real-actor
|
||||||
|
RenderSprites:
|
||||||
|
Image: mstl
|
||||||
|
PlayerPalette: playertem
|
||||||
|
GrantConditionOnDeploy:
|
||||||
|
PauseOnCondition: empdisable || being-captured
|
||||||
|
DeployedCondition: deployed
|
||||||
|
UndeployedCondition: undeployed
|
||||||
|
UndeployOnMove: true
|
||||||
|
UndeployOnPickup: true
|
||||||
|
Facing: 384
|
||||||
|
AllowedTerrainTypes: Clear, Road, DirtRoad, Rough
|
||||||
|
DeploySounds: place2.aud
|
||||||
|
UndeploySounds: clicky1.aud
|
||||||
|
Voice: Move
|
||||||
|
EntersTunnels:
|
||||||
|
RequireForceMoveCondition: !undeployed
|
||||||
|
Repairable:
|
||||||
|
RequireForceMoveCondition: !undeployed
|
||||||
|
Passenger:
|
||||||
|
RequireForceMoveCondition: !undeployed
|
||||||
|
WithVoxelBody:
|
||||||
|
RequiresCondition: undeployed
|
||||||
|
WithSpriteBody@deployed:
|
||||||
|
RequiresCondition: !undeployed && real-actor
|
||||||
|
WithIdleOverlay@LIGHTS:
|
||||||
|
RequiresCondition: deployed && real-actor && !empdisable
|
||||||
|
Sequence: idle-lights
|
||||||
|
Palette: player-nobright
|
||||||
|
IsPlayerPalette: True
|
||||||
|
RenderVoxels:
|
||||||
|
Scale: 11.5
|
||||||
|
ProximityExternalCondition:
|
||||||
|
RequiresCondition: deployed && !empdisable
|
||||||
|
Condition: cloakgenerator
|
||||||
|
Range: 6c0
|
||||||
|
EnableSound: cloak5.aud
|
||||||
|
DisableSound: cloak5.aud
|
||||||
|
AffectsParent: true
|
||||||
|
WithRangeCircle:
|
||||||
|
Range: 6c0
|
||||||
|
Type: cloakgenerator
|
||||||
|
RequiresCondition: deployed && !empdisable
|
||||||
|
|||||||
@@ -372,3 +372,22 @@ traincar:
|
|||||||
|
|
||||||
cargocar:
|
cargocar:
|
||||||
Inherits: ^VehicleOverlays
|
Inherits: ^VehicleOverlays
|
||||||
|
|
||||||
|
mstl:
|
||||||
|
Inherits: ^VehicleOverlays
|
||||||
|
icon:
|
||||||
|
Filename: mstlicon.shp
|
||||||
|
idle:
|
||||||
|
Filename: mstl.shp
|
||||||
|
ShadowStart: 3
|
||||||
|
Offset: 0, -15, 15
|
||||||
|
idle-lights:
|
||||||
|
Filename: mstl_a.shp
|
||||||
|
Length: 10
|
||||||
|
ShadowStart: 10
|
||||||
|
Offset: 0, -15, 15
|
||||||
|
make:
|
||||||
|
Filename: mstlmk.shp
|
||||||
|
Length: 20
|
||||||
|
ShadowStart: 20
|
||||||
|
Offset: 0, -15, 15
|
||||||
|
|||||||
@@ -177,3 +177,6 @@ mobilemp:
|
|||||||
|
|
||||||
dpod:
|
dpod:
|
||||||
idle:
|
idle:
|
||||||
|
|
||||||
|
sgen:
|
||||||
|
idle:
|
||||||
|
|||||||
Reference in New Issue
Block a user