• Drawbridge?
    6 replies, posted
I've been looking around but i can't same to find anything related to what i'm looking for I'm trying to make a bridge that pulls up when a button is pressed but i can't find any tutorials for how to do it
tie a brush to func_door_rotating. [url]https://developer.valvesoftware.com/wiki/Func_door_rotating[/url] You'll have to set the origin to the bottom of the brush (as this is where it will rotate around.
I've tried what you said (And did some other things myself) but this results in happening instead (the 90 degree's part is intentional): [IMG]http://images.akamai.steamusercontent.com/ugc/315621401161008582/37EFEEB47B3D41F3BBFDC5CDE166C592EF53BC39/[/IMG] [IMG]http://images.akamai.steamusercontent.com/ugc/315621401161009410/4EB2661281F7D5B04606DE71F0DBD6619294A184/[/IMG]
Move the origin (blue ball thingo) to where the turning should pivot from, like the hinge Then just mess around with the flags tab on the func_door_rotating and change the rotate on X, Y, or Z axis
[QUOTE=Maclman;49877979]Move the origin (blue ball thingo) to where the turning should pivot from, like the hinge Then just mess around with the flags tab on the func_door_rotating and change the rotate on X, Y, or Z axis[/QUOTE] Tried it but it just keeps happening, and will end up in some parts, spawn in different positions
Why doesn't someone maybe make a prefab for him so he can use that and/or look at it in SDK and learn from it?
[QUOTE=TheLocalPub;49878079]Why doesn't someone maybe make a prefab for him so he can use that and/or look at it in SDK and learn from it?[/QUOTE] Done. I made a [URL="https://mega.nz/#!BF9kCJra!pPCJo8Apbs11wl3Ua5gjUaKcLamij8uXW9Fz_ay5J98"]quick demo[/URL] for you to look at, OP. Do keep in mind that the bridge's flags will change depending on what direction your bridge faces. For example, in the vmf I linked, if you want the bridge to open from the other side, you'll need to move the origin to the hinge on the other side and check the "Reverse Dir" flag. Hope any of that helps!
Sorry, you need to Log In to post a reply to this thread.