OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Jenkins on 25 Aug 2003, 08:20:46
-
Hey,
I'm working on a gun, and I wanted to know how to make the damage less or more. I know you use the config.ccp right? Which line do you edit to make the damage less?
Thanks
-
Yes, you need to make changes to the config.cpp file. Here are the lines that you are looking for:
hit=50;
indirectHit=25;
indirectHitRange=10;
Those numbers are just an example of what you can put there. With the numbers that I gave you, the weapon will do 50 points of damage with a direct hit. It will do 25 points of damage to anyone within 10 meters with an indirect hit.
Hope that helps.