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

Post Reply
User avatar
stu
Member
Posts: 923
Joined: Sat Feb 02, 2013 02:51
GitHub: stujones11
Location: United Kingdom

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

by stu » Post

[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] 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.13 - Mar 5, 2019 * Offset armor model for minetest 5.0.0
* Add settingtypes.txt and README fixes by @AntumDeluge
* Formatting and texture fixes by @Terumoc
* Spanish locale added by @runsy
* New armorstand place-holder textures by @LoneWolfHT
* Clean-up locales and add Russian locale by @codexp
* Show fire protection level by @tenplus1 Minetest Version: 0.4.5 onwards (see downloads)

Depends: default

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

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

Downloads

Minetest 5.1.0+ Download
Minetest 5.0.0 Version 0.4.13
Minetest 0.4.16 - 0.4.17.1 Version 0.4.12
Minetest 0.4.16 Version 0.4.11
Minetest 0.4.16 Version 0.4.10
Minetest 0.4.15-0.4.16 Version 0.4.9
Minetest 0.4.15 Version 0.4.8
Minetest 0.4.13 - 0.4.15 Version 0.4.7
Minetest 0.4.13 - 0.4.15 Version 0.4.6
Minetest 0.4.13 - 0.4.14 Version 0.4.5
Minetest 0.4.9 - 0.4.13 Version 0.4.4
Minetest 0.4.8 Version 0.4.0
Minetest 0.4.7 Version 0.3.1
Minetest 0.4.5, 0.4.6 Version 0.2.3 Browse Code: github

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

Cheers!
Last edited by stu on Tue Mar 05, 2019 20:25, edited 84 times in total.

Josh
Member
Posts: 1146
Joined: Fri Jun 29, 2012 23:11
Location: Victoria, Australia

by Josh » Post

Intresting, What classes of armor are there?

User avatar
stu
Member
Posts: 923
Joined: Sat Feb 02, 2013 02:51
GitHub: stujones11
Location: United Kingdom

by stu » Post

Josh wrote:Intresting, What classes of armor are there?
Sorry, only steel armor for now.

Josh
Member
Posts: 1146
Joined: Fri Jun 29, 2012 23:11
Location: Victoria, Australia

by Josh » Post

stu wrote:
Josh wrote:Intresting, What classes of armor are there?
Sorry, only steel armor for now.
does it deteriorate when hurt by monsters?
Last edited by Josh on Sat Feb 02, 2013 04:43, edited 1 time in total.

4aiman
Member
Posts: 1208
Joined: Mon Jul 30, 2012 05:47

by 4aiman » Post

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 ?

sfan5
Moderator
Posts: 4093
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

by sfan5 » Post

Screenshots please?
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

User avatar
stu
Member
Posts: 923
Joined: Sat Feb 02, 2013 02:51
GitHub: stujones11
Location: United Kingdom

by stu » Post

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
Last edited by stu on Sat Feb 02, 2013 20:48, edited 1 time in total.

User avatar
stu
Member
Posts: 923
Joined: Sat Feb 02, 2013 02:51
GitHub: stujones11
Location: United Kingdom

by stu » Post

Updated: Added visible shields and wielded items. See the top post for more info.

Image

Cheers!

User avatar
Linxx
Member
Posts: 406
Joined: Wed May 16, 2012 00:37

by Linxx » Post

wow man you have done a lot of progress

lkjoel
Member
Posts: 779
Joined: Wed Feb 29, 2012 19:27
Location: Gallifrey
Contact:

by lkjoel » Post

This should definitely be included in the default minetest!
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
Chinchow
Member
Posts: 684
Joined: Tue Sep 18, 2012 21:37

by Chinchow » Post

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
?
Sometimes, it's harder to think up a mod than it is to create it.
Mods: Orichalcum Stonebricks Extra Chests

User avatar
jojoa1997
Member
Posts: 2890
Joined: Thu Dec 13, 2012 05:11
Location: Earth

by jojoa1997 » Post

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.
Coding;
1X coding
3X debugging
12X tweaking to be just right


User avatar
VanessaE
Moderator
Posts: 4655
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE
Location: Western NC
Contact:

by VanessaE » Post

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.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)

User avatar
stu
Member
Posts: 923
Joined: Sat Feb 02, 2013 02:51
GitHub: stujones11
Location: United Kingdom

by stu » Post

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!
Last edited by stu on Thu Feb 14, 2013 00:11, edited 1 time in total.

User avatar
jojoa1997
Member
Posts: 2890
Joined: Thu Dec 13, 2012 05:11
Location: Earth

by jojoa1997 » Post

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
Coding;
1X coding
3X debugging
12X tweaking to be just right

Josh
Member
Posts: 1146
Joined: Fri Jun 29, 2012 23:11
Location: Victoria, Australia

by Josh » Post

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.

User avatar
jojoa1997
Member
Posts: 2890
Joined: Thu Dec 13, 2012 05:11
Location: Earth

by jojoa1997 » Post

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
Coding;
1X coding
3X debugging
12X tweaking to be just right

4aiman
Member
Posts: 1208
Joined: Mon Jul 30, 2012 05:47

by 4aiman » Post

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 !

LorenzoVulcan
Member
Posts: 447
Joined: Mon Mar 12, 2012 06:46
GitHub: aegroto

by LorenzoVulcan » Post

You're awesome.Keep working on this.

Anyway,try this for implementing armors:

https://github.com/celeron55/minetest/b ... i.txt#L417
https://github.com/celeron55/minetest/b ... .txt#L1196
Developer of the BlockForge 2# Project!
Official thread: http://minetest.net/forum/viewtopic.php ... 290#p54290

Jordach
Member
Posts: 4534
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach
Location: Blender Scene

by Jordach » Post

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.
Last edited by Jordach on Thu Feb 14, 2013 07:57, edited 1 time in total.

User avatar
Calinou
Moderator
Posts: 3169
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

by Calinou » Post

This, with the health bar, should be in the default game IMO. Nice work!

User avatar
0gb.us
Member
Posts: 841
Joined: Sun Sep 16, 2012 01:55
Location: 0gb.us:30000
Contact:

by 0gb.us » Post

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.

User avatar
pandaro
Member
Posts: 327
Joined: Sun Jan 08, 2012 21:34
GitHub: pandaro
Location: behind

by pandaro » Post

+++111
Last edited by pandaro on Thu Feb 14, 2013 12:23, edited 1 time in total.
sorry for bad english
Linux debian 7 wheezy 64
kde

LorenzoVulcan
Member
Posts: 447
Joined: Mon Mar 12, 2012 06:46
GitHub: aegroto

by LorenzoVulcan » Post

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.
Developer of the BlockForge 2# Project!
Official thread: http://minetest.net/forum/viewtopic.php ... 290#p54290

Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests