Page 1 of 3

[Mod] Meshnodes [0.3.0] [meshnode]

PostPosted: Sat Dec 21, 2013 18:02
by stu
Poor man's voxel area entities

Demo Video: https://vimeo.com/203513820

Image
Image
Image

Description

Meshnodes is a mod that transforms ordinary minetest nodes into a connected array of replica entities to which players can attach to and manoeuvre.

To use, simply build or place a model using nodes with a supported drawtype then place a meshnode controller in an appropriate position. Now use the special 'glue' that you will find in the controller node's inventory to connect your structure. Alternatively, if you are using worldedit, you can use the position markers to define the extents of your model.

When everything is connected you should return the 'glue' to the controller to enable activation. Once activated, players can then attach themselves to the controller or restore the model back to nodes. Restored models can be easily reconnected using the 'Connect from meta positions' option.

Please note that the 'glue' bottles are unique to a controller's position and are only useable within a limited range.

Supported drawtypes

I have done my best to include support for most of the common nodes that are useful for building ships etc, like fences, xpanes and walls including support for all default stairs and slabs in full 6d rotation. It may or may not work with other decorative nodeboxes/meshnodes, the best way to find out is to simply try it.

Exceptions include flowing liquids, wallmounted nodes, rails or any node with non-generated wield or inventory images. Some drawtypes have only partial support, like 'plantlike' for example.

Construction Advice

Place the controller node in the direction you wish to face when you attach to it and always try to make your models hollow wherever possible.

Controls

[Up] - Forward
[Down] - Reverse
[Left] - Turn Left
[Right] - Turn Right
[Jump] - Up
[Sneak] - Down
[RMB] - Interact

Crafting

By default crafting is enabled in singleplayer mode only and is somewhat expensive.

[default:bronzeblock] [default:diamondblock] [default:bronzeblock]
[default:obsidian_block] [default:steelblock] [default:goldblock]
[default:bronzeblock] [default:steelblock] [default:bronzeblock]

Multiplayer

Take care if you use this mod on a public server, while I have done my best to support basic protection, I am sure this mod could still provide serious potential for grief in the hands of the wrong people.

By default the controller node will only be available via `/give[me]` and requires the 'meshnode' privilege to be effective, however, non-privileged players will still be able to attach to and operate pre-activated models.

Note that you will probably need to increase `max_objects_per_block` to something a little higher than the default 64 to avoid server warnings and broken models. You can set `meshnode_autoconf = true` to automatically increase that limit to 4096 which, in theory, equates to one solid map-block full of meshnodes, though I would not advise testing that on live server.

Know Issues

Active objects sometimes disappear following a re-start/connect. This could be for a number of reasons including /clearobjects or a minetest bug. For this reason you are advised to always 'restore' your model to 'real' nodes before logging out or moving any significant distance away from it.

The player controlling the entity may appear to be connected to the wrong part of the model when viewed by a player that was not present during the initial attachment. Currently the only solution is for the operator to detach then re-attach to the model in the presence of said player.

Minetest Version: 0.4.14 or later.

Depends: default

License Source Code: LGPL v2.1

License Media: CC0 1.0 Universal (CC0 1.0)

Download: Version 0.3.0

Browse Code: github

Please report any problems here in this topic or using the github issue tracker.

PostPosted: Sat Dec 21, 2013 19:30
by SegFault22
Amazing...

PostPosted: Sat Dec 21, 2013 22:04
by jenova99sephiros
Oh....

Marvelous mod...

PostPosted: Sun Dec 22, 2013 09:37
by AMMOnym
Awesome. My first flying creation was X-Wing from Star Wars . But if i leave game and later join so it wasnt there .

PostPosted: Sun Dec 22, 2013 14:02
by Pavel_S
Very nice! This mod has better optimisation than my AirShip mod .
P.S. It`s a pity that engine don`t allow rotate collision box =( .

PostPosted: Sun Dec 22, 2013 14:38
by stu
Pavel_S wrote:Very nice! This mod has better optimisation than my AirShip mod .
P.S. It`s a pity that engine don`t allow rotate collision box =( .

Thanks, though I must admit this was largely inspired by your mod, please feel free to incorporate any of this code if you think it will improve it.

PostPosted: Sun Dec 22, 2013 14:47
by hansuke123
COOL MOD

PostPosted: Sun Dec 22, 2013 18:02
by Krock
Wow, good work!

PostPosted: Sun Dec 22, 2013 19:32
by Enke
This is astounding

PostPosted: Fri Dec 27, 2013 21:30
by stu
Mod Updated! Version 0.2.0

Added support for slabs, stairs, plantlike and fencelike (limited)

Image

Edit: Sorry If you just downloaded this, it was missing the models directory
please update to the lastest git if you get errors.

PostPosted: Sun Dec 29, 2013 19:12
by Pavel_S
I have created steering wheel for this mod.
Image


Download.

PostPosted: Sun Dec 29, 2013 19:57
by kaeza
I just decided to try this mod. I can only say it's pure awesomeness! Excellent job with this!

I created a small airship, and I'm really impressed how well this works and how seamless the movement is.
Image

Here's my 1500th post :DDD

PostPosted: Sun Dec 29, 2013 20:18
by aldobr
any server already using this ?

PostPosted: Mon Dec 30, 2013 00:11
by stu
Pavel_S wrote:I have created steering wheel for this mod.
http://s24.postimg.org/tka9mnead/steeringwheel.png

Download.


Pavel_S, I really like this model and would also like to see this is in your airship mod
I was hoping that by exposing meshnode:create() it might encourage yourself and others to
depend on meshnode to make such amazing creations, thanks.

kaeza wrote:I just decided to try this mod. I can only say it's pure awesomeness! Excellent job with this!

I created a small airship, and I'm really impressed how well this works and how seamless the movement is.
https://dl.dropboxusercontent.com/u/100008207/screenshot_1068371689.jpg

Here's my 1500th post :DDD


Thank you, kaeza for your kind remarks and screenshot, I do admire all of your work too.

aldobr wrote:any server already using this ?


Not sure if this is server ready yet, although I have tried to make it as configurable
as possible via meshnode.conf

PS. I would love everyone to share their meshnode screenshots and models by posting either
here or in the specific forum topic.

PostPosted: Mon Dec 30, 2013 03:10
by Forgelander
I'll create huge cities in the sky with this.

PostPosted: Mon Dec 30, 2013 12:13
by Jordach
Pavel_S wrote:I have created steering wheel for this mod.
http://s24.postimg.org/tka9mnead/steeringwheel.png


Download.
Make it more voxely..

PostPosted: Tue Dec 31, 2013 18:01
by hoodedice
Jordach wrote:
Pavel_S wrote:I have created steering wheel for this mod.
http://s24.postimg.org/tka9mnead/steeringwheel.png


Download.
Make it more voxely..


Voxel enough.

PostPosted: Tue Dec 31, 2013 20:19
by Krock
Image
A heavy fly object! Works even for bigger dimensions..gonna try my luck with a hill

PostPosted: Tue Dec 31, 2013 21:00
by stu
Krock wrote:http://i.imgur.com/UlYOV5p.png
A heavy fly object! Works even for bigger dimensions..gonna try my luck with a hill

It scales much better than I ever expected it to, just try to keep the numbers down by making large objects hollow where possible.
The use of stairs, slabs, plantlike and fencelike should be kept to a minimum to get the best performance.

PostPosted: Fri Jan 03, 2014 17:16
by randylin26
Hello when I tried loading this mod, its giving me an error like its missing something. Please help!
Image

PostPosted: Fri Jan 03, 2014 17:26
by PilzAdam
randylin26 wrote:Hello when I tried loading this mod, its giving me an error like its missing something. Please help!
http://i43.tinypic.com/2195orb.jpg

https://forum.minetest.net/viewtopic.php?id=6450

PostPosted: Fri Jan 03, 2014 17:32
by paramat
This looks very interesting =) ... perhaps it would be possible to save the vehicle's schematic before the controller is added, then before shutting down the server you could land the vehicle and make it revert to it's standard node form by placing that schematic ... ?

PostPosted: Fri Jan 03, 2014 18:12
by stu
paramat wrote:This looks very interesting =) ... perhaps it would be possible to save the vehicle's schematic before the controller is added, then before shutting down the server you could land the vehicle and make it revert to it's standard node form by placing that schematic ... ?

This is probably best used in conjuction with worldedit for that very reason, although this is a nice idea, I will give it some consideration.
Like I mentioned earlier, I was hoping that others might depend on this mod as a base for say an airship mod or a car ferry mod or whatever.
It would then become that mod's responsibility to perform any loading/saving of schematics.
Right now I am hoping to add some kind of 'passenger' attachment system, I'm just not quite sure how it's going to work yet,

PostPosted: Sat Jan 04, 2014 13:19
by stcrafts
Image

rainbowship :D

amazing mod!

PostPosted: Mon Jan 06, 2014 15:16
by jin_xi
can this mod/technique be used for dynamic map manipulations? or huge mobs (i think of an unique mob in a singleplayer game, a boss!!!)

PostPosted: Tue Jan 07, 2014 15:45
by ch98
It will be good too if each spaceship/airplane will have hp depending on how much of what material is used. Also, is it possible to put chests or mesecon stuff on here that works?

PostPosted: Tue Jan 07, 2014 20:42
by aldobr
Can you make vehicle classes ?

Air, land and sea ?

Vehicle movement would be constrained based on the classes, airplanes would fly without having contact with the ground, naval vehicles would be unable to fly or leave sea etc...

PostPosted: Mon Mar 10, 2014 00:11
by 1704626
TRANSFORMERS MORE THAN MEETS THE EYE

Re: [Mod] Meshnodes [0.2.0] [meshnode]

PostPosted: Tue Sep 02, 2014 16:28
by Esteban
Is this mod compatible with 4.10? I tried to use it, but nothing happens. I set the minp and maxp and then I click the generate entity, but nothing happens.

Re: [Mod] Meshnodes [0.2.0] [meshnode]

PostPosted: Tue Sep 02, 2014 17:33
by AMMOnym
Esteban wrote:Is this mod compatible with 4.10? I tried to use it, but nothing happens. I set the minp and maxp and then I click the generate entity, but nothing happens.

Same for me. I made a modpack like Space Engineers and my first ship couldnt fly.