Garry's Mod

Garry's Mod

Vape SWEP for TTT
 此主题已被置顶,因此可能具有重要性
Giygas | Gaming on Gentoo  [开发者] 2019 年 4 月 9 日 下午 3:10
Bugs, and Glitches, and Errors (Oh my)
Find something wrong with the code? Help me help you by reporting it here.
< >
正在显示第 1 - 5 条,共 5 条留言
Coe 2019 年 4 月 15 日 下午 10:01 
Hey, awesome addon, it's really well done! That said, I've noticed a small issue (I think). The vapes meant for the T and D shops show up and work just fine, but I'm not seeing any spawning at random weapon points. I made a small test map with a ton of ttt_random_weapon and restarted the round a lot to spawn tons of random weapons, never saw a single vape. Is that a bug? Or a setting I missed?
最后由 Coe 编辑于; 2019 年 4 月 15 日 下午 10:02
Giygas | Gaming on Gentoo  [开发者] 2019 年 4 月 16 日 上午 12:38 
As long as SWEP.AutoSpawnable = true, it should autospawn? I've had this happen where there's absolutely no vapes that spawn, and then times when there's a couple per map. I think it's just that because there's so many weapons, it lowers the chance of it spawning due to the amount of other weapons that spawn? I'm really not sure. Sometimes, they spawn for me, sometimes, they don't.
Coe 2019 年 4 月 16 日 上午 8:17 
I looked into it a bit, and I saw this on badking's site:
Only weapons that are not of type WEAPON_EQUIP* and have AutoSpawnable set to true will spawn from ttt_random_weapon entities.
So I took a look at your code, and all the AutoSpawn vapes are WEAPON_EQUIP1. Looks like you have to change them to be either WEAPON_PISTOL, WEAPON_NADE, or WEAPON_HEAVY to auto spawn.
Giygas | Gaming on Gentoo  [开发者] 2019 年 4 月 16 日 下午 3:10 
Patched and uploaded. Restart your server, and force a redownload of the addon if needed.
Coe 2019 年 4 月 16 日 下午 4:18 
Tested and is working now!
< >
正在显示第 1 - 5 条,共 5 条留言
每页显示数: 1530 50