tweaks, setup flame and boom variants of ExplodeCrateAction

This commit is contained in:
Chris Forbes
2010-03-21 10:06:06 +13:00
parent a38b5b89db
commit 0f902ae41a
4 changed files with 14 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ using System.Text;
using OpenRA.Traits;
using OpenRA.Effects;
namespace OpenRA.Mods.RA.Crates
namespace OpenRA.Mods.RA
{
class ExplodeCrateActionInfo : ITraitInfo
{
@@ -23,6 +23,7 @@ namespace OpenRA.Mods.RA.Crates
public ExplodeCrateAction(Actor self, ExplodeCrateActionInfo info)
{
this.self = self;
this.info = info;
}
public int SelectionShares

View File

@@ -661,6 +661,7 @@ Verses=90%,100%,60%,25%,50%
Explosion=3
InfDeath=4
SmudgeType=Scorch
ImpactSound=firebl3
; anti-infantry rifle bullet (single shot -- very effective verses infantry)
[HollowPoint]

View File

@@ -646,6 +646,12 @@ CRATE:
ArmorUpgradeCrateAction:
Multiplier: 2.0
SelectionShares: 10
ExplodeCrateAction@fire:
Weapon: Napalm
SelectionShares: 80
ExplodeCrateAction@boom:
Weapon: UnitExplode
SelectionShares: 80
Unit:
HP: 1
RenderUnit:

View File

@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<!-- openra/sequences.xml
this file describes animation sequences for structures and units.
@@ -892,4 +892,7 @@
<unit name="atomicdn">
<sequence name="idle" start="0" length="4" />
</unit>
</sequences>
<unit name="bomblet">
<sequence name="idle" start="0" length="7" />
</unit>
</sequences>