Need help with Spawn Rooms

Discussion in 'Mapping Questions & Discussion' started by BaconCat, May 21, 2012.

  1. BaconCat

    BaconCat L1: Registered

    Messages:
    44
    Positive Ratings:
    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:
     
  2. Seba

    aa Seba DR. BIG FUCKER, PHD

    Messages:
    2,363
    Positive Ratings:
    2,365
    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.
     
  3. BaconCat

    BaconCat L1: Registered

    Messages:
    44
    Positive Ratings:
    3
    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: May 21, 2012
  4. Seba

    aa Seba DR. BIG FUCKER, PHD

    Messages:
    2,363
    Positive Ratings:
    2,365
    How does it actually not work though? And what exactly is wrong with people dying on a trade server?
     
  5. BaconCat

    BaconCat L1: Registered

    Messages:
    44
    Positive Ratings:
    3
    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.
     
  6. Crash

    aa Crash func_nerd

    Messages:
    3,130
    Positive Ratings:
    4,710
    Do you spawn rooms work normally without the plugin? As in you can spawn in them, change positions, etc?
     
  7. BaconCat

    BaconCat L1: Registered

    Messages:
    44
    Positive Ratings:
    3
    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.
     
  8. tyler

    aa tyler snail prince, master of a ruined tower

    Messages:
    5,032
    Positive Ratings:
    3,978
  9. BaconCat

    BaconCat L1: Registered

    Messages:
    44
    Positive Ratings:
    3
    I have. Like I said, the plugin works fine on every single map but mine. :(
     
  10. tyler

    aa tyler snail prince, master of a ruined tower

    Messages:
    5,032
    Positive Ratings:
    3,978
    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.
     
  11. Faux Rhinoceros

    aa Faux Rhinoceros Also known as Dr. Element

    Messages:
    1,474
    Positive Ratings:
    1,365
    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?
     
  12. BaconCat

    BaconCat L1: Registered

    Messages:
    44
    Positive Ratings:
    3
    -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. :(
     
  13. Faux Rhinoceros

    aa Faux Rhinoceros Also known as Dr. Element

    Messages:
    1,474
    Positive Ratings:
    1,365
    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...

    Again, the only thing i can think of is if the func_respawnroom doesn't fill the entire room.
     
  14. BaconCat

    BaconCat L1: Registered

    Messages:
    44
    Positive Ratings:
    3
    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.
    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.
     
  15. Faux Rhinoceros

    aa Faux Rhinoceros Also known as Dr. Element

    Messages:
    1,474
    Positive Ratings:
    1,365
    Could i see the source code by any chance?
    I might just be able to read it, i've programmed in GML before...
     
    • Thanks Thanks x 1
  16. BaconCat

    BaconCat L1: Registered

    Messages:
    44
    Positive Ratings:
    3
    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?
     
  17. tyler

    aa tyler snail prince, master of a ruined tower

    Messages:
    5,032
    Positive Ratings:
    3,978
    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?
     
    • Thanks Thanks x 1
    Last edited by a moderator: May 22, 2012
  18. BaconCat

    BaconCat L1: Registered

    Messages:
    44
    Positive Ratings:
    3
    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.
    The Spawn rooms are named and the visualisers are associated with the appropriately named func_spawnroom.
     
  19. BaconCat

    BaconCat L1: Registered

    Messages:
    44
    Positive Ratings:
    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!
     
  20. Faux Rhinoceros

    aa Faux Rhinoceros Also known as Dr. Element

    Messages:
    1,474
    Positive Ratings:
    1,365