OK so I know where a lot of things are in the code of the game, but one thing I still don't fully understand is where fire damage exactly "is".
I know that when firing a flamethrower at a zed, it will do damage to that zed, and apply the DoT. What I want to know is where can I change the damage it does, and where are DoT damages calculated.
What I want to do it is reduce the the on-hit damage to either 0 or a very low number, and make the DoT damage higher to compensate, as well as making ground fire last much longer, that way firebug will be all about spraying paths of fire to light up zeds and burn them to death with the DoT, rather than spraying the flamethrower directly at the zeds.
The 2 things I want to know are:
I believe it is the X and Y components in Spray Damage in the spray archetype but I'm not sure.
Also, does anyone know how I would go about giving a weapon an ability that has a cooldown? It'd just be something simple like fire a projectile, but using it would have a cooldown.
I know that when firing a flamethrower at a zed, it will do damage to that zed, and apply the DoT. What I want to know is where can I change the damage it does, and where are DoT damages calculated.
What I want to do it is reduce the the on-hit damage to either 0 or a very low number, and make the DoT damage higher to compensate, as well as making ground fire last much longer, that way firebug will be all about spraying paths of fire to light up zeds and burn them to death with the DoT, rather than spraying the flamethrower directly at the zeds.
The 2 things I want to know are:
- where is the on-hit damage on the flamethrower
- what does the DoTDamageScale variable base it's scale off of
I believe it is the X and Y components in Spray Damage in the spray archetype but I'm not sure.
Also, does anyone know how I would go about giving a weapon an ability that has a cooldown? It'd just be something simple like fire a projectile, but using it would have a cooldown.
Last edited: