Garry's Mod

Garry's Mod

Star Wars Lightsabers
luca00711 2016 年 9 月 17 日 上午 5:20
Lightsaber damage
How can I change the damage of the lightsaber
< >
正在显示第 1 - 2 条,共 2 条留言
Rubat  [开发者] 2016 年 9 月 17 日 上午 6:20 
Read the description of the addon.
[Osiris] StarLight 2016 年 11 月 24 日 上午 5:47 
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 )
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50