Fix weapon crates

This commit is contained in:
Paul Chote
2010-03-21 20:49:22 +13:00
parent 85f9b3627f
commit ec4fd62640
3 changed files with 21 additions and 6 deletions

View File

@@ -26,10 +26,8 @@ using OpenRA.FileFormats;
* Crates left to implement:
Cloak=0,STEALTH2 ; enable cloaking on nearby objects
Darkness=1,EMPULSE ; cloak entire radar map
Explosion=5,NONE,500 ; high explosive baddie (damage per explosion)
HealBase=1,INVUN ; all buildings to full strength
ICBM=1,MISSILE2 ; nuke missile one time shot
Napalm=5,NONE,600 ; fire explosion baddie (damage)
ParaBomb=3,PARABOX ; para-bomb raid one time shot
Reveal=1,EARTH ; reveal entire radar map
Sonar=3,SONARBOX ; one time sonar pulse

View File

@@ -323,6 +323,15 @@ Projectile=Bomblet
Speed=5
Warhead=Fire
; Crate napalm
[CrateNapalm]
Damage=600
ROF=20
Range=4.5
Projectile=Bomblet
Speed=5
Warhead=Fire
; Tesla coil zap
[TeslaZap]
Damage=100
@@ -823,6 +832,8 @@ Heal
SCUD
UnitExplode
Atomic
CrateNapalm
CrateExplosion
[TeslaZap]
RenderAsTesla=true
@@ -833,6 +844,12 @@ Speed=100
Projectile=Invisible
Warhead=UnitExplodeWarhead
[CrateExplosion]
Damage=500
Speed=100
Projectile=Invisible
Warhead=UnitExplodeWarhead
[ProjectileTypes]
Invisible
LeapDog

View File

@@ -654,11 +654,11 @@ CRATE:
Notification: armorup1.aud
Effect: armor
ExplodeCrateAction@fire:
Weapon: Napalm
SelectionShares: 80
Weapon: CrateNapalm
SelectionShares: 5
ExplodeCrateAction@boom:
Weapon: UnitExplode
SelectionShares: 80
Weapon: CrateExplosion
SelectionShares: 5
Unit:
HP: 1
RenderUnit: