I have this mod running as a voteable option on our server - One problem is sometines the Hud from skylimit remains when going to standard play. It doesn't always happen - I think going spec before leaving skylimit takes care of it. but if you dont do that once you are in standard play - you have to quit MOH and come back to reset.
I was thinking of a fix or even a rcon command to wipe the hud and reset it - any suggestion?
skylimit hud
Moderator: Moderators
Yah I made a little mistake which allows this to happen
It's a bit tricky to fix, as the hud needs to be cleared for each player individually, whereas players join the new match at different intervals. Probably the easiest fix would be to add a thread to the map script of the map you're running after skylimit:
Good luck! 
It's a bit tricky to fix, as the hud needs to be cleared for each player individually, whereas players join the new match at different intervals. Probably the easiest fix would be to add a thread to the map script of the map you're running after skylimit:
Code: Select all
// (...)
level waittill spawn
// add this
thread skylimit_hudfix
// (...)
end
// and this:
skylimit_hudfix:
while(1)
{
for(local.i = 1; local.i <= $player.size; local.i++)
{
$player[local.i] waitthread global/skylimit/main.scr::cleanup_skylimit_hud
wait 1.0
}
wait 1.0
}
end

