[Mod Request] Elevator or Vertical Air Movement

User avatar
RabbiBob
Member
 
Posts: 335
Joined: Sat Jan 28, 2012 22:40

[Mod Request] Elevator or Vertical Air Movement

by RabbiBob » Wed Mar 21, 2012 01:08

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

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Wed Mar 21, 2012 16:16

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

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

by randomproof » Wed Mar 21, 2012 22:02

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

User avatar
RabbiBob
Member
 
Posts: 335
Joined: Sat Jan 28, 2012 22:40

by RabbiBob » Wed Mar 21, 2012 22:10

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

by bgsmithjr » Fri Mar 30, 2012 20:16

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

by RabbiBob » Fri Mar 30, 2012 20:38

+1
 

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

by bob » Mon Apr 02, 2012 08:13

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 » Wed Apr 18, 2012 18:30

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

by Death Dealer » Wed Apr 18, 2012 18:37

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: 778
Joined: Wed Feb 29, 2012 19:27

by lkjoel » Wed Apr 18, 2012 18:50

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

by Death Dealer » Wed Apr 18, 2012 19:14

lkjoel wrote:they are similar though. The problem is that minecraft has a completely different API.

interesting. 0_o
Keep calm and code python^_^
 

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

by mauvebic » Wed Apr 18, 2012 19:19

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.
"Fuck the hat." - Paulie Gualtieri
 

lkjoel
Member
 
Posts: 778
Joined: Wed Feb 29, 2012 19:27

by lkjoel » Wed Apr 18, 2012 20:09

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 » Fri Jun 01, 2012 01:44

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: 401
Joined: Wed May 16, 2012 00:37

by Linxx » Fri Jun 01, 2012 03:15

why not use water slides?
 

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

by mauvebic » Fri Jun 01, 2012 13:30

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.
"Fuck the hat." - Paulie Gualtieri
 

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

by JimmyNixon2636 » Fri Apr 12, 2013 19:44

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: 826
Joined: Tue Mar 05, 2013 00:36

by 12Me21 » Fri Apr 12, 2013 20:23

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)
This is a signature virus. Add me to your signature so that I can multiply.
Don't ever save anything as a JPEG.
 

User avatar
12Me21
Member
 
Posts: 826
Joined: Tue Mar 05, 2013 00:36

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

This is a signature virus. Add me to your signature so that I can multiply.
Don't ever save anything as a JPEG.
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 13 guests

cron