[Mod] Simple helicopter [helicopter]
This is an awesome mod!! Easy to control and you can't just walk through the heli. Nice job.
EDIT: I've encountered a bug: if you fly too far away, another helicopter will appear where you launched the first one. The same thing happened with the boats mod.
EDIT: I've encountered a bug: if you fly too far away, another helicopter will appear where you launched the first one. The same thing happened with the boats mod.
Last edited by J-Block on Fri Jun 07, 2013 14:37, edited 1 time in total.
Thats a bug in the engine. It happens with every entity: carts, boats, ufos, helicopters, mobs,...J-Block wrote:This is an awesome mod!! Easy to control and you can't just walk through the heli. Nice job.
EDIT: I've encountered a bug: if you fly too far away, another helicopter will appear where you launched the first one. The same thing happened with the boats mod.
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).
See also the MT-Faithful texture pack (work in progress).
- stu
- Member
- Posts: 923
- Joined: Sat Feb 02, 2013 02:51
- GitHub: stujones11
- Location: United Kingdom
Pavel_S, Thank you for sending me a copy of the .blend for the helicopter.stu wrote:There seems to be a problem with the directx export for this model. For some reason It contains multiple copies of the same material list.
heli.xThis appears first at line 144 then again at 342 and again at 1840.Code: Select all
MeshMaterialList { //Cube_004 Material List 1; 1; 0;; Material Default_Material { 0.800000; 0.800000; 0.800000; 0.800000;; 96.078431; 0.500000; 0.500000; 0.500000;; 0.000000; 0.000000; 0.000000;; } } //End of Cube_004 Material List
This would not cause any problems with minetest because the multiple texture update support is broken in the current version.
I recently submitted a patch that would have allowed us to use multiple UV's & materials correctly, however, it has been reverted seemingly because it broke this model...shame.
Perhaps if I could see the blender model I might can figure why it was exported like that.
The problem it seems is that you have exported the model with multiple objects, each of which has included its own material list, hence the three copies in the .x file. While this should not be a problem in itself, with my suggested patch applied, minetest is expecting to see three textures in the entity property table.
Since all the objects in your model are using the same default material then simply adding this makes it work with my patched version, without breaking compatibity with the current version.
Code: Select all
mesh = "heli.x",
textures = {"heli.png","heli.png","heli.png"},
In my experience it is much better to join all objects into one single object and use named vertex groups instead, like the default character model for example. This way only one material list will be exported.
In addition to the guidelines given here: http://wiki.minetest.com/wiki/Using_Blender
Another good article (if a little dated) can be found here: http://www.binarymodular.com/main/artic ... icle_id=94
On an unrelated note there is problem when logging out from a server with the entity attached.
Code: Select all
17:04:30: ACTION[ServerThread]: stu leaves game. List of players: max
17:04:31: ERROR[main]: ERROR: An unhandled exception occurred: ServerError: LuaError: error running function 'on_step': ...netest/bin/../worlds/test1/worldmods/helicopter/init.lua:104: bad argument #1 to 'setyaw' (number expected, got no value)
Last edited by stu on Sun Jun 09, 2013 17:36, edited 1 time in total.
- Dan Duncombe
- Member
- Posts: 904
- Joined: Thu May 09, 2013 21:11
- Location: In the unknown depths of Earth
Aim it at a cliff... and you have the ultimate mining machine. 5 minutes and 5 chests full of cobble :n
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.
My Games: Nostalgia Realtest Revamped
Servers: See above games.
- cornellius
- Member
- Posts: 82
- Joined: Sat Dec 01, 2012 05:08
- Location: South East Asian
-
- Member
- Posts: 25
- Joined: Fri Jul 26, 2013 17:42
- Mossmanikin
- Member
- Posts: 599
- Joined: Sun May 19, 2013 16:26
- Location: where we don't speak english.
[img]address/my_pic.file_extention[/img]
Last edited by Mossmanikin on Sun Jul 28, 2013 22:57, edited 1 time in total.
- Dan Duncombe
- Member
- Posts: 904
- Joined: Thu May 09, 2013 21:11
- Location: In the unknown depths of Earth
Right click ittkerwel wrote:how can i get out of the heli after a nice afternoonflight ? ;-)
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.
My Games: Nostalgia Realtest Revamped
Servers: See above games.
-
- New member
- Posts: 1
- Joined: Wed Nov 06, 2013 01:45
I don't think the helicopter is suppost to look like this: https://dl.dropboxusercontent.com/u/102 ... 926412.png
What is going on?
What is going on?
- Krock
- Developer
- Posts: 4650
- Joined: Thu Oct 03, 2013 07:48
- GitHub: SmallJoker
- Location: Switzerland
- Contact:
Intereting, I've the same problem.Josh wrote:I don't think the helicopter is suppost to look like this: https://dl.dropboxusercontent.com/u/102 ... 926412.png
What is going on?
Maybe that came wit the MT update...no ideal, please fix this cool mod
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
- stu
- Member
- Posts: 923
- Joined: Sat Feb 02, 2013 02:51
- GitHub: stujones11
- Location: United Kingdom
Please read this viewtopic.php?pid=94083#p94083Krock wrote:Intereting, I've the same problem.Josh wrote:I don't think the helicopter is suppost to look like this: https://dl.dropboxusercontent.com/u/102 ... 926412.png
What is going on?
Maybe that came wit the MT update...no ideal, please fix this cool mod
Download fixed version
.zipderpswa99 wrote:Can someone please convert the file to .zip instead of a .rar?
Some have suggested increasing the crafting cost, I think it's reasonable, but you should add a fuel requirement, although I'm not sure what. Coal is obvious, but a coal-powered heli is all but impossible IRL. if you don't mind it depending on Technic, you could give it an inventory to place batteries in. Or, if you just want to increase cost, maybe add an heli:engine part, some steel, maybe pipes or stainless steel if you don't mind the dependencies.
Who is online
Users browsing this forum: No registered users and 16 guests