| Author |
Message |
Cal72521 Ree-Yees
Joined: 14 Sep 2006
|
Posted: Dec 11, 2009 12:36 Post subject: inf elevator crashes why? |
|
|
simple to me not so for df. Is there an easier way to get an elevator to move between floors on different floors/levels than making the whole level on one floor and having the altitudes set so the overlapping sectors don't occupied the same space, like the df devs did for the prison level.
my doors and elevator line up, my doors are on different sub-levels.
This code crashes but passes the consistency check in wdfuse.
seq
class: elevator basic
speed: 20
event_mask: 16
stop: 0 hold
stop: 10 0
adjoin: 1 elev1 0 door1 4
stop: -10 0
adjoin: 2 elev1 0 door2 4
stop: 0 hold
stop: 10 0
adjoin: 4 elev1 0 door2 4
stop: -10 0
adjoin: 5 elev1 0 door3 4
stop: 0 hold
stop: 10 0
adjoin: 7 elev1 0 door3 4
stop: -10 0
adjoin: 8 elev1 0 door4 4
stop: 0 hold
seqend
_________________
 |
|
The MAZZTer Death Star

Joined: 25 Sep 2003
|
Posted: Dec 11, 2009 14:20 Post subject: |
|
|
What do you mean by "crashes"? Does Dark Forces crash when you start up the level? When you try the use the elevator? Or does the elevator simply not do anything?
_________________ http://www.mzzt.net/ | I am a respectable admin with a respectable sig. |
|
Burning Gundam Kell Dragon
Joined: 28 Sep 2003
|
Posted: Dec 12, 2009 18:07 Post subject: |
|
|
Looking at it, it looks like the altitude values should be relative values instead of absolute values (i.e. should be stop: @ 10 0, not stop: 10 0). It could be that it is adjoining those walls but at the wrong altitude values, causing it to react in ways you don't want it to.
That's my thought anyway. Even if the code checks out in WDFUSE, it doesn't necessarily mean it'll work the way you want it to.
_________________ I don't think outside the box... I customize it. |
|
Cal72521 Ree-Yees
Joined: 14 Sep 2006
|
Posted: Dec 25, 2009 01:52 Post subject: |
|
|
df crashes when i use the elvator.
i'll try using @ 10 0.
i'm going to use a scrolling texture on one of the walls for the allusion.
_________________
 |
|
Burning Gundam Kell Dragon
Joined: 28 Sep 2003
|
Posted: Dec 25, 2009 05:35 Post subject: |
|
|
In most cases when DF crashes in areas with INF scripting it is the script in the affected area or trigger to another script that causes the crash. This is undoubtedly caused by a scripting error in that elevator.
Mt. Kurek had a bug (at least with the Mac version) where after you escape the volcano and the shuttle crash lands you have to crawl through a small tunnel. For some reason the game would crash as soon as you entered it. After I tinkered around for a solution to the problem I deleted the script altogether and the problem never recurred.
Remember, as I said before just because WDFUSE doesn't find a problem with the scripting doesn't mean it'll always work the way you want it to.
_________________ I don't think outside the box... I customize it. |
|
|