[Mod Request] Elevator or Vertical Air Movement

Post Reply
User avatar
RabbiBob
Member
Posts: 335
Joined: Sat Jan 28, 2012 22:40
Location: /teleport 54,47,28
Contact:

[Mod Request] Elevator or Vertical Air Movement

by RabbiBob » Post

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).

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.
Last edited by RabbiBob on Wed Mar 21, 2012 22:10, edited 1 time in total.

sfan5
Moderator
Posts: 4095
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

by sfan5 » Post

+1
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

randomproof
Member
Posts: 214
Joined: Thu Nov 17, 2011 06:31
Location: California, USA

by randomproof » Post

Hate to nitpick but vertical movement is in the Y axis.

User avatar
RabbiBob
Member
Posts: 335
Joined: Sat Jan 28, 2012 22:40
Location: /teleport 54,47,28
Contact:

by RabbiBob » Post

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.

User avatar
bgsmithjr
Member
Posts: 436
Joined: Thu Mar 08, 2012 23:21
Location: USA,Michigan

by bgsmithjr » Post

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.

User avatar
RabbiBob
Member
Posts: 335
Joined: Sat Jan 28, 2012 22:40
Location: /teleport 54,47,28
Contact:

by RabbiBob » Post

+1

bob
Member
Posts: 66
Joined: Thu Feb 16, 2012 00:59

by bob » Post

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

Demostan
Member
Posts: 14
Joined: Wed Feb 29, 2012 17:38

by Demostan » Post

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
When you have a dream you never,ever,ever let it go.

User avatar
Death Dealer
Member
Posts: 1379
Joined: Wed Feb 15, 2012 18:46
Location: Limbo
Contact:

by Death Dealer » Post

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.
Keep calm and code python^_^

lkjoel
Member
Posts: 779
Joined: Wed Feb 29, 2012 19:27
Location: Gallifrey
Contact:

by lkjoel » Post

they are similar though. The problem is that minecraft has a completely different API.
My mods: The Nether | Doctor Who (WIP)

I have quit minetest ... again. I am heavily unimpressed by both the game and the community.

User avatar
Death Dealer
Member
Posts: 1379
Joined: Wed Feb 15, 2012 18:46
Location: Limbo
Contact:

by Death Dealer » Post

lkjoel wrote:they are similar though. The problem is that minecraft has a completely different API.
interesting. 0_o
Keep calm and code python^_^

mauvebic
Member
Posts: 1550
Joined: Fri Jan 27, 2012 11:32

by mauvebic » Post

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.

lkjoel
Member
Posts: 779
Joined: Wed Feb 29, 2012 19:27
Location: Gallifrey
Contact:

by lkjoel » Post

you could even just use something like playerobj:setvelocity(x=0,y=1,z=0)
My mods: The Nether | Doctor Who (WIP)

I have quit minetest ... again. I am heavily unimpressed by both the game and the community.

Switch5681
Member
Posts: 36
Joined: Sat Sep 24, 2011 03:28

by Switch5681 » Post

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?

User avatar
Linxx
Member
Posts: 406
Joined: Wed May 16, 2012 00:37

by Linxx » Post

why not use water slides?

mauvebic
Member
Posts: 1550
Joined: Fri Jan 27, 2012 11:32

by mauvebic » Post

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.

JimmyNixon2636
Member
Posts: 14
Joined: Tue Mar 12, 2013 04:28

by JimmyNixon2636 » Post

you can also try to build it using frames motors because Ive seen some that work on you tube for mine craft

User avatar
12Me21
Member
Posts: 873
Joined: Tue Mar 05, 2013 00:36
GitHub: 12Me21
Location: (Ignore all of my posts before 2018)

by 12Me21 » Post

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)
Shoutouts to Simpleflips

User avatar
12Me21
Member
Posts: 873
Joined: Tue Mar 05, 2013 00:36
GitHub: 12Me21
Location: (Ignore all of my posts before 2018)

by 12Me21 » Post

Shoutouts to Simpleflips

Post Reply

Who is online

Users browsing this forum: No registered users and 30 guests