diff --git a/mods/ra/bits/snipericon.shp b/mods/ra/bits/snipericon.shp new file mode 100644 index 0000000000..b4563b5961 Binary files /dev/null and b/mods/ra/bits/snipericon.shp differ diff --git a/mods/ra/rules/infantry.yaml b/mods/ra/rules/infantry.yaml index 3ce596be89..a47095b583 100644 --- a/mods/ra/rules/infantry.yaml +++ b/mods/ra/rules/infantry.yaml @@ -387,3 +387,38 @@ SHOK: RenderInfantryProne: IdleAnimations: idle1,idle2 -CrushableInfantry: + +SNIPER: + Inherits: ^Infantry + Valued: + Cost: 700 + Tooltip: + Icon: snipericon + Name: Sniper + Description: Elite sniper infantry unit.\n Strong vs Infantry\n Weak vs Vehicles + Buildable: + Queue: Infantry + BuildPaletteOrder: 50 + Owner: allies,soviet + Selectable: + Bounds: 12,17,0,-6 + Mobile: + Speed: 4 + Health: + HP: 200 + Passenger: + PipType: Red + RevealsShroud: + Range: 6 + -AutoTarget: + AttackFrontal: + PrimaryWeapon: Sniper + TakeCover: + -RenderInfantry: + RenderInfantryProne: + IdleAnimations: idle1,idle2 + Cloak: + InitialDelay: 250 + CloakDelay: 120 + CloakSound: appear1.aud + UncloakSound: appear1.aud \ No newline at end of file diff --git a/mods/ra/sequences.yaml b/mods/ra/sequences.yaml index 1121f0fd53..352f239f79 100644 --- a/mods/ra/sequences.yaml +++ b/mods/ra/sequences.yaml @@ -635,6 +635,70 @@ e1: Length: 6 Tick: 1600 +sniper: + stand: + Start: 0 + Facings: 8 + stand2: + Start: 8 + Facings: 8 + run: + Start: 16 + Length: 6 + Facings: 8 + shoot: + Start: 64 + Length: 16 + Facings: 8 + stand3: + Start: 192 + Length: 16 + prone-stand: + Start: 208 + Length: 4 + Facings: 8 + prone-run: + Start: 208 + Length: 4 + Facings: 8 + standup: + Start: 240 + Length: 2 + Facings: 8 + prone-shoot: + Start: 256 + Length: 16 + Facings: 8 + idle1: + Start: 384 + Length: 14 + Tick: 120 + idle2: + Start: 399 + Length: 16 + Tick: 120 + die1: + Start: 416 + Length: 8 + die2: + Start: 424 + Length: 8 + die3: + Start: 432 + Length: 8 + die4: + Start: 440 + Length: 12 + die5: + Start: 452 + Length: 18 + die6: electro + Start: 0 + die-crushed: corpse1 + Start: 0 + Length: 6 + Tick: 1600 + clock: idle: Start: 0 diff --git a/mods/ra/weapons.yaml b/mods/ra/weapons.yaml index 351005f973..b81013a081 100644 --- a/mods/ra/weapons.yaml +++ b/mods/ra/weapons.yaml @@ -1140,4 +1140,20 @@ VolkNapalm: InfDeath: 4 SmudgeType: Scorch ImpactSound: firebl3 - Damage: 80 \ No newline at end of file + Damage: 80 + +Sniper: + Report: GUN5 + ROF: 40 + Range: 10 + Projectile: Bullet + Speed: 100 + Warhead: + Damage: 100 + Spread: 1 + Versus: + None: 100% + Wood: 5% + Light: 5% + Heavy: 5% + InfDeath: 2 \ No newline at end of file