In need of path_corner help.


(Apple) #1

I’m trying to learn how to create a simple gate activated by a switch, similar to the tunnel gate in mp_base. Since I spent all morning searching for some type of tutorial with nothing to show for it, I decided to try and learn how to make it work by simply looking at the gate and scripting for mp_base. I created a simple box map and then copy/pasted the levers, gate, and relevant entities from mp_base into the box map. I then created a simple script file, also copy/pasted from mp_base’s. I compiled it, loaded up ET, crossed my fingers, and gleefuly awaited hours of lever pulling fun.

That’s when things went horribly wrong. The door was there, the switch was there, and when I hit the switch the door moved. So what’s the problem? The door moves, but then never stops. It just continues on, off into the distance, far far away… not only that but it also moves off at an odd angle instead of simply left to right. To make matters worse the lever acctualy moves off with it.

Any ideas on why moving the gate and scripting from mp_base to my own map makes everything go haywire? Or better yet, perhaps someone can simply just give me a quick link to a path_corner tutorial, I’ve had no luck in finding one. 8(

TIA


(Apple) #2

Ahh, I figured it out. The origin brush was missing for both the door and the lever. I slapped them in and now everything’s good.


(Loffy) #3

I’ve made that mistake many times. I still do sometimes.
:slight_smile:
// Loffy