安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题
https://imgur.com/YOXYAo4
You'll want to unpack your NPC addon of choice with gmad.exe found in the Garrysmod Bin Folder.
When the respective addon's folder is generated in your garrysmod/addons folder, open the lua folder and find the script for your NPC of choice.
In there you'll be looking for a class name similar to the Default NPC classes seen in Hammer such as "npc_soldiercombines" or "npc_citizen".
In my case, it was "npc_alfie_odst_friendly".
Copy that classname and paste in the NPC Classname section of your NPC Spawnplatform properties.
Save and Compile your map and load in Garry's Mod and VOILA!
Hope this helps anyone who wants to build these into their map and not be limited to HL2 NPCs.
I'll post more as more becomes revealed through trial and error, such as a custom weapon class and some ability to modify bodygroups.
Stay posted.
Unpack the NPC Swep addon of your choice and head to the lua for the weapon classes.
There you'll find a list of all the various weapons that addon references and, same drill, copy and paste into the Weapon Class section of your Spawn Platform properties menu within Hammer.
Save, Compile and Load the map and once again, works like a charm.
In case it isn't already clear, make sure to actually have the addon installed in your addons folder and make sure your referencing NPC SWEPS not player weapons or props!
Good luck!
If I can come up with a work around for Bodygroups you'll find it below in time.