Page 1 of 1

TDM spawn logic problem

Posted: February 5th, 2008, 10:55 pm
by Gagarin
guys, I'm created aim map, but i have tdm spawn bug. So, i must create 3 tdm spawns (axis,alies and general tdm spawn). I'm create spawn so:

Image

3 alies, 3 axis and 2 general

But sometimes axis respawn behind alies. And syn

What's wrong ? How I must plased my spawns ?

Posted: February 6th, 2008, 12:51 am
by Drofder2004
Not much you can do to be honest, except use a mod...

Posted: February 6th, 2008, 8:52 am
by Gagarin
which mod ? We are using PAM and have this bug...


Hm, so anyway, I can't fix this error ?

Posted: February 6th, 2008, 5:24 pm
by Drofder2004
Gagarin wrote:which mod ? We are using PAM and have this bug...


Hm, so anyway, I can't fix this error ?
Thats the problem, its not an error, its logic. The game has to determine where it thinks the most suitable place for spawning a player is, often you will find it will spawn players away from where people are dying, and if the allies move far from one of the spawns, axis will spawn there instead.

You could code it I suppose...

Put a trigger_multiple on the floor,

Code: Select all

while(1)
{
   trig waittill("trigger", user);
   if(user.pers["team"] == "allies")
      user setOrigin(org.origin);

   wait 0.5;
Put 1 trigger on each side of the map, then place 1 script_origin on each side.
Now make two loops, 1 will send allies in the axis area back to an script_origin and vice versa.

Posted: February 7th, 2008, 4:15 pm
by Gagarin
thx, I create triggers + increased distance between bases

Re: TDM spawn logic problem

Posted: May 10th, 2008, 6:33 pm
by mattfish234
I think its because of the general spawns either side, Try making only 1 not sure tho :|

Re: TDM spawn logic problem

Posted: May 11th, 2008, 2:58 am
by Drofder2004
Oh noes, he just played the thread necromancy card, what shall I do!!!

Image