Home   Help Search Login Register  

Author Topic: Editing Damage  (Read 944 times)

0 Members and 1 Guest are viewing this topic.

Jenkins

  • Guest
Editing Damage
« 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

dharbert

  • Guest
Re:Editing Damage
« Reply #1 on: 14 Oct 2003, 07:08:40 »
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.