Entity Reset Fixer
by Vet · 2010-02-14 · 2 replies · 6387 views · 107 downloads
From the first post
n
nThis plugin will fix problems with entities that don't set properly upon map
n(re)initialization. Two entities have been discovered and discussed thus far and separate plugins were written to fix them. This plugin simply combines those two plugins. This plugin will be updated to include other entities as they are discovered and fixed.
n
nEntities fixed thus far...
npath_track: Because this entity doesn't reset properly, the func_traintrack entity loses its path and freezes up. Superceding either routine fixes it.
nfunc_door: If a door is open upon restarting a round, the door will remain open (func_door_rotating entities reset OK). Must supercede the Ham_DOD_RoundRespawnEnt() routine.
ndod_round_timer: The timer doesn't get disabled if the Offensive (the team that must complete the objectives before the timer runs out) team wins. Thus, if the Offensive team wins with only a few seconds remaining, the timer can hit 0 during the round end time and trigger a win for the Defensive team as well.
n
nNew entities can/will be added as discovered.
n
nUpdated 3-27-10
The thread
All 3 posts from 2 people on Entity Reset Fixer, kept as they were written.
Threads: 24
Joined: Oct 2006
Updated 3-27-10nnThis plugin will fix problems with entities that don't set properly upon mapn(re)initialization. Two entities have been discovered and discussed thus far and separate plugins were written to fix them. This plugin simply combines those two plugins. This plugin will be updated to include other entities as they are discovered and fixed.nnEntities fixed thus far...npath_track: Because this entity doesn't reset properly, the func_traintrack entity loses its path and freezes up. Superceding either routine fixes it.nfunc_door: If a door is open upon restarting a round, the door will remain open (func_door_rotating entities reset OK). Must supercede the Ham_DOD_RoundRespawnEnt() routine.ndod_round_timer: The timer doesn't get disabled if the Offensive (the team that must complete the objectives before the timer runs out) team wins. Thus, if the Offensive team wins with only a few seconds remaining, the timer can hit 0 during the round end time and trigger a win for the Defensive team as well.nnNew entities can/will be added as discovered.nnUpdated 3-27-10
Threads: 24
Joined: Oct 2006
A new fix has been added to this plugin. The new fix is for timed, object maps.
Threads: 33
Joined: Sep 2008
Hi Vet, rnrnCould you add env_globals in your code as well? I use them a lot in maps and I have to set them a specific way to reset them and its a pain!

