Garry's Mod

Garry's Mod

647 ratings
Configurable Spawnpoints
 
Rate  
Favorite
Favorited
Unfavorite
Type: Tool, Addon
Tags: Admin, Misc
File Size
Posted
Updated
0.009 MB
Mar 6, 2014 @ 10:02am
Mar 11, 2014 @ 10:41am
3 Change Notes ( view )

Subscribe to download
Configurable Spawnpoints

Subscribed
Unsubscribe
Description
A rather simple addon i ended up making... This addon allows you to place a admin only entity on the map which reconfigures where players spawn!

To place one go into your spawnmenu, go into entities and under LordiAnders's Entities pick "Spawnpoint"

Upon placing one the first thing you are gonna notice is... Nothing happend!
Now... That is not entirely true... Its because its invisible and not showing for you
You can make it appear by typing lordi_spawners_draw 1 in your console! (You must be admin before it will appear)

Once one of these are placed, every player that tries to spawn will instead spawn at a random point youve placed (you can have as many as you want)

And for the server owners... Its possible to save them too! Spawn a couple and type lordi_spawners_save in your console! (You must be superadmin to use that) and it will save a data file with all the positions
Once the map loads or you use lordi_spawners_spawn they will automaticly spawn!
They save under data/lordi_spawners/<Map name>.txt and will automaticly spawn if the map has a data file stored

Incase you need to get rid of them you can type lordi_spawners_clear to cleanse the map of spawners and its saved data file (if it had any)

This will not work in other gamemodes than Sandbox!


(This was mainly to get a little practise in data storage)
< >
93 Comments
Smartjer123 Aug 28, 2019 @ 6:20pm 
People spawn inside each other
MEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE Apr 4, 2019 @ 2:17pm 
my game is set to sandbox but it still wont work nothing works
Reism Feb 25, 2019 @ 6:47am 
instead of me needing to download it and modify
Reism Feb 25, 2019 @ 6:46am 
You should add some command, to force it even if its not sandbox. because it might work on my gamemode.
InquisitivWizard Feb 17, 2019 @ 12:05pm 
I'm in Sandbox, but it says that I need to be in sandbox?!
Rapadant Hosting|Vaas Dec 18, 2018 @ 10:28am 
I myself don't use darkrp. I was thinking a more gamemode agnostic approach
LordiAnders  [author] Dec 18, 2018 @ 7:29am 
What gamemode are you trying to use it for? If it's DarkRP there's a chat command called /setspawn you can use.
Rapadant Hosting|Vaas Dec 16, 2018 @ 2:09pm 
You wouldn't happen to mind if I reupload an edited version of it with some changes at some point in the future that was gamemode agnostic? the only current thing like this is a script made by a guy named Nordahl but its DRM isn't exactly the best nore is the quality of it too great. until now I've not been motivated to switch off of it till I found this today.

would be a pretty useful thing to gmod with the right touches
LordiAnders  [author] Dec 16, 2018 @ 1:06pm 
@[Rapadant Networks]VaasKahnGrim
The problem is the way I've coded this.
Players are instantly teleported to one of the spawnpoint entities the moment the PlayerSpawn hook is called.
Some gamemodes aren't compatible with this method as they usually replace Sandbox's very basic spawnpoint selection with something custom and complex.

It is actually pretty easy to work around, but I simply do not have the motivation to work on this further. Partly because I'm sure there are better alternatives, effectively making this addon obsolete.
Rapadant Hosting|Vaas Dec 16, 2018 @ 12:51pm 
Not too difficult to use in other gamemodes I'd imagine. any gamemode thats derived from sandbox should be able to use it easily I'd imagine. basically any darkrp server would be able to use it. if not I'd imagine a simple team check would be the only change needed