problems with spawn selection and auto spawn select


(StormShadow) #1

I have 3 spawns in my map.

  1. allied spawn
  2. axis spawn
  3. forward spawn that starts out as axis, but can be captured by allies

#3 can either be captured by snagging the flag, and secured by blowing the main gate.

Now here are my 2 problems.

First of all, when playing as axis, when the game starts, you are defaulted to the forward spawn. The problem is, although you can click the rear axis spawn, and it registers that you have clicked it (it says players: 1 after clicking) it will not let you spawn there until the main gate has been breached. After the allies take the forward spawn, they cannot select the rear spawn either.

Secondly (this REALLY bugs me) when playing as allies, when you blow the main gate without capturing the spawn first, it defaults you to the original spawn, instead of the forward spawn.

Here is a copy of my script:

http://www.planetquake.com/stormshadow/stalin.txt

The map is almost completely finished in terms of design and layout, i just need to fix this small portion of the script to finish it.
Any help would be much appreciated.


(StormShadow) #2

OK i fixed the first half of it (didnt have axis spawns on startactive, duh!)

But i still cant figure out the 2nd. The main problem is, when i blow the wall, not only does that spawn NOT become default allies, but an allied player cant select it afterwards, so he is stuck spawning at the front.

Anyway, thanks in advance :slight_smile:


(StormShadow) #3

bump
anyone?


(StormShadow) #4

nevermind i figured it out :slight_smile:


(Chruker) #5

Tell us how :slight_smile:


(StormShadow) #6

Ok, but I feel stupid :smiley:

  1. I didnt have the spawns at the axis base on start_active
    The spawns at the axis base, the allied base and ONLY the axis spawns at the forward spawn had to be set to start_active.

  2. for the second problem, i left an important line out of my script. Under my force_allied script i left out the following line:
    alertentity munitionspawns
    Which would have activated the forward allied spawn. So pretty much, when the main gate was blown, it wasnt activating the spawns.

Its always something simple… :slight_smile: