Need help with Spawn Rooms

BaconCat

L1: Registered
Aug 31, 2011
44
3
Ok, so I am having trouble getting these spawn rooms to work right with a plugin.

The SM Plugin in question is Smarter Spawns and it works fine... on Valve Maps.

When I try it on my custom trade map however, it doesn't work. I have set the func_respawnroom entity to cover the entirety of the spawn room, and have set the visualisers to associate with the respawnroom entity, but it doesn't work.

Is there more to creating a spawn room that I am missing? Because it works perfectly on Valve maps and even other custom trade maps, so what am I missing here? :confused:
 

Seba

DR. BIG FUCKER, PHD
aa
Jun 9, 2009
2,364
2,728
Well players actually spawn at info_player_teamspawns, so you need a few (16 per spawnroom) of those. As for the plugin, I'm not sure if you actually need it - a good spawnroom by itself protects the people who spawn inside and prevents them from spamming outside.
 

BaconCat

L1: Registered
Aug 31, 2011
44
3
Well players actually spawn at info_player_teamspawns, so you need a few (16 per spawnroom) of those. As for the plugin, I'm not sure if you actually need it - a good spawnroom by itself protects the people who spawn inside and prevents them from spamming outside.

I know about the info_player_teamspawns, I have them too.

The plugin is there because this is a trade server map, and unless I add really REALLY garish glass walls, people will just keep sniping from inside spawn to outside. :bored:

Any ideas why the plugin would work on Valve maps but not my map? I even tried copypasting a func_respawn and visualiser from one of the valve examples source sdk gives, but that didn't work either, so I think I have done something wrong here. D:
 
Last edited:

Seba

DR. BIG FUCKER, PHD
aa
Jun 9, 2009
2,364
2,728
How does it actually not work though? And what exactly is wrong with people dying on a trade server?
 

BaconCat

L1: Registered
Aug 31, 2011
44
3
How does it actually not work though? And what exactly is wrong with people dying on a trade server?

That's beside the point. I just want to get this plugin working. As it stands, the plugin works on Valve maps and even other trade maps, but not MY trade map. I want to figure out WHY when I have seemingly set up the fun_respawnroom and visualisers correctly.
 

BaconCat

L1: Registered
Aug 31, 2011
44
3
Do you spawn rooms work normally without the plugin? As in you can spawn in them, change positions, etc?

Yes, the spawns work perfectly. It's just that this plugin doesn't seem to work on my custom map but does work on other maps. :( As such, I am assuming that I have done something wrong, but I can't figure out what since I have done exactly the same things they did for their spawns.
 

tyler

aa
Sep 11, 2013
5,102
4,621
You said it works in official maps. Does it work on other custom maps? It may be hard coded to only recognize official maps. Therefore, contact the plugin author.
 

Ælement

Comfortably mediocre
aa
Dec 21, 2010
1,481
1,616
Alternatively, why not make a trade map which doesn't have a layout that allows you to gun down anyone as soon as they stand in their ONLY door? Installing plugins to prevent this is like beating a horse with a sledgehammer to move it forward, rather than teaching it to walk on its own.

But to the point, according to the site, it does indeed use func_repawnroom to check whether or not the player is in a spawnroom. Did you make sure that the func_respawnroom fills the whole thing?
 

BaconCat

L1: Registered
Aug 31, 2011
44
3
You said it works in official maps. Does it work on other custom maps? It may be hard coded to only recognize official maps. Therefore, contact the plugin author.

-Sigh-

1) Like I said, I have already contacted him.
2) I have the source code, it isn't "hard coded to only recognize official maps", which would be dumb since I commissioned him to write this plugin especially for my trade server.

What's getting really frustrating now is that it works on this other trade map, so I decompiled it, stripped it to only spawn room, and recompiled it. The plugin works.

Now if I copy paste my maps bits into this new map, then move the func_respawn to its new place, it no longer works.

What am I doing wrong. :(
 

BaconCat

L1: Registered
Aug 31, 2011
44
3
Alternatively, why not make a trade map which doesn't have a layout that allows you to gun down anyone as soon as they stand in their ONLY door? Installing plugins to prevent this is like beating a horse with a sledgehammer to move it forward, rather than teaching it to walk on its own.

But to the point, according to the site, it does indeed use func_repawnroom to check whether or not the player is in a spawnroom. Did you make sure that the func_respawnroom fills the whole thing?

Ok, I don't seem to have made this clear enough.

The map currently has 4 exit points per spawn. However, they are just open spaces. As such, some people take it upon themselves to stay in the small area where they can see out of the spawn and snipe while being close to invulnerable themselves.

I tried adding doors before in a previous version of the map, but people did not like them and they kept getting stuck, so this pluigin IMO is the easiest way of solving the problem without adding labyrinthine corridors made of glass just to stop one class doing one thing.
You should remember that very few of us are coders. We know how to make a map that works. But getting a plugin to work in a map? Thats another story...
I understand that. What I don't understand is why it works on every other map I try, but not the maps I make. I concluded that, therefore, I am the one at fault and am doing something wrong when making my spawns. I don't know WHAT exactly since I have literally copypasted a spawn from a map it works on and it STILL doesn't work.
 

BaconCat

L1: Registered
Aug 31, 2011
44
3
Could i see the source code by any chance?
I might just be able to read it, i've programmed in GML before...

Source code is provided in the link there. :) (And before the question is asked: Yes, I have SDKHooks installed, Yes I have Sourcemod Installed, Yes I have set the cvars, yes I have changes the cvars around etc.)

Thanks in advance for any and all help you have given and will give. :D

Is there something more besides func_respawnroom and a visualiser I am missing when making a spawn room? Some obscure logic entity or something?
 

tyler

aa
Sep 11, 2013
5,102
4,621
From what you are telling us, you're either doing something wrong and not giving us enough info to tell you what, or it's the plugin. Don't get exasperated with me when you're the one doing something stupid. If you want help, accept even the kind that you think is useless.

Though I think you are better off just designing your spawn areas better or tell the people on your map to just grow up, I encourage you to triple-check that every I/O is correct and all your entities are in place.

The thing is that all you're telling us is "My spawn room is perfect" and "This plugin is perfect". What the hell do you want us to do at this point?

Are any of the brush entities named something? Is the plugin looking for a name? Is it looking for no name?
 
Last edited by a moderator:

BaconCat

L1: Registered
Aug 31, 2011
44
3
From what you are telling us, you're either doing something wrong and not giving us enough info to tell you what, or it's the plugin. Don't get exasperated with me when you're the one doing something stupid. If you want help, accept even the kind that you think is useless.

Though I think you are better off just designing your spawn areas better or tell the people on your map to just grow up, I encourage you to triple-check that every I/O is correct and all your entities are in place.
Sorry, I didn't mean to come off as rude or unappreciative. I'm just that even copy and pasting a spawn set-up I KNOW works in another map into my map and have it not work is frustrating.
Are any of the brush entities named something? Is the plugin looking for a name? Is it looking for no name?
The Spawn rooms are named and the visualisers are associated with the appropriately named func_spawnroom.
 

BaconCat

L1: Registered
Aug 31, 2011
44
3
So, No idea what I did (I didn't do anything differently) and now it's working. >.>

Thank you again for all your help!