Page 1 of 1

[Mod Request] Elevator or Vertical Air Movement

PostPosted: Wed Mar 21, 2012 01:08
by RabbiBob
I've looked at the cart mod for awhile and I'm not there yet for figuring this out, but that's the closest I've seen to what I've been waiting for.

Requesting either an elevator (block actually rises between two fixed points, carrying the player) or a vertical air lift where movement along the Y axis occurs between two fixed points (no block needed).

The elevator would require a switching mechanism and some planning.

The air lift could be done with an up lift and possibly a mechanism that decelerates fall before the point of impact (currently you can fall into one node of water and not take damage - create a node that is just like water with its own custom texture and that is done).

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all

                    [EndNode]
                        |
                        |
                        |
                        ^
                      upwards movement
                        |
                       +Y
                        |
                        |
           [Ground][StartNode][Ground]


Thinking about it more, just create a space where someone falls up rather than down.

PostPosted: Wed Mar 21, 2012 16:16
by sfan5
+1

PostPosted: Wed Mar 21, 2012 22:02
by randomproof
Hate to nitpick but vertical movement is in the Y axis.

PostPosted: Wed Mar 21, 2012 22:10
by RabbiBob
randomproof wrote:Hate to nitpick but vertical movement is in the Y axis.


Good thing you didn't read it prior... I had lateral movement in there all night.

PostPosted: Fri Mar 30, 2012 20:16
by bgsmithjr
I started trying to make a lift mod, but I got stuck, and the solution was a lot of boring tedious stuff that the results of which were not guaranteed anyway, but found something that might make it easier a few minutes ago.

PostPosted: Fri Mar 30, 2012 20:38
by RabbiBob
+1

PostPosted: Mon Apr 02, 2012 08:13
by bob
you called make it teleport 1 block higher untill you hit a roof (or block but it wont be smooth going up or down...) but other than that its hard

PostPosted: Wed Apr 18, 2012 18:30
by Demostan
theres this one mod for minecraft it's called better than wolfe's.In that mod they have a elevator,mabye you should look at the codes and brainstorm for a while

PostPosted: Wed Apr 18, 2012 18:37
by Death Dealer
Demostan wrote:theres this one mod for minecraft it's called better than wolfe's.In that mod they have a elevator,mabye you should look at the codes and brainstorm for a while

*facepalm* doesnt work like that. minecraft is Java , minetest is C++, you cant just go look at there code.

PostPosted: Wed Apr 18, 2012 18:50
by lkjoel
they are similar though. The problem is that minecraft has a completely different API.

PostPosted: Wed Apr 18, 2012 19:14
by Death Dealer
lkjoel wrote:they are similar though. The problem is that minecraft has a completely different API.

interesting. 0_o

PostPosted: Wed Apr 18, 2012 19:19
by mauvebic
take a look at my replicator mod (the mkII) you could use that, but instead of placing a new node at each iteration, you place the new, remove the old, wait()...then next forlooop interation.

now if you wanna move things, youd have to getnode the ones ontop (y+ the max height of things to move) and move those along too.

PostPosted: Wed Apr 18, 2012 20:09
by lkjoel
you could even just use something like playerobj:setvelocity(x=0,y=1,z=0)

PostPosted: Fri Jun 01, 2012 01:44
by Switch5681
lkjoel wrote:you could even just use something like playerobj:setvelocity(x=0,y=1,z=0)


I'm trying to work on this and I've got an abm and can isolate out myself as the object of interest, but getvelocity/getacceleration is returning nil to my variable and setvelocity/setacceleration with literals isn't doing anything to me. Can anyone confirm for me that this is implemented for player objects before I spend time digging around?

PostPosted: Fri Jun 01, 2012 03:15
by Linxx
why not use water slides?

PostPosted: Fri Jun 01, 2012 13:30
by mauvebic
create transparent water, use that for elevators. otherwise yeah, youre looking at teleports for every floor. Personally i just bookmark certain locations, elevators are more for show.

PostPosted: Fri Apr 12, 2013 19:44
by JimmyNixon2636
you can also try to build it using frames motors because Ive seen some that work on you tube for mine craft

PostPosted: Fri Apr 12, 2013 20:23
by 12Me21
maybe make an area where the gravity turns negative (not sure if gravity can be changed while playing (or even if negative gravity is possible in minetest)

PostPosted: Fri Apr 12, 2013 20:47
by 12Me21