Merge pull request #5091 from reaperrr/ra-vehicle-explosions

Add RA vehicle explosions
Fixes #5077
This commit is contained in:
Matthias Mailänder
2014-04-12 15:05:58 +02:00
3 changed files with 77 additions and 2 deletions

View File

@@ -47,6 +47,9 @@ SS:
CloakTypes: Underwater CloakTypes: Underwater
Range: 4 Range: 4
RenderDetectionCircle: RenderDetectionCircle:
Explodes:
Weapon: UnitExplodeSubmarine
EmptyWeapon: UnitExplodeSubmarine
MSUB: MSUB:
Inherits: ^Ship Inherits: ^Ship
@@ -97,6 +100,9 @@ MSUB:
CloakTypes: Underwater CloakTypes: Underwater
Range: 4 Range: 4
RenderDetectionCircle: RenderDetectionCircle:
Explodes:
Weapon: UnitExplodeSubmarine
EmptyWeapon: UnitExplodeSubmarine
DD: DD:
Inherits: ^Ship Inherits: ^Ship
@@ -144,6 +150,9 @@ DD:
CloakTypes: Underwater CloakTypes: Underwater
Range: 4 Range: 4
RenderDetectionCircle: RenderDetectionCircle:
Explodes:
Weapon: UnitExplodeShip
EmptyWeapon: UnitExplodeShip
CA: CA:
Inherits: ^Ship Inherits: ^Ship
@@ -203,6 +212,9 @@ CA:
Chronoshiftable: Chronoshiftable:
IronCurtainable: IronCurtainable:
RepairableNear: RepairableNear:
Explodes:
Weapon: UnitExplodeShip
EmptyWeapon: UnitExplodeShip
LST: LST:
Inherits: ^Ship Inherits: ^Ship
@@ -233,6 +245,9 @@ LST:
PipCount: 5 PipCount: 5
IronCurtainable: IronCurtainable:
RepairableNear: RepairableNear:
Explodes:
Weapon: UnitExplodeShip
EmptyWeapon: UnitExplodeShip
PT: PT:
Inherits: ^Ship Inherits: ^Ship
@@ -281,4 +296,7 @@ PT:
CloakTypes: Underwater CloakTypes: Underwater
Range: 4 Range: 4
RenderDetectionCircle: RenderDetectionCircle:
Explodes:
Weapon: UnitExplodeShip
EmptyWeapon: UnitExplodeShip

View File

@@ -26,7 +26,7 @@ V2RL:
AutoTarget: AutoTarget:
Explodes: Explodes:
Weapon: SCUD Weapon: SCUD
EmptyWeapon: EmptyWeapon: UnitExplodeSmall
1TNK: 1TNK:
Inherits: ^Tank Inherits: ^Tank
@@ -284,6 +284,9 @@ HARV:
HarvesterHuskModifier: HarvesterHuskModifier:
FullHuskActor: HARV.FullHusk FullHuskActor: HARV.FullHusk
FullnessThreshold: 50 FullnessThreshold: 50
Explodes:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
MCV: MCV:
Inherits: ^Vehicle Inherits: ^Vehicle
@@ -323,6 +326,9 @@ MCV:
BaseBuilding: BaseBuilding:
LeavesHusk: LeavesHusk:
HuskActor: MCV.Husk HuskActor: MCV.Husk
Explodes:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
JEEP: JEEP:
Inherits: ^Vehicle Inherits: ^Vehicle
@@ -360,6 +366,9 @@ JEEP:
Types: Infantry Types: Infantry
MaxWeight: 1 MaxWeight: 1
PipCount: 1 PipCount: 1
Explodes:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
APC: APC:
Inherits: ^Tank Inherits: ^Tank
@@ -393,6 +402,9 @@ APC:
Types: Infantry Types: Infantry
MaxWeight: 5 MaxWeight: 5
PipCount: 5 PipCount: 5
Explodes:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
MNLY.AP: MNLY.AP:
Inherits: ^Tank Inherits: ^Tank
@@ -426,6 +438,8 @@ MNLY.AP:
Range: 5 Range: 5
CloakTypes: Mine CloakTypes: Mine
RenderDetectionCircle: RenderDetectionCircle:
Explodes:
Weapon: APMine
MNLY.AT: MNLY.AT:
Inherits: ^Tank Inherits: ^Tank
@@ -459,6 +473,8 @@ MNLY.AT:
Range: 5 Range: 5
CloakTypes: Mine CloakTypes: Mine
RenderDetectionCircle: RenderDetectionCircle:
Explodes:
Weapon: ATMine
TRUK: TRUK:
Inherits: ^Vehicle Inherits: ^Vehicle
@@ -484,6 +500,9 @@ TRUK:
RenderUnit: RenderUnit:
SupplyTruck: SupplyTruck:
Payload: 500 Payload: 500
Explodes:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
MGG: MGG:
Inherits: ^Vehicle Inherits: ^Vehicle
@@ -588,6 +607,9 @@ TTNK:
Selectable: Selectable:
Bounds: 28,28,0,0 Bounds: 28,28,0,0
AutoTarget: AutoTarget:
Explodes:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
FTRK: FTRK:
Inherits: ^Vehicle Inherits: ^Vehicle
@@ -695,6 +717,9 @@ CTNK:
LocalYaw: -100 LocalYaw: -100
AttackFrontal: AttackFrontal:
PortableChrono: PortableChrono:
Explodes:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
QTNK: QTNK:
Inherits: ^Tank Inherits: ^Tank
@@ -772,4 +797,7 @@ STNK:
UncloakOnUnload: True UncloakOnUnload: True
DetectCloaked: DetectCloaked:
Range: 6 Range: 6
Explodes:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall

View File

@@ -1092,7 +1092,7 @@ MiniNuke:
Concrete: 25% Concrete: 25%
Delay: 5 Delay: 5
InfDeath: 5 InfDeath: 5
ImpactSound: kaboom22 ImpactSound: kaboom22.aud
Warhead@areanuke2: Warhead@areanuke2:
Damage: 600 Damage: 600
Spread: 3c0 Spread: 3c0
@@ -1126,6 +1126,35 @@ UnitExplode:
WaterExplosion: large_splash WaterExplosion: large_splash
InfDeath: 4 InfDeath: 4
ImpactSound: kaboom22.aud ImpactSound: kaboom22.aud
WaterImpactSound: splash9.aud
UnitExplodeShip:
Warhead:
Damage: 50
Spread: 426
Versus:
None: 90%
Wood: 75%
Light: 60%
Heavy: 25%
Explosion: building
WaterExplosion: building
InfDeath: 4
ImpactSound: kaboom25.aud
WaterImpactSound: kaboom25.aud
UnitExplodeSubmarine:
Warhead:
Damage: 50
Spread: 426
Versus:
None: 90%
Wood: 75%
Light: 60%
Heavy: 25%
WaterExplosion: large_splash
InfDeath: 4
WaterImpactSound: splash9.aud
UnitExplodeSmall: UnitExplodeSmall:
Warhead: Warhead: