Page 1 of 27

[Modpack] 3D Armor [0.4.9] [minetest-3d_armor]

PostPosted: Sat Feb 02, 2013 03:10
by stu
[modpack] Visible player armor & hand wielded items

[mod] Visible Wielded Items [wieldview] Makes hand wielded tool items visible to other players.
[mod] Visible Player Armor [3d_armor] Adds craftable armor that is visible to other players.
[mod] Shields [shields] Adds shields to the visible player armor.
[mod] Technic Armor [technic_armor] Adds technic armor materials. (requires technic mod for craft registration)
[mod] Hazmat Suit [hazmat_suit] Adds hazmat suit to Technic Armor.
[mod] 3d Armor Stand [3d_armor_stand] Adds a stand for armor storage and display.

Screenshot: Features itemframes mod (Calinou's version)

Image

Mod Version: 0.4.9 - Apr 28, 2017
+ changelog

Minetest Version: 0.4.5 onwards (see downloads)

Depends: default

License Textures: 2017 daviddoesminetest aka davidthecreator - CC BY-SA 3.0

License Source Code: 2013 - 2017 stujones11 aka stu - LGPL v2.1

Downloads

Minetest 0.4.15 or later Version 0.4.9
+ older versions

Browse Code: github

Please let me know of any bugs, problems or suggestions.

Cheers!

PostPosted: Sat Feb 02, 2013 03:32
by Josh
Intresting, What classes of armor are there?

PostPosted: Sat Feb 02, 2013 03:42
by stu
Josh wrote:Intresting, What classes of armor are there?


Sorry, only steel armor for now.

PostPosted: Sat Feb 02, 2013 04:43
by Josh
stu wrote:
Josh wrote:Intresting, What classes of armor are there?


Sorry, only steel armor for now.

does it deteriorate when hurt by monsters?

PostPosted: Sat Feb 02, 2013 09:03
by 4aiman
Looks good, but I prefer to have real 3d armor ;)
Maybe my own experiments combined with this way of setting textures...
stu, could you take a look at this: http://forum.minetest.net/viewtopic.php?id=4420&p=3 ?

PostPosted: Sat Feb 02, 2013 09:10
by sfan5
Screenshots please?

PostPosted: Sat Feb 02, 2013 20:10
by stu
Josh wrote:does it deteriorate when hurt by monsters?


Unfortunately not at the moment as I need to figure out a way to implement this. Since the visible armor does not really exist as an entity itself, there is no way for it to take damage in the conventional sense. I thought about using player:on_punch() but then I read in the api guide...
On the Lua side, every punch calls ''entity:on_punch(puncher,
time_from_last_punch, tool_capabilities, direction)''. This should never be
called directly, because damage is usually not handled by the entity itself.

Maybe someone more familiar with the api can suggest a better way around this?

4aiman wrote:Looks good, but I prefer to have real 3d armor ;)


I did try out your mod prior to creating this but could not get it to work on my current server setup. I do not recall the exact error, however I have watched your youtube vid and do get the general idea of what you are trying to do, pretty cool stuff!

The idea of creating a seperate armor model does have a number advantages over simple player re-texturing, not least solving the problem mentioned above. It could also be used to incorporate 3d shields.

My main concern with armor entities is what additional load it might put on a well populated server. Since I am mainly developing this mod for use on a custom pvp server I wanted to keep things as tight as possible.

4aiman wrote:Maybe my own experiments combined with this way of setting textures...


Sure, create the armor model.x with a fully transparent default texture then simply alpha-blend in-out individual item meshes in much the same way I am doing with the default character.png

sfan5 wrote:Screenshots please?

The Forum would not let me post more than one link, naturally I had to keep the download link.

Image

PostPosted: Wed Feb 13, 2013 22:05
by stu
Updated: Added visible shields and wielded items. See the top post for more info.

Image

Cheers!

PostPosted: Wed Feb 13, 2013 22:31
by Linxx
wow man you have done a lot of progress

PostPosted: Wed Feb 13, 2013 22:32
by lkjoel
This should definitely be included in the default minetest!

PostPosted: Wed Feb 13, 2013 22:33
by Chinchow
Looks good and stu I suggest you post a bit more and lookand comment on things in the forum to become a member also do texture packs change the held items
?

PostPosted: Wed Feb 13, 2013 22:37
by jojoa1997
i love it but can you have shovels and axes show up. also it does not protect you unless you have the entire armor set on. finally wood and rock armor sounds nice right now.

PostPosted: Wed Feb 13, 2013 22:42
by jojoa1997

PostPosted: Wed Feb 13, 2013 23:01
by VanessaE
Stu, is there any chance you could do the following?

* split the wielded items off into a separate mod
* make the separate mod work without inventory_plus
* make it compatible with the player_textures mod and similar

I'd really love to use this on my server.

PostPosted: Wed Feb 13, 2013 23:59
by stu
Thank you all for the kind remarks and screenshots. I promise more will be added as soon as I am happy with how the mod works as a whole. Things like armor taking damage and armor group/level algorithms are more important to me than more items at the moment.

@VanessaE I would love to do that for you but I really don't think it is ready for that type of release just yet.

Saying that, it should only be a process of substraction if you wanted it to be that way. Simply remove all the code relating to armor and inventory plus and there you have it!

It shouldn't leave you with that much, the code is short and should be reasonably self explanatory, any problems, just ask.

Personally, I dont like the way I am including the wielded item atm. I really hope that someday visible wielded items will be part of the default game anyway.

Cheers!

PostPosted: Thu Feb 14, 2013 00:20
by jojoa1997
you could take a look at the code for the armor mod for more ores for how to easily make armor types. i dont understand it though. http://forum.minetest.net/viewtopic.php?id=3730

PostPosted: Thu Feb 14, 2013 01:52
by Josh
stu wrote:Updated: Added visible shields and wielded items. See the top post for more info.

Image

Cheers!

Awesome! This should be included in the next minetest update.

PostPosted: Thu Feb 14, 2013 01:57
by jojoa1997
could you make this open with the letter "O" so you can get rid of th dependency for inventory_plus. then it could be added to the next minetest update

PostPosted: Thu Feb 14, 2013 05:32
by 4aiman
jojoa1997 wrote:could you make this open with the letter "O" so you can get rid of th dependency for inventory_plus. then it could be added to the next minetest update

Searched for help in the lua_api on the github... and found that only player controls are readable from lua. So no "o" or any of the non-bind keys is possible. Or there is another method?

As for the mod: +infinity/0 !

PostPosted: Thu Feb 14, 2013 07:38
by LorenzoVulcan

PostPosted: Thu Feb 14, 2013 07:56
by Jordach
stu wrote:Updated: Added visible shields and wielded items. See the top post for more info.

Image

Cheers!
At some point I will fork this and make a better system for hand wielding. Me thanks GPL V3.

EDIT: Because I know a little about the engine, I might be able to make the hand wielding a little less laggy.

PostPosted: Thu Feb 14, 2013 12:19
by Calinou
This, with the health bar, should be in the default game IMO. Nice work!

PostPosted: Thu Feb 14, 2013 12:20
by 0gb.us
Josh wrote:
stu wrote:Updated: Added visible shields and wielded items. See the top post for more info.

Image

Cheers!

Awesome! This should be included in the next minetest update.


No, armour is too Minecraft-like. It's okay for people who want it, but it would be sad to see the default game become too close to what Minecraft is like.

Unless you mean only the visible wield items. I get the feeling that's going to be added to default Minetest eventually.

PostPosted: Thu Feb 14, 2013 12:23
by pandaro
+++111

PostPosted: Thu Feb 14, 2013 12:55
by LorenzoVulcan
0gb.us wrote:
No, armour is too Minecraft-like. It's okay for people who want it, but it would be sad to see the default game become too close to what Minecraft is like.

Unless you mean only the visible wield items. I get the feeling that's going to be added to default Minetest eventually.


Armors are necessary to PVP,independently they're minecraft-like or not.And i think they're not minecraft-like.