Page 1 of 1

Double base spawning problem.

Posted: Tue Sep 04, 2007 3:31 am
by A Looney Kumquat
I have two bases on my map- one where everyone ALWAYS spwans and starts out, and a small one that you can use to cap- but sometimes when you just join, you spawn on the small base- fixable??

Posted: Tue Sep 04, 2007 4:00 am
by SkillDude
You can't control the player's first spawns in CTF mode, and you can't control which base they spawn at either. I would just recommend you stick to one base CTFs, or make it so both bases can be used intentionally.

Posted: Tue Sep 04, 2007 5:14 am
by macsforme
sigonasr2 wrote:You can't control the player's first spawns in CTF mode, and you can't control which base they spawn at either. I would just recommend you stick to one base CTFs, or make it so both bases can be used intentionally.
Yeah, I had this problem too. On my Tunnels map, there are two bases (one on the tower and one underground) for each team. Tanks always seem to spawn on one base or the other, randomly.

Posted: Tue Sep 04, 2007 7:30 am
by L4m3r
You can write a plug-in to control the spawns. Otherwise, base spawns will always be random across all team bases.

Posted: Tue Sep 04, 2007 9:28 am
by Spazzy McGee
It's easier than that:

Put in a spawn zone over the required base (see wiki), and then put 'freeCtfSpawns' in the world header of the map.

Posted: Tue Sep 04, 2007 8:46 pm
by A Looney Kumquat
lemme get this straight- I use the spawn zone that I have up already that is over the base I want people to spawn in, then I say "freeCtfSpawns" where?

I'm sorry to totally miss it, but I'm a new map maker, and this is my first map.

Posted: Tue Sep 04, 2007 8:50 pm
by Spazzy McGee

Code: Select all

world
   size 400
   freeCtfSpawns
end

Posted: Tue Sep 04, 2007 8:52 pm
by A Looney Kumquat
ah thank you- if I'm just using the givin world size can I just say
world
freeCtfSpawns
end
?

and that goes int the map file?

Posted: Tue Sep 04, 2007 9:33 pm
by CannonBallGuy
Yes, yes.