Garry's Mod

Garry's Mod

Town Of Terror - More roles for TTT (The Original Custom Roles mod for TTT)
kaktus 2018 年 7 月 16 日 下午 2:57
Changing Damage For Infected Claws
Is there any way for me to make the claws weapon for Infected to be one-hit KO without extracting/unpacking the addon and messing with the weapon's lua script? Any simple command or anything that I can run from console or hidden cfg file?
最后由 kaktus 编辑于; 2018 年 7 月 16 日 下午 3:04
< >
正在显示第 1 - 7 条,共 7 条留言
Jenssons  [开发者] 2018 年 7 月 16 日 下午 3:09 
not currently no
kaktus 2018 年 7 月 16 日 下午 3:43 
Ok, thanks for letting me know. I've got it working, just didn't want to realize there was an easier way after the fact.
Tobster57 2018 年 7 月 30 日 上午 4:19 
引用自 kknudson
Ok, thanks for letting me know. I've got it working, just didn't want to realize there was an easier way after the fact.
So have you got one-Hit claws working, becuase if so i would like to know how you did it and i can implement on my gmod server.
Jenssons  [开发者] 2018 年 7 月 30 日 上午 6:11 
You would have to extract the mod
最后由 Jenssons 编辑于; 2018 年 7 月 30 日 上午 6:12
kaktus 2018 年 8 月 1 日 下午 8:50 
After you extract the mod to the addons folder in your server ("garrysmod\addons\"), open the file "addons\More Roles for TTT\gamemodes\terrortown\weapons\weapon_inf_claw.lua" in a text editor and go to line 15 where it says "SWEP.Primary.Damage = n". Change that number (n) to something like 300. The reason I set it above 100 is due to the other addons such as the Randomat which can give more health to the players above the normal amount. This allows the claws to still infect on one-hit under all circumstances. When you extract the addon, make sure to delete the packed version or some strange errors might occur ("garrysmod\cache\srcds\1092556189.gma"). If anyone reading this has any issues following these instructions please reply or message me.
Vis 2018 年 8 月 7 日 下午 1:55 
Just do what I did when I wanted the knife to be one hit:

Set the Damage to 2000 :)
Lee 2018 年 9 月 21 日 上午 2:35 
I'm paying for a dedicated server hosted somewhere else, and I can't seem the file needed to change the primary damage of infected claws, anyone know a solution?
< >
正在显示第 1 - 7 条,共 7 条留言
每页显示数: 1530 50