Modifying existing Grenades/Molitovs

Started by carypearson, March 16, 2014, 05:39:05 PM

Previous topic - Next topic

carypearson

So I am not sure where to look for this,

In the core code grenades have the following

<explosiveDamageType>Bomb</explosiveDamageType>

But guns have  Something like this

-<projectile>

<damageAmountBase>40</damageAmountBase>

<speed>100</speed>

</projectile>

And you can change the Base damage to make them stronger or weaker.

I can't see how to make the frag grenade weaker or stronger,

I would like to make the following "grenade types"
Demolition Charge - shorter throw range, smaller diameter explosion, much more damage
Explosive Napalm -shorter throw range, some damage (maybe 2/3 the frag grenade) , causes fires
light grenade - longer throw distance, smaller diameter explosion, 1/2 the damage of the frag, faster throwing rate

I have found where I change the diameter and throw range, and how to change the throwing rate.

But I can't seem to find where the damage amount for the <explosiveDamageType>Bomb</explosiveDamageType> is stored.

do I need to create a new class of damage type?