Page 1 of 1
Drawbridge
Posted: Sun Jun 18, 2006 11:11 am
by walks
Anyone know how to manipulate a door to become a drawbridge?
Posted: Sun Jun 18, 2006 12:00 pm
by At0miC
Give the bridge an origin, that's for the rotating point. Give the bridge and the origin a targetname.
Use this in the .scr (the values are in degrees):
$target rotatexup (value) // This will rotate the x up
$target rotatexdown (value) // This will rotate the x down
You can also use other axisses ofcourse like rotatey and rotatez
As an example, you can have a look at my pegasus bridge
http://www.fileplanet.com/dl.aspx?/plan ... egasus.pk3
Posted: Sun Jun 18, 2006 2:56 pm
by bdbodger
At0miC wrote:Give the bridge an origin, that's for the rotating point. Give the bridge and the origin a targetname.
To do that you will need to make it a script_object .
bridge
Posted: Sun Jun 18, 2006 7:05 pm
by tltrude
There is a small drawbridge in this tutorial map that you can copy.
http://smallsumo.punkassfraggers.com/tl ... bient2.zip

Posted: Mon Jun 19, 2006 9:48 am
by walks
At0miC - Is this for a manually operated or automatic bridge?
I am trying to use this like a door where it can be manually opened downwards but then closes back upwards after a period of time.
Posted: Mon Jun 19, 2006 11:57 am
by bdbodger
If you want it straight up and down then you can do it like a door but if you want it to rotate down sorry can't be done without a script .
bridge
Posted: Tue Jun 20, 2006 2:45 am
by tltrude
I think what Bdbodger is trying to say is, if you want it to move streight down and streight up, you can use a func_door. But, a func_rotatingdoor can not be used as a drawbridge.