Garry's Mod

Garry's Mod

nZombies - A Nazi Zombies Gamemode [Content Pack]
Emma AMI-99 2016 年 10 月 8 日 下午 8:07
Custom Perks
If I could add one thing in this gamemode, it would be the ability for advanced developers to script their own perks and even make their own perk-a-cola model which can be added in the steam workshop. You should work on that in the next content pack.
< >
正在显示第 1 - 3 条,共 3 条留言
Zet0r  [开发者] 2016 年 10 月 9 日 上午 4:06 
That is already possible :D
(Also that wouldn't go on the content pack, that'd go in the gamemode)
Currently all perks are registered via functions that can be called outside the gamemode too. There'll eventually be a guide on the wiki, but it's generally pretty simpl, you just wanna copy-paste the registrations seen in /gamemode/perks/sh_perks.lua and edit them, then have some hook calls that check player:HasPerk(id) to run the actual effects.
Primo 2016 年 10 月 9 日 上午 10:38 
add pls windows vine
Zet0r  [开发者] 2016 年 10 月 9 日 上午 11:09 
引用自 NikitaGuy
add pls windows vine
It's coming next update. It's already finished in the dev branch version, just need to finish the rest of the stuff for that and it'll be part of the main (and final before workshop) update.
< >
正在显示第 1 - 3 条,共 3 条留言
每页显示数: 1530 50