Implement D2k thumper

This commit is contained in:
reaperrr
2015-10-12 01:09:34 +02:00
parent 168dab9707
commit b6229fd456
3 changed files with 34 additions and 18 deletions

View File

@@ -74,34 +74,48 @@ trooper:
WithInfantryBody: WithInfantryBody:
AttackSequence: shoot AttackSequence: shoot
medic: thumper:
Inherits: ^Infantry Inherits: ^Infantry
-AutoTarget:
Buildable: Buildable:
Queue: Infantry Queue: Infantry
BuildPaletteOrder: 60 BuildPaletteOrder: 60
Prerequisites: ~barracks.medics, upgrade.barracks, ~techlevel.high Prerequisites: upgrade.barracks, ~techlevel.high
Valued: Valued:
Cost: 200 Cost: 200
CustomBuildTimeValue: CustomBuildTimeValue:
Value: 108 Value: 108
Tooltip: Tooltip:
Name: Medic Name: Thumper
Description: Heals nearby infantry\n Strong vs Nothing\n Weak vs Everything Description: Attracts nearby worms\n Unarmed
Health: Health:
HP: 375 HP: 375
RevealsShroud: RevealsShroud:
Range: 2c768 Range: 2c768
Mobile: Mobile:
Speed: 42 Speed: 43
Armament: DeployToUpgrade:
Weapon: Heal Upgrades: deployed
Cursor: ability Facing: 128
OutsideRangeCursor: ability AllowedTerrainTypes: Sand, Spice, Dune
TargetStances: Ally
ForceTargetStances: None
AttackFrontal:
WithInfantryBody: WithInfantryBody:
AttackSequence: heal UpgradeTypes: deployed
UpgradeMaxEnabledLevel: 0
WithSpriteBody@DEPLOYED:
Sequence: thump
UpgradeTypes: deployed
UpgradeMinEnabledLevel: 1
WithIdleOverlay@DEPLOYED:
Sequence: thump-sand
UpgradeTypes: deployed
UpgradeMinEnabledLevel: 1
AttractsWorms:
Intensity: 1000
UpgradeTypes: deployed
UpgradeMinEnabledLevel: 1
DisableOnUpgrade:
UpgradeTypes: deployed
UpgradeMinEnabledLevel: 1
Passenger: Passenger:
PipType: Blue PipType: Blue
Voiced: Voiced:

View File

@@ -168,9 +168,6 @@ barracks:
ProvidesPrerequisite@harkonnen: ProvidesPrerequisite@harkonnen:
Prerequisite: barracks.harkonnen Prerequisite: barracks.harkonnen
Factions: harkonnen Factions: harkonnen
ProvidesPrerequisite@medics:
Prerequisite: barracks.medics
Factions: atreides, ordos
Power: Power:
Amount: -30 Amount: -30
RenderSprites: RenderSprites:

View File

@@ -170,7 +170,7 @@ engineer:
Start: 4013 Start: 4013
Offset: -30,-24 Offset: -30,-24
medic: # actually thumper thumper:
stand: DATA.R8 stand: DATA.R8
Start: 1402 Start: 1402
Facings: -8 Facings: -8
@@ -196,10 +196,15 @@ medic: # actually thumper
Facings: -8 Facings: -8
Transpose: true Transpose: true
Tick: 120 Tick: 120
heal: DATA.R8 thump: DATA.R8
Start: 1458 Start: 1458
Length: 5 Length: 5
Tick: 480 Tick: 480
thump-sand: DATA.R8
Start: 3626
Length: 5
Tick: 480
BlendMode: Multiply
die1: DATA.R8 die1: DATA.R8
Frames: 1543, 1550, 1557, 1564, 1571, 1578, 1585, 1592, 1599, 1600, 1601, 1602 Frames: 1543, 1550, 1557, 1564, 1571, 1578, 1585, 1592, 1599, 1600, 1601, 1602
Length: 12 Length: 12