Giving bullets their own damage type.

Started by Lemonater47, January 29, 2018, 11:59:01 PM

Previous topic - Next topic

Lemonater47

So I want to make it so bullets will do their own form of damage and make all apparel/armour have their own resistance to this new damage type. However I don't quite know where to look to start this. As I don't think anyone has really done this before because I would imagine this would be incompatible as hell with any other mod that adds weapons or clothing.

But yeah. I don't like the fact bullets do "sharp" damage.

I simply don't know where exactly I need to look to change this and make a new kind of damage.

Sandy

Quote from: Lemonater47 on January 29, 2018, 11:59:01 PM
So I want to make it so bullets will do their own form of damage and make all apparel/armour have their own resistance to this new damage type. However I don't quite know where to look to start this. As I don't think anyone has really done this before because I would imagine this would be incompatible as hell with any other mod that adds weapons or clothing.

But yeah. I don't like the fact bullets do "sharp" damage.

I simply don't know where exactly I need to look to change this and make a new kind of damage.

DamageDefs in the core folder, obviously.
and then, go to the rangedweapons def xml file inside ThingsDef_Misc, and edit the bullet damage to ur new damage type.