DF-21 Forums Forum Index DF-21 Forums
The Dark Forces Community
 
DF-21.net Home | FAQ | Search | Memberlist  | Register 
Profile | Log in to check your private messages | Log in

inf elevator crashes why?

 
Post new topic   Reply to topic    DF-21 Forums Forum Index -> Dark Forces Levels & Editing
View previous topic :: View next topic  
Author Message
Cal72521
Ree-Yees

Joined: 14 Sep 2006

PostPosted: Dec 11, 2009 12:36    Post subject: inf elevator crashes why? View user's profile Send private message Send e-mail Reply with quote

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

_________________
Cool

The MAZZTer
Death Star
Death Star

Joined: 25 Sep 2003

PostPosted: Dec 11, 2009 14:20    Post subject: View user's profile Send private message Send e-mail Reply with quote

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

PostPosted: Dec 12, 2009 18:07    Post subject: View user's profile Send private message Send e-mail Reply with quote

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

PostPosted: Dec 25, 2009 01:52    Post subject: View user's profile Send private message Send e-mail Reply with quote

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.

_________________
Cool

Burning Gundam
Kell Dragon

Joined: 28 Sep 2003

PostPosted: Dec 25, 2009 05:35    Post subject: View user's profile Send private message Send e-mail Reply with quote

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.

Display posts from previous:   
Post new topic   Reply to topic    DF-21 Forums Forum Index -> Dark Forces Levels & Editing All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group