From 52ec5036d5db00f3127da9e1690983a99dc1d8fb Mon Sep 17 00:00:00 2001 From: TaralGit <76408146+TaralGit@users.noreply.github.com> Date: Fri, 15 Apr 2022 15:39:16 -0700 Subject: [PATCH] Another gun PR (#7450) Co-authored-by: and_a --- .../Weapons/Guns/Battery/battery_guns.yml | 57 ++++++++++++++++++ .../Weapons/Guns/Battery/cog.rsi/base.png | Bin 562 -> 352 bytes .../Weapons/Guns/Battery/cog.rsi/icon.png | Bin 542 -> 352 bytes .../Guns/Battery/nightfall.rsi/base.png | Bin 0 -> 304 bytes .../Guns/Battery/nightfall.rsi/icon.png | Bin 0 -> 304 bytes .../Battery/nightfall.rsi/inhand-left.png | Bin 0 -> 357 bytes .../Battery/nightfall.rsi/inhand-right.png | Bin 0 -> 343 bytes .../Battery/nightfall.rsi/mag-unshaded-0.png | Bin 0 -> 151 bytes .../Battery/nightfall.rsi/mag-unshaded-1.png | Bin 0 -> 151 bytes .../Battery/nightfall.rsi/mag-unshaded-2.png | Bin 0 -> 158 bytes .../Battery/nightfall.rsi/mag-unshaded-3.png | Bin 0 -> 153 bytes .../Battery/nightfall.rsi/mag-unshaded-4.png | Bin 0 -> 153 bytes .../Guns/Battery/nightfall.rsi/meta.json | 46 ++++++++++++++ .../Guns/Battery/pulse_rifle.rsi/base.png | Bin 0 -> 351 bytes .../Guns/Battery/pulse_rifle.rsi/icon.png | Bin 0 -> 351 bytes .../Battery/pulse_rifle.rsi/inhand-left.png | Bin 0 -> 359 bytes .../Battery/pulse_rifle.rsi/inhand-right.png | Bin 0 -> 357 bytes .../pulse_rifle.rsi/mag-unshaded-0.png | Bin 0 -> 160 bytes .../pulse_rifle.rsi/mag-unshaded-1.png | Bin 0 -> 166 bytes .../pulse_rifle.rsi/mag-unshaded-2.png | Bin 0 -> 166 bytes .../pulse_rifle.rsi/mag-unshaded-3.png | Bin 0 -> 166 bytes .../pulse_rifle.rsi/mag-unshaded-4.png | Bin 0 -> 160 bytes .../Guns/Battery/pulse_rifle.rsi/meta.json | 40 ++++++++++++ .../Weapons/Guns/SMGs/c20r.rsi/base.png | Bin 329 -> 329 bytes .../Weapons/Guns/SMGs/c20r.rsi/icon.png | Bin 348 -> 348 bytes .../Guns/Shotguns/gladstone.rsi/icon.png | Bin 553 -> 329 bytes 26 files changed, 143 insertions(+) create mode 100644 Resources/Textures/Objects/Weapons/Guns/Battery/nightfall.rsi/base.png create mode 100644 Resources/Textures/Objects/Weapons/Guns/Battery/nightfall.rsi/icon.png create mode 100644 Resources/Textures/Objects/Weapons/Guns/Battery/nightfall.rsi/inhand-left.png create mode 100644 Resources/Textures/Objects/Weapons/Guns/Battery/nightfall.rsi/inhand-right.png create mode 100644 Resources/Textures/Objects/Weapons/Guns/Battery/nightfall.rsi/mag-unshaded-0.png create mode 100644 Resources/Textures/Objects/Weapons/Guns/Battery/nightfall.rsi/mag-unshaded-1.png create mode 100644 Resources/Textures/Objects/Weapons/Guns/Battery/nightfall.rsi/mag-unshaded-2.png create mode 100644 Resources/Textures/Objects/Weapons/Guns/Battery/nightfall.rsi/mag-unshaded-3.png create mode 100644 Resources/Textures/Objects/Weapons/Guns/Battery/nightfall.rsi/mag-unshaded-4.png create mode 100644 Resources/Textures/Objects/Weapons/Guns/Battery/nightfall.rsi/meta.json create mode 100644 Resources/Textures/Objects/Weapons/Guns/Battery/pulse_rifle.rsi/base.png create mode 100644 Resources/Textures/Objects/Weapons/Guns/Battery/pulse_rifle.rsi/icon.png create mode 100644 Resources/Textures/Objects/Weapons/Guns/Battery/pulse_rifle.rsi/inhand-left.png create mode 100644 Resources/Textures/Objects/Weapons/Guns/Battery/pulse_rifle.rsi/inhand-right.png create mode 100644 Resources/Textures/Objects/Weapons/Guns/Battery/pulse_rifle.rsi/mag-unshaded-0.png create mode 100644 Resources/Textures/Objects/Weapons/Guns/Battery/pulse_rifle.rsi/mag-unshaded-1.png create mode 100644 Resources/Textures/Objects/Weapons/Guns/Battery/pulse_rifle.rsi/mag-unshaded-2.png create mode 100644 Resources/Textures/Objects/Weapons/Guns/Battery/pulse_rifle.rsi/mag-unshaded-3.png create mode 100644 Resources/Textures/Objects/Weapons/Guns/Battery/pulse_rifle.rsi/mag-unshaded-4.png create mode 100644 Resources/Textures/Objects/Weapons/Guns/Battery/pulse_rifle.rsi/meta.json diff --git a/Resources/Prototypes/Entities/Objects/Weapons/Guns/Battery/battery_guns.yml b/Resources/Prototypes/Entities/Objects/Weapons/Guns/Battery/battery_guns.yml index 30eea5dda7..cfebd13247 100644 --- a/Resources/Prototypes/Entities/Objects/Weapons/Guns/Battery/battery_guns.yml +++ b/Resources/Prototypes/Entities/Objects/Weapons/Guns/Battery/battery_guns.yml @@ -150,6 +150,33 @@ - type: BatteryBarrel fireCost: 12 +- type: entity + name: nightfall laser rifle + parent: BatteryGunBase + id: LaserRifleSniper + description: A scoped high capacity laser rifle. + components: + - type: Sprite + netsync: false + sprite: Objects/Weapons/Guns/Battery/nightfall.rsi + layers: + - state: base + map: ["enum.RangedBarrelVisualLayers.Base"] + - state: mag-unshaded-4 + map: ["enum.RangedBarrelVisualLayers.MagUnshaded"] + shader: unshaded + - type: Item + size: 24 + sprite: Objects/Weapons/Guns/Battery/nightfall.rsi + - type: BatteryBarrel + fireCost: 6 + - type: Appearance + visuals: + - type: MagVisualizer + magState: mag + steps: 5 + zeroVisible: true + - type: entity name: DEAC-12 pulse carbine parent: BatteryGunBase @@ -180,6 +207,36 @@ volume: -2 startingItem: PowerCellSmallHigh +- type: entity + name: destroyer pulse rifle + parent: BatteryGunBase + id: PulseRifleDeathSquad + description: A weapon that fully lives up to its name. + components: + - type: Sprite + netsync: false + sprite: Objects/Weapons/Guns/Battery/pulse_rifle.rsi + layers: + - state: base + map: ["enum.RangedBarrelVisualLayers.Base"] + - state: mag-unshaded-4 + map: ["enum.RangedBarrelVisualLayers.MagUnshaded"] + shader: unshaded + - type: Item + size: 24 + sprite: Objects/Weapons/Guns/Battery/pulse_rifle.rsi + - type: BatteryBarrel + fireCost: 6 + ammoPrototype: Pulse + soundGunshot: + path: /Audio/Weapons/Guns/Gunshots/laser_cannon.ogg + - type: PowerCellSlot + cellSlot: + ejectOnUse: true + soundOptions: + volume: -2 + startingItem: PowerCellSmallHigh + - type: entity name: laser cannon parent: BatteryGunBase diff --git a/Resources/Textures/Objects/Weapons/Guns/Battery/cog.rsi/base.png b/Resources/Textures/Objects/Weapons/Guns/Battery/cog.rsi/base.png index 65688e7c7481cf5ee936741c821a4605c1fc167b..355b755141cef2e8f65bca06e0f85d225e06ae98 100644 GIT binary patch delta 336 zcmdnQ@_=cAWIZzj1B1(wu46!ou{g-xiSg!1oq8aLv%n*=n1O*?7=#%aX3dcR3YrD@ zgt!7}H%~tqdF8$d(-qVV0zy*^Ox+9|Je-`p8YXP0nz1-KGta=#EFz=g#*Lc_%DNH~ zO1g$N4;U>PfI5Xrg8YIR{=-2%lofZd%?>EN)YHW=q+-t7i5K~r4LDp|tr|tu{{27C zx54|)v>n^`=6s)JazT0Twaj0ye={-EXnkZoa4lh<&eNG3w;3#^WN(@9EH%PK!_A55 z`n^t%qb@yiMw@3;XfN38wsM-U=FEr?j)3JE43-NU7C$=SwQxFVdQ&MBb@05P_WO8@`> delta 548 zcmV+<0^9xI0|w`?oL70HJ76U0N!IFszQsVE-I?|<@=$-MXfGkI^IqN1Xr z;vZ8hyYb=b<1~AYqL9Oby>sVI%Bz`uuImA?^?uXX8%5#d9>^P- zCRFBICN6Bp=z**uRS#H}P#=>dCQiocUD%Exp!Y&N?0=sc^&DY41Ru7{DF}A9Yt2?W zwJc!>=f)+yxB3KtkDKrGLaDH>vvg~b@Hi>N%xFel9JDd)4L(m2R_HyDFEr{6$a+bS zW$udlX`%qlRy!58gX?e`8g5QZ z*Y9pq7) UvRK8c2`*V5RR3DKmPIScG3maFXM9Os>yQ8jB zn4D%Es{pL)nowFOE-?V04|f0nqUo4=p;%W2am3y}jpOA#QSapB5F-Qq;R5nAGty$i ztHbvx0D$^UY=2Y^;JPLZqjk=8O}MVr^VSTbAjX%c$I=b1EX`xHvV#Qmn`n4-DRC^D z!5A_C0NXS}2}`ANC@B}}y5`5+5<pWps!GJB z?^95}Ddt4eC4!(A=)+yt7|bD>4y$@5cY$?XQ2Ax6|; zg?EFP0N^TG Sv~Bwv&=dtFb>j))(jdJhL4Lsu z|DnK~Y4#PM;7m^!$B>FSXZvmWnhki|&Q24YJV#;bF6S$AJMurc?qD*WX!GL+@6yoA z^BT-u&&U69E|J}l{%oJ%VT+^D+BF|C=SVk7I%s$7dLsXN*RoryuQ9%QRB(TrE?=S2 zS(ypPTWXdCsXAvXV{Z3Tq_T8PJN{C^?jWBsuepnSpQyAkYc(g nOWm|XXaDtC|2Th{?cnpDEv30MPF=+T=tu@nS3j3^P67d=Q>xum9UCVB*zQ*|KQNjIfx_pI7 zXJsbb?^LZkm3AzttNBplIdLO-olKRxoMBJCaIHMVIrWjk*Y|Pit5)pTVEubdL5k^~ oEOpZko&DEm{p0*)wu8@qwv^`5ICT{Vpd%SPUHx3vIVCg!09sXaApigX literal 0 HcmV?d00001 diff --git a/Resources/Textures/Objects/Weapons/Guns/Battery/nightfall.rsi/inhand-left.png b/Resources/Textures/Objects/Weapons/Guns/Battery/nightfall.rsi/inhand-left.png new file mode 100644 index 0000000000000000000000000000000000000000..53bc7fd843085a265008ffb97b861946b713fe16 GIT binary patch literal 357 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0J3?w7mbKU|e#^NA%C&rs6b?Si}&H|6fVg?3o zVGw3ym^DWND5x0V6XFV_m6erUU0p*%L#Iri5gC*mY`2{olhlAR(+N(g}W1cRKAr*6y6C_xbg$;y)6jT_}xe`JZ)|?PxSma!wnP4DP z$~tMyI*TQe5>uQN)L0%A^fCljsZV&6<9{f%H8Jui3tO9HY7^UzHwpgbsR^b2$5nY* zo+>gbHd@@}U|PdH?a^d8*2M`kn9sav)H<}HV%nj=9WGb~?qi;e@dPhg0mqS6Y3c lav?Sin(G*3J{=ZkVAx|Rk(a~4%m?%lgQu&X%Q~loCIIkccG~~| literal 0 HcmV?d00001 diff --git a/Resources/Textures/Objects/Weapons/Guns/Battery/nightfall.rsi/inhand-right.png b/Resources/Textures/Objects/Weapons/Guns/Battery/nightfall.rsi/inhand-right.png new file mode 100644 index 0000000000000000000000000000000000000000..8d54786b268e811c2464a4c76d7e07db1327756e GIT binary patch literal 343 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0J3?w7mbKU|e#^NA%C&rs6b?Si}&H|6fVg?3o zVGw3ym^DWNC@2@;6XFV_m6erUU0oxi5~oa`5gHnLP}BZZX1uwX)1f2By&ua}0ab97 z1o;Is{D*FS$q5py%De_bK?*7jz9M=VhgNhsGj=m}q?L(r9Z1}? z!T1PEFsqE7G2`q5VK7m YaN8!_$MeVi3(y}7p00i_>zopr0Q|#ow*UYD literal 0 HcmV?d00001 diff --git a/Resources/Textures/Objects/Weapons/Guns/Battery/nightfall.rsi/mag-unshaded-0.png b/Resources/Textures/Objects/Weapons/Guns/Battery/nightfall.rsi/mag-unshaded-0.png new file mode 100644 index 0000000000000000000000000000000000000000..cfc71602bcc1bec630eea6a36cec7ee96c10a900 GIT binary patch literal 151 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnH3?%tPCZz)@#^NA%C&rs6b?Si}&H|6fVg?3o zVGw3ym^DWND997w6XFV_71Rt2Ox*%PQ-nD4-T?V5B|(0{4FCWC->mD<0pyE#x;TbZ n%t=mIU_7D4@QZ;9n=%7~eF8(Gm+-YFpge=8tDnm{r-UW|fAJzf literal 0 HcmV?d00001 diff --git a/Resources/Textures/Objects/Weapons/Guns/Battery/nightfall.rsi/mag-unshaded-1.png b/Resources/Textures/Objects/Weapons/Guns/Battery/nightfall.rsi/mag-unshaded-1.png new file mode 100644 index 0000000000000000000000000000000000000000..70ac25da4a792cd4d497ac3b18641ce49bcb89a5 GIT binary patch literal 151 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnH3?%tPCZz)@#^NA%C&rs6b?Si}&H|6fVg?3o zVGw3ym^DWND997w6XFV_lQm2ZYTCcbj4$TCYz^eIlmz(&GyMPmf3vPb2aqq~>Eakt nF()};f$@YE!!HIdY|0D__6ZD$Uc%R!fbtBUu6{1-oD!M<>V6}~ literal 0 HcmV?d00001 diff --git a/Resources/Textures/Objects/Weapons/Guns/Battery/nightfall.rsi/mag-unshaded-2.png b/Resources/Textures/Objects/Weapons/Guns/Battery/nightfall.rsi/mag-unshaded-2.png new file mode 100644 index 0000000000000000000000000000000000000000..d68e5f5b7e10b1aa6843478220d46250c0845393 GIT binary patch literal 158 zcmeAS@N?(olHy`uVBq!ia0vp^4nVBH#0(_wf1V}|q!^2X+?^P2p46!aaySb-B8wRq zxP?KOkzv*x37{ZPfKP}kkWSVxIjCv>Dl@*A`?58V&r%ZP7tHYg|NqUp4jn+gw5N+> wNX4Aw1c@|Eakt qF()};f$@Yn45=?{9mFMj7#KS9nG*Lcwx17F!QkoY=d#Wzp$Py>5haQM literal 0 HcmV?d00001 diff --git a/Resources/Textures/Objects/Weapons/Guns/Battery/nightfall.rsi/mag-unshaded-4.png b/Resources/Textures/Objects/Weapons/Guns/Battery/nightfall.rsi/mag-unshaded-4.png new file mode 100644 index 0000000000000000000000000000000000000000..040e713714295dd4eecd27e0b92ad0c1c5b1b0d4 GIT binary patch literal 153 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnH3?%tPCZz)@#^NA%C&rs6b?Si}&H|6fVg?3o zVGw3ym^DWND997w6XFV_lQm2ZYTCcbj4$TCYz^eIlmz(&GyMPmf3vPb2aqr3>Eakt qF()};f$@YnoT)GNI*Uv8Ffh#HXKGw&z+nqi!QkoY=d#Wzp$Py+h$PAY literal 0 HcmV?d00001 diff --git a/Resources/Textures/Objects/Weapons/Guns/Battery/nightfall.rsi/meta.json b/Resources/Textures/Objects/Weapons/Guns/Battery/nightfall.rsi/meta.json new file mode 100644 index 0000000000..9b419cde20 --- /dev/null +++ b/Resources/Textures/Objects/Weapons/Guns/Battery/nightfall.rsi/meta.json @@ -0,0 +1,46 @@ +{ + "version": 1, + "license": "CC-BY-SA-3.0", + "copyright": "Taken from cev eris at https://github.com/discordia-space/CEV-Eris/blob/master/icons/obj/guns/energy/sniper.dmi", + "size": { + "x": 32, + "y": 32 + }, + "states": [ + { + "name": "icon" + }, + { + "name": "base" + }, + { + "name": "mag-unshaded-0" + }, + { + "name": "mag-unshaded-1" + }, + { + "name": "mag-unshaded-2", + "delays": [ + [ + 0.3, + 0.3 + ] + ] + }, + { + "name": "mag-unshaded-3" + }, + { + "name": "mag-unshaded-4" + }, + { + "name": "inhand-left", + "directions": 4 + }, + { + "name": "inhand-right", + "directions": 4 + } + ] +} diff --git a/Resources/Textures/Objects/Weapons/Guns/Battery/pulse_rifle.rsi/base.png b/Resources/Textures/Objects/Weapons/Guns/Battery/pulse_rifle.rsi/base.png new file mode 100644 index 0000000000000000000000000000000000000000..23a401a84ecbb5427537824012485a673cedfbbd GIT binary patch literal 351 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnF3?v&v(vJfv#^NA%C&rs6b?Si}&H|6fVg?3o zVGw3ym^DWND5w(P6XFV_bq#GMPnjJWnJgipWDpQwU}%=oR_9z%?&RzhotdYgX5gEaktG3V?AL#{&sJZ-@h7Up*T7v?QE%UUDF^)f?H z*7d1l^~802K$7|Ho`srLQ`TAi$o1wYj4^LccV!6+*dvemFFa`A&JMCtx z)GO(2-^g{@vC=qY_OhL8t|`ndN!wxNB3QU<+lt?g@6>sNMU0juKl>$k?`M~P%rt}D g_di_M|6{4YyF=Uf*wP|ypg$NqUHx3vIVCg!0N!SVX#fBK literal 0 HcmV?d00001 diff --git a/Resources/Textures/Objects/Weapons/Guns/Battery/pulse_rifle.rsi/icon.png b/Resources/Textures/Objects/Weapons/Guns/Battery/pulse_rifle.rsi/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..d3d33c0a8671c04e715ea8beed46dd8154b61d67 GIT binary patch literal 351 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnF3?v&v(vJfv#^NA%C&rs6b?Si}&H|6fVg?3o zVGw3ym^DWND5w(P6XFV_bq#GMPnjJWnJgipWDpQwU}!e$!yV^}awli6=*&C?HG}TN z{uZD*o{}KHV21w)zt%+Z ztm{+9>WS<4fF$$XJqtChrmVC2k^7V5Bp%)~&)0Ex zxYpa~iuaD`I{dk}-^nz|%RQVWd~}5OGTvM1^lD5OjMX+$!wiUk}->LHkix@3Se)dc7-p?-om}v&P g?|--WfCTwVY`I-IOS6q0+x4`Fe*;c{N6_?j+T6u>dx}xKbPhD#2%@6DU zf9^dMd2mU)Lrmts=81A0=R|8>EMb3Dpj*lKvQgsgyy%uM0uG%^_BdZ)E?oIjw&9CG ru7U-_SAnD_ES(GFIIPtts(xa*@<9Ats%&5;&~FT$u6{1-oD!M_RaR^ zeRzKJp`8aNUAfZ#LQc;hWX~7&Q{Pk{-l_b%oLi^)%wLx0Ox-=8E@ntUe r9o7zk9&R2@_a3924(BAEhVNwF!y{Jbc2 n_z%Sk$UjlT;&> zR3jHn1e+Qb6&k7(z%V(QVU{V_P}Wceh9Fgj$uSI*OySOARf;rHjZ_XmI5bFEDM%?4 n$>pp;s;tO-phy72zycKjCle$Ft9L3<00000NkvXXu0mjf4S+?S diff --git a/Resources/Textures/Objects/Weapons/Guns/SMGs/c20r.rsi/icon.png b/Resources/Textures/Objects/Weapons/Guns/SMGs/c20r.rsi/icon.png index e7bb7e033b2a2275f59e04baf164e2e20a8b203a..2a8f2aca635b337ecc39c16233c2655c6884c98c 100644 GIT binary patch delta 198 zcmV;%06G8M0^9_bH9xyRBJv&8#euqj*N;y1PR$Ot7m7y{+G7GkcJCT1ve>6ey zj`ohSj6|@2lal02sYR<6t`6sHa$Bz!0K>on095`hr#+Hs9smFU07*qoM6N<$f)Zs+ AV#LM7DJ(9|$hJ(t)zNXI$wY_b zWVY)U0zMWAieC+w*wH88e%*mBG5N6OJ3X~?$CTn$$HNe?#aq!3}+u2Uu0!tWMD|vS9rHe(d#_WnGBw;elF{r5}E*nxN^Y& delta 540 zcmV+%0^|M30;vR$7=H)`0001UdV2H#00HnxL_t(|ob8q|Yuiu|$A2oKvm< zsQop78n~w*Fm}ZGay>@A@*B@fpODaO-ep=t< z5ddpHKFuw&v>@;YynbcT>knzvYw7s@gPSH~TU(kw+b=mF3`Zn!G=a#_-@5yZv+)r> zXR-pQR5wZDh+yj1>kltvElT2ua5_&fVQ*S8*-YYyj(^wI0JfVus$diWI2#{PscsVZ z0|I}L+K3%M$7^fb%^fA}nH{q}x-4c1XC);Q+eW>HZEb0GYgc9MvIl49S4lJPms9F& zCK6O6Es^XBMiFQ4%~Cm@PYy-iKu~TUHBS#T~D$C2@p2|4Iuha9vvY$0!HL e0djyG;1v%ZcIHDV_9wUi0000