Page 1 of 1

Turn off Respawning?

Posted: Sat Sep 27, 2008 9:15 pm
by Contex
Hey!

I've just installed the bots on my Palermo running server.
And I've a little problem over here, I'm running the gametype Round Based.
And this is what I want to fix:

- When a bot get's killed, it stays dead till the next round.
- When a player get's killed by a bot, he stays dead till the next round.

Anyone got a question how to get this to work?

Thanks alot!
Contex

i dont really know

Posted: Sat Sep 27, 2008 9:37 pm
by 1lynx1
i dont really know contex but maybe it is in the gametype config ? ... :S
roundbased.cfg i think....

Anyway, Lynx

Posted: Sat Sep 27, 2008 11:22 pm
by Contex
nope :/

Wierd, makes no sense. It works without the BOTS, but with them they just keep respawning.

Posted: Sun Sep 28, 2008 9:52 am
by $oldier Of Ra
It should actually work. But you tested this alone haven't you?
If yes then that's the reason why it won't work. If no then you did something wrong lol.

Now if you want to see it work without having 2 humans, one in each team on your server (that's the condition to 'start the round' and when respawning is turned off). Then open your mapscript. At the bottom find this piece:
roundbasedthread:

// Can specify different scoreboard messages for round based games here.
level waitTill prespawn

level waittill spawn

// set the parameters for this round based match
level.dmrespawning = 0 // 1 or 0
level.dmroundlimit = 5 // round time limit in minutes
level.clockside = kills // set to axis, allies, kills, or draw

level waittill roundstart

end
Now apply the changes in red:
roundbasedthread:

// Can specify different scoreboard messages for round based games here.
level waitTill prespawn

level waittill spawn

// set the parameters for this round based match
level.dmrespawning = 0 // This turns respawning for players and for bots off
level.dmroundlimit = 5 // round time limit in minutes
level.clockside = kills // set to axis, allies, kills, or draw

//level waittill roundstart

end
Otherwise it should work by default.

Posted: Sun Sep 28, 2008 9:56 am
by Contex
Acctually I have it running on my server, and no it doesnt work.

Also i tried to set the dmrespawning to 0, but than no one could join than game cuz they would have to wait till the round is over, and that never happend. Any suggestion ?

Posted: Sun Sep 28, 2008 1:07 pm
by $oldier Of Ra
Yes, that is what should happen; no one can spawn when the round has started. That's why roundbased is not popular, though I might be one of the few who do like it a bit.

But when you had it running on your server, were there at least 1 human (lol I sound like a robot) in the allied as well as the axis team (which makes the round 'start') or not? Because respawning only gets disabled once the round has started.

If you want the respawning disabled at the start, comment level waittill roundstart out in your mapscript as shown in the script above. I tested it offline, so it should work online.