Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

Changing the Level of Damage caused by a weapon?

Page: 1 of 1
 Styles2304
12-10-2004, 6:56 AM
#1
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).
 razorace
12-10-2004, 7:54 AM
#2
Well, there's a cvar you can use to change the damage caused by the light saber but not the other weapons.
 Styles2304
12-10-2004, 12:19 PM
#3
well that sucks . . . thanks though.
 razorace
12-10-2004, 3:42 PM
#4
You're welcome.
 GangsterAngel
12-19-2004, 11:26 AM
#5
g_combat.c
G_Damage

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.
 razorace
12-19-2004, 5:36 PM
#6
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
Page: 1 of 1