Garry's Mod

Garry's Mod

Vape SWEP for TTT
 This topic has been pinned, so it's probably important
Giygas | Gaming on Gentoo  [developer] 9 Apr, 2019 @ 3:10pm
Bugs, and Glitches, and Errors (Oh my)
Find something wrong with the code? Help me help you by reporting it here.
< >
Showing 1-5 of 5 comments
Coe 15 Apr, 2019 @ 10:01pm 
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?
Last edited by Coe; 15 Apr, 2019 @ 10:02pm
Giygas | Gaming on Gentoo  [developer] 16 Apr, 2019 @ 12:38am 
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 16 Apr, 2019 @ 8:17am 
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  [developer] 16 Apr, 2019 @ 3:10pm 
Patched and uploaded. Restart your server, and force a redownload of the addon if needed.
Coe 16 Apr, 2019 @ 4:18pm 
Tested and is working now!
< >
Showing 1-5 of 5 comments
Per page: 1530 50