Double base spawning problem.

Questions and answers about the how and why of making maps.
Post Reply
User avatar
A Looney Kumquat
Private First Class
Private First Class
Posts: 118
Joined: Tue Dec 12, 2006 3:33 am
Location: Colorado
Contact:

Double base spawning problem.

Post by A Looney Kumquat » Tue Sep 04, 2007 3:31 am

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??
-ALK
_________________

OS Moment <"O""S" mo·ment>
1) Where one can see something bad about to happen, cant do a bloody thing about it, but still has time to say "Oh 5h!t!!!" 2) An action that makes all the surrounding people drop their jaw and say "Oh 5h!t...."

User avatar
SkillDude
Private First Class
Private First Class
Posts: 336
Joined: Sun Apr 01, 2007 4:50 pm
Location: United States

Post by SkillDude » Tue Sep 04, 2007 4:00 am

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.

User avatar
macsforme
General
General
Posts: 2024
Joined: Wed Mar 01, 2006 5:43 am

Post by macsforme » Tue Sep 04, 2007 5:14 am

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.

User avatar
L4m3r
Hater of Everything
Hater of Everything
Posts: 724
Joined: Tue Feb 08, 2005 5:15 am
Location: Los Angeles

Post by L4m3r » Tue Sep 04, 2007 7:30 am

You can write a plug-in to control the spawns. Otherwise, base spawns will always be random across all team bases.
Optimism is just a milder alternative to denial.

User avatar
Spazzy McGee
Sergeant Major
Sergeant Major
Posts: 1403
Joined: Mon Mar 21, 2005 4:59 pm
Location: Planet MoFo, Sheffield Division; United Kingdom
Contact:

Post by Spazzy McGee » Tue Sep 04, 2007 9:28 am

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.
"Life is what happens to you while you're busy making other plans." - John Lennon

User avatar
A Looney Kumquat
Private First Class
Private First Class
Posts: 118
Joined: Tue Dec 12, 2006 3:33 am
Location: Colorado
Contact:

Post by A Looney Kumquat » Tue Sep 04, 2007 8:46 pm

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.
-ALK
_________________

OS Moment <"O""S" mo·ment>
1) Where one can see something bad about to happen, cant do a bloody thing about it, but still has time to say "Oh 5h!t!!!" 2) An action that makes all the surrounding people drop their jaw and say "Oh 5h!t...."

User avatar
Spazzy McGee
Sergeant Major
Sergeant Major
Posts: 1403
Joined: Mon Mar 21, 2005 4:59 pm
Location: Planet MoFo, Sheffield Division; United Kingdom
Contact:

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

Code: Select all

world
   size 400
   freeCtfSpawns
end
"Life is what happens to you while you're busy making other plans." - John Lennon

User avatar
A Looney Kumquat
Private First Class
Private First Class
Posts: 118
Joined: Tue Dec 12, 2006 3:33 am
Location: Colorado
Contact:

Post by A Looney Kumquat » Tue Sep 04, 2007 8:52 pm

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?
-ALK
_________________

OS Moment <"O""S" mo·ment>
1) Where one can see something bad about to happen, cant do a bloody thing about it, but still has time to say "Oh 5h!t!!!" 2) An action that makes all the surrounding people drop their jaw and say "Oh 5h!t...."

User avatar
CannonBallGuy
Private First Class
Private First Class
Posts: 2083
Joined: Wed Apr 12, 2006 1:31 am
Contact:

Post by CannonBallGuy » Tue Sep 04, 2007 9:33 pm

Yes, yes.
Image

Merry Christmas!

"Look, if I don't buy booze for the kids, I don't get any incriminating pictures to show to their parents, my business goes down the sink, my girlfriend leaves me and the baby goes on ebay. So help me search..."

"go Play With Toys urself in a dark alley u donkey ******" - Lt-Kirby2007

Post Reply