Garry's Mod

Garry's Mod

NPC Spawn Platforms v3
schmidsterNAE 2022 年 4 月 24 日 下午 1:27
Custom weapons
I know that it is stated in the description that you need to talk to a coder or something to get the weapon in, but the workaround that is given is very short and undescriptive. I could use some help trying to get a TFA weapon to work with the spawning platform. I do know that the weapons do work on the NPCs because I overridden their default weapons in the context menu,
< >
正在显示第 1 - 2 条,共 2 条留言
Lexi  [开发者] 2022 年 4 月 29 日 上午 9:10 
So I went to have a look at how TFA handle this[gitlab.com] and it is extremely strange - however if you set the cvar npc_spawnplatform_weapon to the weapon you would like to use and have npcspawner_config_callhooks set to 1 then it should "just work".
schmidsterNAE 2022 年 4 月 29 日 下午 4:07 
引用自 Lexi
So I went to have a look at how TFA handle this[gitlab.com] and it is extremely strange - however if you set the cvar npc_spawnplatform_weapon to the weapon you would like to use and have npcspawner_config_callhooks set to 1 then it should "just work".

thank you so much man, im glad you could help out
i tried this is sandbox and it worked without any issues
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50