Bridge that you can make open


(Wezelkrozum) #1

How can I make a bridge that will open if you press something?
(I have gtkradiant1.3.8)


(carnage) #2

look for tutorals on script_movers


(Wezelkrozum) #3

that am i now doing XD i can’t find it somewhere else. if you could give them. that would be much easyer


(Wezelkrozum) #4

Can somebody tell me how I can turn a bridge up???


(Loffy) #5

Unfortunately this tutorial is for RtCW:
http://nibsworld.com/rtcw/tutorial_script_mover_part1.shtml

Still, it is better than nothing. Hope it helps.


(DerSaidin) #6

Make the bridge in two parts.

Make an origin for each part. Put the center of the origin brush for each one where you want it to rotate.

Select 1/2 the bridge and its origin, and make it all a script_mover.
Give it a scriptname and a targetname, set it to solid, etc

Do the same for the other 1/2 of the bridge. Different scriptname/target name

In the scriptblock, whatever triggers the bridge moving, make each half of the bridge do a faceangles. Just play around with the faceangles parameters until it works.


(limmylim) #7

why dont you make a func_doorrotate and use a horizontal axis and get the ‘door’ triggered?


(Wezelkrozum) #8

how can you trigger a door then?


(Flippy) #9

limmylim, that just makes it more complicated as then the bridge could be opened by players as if it was a door. I doubt that’s what he wants.

Instead use what Der’saidin said, it’s the right approach to this ‘problem’.

Search around for information about script_movers. You need to know a tiny amount of scripitng too.

Then you can use the “faceangles” command to rotate it.
I believe you use it something like “faceangles <pitch> <yaw> <roll> <time>”, where pitch, yaw and roll are the directions to turn in and time is the time it takes to do so.