Project: Heavy Weaponry #77
AtomicFox556
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Part 1: Heavy handheld weapons
Heavy handheld weapons represent normally vehicle-mounted weapons such as HMGs, repurposed to be handheld and fired from the hip. Currently, possible candidates for this are M2 HMG, M134 Minigun, and Mark 19 grenade launcher. Any heavier weapons such as autocannons woun't be allowed to be used like that.
All such weapons would be made via crafting, using the original weapon as one of the components. They can never have certain gunmods (sights, stocks and grips) installed as they lack the slots for them. They would also have a low handling modifier and very high sight dispersion, representing the inability to use sights when hip-firing such a weapon.
All such weapons would need character to have at least 20 strength to use; "min_strength" JSON field can be used, exactly as for bows, but item::get_min_str() would need to be changed to only apply bow proficiency bonus if the weapon has RELOAD_AND_SHOOT flag.
Certain weapons normally too heavy to be used handheld may have such an option accessible even without crafting them into a handheld variant, but currently no such weapons exist in game. One example would be Anzio 20mm anti-material rifle.
Part 2: Heavy vehicular weapons
Heavy vehicular weapons represent particularly heavy vehicle-mounted weapons that need to be solidly mounted to a vehicle with substantial weight in order to be practically useful. They can never be converted to handheld variants as explained in part 1, and have some other restrictions. In particular, this represents autocannons, tank cannons and powerful low-tech mechanical artillery. All such weapons would only be capable of direct fire however; implementation of indirect fire (i.e. mortars) would be a different thing entirely.
Item definitions for such weapons will have a "vehicle_min_weight" field. It will define how heavy a vehicle will need to be to be able to fire this weapon if it is mounted to it.
New "HEAVY_WEAPON" flag on those items will allow installing them only on a vehicle tile with any part that has "HEAVY_WEAPONS_ALLOWED" flag. Realistically, only heavy-duty frames should come with it.
Rather than having those specific two limitations, it may be possible to cause vehicles to roll back and/or be damaged if they aren't met, but this would be much harder to implement and not really necessary. Any more specific suggestions on how this could work are welcome.
Beta Was this translation helpful? Give feedback.
All reactions