Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Editing Damage  (Read 1283 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.