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.Traits;
|
||||||
using OpenRA.Effects;
|
using OpenRA.Effects;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA.Crates
|
namespace OpenRA.Mods.RA
|
||||||
{
|
{
|
||||||
class ExplodeCrateActionInfo : ITraitInfo
|
class ExplodeCrateActionInfo : ITraitInfo
|
||||||
{
|
{
|
||||||
@@ -23,6 +23,7 @@ namespace OpenRA.Mods.RA.Crates
|
|||||||
public ExplodeCrateAction(Actor self, ExplodeCrateActionInfo info)
|
public ExplodeCrateAction(Actor self, ExplodeCrateActionInfo info)
|
||||||
{
|
{
|
||||||
this.self = self;
|
this.self = self;
|
||||||
|
this.info = info;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int SelectionShares
|
public int SelectionShares
|
||||||
|
|||||||
@@ -661,6 +661,7 @@ Verses=90%,100%,60%,25%,50%
|
|||||||
Explosion=3
|
Explosion=3
|
||||||
InfDeath=4
|
InfDeath=4
|
||||||
SmudgeType=Scorch
|
SmudgeType=Scorch
|
||||||
|
ImpactSound=firebl3
|
||||||
|
|
||||||
; anti-infantry rifle bullet (single shot -- very effective verses infantry)
|
; anti-infantry rifle bullet (single shot -- very effective verses infantry)
|
||||||
[HollowPoint]
|
[HollowPoint]
|
||||||
|
|||||||
@@ -646,6 +646,12 @@ CRATE:
|
|||||||
ArmorUpgradeCrateAction:
|
ArmorUpgradeCrateAction:
|
||||||
Multiplier: 2.0
|
Multiplier: 2.0
|
||||||
SelectionShares: 10
|
SelectionShares: 10
|
||||||
|
ExplodeCrateAction@fire:
|
||||||
|
Weapon: Napalm
|
||||||
|
SelectionShares: 80
|
||||||
|
ExplodeCrateAction@boom:
|
||||||
|
Weapon: UnitExplode
|
||||||
|
SelectionShares: 80
|
||||||
Unit:
|
Unit:
|
||||||
HP: 1
|
HP: 1
|
||||||
RenderUnit:
|
RenderUnit:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!-- openra/sequences.xml
|
<!-- openra/sequences.xml
|
||||||
|
|
||||||
this file describes animation sequences for structures and units.
|
this file describes animation sequences for structures and units.
|
||||||
@@ -892,4 +892,7 @@
|
|||||||
<unit name="atomicdn">
|
<unit name="atomicdn">
|
||||||
<sequence name="idle" start="0" length="4" />
|
<sequence name="idle" start="0" length="4" />
|
||||||
</unit>
|
</unit>
|
||||||
</sequences>
|
<unit name="bomblet">
|
||||||
|
<sequence name="idle" start="0" length="7" />
|
||||||
|
</unit>
|
||||||
|
</sequences>
|
||||||
Reference in New Issue
Block a user