Moving many blocks aka. large vehicles idea

kpo
Member
 
Posts: 38
Joined: Sun Mar 31, 2013 19:01

Moving many blocks aka. large vehicles idea

by kpo » Tue Apr 30, 2013 19:59

I have this idea of creating large vehicles like cars, lorries, trains and what not.
I see that the carts mod by PilzAdam supplies the cart as an entity. My understanding of an entity is that it has a separate life compared to "proper" nodes.

So basically (as I understand it) I have two choices:
1) Needing the ability to create build-able entities which when connected can create a larger vehicle.
Combined entities would take up maybe 100dreds blocks of space.
2) Moving (possibly) large amounts of blocks around to create e.g. a train.

Also trains cannot run on a schedule because at least entities are disabled once no players are near.

I'd like some opinions and ideas and perhaps indications if this is at all possible or if this kind of transportation would require engine changes of an unfeasible scale.

I think it could be really fun to create trains using normal nodes and have them move across the landscape.
 

User avatar
Menche
Member
 
Posts: 994
Joined: Sat Jul 02, 2011 00:43

by Menche » Tue Apr 30, 2013 20:33

My idea, not sure how feasible it is:
Define a special "vehicle base" node. Whenever a node is built to a vehicle base node, it is added to a list. (nodes can also be added by building them to a node on the list) When the vehicle is supposed to move, the nodes are all converted to entities in the same way falling gravel/sand are, and are connected to each other and moved as a unit. The player is connected to the vehicle base node to steer it. When you want to edit the vehicle, the positions of the entities are rounded to the nearest node and the entities are converted back to nodes.
An innocent kitten dies every time you top-post.
I am on the Voxelands Forums more often than here.
Try Voxelands (forked from Minetest 0.3) by darkrose
 

User avatar
Traxie21
Member
 
Posts: 753
Joined: Mon Dec 31, 2012 10:48

by Traxie21 » Tue Apr 30, 2013 20:57

This is actually in the long-term section of the TODO list.
http://dev.minetest.net/TODO
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 5 guests

cron