CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.68k stars 4.19k forks source link

add weapon tripods #23169

Closed ymber closed 5 years ago

ymber commented 6 years ago

Tripods that reduce recoil on machine guns would make it viable to use something larger than an M249 without bolting it to a vehicle. The tripod would be deployed to a tile like a trap where it gives a MOUNTABLE (or new flag) point to fire from. The M192 lightweight ground mount could be used as a reference for stats.

kevingranade commented 6 years ago

It'd be just as easy to place as furniture as it is to place as a trap. AFAIK tripods are generally going to be gun-specific. Is there a particular reason to not make the whole gun and tripod assembly not be a single item?

ymber commented 6 years ago

The M240 and M249 have common mount points for the M192 and the M205 can mount a Mk 19 or an M2. Deploying the tripod separately as furniture is the best way I can see of implementing it without more significant code changes to add item actions from a gunmod.

BorkBorkGoesTheCode commented 6 years ago

@ymber do you plan to add tripods a some point?

ymber commented 6 years ago

I looked into doing it but it was a bigger code change than I anticipated because I found I wanted to generalize weapon stability modifiers and move some stuff out to json and then I got caught up with other stuff. I might get back on it at some point. If you want to claim the issue go for it.

BorkBorkGoesTheCode commented 6 years ago

@ymber I'm in a similar position.

Night-Pryanik commented 5 years ago

Closing per lack of discussion for a long time and to clean up the issues list.