Add MAD Tank and InvalidTargets field to WeaponInfo

This commit is contained in:
ScottNZ
2013-11-02 17:17:19 +13:00
parent d74c54d9f7
commit 9eff54c217
14 changed files with 265 additions and 24 deletions

BIN
mods/ra/bits/madchrg2.aud Normal file

Binary file not shown.

BIN
mods/ra/bits/madexplo.aud Normal file

Binary file not shown.

BIN
mods/ra/bits/qtnk.shp Normal file

Binary file not shown.

BIN
mods/ra/bits/qtnkicon.shp Normal file

Binary file not shown.

View File

@@ -215,7 +215,7 @@
Selectable:
Priority: 3
TargetableBuilding:
TargetTypes: Ground, C4, DemoTruck
TargetTypes: Ground, C4, DetonateAttack
Building:
Dimensions: 1,1
Footprint: x
@@ -272,7 +272,7 @@
Selectable:
Priority: 1
TargetableBuilding:
TargetTypes: Ground, C4, DemoTruck
TargetTypes: Ground, C4, DetonateAttack
RenderBuildingWall:
HasMakeAnimation: false
Palette: terrain
@@ -323,7 +323,7 @@
Armor:
Type: Light
TargetableBuilding:
TargetTypes: Ground, DemoTruck
TargetTypes: Ground, DetonateAttack
^CivInfantry:
Inherits: ^Infantry

View File

@@ -766,3 +766,37 @@ CTNK:
LocalYaw: -100
AttackFrontal:
ChronoshiftDeploy:
QTNK:
Inherits: ^Tank
Buildable:
Queue: Vehicle
BuildPaletteOrder: 150
Prerequisites: fix,stek
Owner: soviet
Hotkey: q
Valued:
Cost: 2500
Tooltip:
Name: MAD Tank
Description: Deals seismic damage to nearby vehicles\nand structures.\n Strong vs Vehicles, Buildings\n Weak vs Infantry
Health:
HP: 900
Armor:
Type: Heavy
Mobile:
Speed: 4
Crushes: wall, atmine, crate, infantry
RevealsShroud:
Range: 6
Selectable:
Bounds: 44,38,0,-4
RenderUnit:
AttackMove:
JustMove: True
Explodes:
Weapon: UnitExplodeSmall
MadTank:
-EjectOnDeath:
TargetableUnit:
TargetTypes: Ground, MADTank

View File

@@ -253,4 +253,15 @@ ctnk:
Start: 0
Length: 5
icon: ctnkicon
Start: 0
qtnk:
idle:
Start: 0
Facings: 32
piston:
Start: 32
Facings: 8
Length: 8
icon: qtnkicon
Start: 0

View File

@@ -1327,3 +1327,26 @@ Mandible:
Concrete: 10%
InfDeath: 1
Damage: 60
MADTankThump:
InvalidTargets: MADTank
Warhead:
DamageModel: PerCell
Damage: 1
ScaleDamageByTargetHealth: True
Versus:
None: 0%
Size: 7,6
MADTankDetonate:
InvalidTargets: MADTank
Warhead:
DamageModel: PerCell
Damage: 19
ScaleDamageByTargetHealth: True
Versus:
None: 0%
Size: 7,6
Explosion: med_explosion
ImpactSound: mineblo1.aud
SmudgeType: Crater