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

Confused about move_offset

 
Post new topic   Reply to topic    DF-21 Forums Forum Index -> Dark Forces Levels & Editing
View previous topic :: View next topic  
Author Message
Lionel Fouillen
Gamorrean

Joined: 27 Sep 2003

PostPosted: May 31, 2009 18:15    Post subject: Confused about move_offset View user's profile Send private message Reply with quote

Hi, I have an elevator. Actually it's only a 3DO going up and down using INF in a move_offset -type elevator in which the 3DO resides.

As far as I know, move_offset is used to move the second altitude of a sector. In my case the second altitude is the roof of the 3DO elevator, on which Kyle must jump to travel in the elevator motor chamber (yes, it's Archangel 3). Using move_offset allows this without having to move either the floor or the ceiling of the sector.

The problem I have is how to specify the values for the stops. I tried everything and it just doesn't work, the elvator goes up when I want it to go down, or it goes the right direction but doesn't travel the right distance, or it doesn't halt for the desired time before going back the other direction.

In fact what I want is simple: an elevator which keeps travelling, 144 DF-units up, then stops for 10 seconds, then goes down back for 144 DF-units, stops for 10 seconds, then up again, endlessly.

Any suggestions?

Fenwar
Admiral Ackbar
Admiral Ackbar

Joined: 15 Sep 2003

PostPosted: Jun 01, 2009 21:05    Post subject: View user's profile Send private message Reply with quote

The wrong direction stuff is probably to do with all that fun with negatives; the second altitude needs to be negative, the values are relative to the sector floor. Been a long time since I've fired up WDFUSE though.

The stopping problems might be something I became horribly familiar with way back when trying to create a bridge over water. If you have multiple objects in the sector (Is the whole elevator a single 3DO object?) they might be getting in the way of the elevator's movement.

This mainly applied when the second altitude passed through the floor or ceiling of the sector.

You might need to add a little bit of breathing space at each end of the elevator sector to stop objects causing it to "bounce" before it reaches the stop.

Barry Brien
Dark Trooper Phase 1

Joined: 26 Sep 2003

PostPosted: Jun 13, 2009 02:59    Post subject: View user's profile Send private message Send e-mail Reply with quote

Yeah, for some reason you cannot start a move offset from zero, in other words, your 2nd altitude must be slightly above the floor when it begins. Don't know why this is the case, but it is.

Lionel Fouillen
Gamorrean

Joined: 27 Sep 2003

PostPosted: Jun 13, 2009 06:10    Post subject: View user's profile Send private message Reply with quote

Thanks Barry but I never managed to make it work. I finally did it by using a move_floor. Since the floor is a pit, it is not visible when it moves anyway and the desired effect is achieved.

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