Convert the Mobile Sensor Array to use DeployToUpgrade

Stop using Transforms.
This commit is contained in:
Pavel Penev
2015-09-01 20:18:59 +03:00
parent 899ea7e16d
commit 606a8c1639
2 changed files with 45 additions and 12 deletions

View File

@@ -100,35 +100,54 @@ HARV:
LPST:
Inherits: ^VoxelVehicle
-AppearsOnRadar:
-GainsExperience:
Buildable:
Queue: Vehicle
BuildPaletteOrder: 100
Prerequisites: ~factory, radar
Valued:
Cost: 950
Tooltip:
Name: Mobile Sensor Array
Description: Can detect cloaked and subterranean\nunits when deployed.\n Unarmed
Buildable:
Queue: Vehicle
BuildPaletteOrder: 100
Prerequisites: ~factory, radar
Health:
HP: 600
Armor:
Type: Light
Type: Wood
Mobile:
Speed: 85
ROT: 5
RevealsShroud:
Range: 10c0
Transforms:
IntoActor: gadpsa
Facing: 159
TransformSounds:
NoTransformSounds:
Voice: Move
Range: 7c0
RenderSprites:
Image: lpst.gdi
FactionImages:
gdi: lpst.gdi
nod: lpst.nod
DeployToUpgrade:
Upgrades: deployed
DeployAnimation: make
Facing: 160
AllowedTerrainTypes: Clear, Road, DirtRoad, Rough
DeploySound: place2.aud
UndeploySound: clicky1.aud
WithVoxelBody:
Image: lpst
UpgradeTypes: deployed
UpgradeMaxEnabledLevel: 0
WithSpriteBody@deployed:
StartSequence: make
UpgradeTypes: deployed
UpgradeMinEnabledLevel: 1
DisableUpgrade:
UpgradeTypes: deployed
UpgradeMinEnabledLevel: 1
DetectCloaked:
UpgradeTypes: deployed
UpgradeMinEnabledLevel: 1
Range: 18
RenderDetectionCircle:
GGHUNT:
Inherits: ^Vehicle

View File

@@ -26,9 +26,23 @@ hvr:
lpst.gdi:
icon: sidec01.mix:lpsticon
idle: gadpsa
Offset: 0, -12
ShadowStart: 3
make: gadpsamk
Offset: 0, -12
Length: 36
ShadowStart: 36
lpst.nod:
icon: sidec02.mix:lpsticon
idle: gadpsa
Offset: 0, -12
ShadowStart: 3
make: gadpsamk
Offset: 0, -12
Length: 36
ShadowStart: 36
repair:
icon: rboticon