Goonstation Forums
40mm hand grenade conversion [New Riot Launcher Feature!] - Printable Version

+- Goonstation Forums (https://forum.ss13.co)
+-- Forum: Discussion (https://forum.ss13.co/forumdisplay.php?fid=6)
+--- Forum: Patches (https://forum.ss13.co/forumdisplay.php?fid=30)
+---- Forum: Implemented (https://forum.ss13.co/forumdisplay.php?fid=31)
+---- Thread: 40mm hand grenade conversion [New Riot Launcher Feature!] (/showthread.php?tid=10372)



40mm hand grenade conversion [New Riot Launcher Feature!] - Noah Buttes - 04-23-2018

This patch enables you to load regular hand grenades and chem grenades into the 40mm shell launcher in security. This converts the grenade into a contact explosive, meaning it will detonate immediately on impact.

Due to some weird quirks in the way projectiles, ammo, and guns are handled, you have to manually unload the riot launcher if you want to swap out its current ammo for a hand grenade. You also cannot revert the grenades back into hand throwable form once converted. Edit: Wow, I completely forgot that I made it so you could, in fact, remove the grenade afterwards by clicking on the ammo with an empty hand. Whoops.

The text output upon reloading is kinda ugly, but I didn't want to tamper with the pre-existing reload functionality too much just for this one purpose. Apologies.

Right now, the ammo container for the conversion shell uses some formerly unused paintball jar sprites, but if anyone wants to make dedicated sprites, that would be greatly appreciated.

Compare:
https://github.com/goonstation/goonstation-2016/compare/goonstation-2016-byond510...NoahButtes:40mm-conversion

Diff:
https://github.com/goonstation/goonstation-2016/compare/goonstation-2016-byond510...NoahButtes:40mm-conversion.diff

Patch:
https://github.com/goonstation/goonstation-2016/compare/goonstation-2016-byond510...NoahButtes:40mm-conversion.patch


RE: 40mm hand grenade conversion [New Riot Launcher Feature!] - Triacontakai - 04-23-2018

amazing


RE: 40mm hand grenade conversion [New Riot Launcher Feature!] - Tarmunora - 04-24-2018

Would this include the stinger grenades in armoury? Because having those as impact explosives would be quite deadly


RE: 40mm hand grenade conversion [New Riot Launcher Feature!] - Noah Buttes - 04-24-2018

(04-24-2018, 04:53 AM)Tarmunora Wrote: Would this include the stinger grenades in armoury? Because having those as impact explosives would be quite deadly

Yes.

Syndicate frag and sarin grenades too.

Emp nades as well.

Any type of grenade, including light grenades.


RE: 40mm hand grenade conversion [New Riot Launcher Feature!] - Gannets - 04-24-2018

I said this in dicsord, but i'm happy to see the launcher get summore uses.


RE: 40mm hand grenade conversion [New Riot Launcher Feature!] - NateTheSquid - 04-24-2018

i like this cause it adds use to the grenade launcher, but isnt overpowered as you can achieve the same thing with some good timing and arming the grenade in your hand