From 02f28f54c7a4ebcf3757e92aa311d0e58050edb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Fri, 27 Jul 2012 21:04:42 +0200 Subject: [PATCH] add sniper to ra --- mods/ra/bits/snipericon.shp | Bin 0 -> 3160 bytes mods/ra/rules/infantry.yaml | 35 ++++++++++++++++++++ mods/ra/sequences.yaml | 64 ++++++++++++++++++++++++++++++++++++ mods/ra/weapons.yaml | 18 +++++++++- 4 files changed, 116 insertions(+), 1 deletion(-) create mode 100644 mods/ra/bits/snipericon.shp diff --git a/mods/ra/bits/snipericon.shp b/mods/ra/bits/snipericon.shp new file mode 100644 index 0000000000000000000000000000000000000000..b4563b5961a4ba73be3b24a9db2b54b6c6534753 GIT binary patch literal 3160 zcmbtWO>f-D5oPXyNg#j#L0G5(L%Se70*naQXuOvQ2y$EKW@RLH^PbqFqlfZ^lsqG8 z5B6=b$X+ME*NIa+4<(u&t6s$B{P4-qM_x2_@SXohC`5N4z>3xdhH^}nCcsv=OVRH87 zZ0{r4#l_wp@MJ%ZugcEZ@&d{ zvAh|;h`?VJ7|PSDKPLk_i`3o&{@mj)pM3Gf%~Ar^wgX_7O9GQo3Lq!}KKn+mZM-%1 z?@E1x;81%0%k7ujfV9qiw_(4NP1`ojqQf@rp*@888eE@Vef{Rqqs>S}nTkXmZT;z& z+ov}-ON3gq?$9+&yI4^C6hIzImA&mzn8#`X=_X1lm~ z_N?D70BYoC7Ce}@17dWIYa6|00(_$W@Z~a&q3-bT;2%FR_OC1x(c|0Q+ub(qz38>` z4Y#?O%iKAev&W;6bGbb^S^NH7UBA;HfUHH+-+gx5e__O@Pe1+sQ!avF>#>>hX5DSB z8|xazWU}*eCu#p0Z_a9^^cuI$Q{_R}Y__-0`u**jBwlFoGil)J@sq7h2ea+VmoHy@ z)t9|dzMfmd>owyT8;$63NW%r8OZtE7gMGPJ--!EP9W$1Tt?ehD$8nOxjpLg;J5CA} zsp#F>+WJ--GX@F<3W_ia!ghCea6B9io5g3&&BQQEQ}H`Bv*vB|{o5J0GyP6RZ%

%+F~#l4ZJYu>b5k&-S+NbpwNB)Q8WAD5EDs1iwo6s!<>W(V!? zVEFuIXy;kmdotoF-!!OPEwx3{G^hY`31-&hG|h7c9vE&RAEZKwc{^M#Tr)gu8l_cM zEAA5ftfY#JfokX;*@QKgO79qi;4a+AwLvH}Is*u8kKMuZ=S|`^K%lrunTTYhw0A_z zlsgVcZj50us>|3QVM!3qXF};LQ_377E5|K2Iu;Q0^m^qlj@Y z$y*W@go*^HCyc)P^$7R@*e!l;AeRdd6Q zNiDKWCG@4na@;0ZC})7l@G;;FbAGhFog@o%qK^&9D7+>QDt{)k3>!+l#u|n`p;pOW zqe7T@Gxi7RM=qQ$#6OuZN5LcC0uRH7hw1+|EB*~_5+%O? literal 0 HcmV?d00001 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