Add (laser-)viceroids. Needs a proper weapon.
This commit is contained in:
@@ -27,7 +27,7 @@ namespace OpenRA.Mods.RA.Render
|
|||||||
{
|
{
|
||||||
canSmoke = self.Info.Traits.Get<RenderUnitInfo>().Smokes;
|
canSmoke = self.Info.Traits.Get<RenderUnitInfo>().Smokes;
|
||||||
|
|
||||||
anim.Play("idle");
|
anim.PlayRepeating("idle");
|
||||||
|
|
||||||
if (canSmoke)
|
if (canSmoke)
|
||||||
anims.Add( "smoke", new AnimationWithOffset( new Animation( "smoke_m" ), null, () => !isSmoking ) );
|
anims.Add( "smoke", new AnimationWithOffset( new Animation( "smoke_m" ), null, () => !isSmoking ) );
|
||||||
|
|||||||
@@ -186,3 +186,20 @@ RMBO:
|
|||||||
PrimaryWeapon: Sniper
|
PrimaryWeapon: Sniper
|
||||||
IdleAnimation:
|
IdleAnimation:
|
||||||
Animations: idle1,idle2,idle3
|
Animations: idle1,idle2,idle3
|
||||||
|
|
||||||
|
VICE:
|
||||||
|
Inherits: ^Infantry
|
||||||
|
Valued:
|
||||||
|
Cost: 1000
|
||||||
|
Tooltip:
|
||||||
|
Name: Viceroid
|
||||||
|
Icon: rmboicnh
|
||||||
|
Mobile:
|
||||||
|
Speed: 5
|
||||||
|
Health:
|
||||||
|
HP: 400
|
||||||
|
AttackFrontal:
|
||||||
|
PrimaryWeapon: Laser
|
||||||
|
AttackWander:
|
||||||
|
-RenderInfantry:
|
||||||
|
RenderUnit:
|
||||||
Reference in New Issue
Block a user