Talk:Resetting Maps and Entities

From Valve Developer Community
Jump to: navigation, search

All sorted - I think I've covered everything that's required so I've removed the wip and pov templates. Ging 06:30, 20 Jul 2006 (PDT)

Don't forget removing the ragdolls and calling r_cleardecals on the clients. --dutchmega 21:53, 19 Jul 2006 (PDT)
Also, I remember ts2do releasing his files, with the code to reset maps. I can't seem to find it though. --dutchmega 02:13, 20 Jul 2006 (PDT)
He released them here, in my talk page: -Regular K 15:57, 1 Aug 2006 (PDT)
They're similar to the version of this tutorial that I posted on sourcewiki - there are a variety of updates in this code that make the entire process a bit 'nicer' --Ging 19:27, 1 Aug 2006 (PDT)

So I followed this tutorial, but one thing it never explains is how to set up a timer and stop players from respawning (in the HL2MP SDK) until the end of a round. It looks like ts2do had everything set up in those files provided above, but they're gone! --Wildfire 13:52, 5 Jun 2007 (PDT)

You can prevent respawning in the gamerules, FPlayerCanRespawn IIRC gia 13:59, 5 Jun 2007 (PDT)
Found it, thanks. Now players no longer respawn after death, but there's still nothing there to actually trigger a round reset when all the players on one team dies. --Wildfire 14:38, 5 Jun 2007 (PDT)
Its around there, multiplay_gamerules, the think function checks if the frag limit or time limit has been reached and ends the round. Do more searching or try coding forums, thank you. gia 15:45, 5 Jun 2007 (PDT)