Garry's Mod

Garry's Mod

TTT Weapon Placer
115 Comments
dementia is my trait 3 Jun @ 12:02pm 
how do i use this in ttt with bots
Bad King Urgrain  [author] 8 Oct, 2024 @ 8:34am 
Not by default, but a mod/addon could do this.
4GClaroARG 3 Oct, 2024 @ 6:18am 
Is there a way to only spawn random weapons, but not spawn grenades? There are maps where random weapons always spawn, but not grenades.
Bad King Urgrain  [author] 23 Nov, 2023 @ 11:44am 
If they are TTT weapons and they're visible in sandbox while using the weapon placer, then yes they will be included in the rearm script as if you had placed them. If you don't want them to be in there you will have to delete them (there's the button to delete all of them which you could use when starting).
kitrod 23 Nov, 2023 @ 6:17am 
unsure if you still reply to comments here, but-
i've noticed that when loading some maps the weapons that they already have will be visible. is it recommended to delete these to prevent duplicates? as the weapons that are already on the map are also saved into the rearm script
Bad King Urgrain  [author] 25 Jul, 2022 @ 11:52am 
Not with random ammo spawns you place. The only way to do something like that is by editing the rearm script to add "auto ammo" options to the relevant weapon. This is explained in more detail in the rearm guide on the TTT site (linked in the description above).
[ [ DUMPY GRIMBO ] ] 21 Jul, 2022 @ 10:50pm 
Not sure if you respond any more, but is there a way to tie a random weapon to random ammo spawns so they always match the weapon spawned?
Benny.rar 5 Jun, 2021 @ 11:26pm 
How can i place custom guns eg: CS:GO TTT guns?
Classy 8 Jan, 2021 @ 10:57am 
could you make it so when you right click with the random tools it places random weapon or random ammo
letargiA 6 Jan, 2021 @ 7:28am 
what about murder placer?
2 cats :3 :3 26 Mar, 2020 @ 12:46pm 
By the way you shouldn't rename the original gmod files, because after an update they will be restored
2 cats :3 :3 26 Mar, 2020 @ 12:43pm 
That way you don't have to rename the maps and neither do you have to remove the presets
2 cats :3 :3 26 Mar, 2020 @ 12:42pm 
The best way is to create an addon that goes to sampletext\gamemodes\terrortown\content\maps and then put the mapname_ttt.txt's there for the official cs:s maps only
Bad King Urgrain  [author] 26 Mar, 2020 @ 11:55am 
@Necro Oh, I wonder if gmod has changed the order in which it loads these things since the guide was written. The guide (and the addon) is pretty old at this point.

The workarounds I can think of off the top of my head are a bit ugly (telling people to rename the included rearm script, or to rename the map). Let me know if there's a better one and I'll update the guide. For now I'll at least put in a note about the issue.
2 cats :3 :3 26 Mar, 2020 @ 10:07am 
I know how to fix this and all, but damn this confused me for hours
2 cats :3 :3 26 Mar, 2020 @ 9:58am 
Your guide does not work on official cs:s maps, because "your" replacements in gamemodes\terrortown\content\maps always come first over my replacements in garrysmod\maps
ルネ | Lune 9 Jun, 2019 @ 12:18pm 
Great.
thundercock 6 Jun, 2019 @ 2:55am 
I have TFA Weapons installed and in some maps (ph_apartments, ttt_camel_v1) TFA weapons and other weapons spawn normally. But most maps dont spawn the map and give this error

[ERROR] gamemodes/terrortown/entities/entities/ttt_random_ammo.lua:12: bad argument #1 to 'Create' (string expected, got nil)
1. Create - [C]:-1
2. unknown - gamemodes/terrortown/entities/entities/ttt_random_ammo.lua:12
3. CleanUpMap - [C]:-1
4. CleanUp - gamemodes/terrortown/gamemode/init.lua:384
5. unknown - gamemodes/terrortown/gamemode/init.lua:463

Idk why it does this or how to solve it.
i am getting carpal tunnel 6 Jan, 2019 @ 6:48pm 
yes. use pakrat, or i think vide is better.
Hosomi 9 Nov, 2018 @ 10:08am 
Are we supposed to pack the txt into the bsp to avoid the whitelist?
Hosomi 9 Nov, 2018 @ 10:00am 
Whats the point of rearming if you can't include txts in GMA files?
ballistA 28 Oct, 2018 @ 8:33pm 
Is it possible to add weapons to the weapon placer?
YukuroTVツ 7 Oct, 2018 @ 1:06pm 
@Bad_King_Urgrain no,Im trying it in singleplayer.
Bad King Urgrain  [author] 7 Oct, 2018 @ 2:51am 
@Z3roP4nicz: it works fine, you're trying to use it in multiplayer which will not work. As the description says, this tool is singleplayer-only .
Lonk The Man 6 Oct, 2018 @ 8:20pm 
oh... ;__;
YukuroTVツ 5 Oct, 2018 @ 1:33pm 
Dont works. This error comes up when I try to place a weapon or ammunition. TTT Weapon Placer] lua/weapons/gmod_tool/stools/tttweaponplacer.lua:112: attempt to call field 'Create' (a nil value)
1. SpawnEntity - lua/weapons/gmod_tool/stools/tttweaponplacer.lua:112
2. LeftClick - lua/weapons/gmod_tool/stools/tttweaponplacer.lua:136
3. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:227

"
Lonk The Man 12 Aug, 2018 @ 2:15pm 
Can you make a version for sandbox gamemode and weapons, one that can also use weapons from other addons? And if there is already a seperate, existant addon that does just that, could someone please send me a link? Thanks!
Lix3 10 Jun, 2018 @ 10:09pm 
Hey Bad King, not sure how to contact you otherwise so I am commenting here ... with your TTT mapping guide, the ttt.fgd download is missing a few lines of code (which has frustrated me for a while now in trying to create maps) ... I found the correct code here https://github.com/Facepunch/garrysmod/blob/master/garrysmod/gamemodes/terrortown/ttt.fgd and just wanted to suggest that you update the file on the website so others don't have similar problems to me! Thanks.
ɭucio 25 Apr, 2018 @ 8:33am 
Me too
Paimania 7 Feb, 2018 @ 3:46pm 
I save the Export file to garrysmod/maps but it doesn't work and I am really confused
Vasco 31 Dec, 2017 @ 5:11am 
somehow it was still in the addon, even i already deleted the awp files and there weren't any other files wit h"awp" in it in my whole GM folder. deleting it completely helped! thx
Bad King Urgrain  [author] 31 Dec, 2017 @ 2:57am 
There's no silenced AWP in standard TTT, so it sounds like an addon. You could just remove the addon entirely to get rid of it. Alternatively if maps are making it spawn when you only want it as e.g. a traitor weapon, then making rearm scripts for those maps will override their spawns so they'll only contain the guns you want.
Vasco 30 Dec, 2017 @ 12:12pm 
Hey Bad King! Can you tell me how to delete the silenced AWP? its a standard weapon on most maps and i cant find a way to delete it! :/ i added you, just in case you wondering
Matt2468rv 13 Nov, 2017 @ 7:01am 
Hi Bad King Urgrain! Could you please add me on Steam? I'm a mapper and I have a concern regarding the code of the TTT Gamemode I'd like to ask you about.
Vizzys 24 Oct, 2017 @ 2:57pm 
doesnt show up in tools menu anymore for some reason
Jacob 13 Sep, 2017 @ 10:24am 
The weapons dont save even after clicking export ? How could i get it to work?
MorkvomOrk 26 Jul, 2017 @ 10:23am 
How could i remove Playerspawnpoints?
fskin 2 Jul, 2017 @ 3:09pm 
ttt_heaven for instance. It even comes with a rearm script and the author hasn't reported any problems on his side. Might just be an addon conflict. Seeing how other people have this problem though it might be a popular addon, even.
Bad King Urgrain  [author] 2 Jul, 2017 @ 1:10pm 
It shouldn't matter what the map is for, in fact the main use of the weapon placer is to make non-TTT maps work in TTT.

Can you point me to a map you've had this problem on? I can give it a try myself.
fskin 1 Jul, 2017 @ 6:18am 
Yea, I checked it out with report_entities and the spawn entities appear but it simply ignores them and gives me a rigged spawn at 0, 0, 0.

The thing is, I'm trying this on non-TTT maps. Do the spawn entities work at all unless it's a map made for TTT?
Bad King Urgrain  [author] 1 Jul, 2017 @ 2:27am 
I just tested the entire process from placing player spawns and weapons, to putting the saved rearm script in the maps folder, to loading the rearmed map in TTT. It all works fine.

The only issue I know of is that on some maps, placing player spawns won't work in certain areas. Usually you can still place them in a different area and then carry them to where you want them using the physgun.
fskin 25 Jun, 2017 @ 7:38am 
Placing player spawns doesn't work..
Lamantha 17 May, 2017 @ 8:17am 
Not working
AnkleFarmer 14 Apr, 2017 @ 5:34am 
@[AN]Mr. House I have used it, but I am having trouble exporting it and using the map. I have placed the map in the right folder, however it simply does not show up in the menu.
Mr. House 8 Apr, 2017 @ 8:29am 
Does this addon still work? I'm trying to put custom weapons on my ttt map
[DWG] Jacksharkben 26 Nov, 2016 @ 6:59pm 
I cant use this it does not show up for me
Cushion 30 Oct, 2016 @ 1:02am 
any possibility of being able to add in custom ttt wepaons such as stuff like the knife, slams/proximity mine or such
Retarded Monkey 12 Oct, 2016 @ 9:41pm 
This no longer works, or atleast for me it doesn't.
Been using this to rearm maps since as I as I can remember.
Rawr'kraine 🐉 9 Aug, 2016 @ 10:25am 
Ben JAAaaames;

When it comes to adding in things you cannot normally place, I find it possible by editing the text file the tool generates, since it is only a list of entities to add to the map at the start of each round.
Bazinga Bob! 31 Jul, 2016 @ 12:00pm 
How do I import modded weapons into this mod so that I can place modded weapons to be picked up? Is it even possible?