Ok ive almost gotten this to work, actually on I’m on the verge.
I just have a few headaches to mend. Ok here it goes.
I went with using the spline system so I can use controls to make a bezier, instead of using paths. I reviewed fueldump.script and they’re using attatchtotrain for each of the panels, and then just script ONE panel for the movement. The rest of the panels follow. My problem is that I can’t use just one spline because the curve produced by the control makes the panels sit at an angle when at the close position. But when I use two splines, I get a wierd rotation (90 on the X-axis, I believe) when the panel jumps from the first spline to the second. Not that I already have to deal with the initial wierd rotation with splines, I have to deal with this second one. I did some test, and when I have the second spline perfectly vertical just like the first one (btw, the first spline patch is the vertical one going up), then it doesn’t rotate. When I have the second spline at the even the slightest angle (imagine a garage door system looking at it from the side) then it rotates. I have some screenshots. Fuel Dump doesn’t seem to be compensating for it via script so I’m not sure how they’re doing it, but I know it’s using splines as well. Sorry for the long spiel, but Ive been banging my head on the table since yesterday morning trying to get my n00b garage door to work. Here are the screenies showing you my (now) mangled map. Notice the second spline (top spline) is at a slight angle and look at it in the game when it’s raised.
(please don’t mind the panel on the left, it’s not part of what I’m trying to show)
this one shows an over-exaggerated view of what I’m trying to do with my splines
here’s the panel on the first spline
here’s the panel on the second spline, notice the rotation.
I apologize for the dark screenshots, I tried to brighten it up already
Oh, another thing, what are the parameters for attatchtotrain, and how come it’s misspelled. Here’s what I see in fueldump.script
tbdoor1-8
{
spawn
{
wait 100
attatchtotrain tbdoor1-9 16
}
}