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

func_door fix plugin

by gunsofnavarone · 2010-02-08 · 7 replies · 3958 views · 16 downloads

Read the thread (8 posts)

From the first post

I didn't think I would have to resort to this, but is it possible to create a plugin to fix the func_door entity? I don't know how many people are familiar with dod_vire, but there are "sewers" on the map which many of the entrances to them have "manhole" covers over them that are made from the func_door entity. The problem with it is that they do not always reset back to their original position after a round is won (they remain open).
rn
rnIn recent days I have been working on a map which also uses the func_door entity, and like dod_vire, after a round is won, the doors to not reset back to their original position. For me, it is rather important because the map I have created is a maze whereas the walls move and realign to change the paths as people move around in the maze (they are triggered by people walking over a button or pad which trigger certain doors).
rn
rnCan this be corrected via a plugin?

Added later in the thread

func_door_fix.sma Plugin Source 362 B 16 dl Download Compile

The thread

All 8 posts from 4 people on func_door fix plugin, kept as they were written.

G gunsofnavarone
started this thread
Posts: 159
Threads: 28
Joined: Sep 2008
02-08-2010, 09:51 AM #1

I didn't think I would have to resort to this, but is it possible to create a plugin to fix the func_door entity? I don't know how many people are familiar with dod_vire, but there are "sewers" on the map which many of the entrances to them have "manhole" covers over them that are made from the func_door entity. The problem with it is that they do not always reset back to their original position after a round is won (they remain open).rnrnIn recent days I have been working on a map which also uses the func_door entity, and like dod_vire, after a round is won, the doors to not reset back to their original position. For me, it is rather important because the map I have created is a maze whereas the walls move and realign to change the paths as people move around in the maze (they are triggered by people walking over a button or pad which trigger certain doors).rnrnCan this be corrected via a plugin?

=*MDMILBURN*=
posted here
Posts: 66
Threads: 11
Joined: Jun 2008
02-11-2010, 12:23 AM #2

In the trigger multiple there is a flag setting round reset ...have you tried this ? , this is a problem i ran into and it does not always seam to help rnrnhttp://bot.clanservers.com/aac_maps/

G gunsofnavarone
started this thread
Posts: 159
Threads: 28
Joined: Sep 2008
02-11-2010, 08:11 PM #3

As my trigger, I was using func_button, and on each func_door I have "delay before close" set at either 30 (seconds) or 60 (seconds) (I have several doors labeled "Door1" so the whole group changes when a person walks across the func_button pad (same texture as the ground) Then the doors reset after the 30 or 60 seconds, but if the map is won by a team, then they don't reset.rnrnSo, I should use trigger_multiple in place of the func_button and I shouldn't have to change anything on the door settings (the timing of 30 or 60)?

=*MDMILBURN*=
posted here
Posts: 66
Threads: 11
Joined: Jun 2008
02-12-2010, 01:14 AM #4

the trigger multiple can be use for anything you want to have reset, (even if you use a trigger button) and no you wont need to change a door setting just have it target all the different names , from what i have viewed that i have done in the past is made triggermultipile for each entity nif this does not help ..na more in depth forum to ask would be n http://www.chatbear.com/unity2/9/unityhome?v=flatold&g=14

Vet
posted here
Posts: 229
Threads: 24
Joined: Oct 2006
02-12-2010, 01:52 AM #5

This plugin should fix it.

meathead
posted here
Posts: 337
Threads: 23
Joined: Aug 2007
02-12-2010, 02:33 AM #6

Vette rocks! Nice work.

G gunsofnavarone
started this thread
Posts: 159
Threads: 28
Joined: Sep 2008
02-12-2010, 10:51 PM #7

Thanks Vet, that fixed it!rnrnFor those of you who may be interested in checking out the map, you can find it here:rnrnhttp://www.fpsbanana.com/maps/125938rnrnThanx again!

Vet
posted here
Posts: 229
Threads: 24
Joined: Oct 2006
02-13-2010, 09:33 PM #8

A plugin that fixes this and other entity reset problems can be found HERE

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