Garry's Mod

Garry's Mod

Star Wars Lightsabers
luca00711 17 Sep, 2016 @ 5:20am
Lightsaber damage
How can I change the damage of the lightsaber
< >
Showing 1-2 of 2 comments
Rubat  [developer] 17 Sep, 2016 @ 6:20am 
Read the description of the addon.
There is a hook which you can change the value of the damage or you can simply go into the lua files and change the damage, i would advise going with the hook

and he means check out this page

https://github.com/robotboy655/robotboy655.github.io/blob/master/lightsabers.md

and here is the hook

hook.Add( "CanLightsaberDamageEntity", "my_unqiue_hook_name_here", function( victim, lightsaber, trace )
return 50 -- Makes the damage twice as high for the weapon
end )
< >
Showing 1-2 of 2 comments
Per page: 1530 50