Is there a way to get the default ttt weapons to not spawn?
2 replies, posted
Like if a map has random weapon spawns, I don't want those weapons included. If not I'd like to make an addon for the workshop that would do that and I don't really know where to start.
The TTT Gamemode looks for the spawn positions to create weapons in those positions. Just look at the gamemode and blacklist/remove the weapons you dont want from the spawntable.
So somewhere in the ttt lua. I could modify it for myself, but I wanted an addon that would work with the default unmodified config. Maybe I could run a hook on the start of the match (just after weapons have spawned) and have a function that makes a table of all existing weapons with autospawnable = true (excluding defaults) and then tell it that if one of the default ttt weapons is on the map, replace with a non-default one. Then people could subscribe from the steam workshop and it would just work. I could even have server convars to make weapons with stronger ammo types spawn less. So like more pistols would spawn than assault rifles (optional I suppose).
Sorry, you need to Log In to post a reply to this thread.