View Full Version : Changing the Level of Damage caused by a weapon?

12-10-2004, 05:56 AM
Pretty straight forward question . . . I was wondering, without having to do havy coding . . . perhaps a cfg file somewhere, if you could change the ammount of damage caused by a weapon. For instance, keeping weapons normal except the saber which would always give a one hit kill (the way it should).

12-10-2004, 06:54 AM
Well, there's a cvar you can use to change the damage caused by the light saber but not the other weapons.

12-10-2004, 11:19 AM
well that sucks . . . thanks though.

12-10-2004, 02:42 PM
You're welcome.

12-19-2004, 10:26 AM

add at the top
( under all the ints )

if(mod==MOD_BLASTER)damage=damage+ BlasterDamage.integer

. Obviously u would have to setup the BlasterDamage,
then the Server can just add its own extra damage in the console.

but no , it cant be done without having to do some coding.

12-19-2004, 04:36 PM
Well, if you're going to change the code, it would be MUCH easier to just change the damage value of the weapon bolt when it's spawned in it's own spawn function in g_weapons.c