Day of Defeat Plugins Community
This site is an archive — everything is readable and downloadable, nothing can be posted. Admin

Entity Reset Fixer

by Vet · 2010-02-14 · 2 replies · 6387 views · 107 downloads

Read the thread (3 posts)

From the first post

Updated 3-27-10
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

Files

dod_entity_reset_fixes.sma Plugin Source 3 KB 107 dl Download Compile

The thread

All 3 posts from 2 people on Entity Reset Fixer, kept as they were written.

Vet
started this thread
Posts: 229
Threads: 24
Joined: Oct 2006
02-13-2010, 09:31 PM #1

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

Vet
started this thread
Posts: 229
Threads: 24
Joined: Oct 2006
03-27-2010, 09:56 PM #2

A new fix has been added to this plugin. The new fix is for timed, object maps.

Sohood
posted here
Posts: 92
Threads: 33
Joined: Sep 2008
11-30-2011, 10:09 AM #3

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!

DoD Plugins Archive · Repository · Old Forum Threads · Maps · Admin · built 14 Sep 2026 00:34 UTC