synchronized double doors


HoLyCoW
07-20-2004, 02:45 AM
I was looking at the FGD for DoD and noticed that func_door_rotating has a Synch Movement flag. How do I used this to make double-doors? Inside the actual FDG it states the following:


// The main function for synchronised doors is as double doors;
// that is, make two synchronised doors which target each other,
// and the doors will then open and close as one. This flag
// should probably be split into two, but I've run out of flags
// to use. :(


I did what it said, but now it's just like walking right into a wall. Nothing happens. Not even one door will open up.

Here's what I did with 2 "single" rotating doors. I checked the Synch Movement flag for both entities. Then I named one allies_fdl (allies front door left) and set it's Target to allies_fdr (allies front door right). Then I took the other door and named it allies_fdr and set it's Target to allies_fdl.

This should be it, right? Am I doing something wrong?

thanks.

Fakedawg
07-20-2004, 05:48 AM
Actually I'm not sure - I've never used that one - but I'll try it later on and tell you what I figure out - another note to do it is to give both doors the same name and have a trigger_multiple target them - but thats gonna cost you an extra entity ...

El Capitan
07-20-2004, 07:34 AM
Originally posted by HoLyCoW

Here's what I did with 2 "single" rotating doors. I checked the Synch Movement flag for both entities. Then I named one allies_fdl (allies front door left) and set it's Target to allies_fdr (allies front door right). Then I took the other door and named it allies_fdr and set it's Target to allies_fdl.

This should be it, right? Am I doing something wrong?

thanks.

In theory, but this is what would happen.

First door triggers second door which triggers first door which triggers second door again which triggers first door again and so on!!!

Basically, it would get stuck in a "loop" from what I can imagine and it won't work!

The only way to do this is by setting a trigger_multiple and checking the sync flag....Although as fakedawg said, it will cost you an extra entity!

Gorbachev
07-20-2004, 05:49 PM
I don't really see why you would want two doors to always open together, you can make two seperate rotating doors and they'll open at the same time when someone walks through the middle.

(4THIDUSA) SSG
07-20-2004, 06:46 PM
use a multi_manager

HoLyCoW
07-21-2004, 07:29 PM
Thanks guys. I guess i'll have to use a trigger_multiple. But then why would they put it in the FGD like that?

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.