Hello.
I’m creating a little custom map, it works properly except one thing. I created about 7-8 team_ctf_bluespawn and team_ctf_redspawn entities, but all the players of the same team are spawning at the same spawn (the first one i created).
I would like the players to automatically spawn at a free spawnpoint if one exist. How to do this ?
Another question that may be related to the first one: how can i decide what spawnpoints are triggered by the /setspawnpt x console command ?
Thanks already for your help.
Blutch
Spawns
3 post since 2003’ ? where have you been ?
-make sure that all of your spawns are marked start active in the entity properties window. If you have an item selected, the “N” key will show this menu .
I have in-map tutorials @ www.spyjuice.com …be sure to view the readme.txt files included.
The “Spawn_exchange.pk3” will help explain more about spawn points.
Here is a good link as well.
http://www.planetquake.com/simland/ldr1_1/
3 posts since 2003: Yes I was quite active in the past for a custom map, but I didn’t have much time for this since then (ending studies, having a gf, …)
But now I’m making a really little map, that’s why I want to spend enough time on it, because it won’t be very much time.
The startactive is a new key i have to create ? Without a value ?
I’ll read the links you gave me.
Thanks!
You can’t really. The /setspawnpt numbers are decided by the order of the team_WOLF_objective entities in the .bsp file, which you have no direct control over.
A bit about how spawn picking works can be found here: http://www.splashdamage.com/index.php?name=pnPHPbb2&file=viewtopic&t=11913&postdays=0&postorder=asc&highlight=teamwolfobjective&start=30#114528
edit:
startactive is a ‘spawnflag’. It should show up as a checkbox in the entities window.
omg you’re right, i didn’t see it… i searched for it however 
i’ll tell later if it solves my problem (can’t check right now)
thanks a lot !
When you copy and paste “Team_ctf_bluespawn” entities, and compile your map they all merge back into one. Long story short dont copy and paste the Spawn points.
When you copy and paste “Team_ctf_bluespawn” entities, and compile your map they all merge back into one.
That’s an odd problem that I have never had: I copy and paste a lot of red and blue spawnboxes and there’s no problem.
However, I’ve had similar problems when moving light entities. They “move back” (or to some other place) when I recompile and open the map in the editor again.
I guess the bugs vary depending on what editor/mapper is creating them.
//L.
When you move entities such as Lights and then you undo the action, it may cause some problems. I have this problem especially with light entities. The move seems to be undone, but when you’re trying to select it, you can’t. Unless you find the spot where it really is. After reloading the map in GTKradiant the entities will be visible on the right places again. I think it has something to do with the origin value of the entitie.
EDIT:

Upper light: First location
Middle light: Moved and Undone
Lower light: Location where I moved the light to before undoing.[/img]
Yes, When you copy and paste the value may be the same, and thus when you compile only the original is read by the editor.
From what I remember (and it’s been a while since I messed with it, so you will want to double-check) cloning entities works OK if you clone, then deselect and reselect the cloned entity. If you do not, it gets a bit confused about which entity you are changing.