View unanswered posts | View active topics It is currently Fri Jul 05, 2024 2:17 pm



Reply to topic  [ 9 posts ] 
 Does anyone still want a proper elevator? 
Author Message
User avatar

Joined: Mon Jun 15, 2009 4:02 pm
Posts: 905
Reply with quote
Post Does anyone still want a proper elevator?
I've been thinking about making a proper elevator, and I want to gauge enthusiasm.

None of that gravshaft shizz, either.
Just an elevator where you walk your guys in, go up/down, whatever.

You'll probably have to select the elevator and work it from there so you can have proper crouching and jetpacking and whatnot.

It'll likely be using MaximDude's sprites;
Image

So, would anyone be interested in potentially seeing this done?


Wed Nov 17, 2010 11:49 pm
Profile WWW
Data Realms Elite
Data Realms Elite
User avatar

Joined: Tue May 25, 2010 8:27 pm
Posts: 4521
Location: Constant motion
Reply with quote
Post Re: Does anyone still want a proper elevator?
Of course we would. Do carry on.


Wed Nov 17, 2010 11:51 pm
Profile
User avatar

Joined: Sun Mar 07, 2010 7:19 am
Posts: 1279
Location: Places. And things.
Reply with quote
Post Re: Does anyone still want a proper elevator?
Roast Veg wrote:
Of course we would. Do carry on.

Same here man, do it.


Wed Nov 17, 2010 11:56 pm
Profile
User avatar

Joined: Sun Aug 09, 2009 9:26 am
Posts: 1633
Reply with quote
Post Re: Does anyone still want a proper elevator?
Just do it, you KNEW the answer would be yes.


Thu Nov 18, 2010 3:23 am
Profile
User avatar

Joined: Sat Nov 03, 2007 9:44 pm
Posts: 1916
Location: Flint Hills
Reply with quote
Post Re: Does anyone still want a proper elevator?
DO EET.

SetWhichMONotTOHit with the stuff, A looping script of MORays to check for floor collisions, and velocity changes?
Keep in mind the effect of gravity between the Lua Updates. During that time, anything with regular gravity on regular maps will have accelerated downward 2/3 m/s. But there's a sceneman thing where you can get the gravity and make it adapt to any map. See: AAL bunker system things.


Thu Nov 18, 2010 3:42 am
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13143
Location: Here
Reply with quote
Post Re: Does anyone still want a proper elevator?
Blah blah physics blah blah.
Forget that method.

I would have a script that settles an MOSParticle with the elevator sprite right over the elevator every frame, and deletes the terrain from this before creating the new one. This way, you have a "moving" terrain floor.

If you're worried about the actors getting sucked into the floor, leave the elevator's collision on and it'll just bump the actors up when they're too low, or push them down when they're too high.

Simple simple.


Thu Nov 18, 2010 5:05 am
Profile
User avatar

Joined: Sat Nov 03, 2007 9:44 pm
Posts: 1916
Location: Flint Hills
Reply with quote
Post Re: Does anyone still want a proper elevator?
That method will work far better for feet, and well for going down, but everything else going up... :-( I'm predicting a rough ride.

Edit: Actually, after a bit of testing, adding terrain under stuff doesn't work for rising at all really. At a rise of 1 m/s, a pretty slow elevator speed, you have to continuously walk back and forth to not sink into the floor. At even 0.1m/s, you eventually sink into the floor if you don't walk around a bit. I don't think this could be well compensated for with adding backup MO-MO collisions.
You could improve on my testing method, I'm sure, but it's such a failure that I would consider it a debunking of the method, for rising.
Removing terrain from below something works perfectly fine for descending, but it gets a little bouncy at high speeds.

Replacing your collision system with a plain terrain floor while it's stationary could be good, though.


Fri Nov 19, 2010 5:33 am
Profile
User avatar

Joined: Mon Jun 15, 2009 4:02 pm
Posts: 905
Reply with quote
Post Re: Does anyone still want a proper elevator?
I'm currently planning a combination of CC48's method, along with simply setting Pos.Y on any actors/particles inside the elevator.
It does depend on how fast it is to define a box, but I figure that it shouldn't be especially slow. Failing that I can just have a couple of MOPixels inside, and just test by distance.


Fri Nov 19, 2010 9:57 am
Profile WWW
User avatar

Joined: Sat Nov 03, 2007 9:44 pm
Posts: 1916
Location: Flint Hills
Reply with quote
Post Re: Does anyone still want a proper elevator?
Well shoot, I feel rather silly for not thinking of adding such a simple thing. That would work perfectly, I imagine.


Fri Nov 19, 2010 1:32 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 9 posts ] 

Who is online

Users browsing this forum: No registered users


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.116s | 13 Queries | GZIP : Off ]