Garry's Mod

Garry's Mod

326 ratings
Weapon Pedestal - Automatic weapon spawner
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
2.739 KB
30 May, 2017 @ 8:45am
9 Jun, 2017 @ 12:28pm
8 Change Notes ( view )

Subscribe to download
Weapon Pedestal - Automatic weapon spawner

Description
Adds weapon pedestals (essentially weapon spawn platforms), which automatically spawn and give players a weapon, when walked into. The weapon respawns when the owner of the previous one is killed. Useful for Deathmatch-style PvP.
Weapon pedestals can be placed and removed using the Weapon Pedestal tool.

Basic usage:
1. Select tool Weapon Pedestal under category Weapon Pedestal.
2. Enter weapon class (can be gotten for any weapon in spawnmenu using right click -> copy to clipboard) or press "Take from held" to copy class from currently held weapon.
3. Press on the ground to place a weapon pedestal.
4. Walk into weapon pedestal to get the weapon. The pedestal will turn the color of the player (The one specified in the C menu) and will no longer show the spinning weapon on top.
5. Once the weapon has been taken, it cannot be taken again until the owner of the current weapon dies or otherwise destroys the weapon. Dropping the weapon does not return it to the pedestal.

The addon also comes with a few console commands to save and load weapon pedestal configurations:

weaponpedestal_save <savename> - Save pedestal configuration with the name specified by <savename>. The configurations are saved per map.

weaponpedestal_load <savename> - Load pedestal configuration with the name specified by <savename>. Note that this will remove existing pedestals.
73 Comments
The Vertabraetor 17 Jul @ 10:45pm 
for some reason when i put this in a save it doesnt work when i put it in a save and load it
BurgBro5789 6 Mar @ 1:04pm 
but this is still perfect good job! :)
BurgBro5789 6 Mar @ 1:03pm 
i wish there was one like when you pick the weapon up, it re-spawns instantly
gourd on free man 29 Jan @ 8:44pm 
this is great, but is there any way to make the base of the spawner something either than a sawblade?
Chillshark2003 16 Jun, 2023 @ 1:12pm 
could you make this work with pickups like health and ammo?
twinkiegorger69 7 Aug, 2022 @ 6:42am 
can't move it, can't duplicate, can't overwrite, breaks on save load.
Raven™ 9 Jun, 2022 @ 7:25pm 
well its been almost a year and save/load is still an issue
Archangel 27 Aug, 2021 @ 2:14pm 
@Lana the Lquor Gynoid I'm pretty sure there's a model changer tool somewhere out there. That can help you.
MoltRosio217 2 Jun, 2021 @ 8:42am 
исправьте ошибку со загрузкой сохранением на картах, проблема такая-же что и снизу у чела
Raptor_Killer 01 17 Apr, 2021 @ 3:47pm 
cool and useful... but it breaks when you load a save with it...

[Weapon Pedestal - Automatic weapon spawner] lua/entities/weaponpedestal_spawner/init.lua:49: bad argument #1 to 'Create' (string expected, got nil)
1. Create - [C]:-1
2. unknown - lua/entities/weaponpedestal_spawner/init.lua:49
3. Spawn - [C]:-1
4. CreateEntityFromTable - lua/includes/modules/duplicator.lua:433
5. unknown - lua/includes/modules/duplicator.lua:723
6. ProtectedCall - [C]:-1
7. oldPaste - lua/includes/modules/duplicator.lua:723
8. Paste - lua/wire/server/wirelib.lua:1171
9. unknown - lua/includes/gmsave.lua:66