tweaks, setup flame and boom variants of ExplodeCrateAction
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user