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

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

by stu » Mon Mar 04, 2013 21:23

Iqualfragile wrote:stability report: did not crash so far when used on in any standard situation but i think there might be an crash related to unknown items

but thanks for the mod, it realy adds to the game

Thanks, there was a crash when attempting to wield an unkown item. I added a simple check and now this seems to be fixed. The unknown item image does not show in the players hand, however.
please let me know if you find anything else.
 

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

by stu » Mon Mar 04, 2013 22:14

Iqualfragile wrote:another one: it would be great if you could split the mod into its two components: the api and the real armor (you do allready have seperate files for that anyways), that would be great


Do you mean make it so that you can use the api for wielded items, without including the actual armor?
I guess there will be other people who want that too. I'll see what I can do.

kaeza wrote:Well... I was gonna do this with my armorplus mod, but since you found how to workaround the problem with different texture sizes, why don't you make something like a "unified skins" mod, where you can register custom skins, and also each player can have different clothing, maybe unrelated to actual armor?


Sorry, I don't think I quite follow you. I figured out how to use the [combine texture modifier. This does not however, resolve the issue of different skin/texture resolution. Clothing is something I do very much want to implement eventually.
 

tinoesroho
Member
 
Posts: 570
Joined: Fri Feb 17, 2012 21:55
Location: Canada

by tinoesroho » Wed Mar 06, 2013 01:06

If you prefer skins based on game characters, there's a twenty pack here.
We are what we create.

I tinker and occasionally make (lousy) mods. Currently building an MMO subgame and updating mods. Pirate Party of Canada member. Sporadic author. 21 years old.

My github:
https://github.com/tinoesroho/
 

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

by stu » Sun Mar 17, 2013 19:55

Mod Updaded, version: 0.1.2

Added: Chat messages when an armor item is destroyed. eg: "Your Steel Shield got destroyed!"
Bugfix: Player armor updating when armor slot is empty. Should add significant performance improvement for melee pile-ups.
Last edited by stu on Sun Mar 17, 2013 22:43, edited 1 time in total.
 

User avatar
Traxie21
Member
 
Posts: 753
Joined: Mon Dec 31, 2012 10:48
Location: McKinney, Texas U.S.A.
 

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

by stu » Tue Mar 26, 2013 21:42

Mod Updated, version: 0.2.0

I have reluctantly added wood armor to the base 3d_armor mod.
Bronze and Mithril armor are added optionally via modpack.

See top post for more info.

Image

Traxie21 wrote:Is there any way to add more armors?


Hopefully this helps. If you want to add more then just take a look at those already included.
Pay particular attention to the naming convention used by the armor textures.
 

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

by jojoa1997 » Tue Mar 26, 2013 22:01

Why not put all the textures on a single file and just have the mod use certain areas of the armor texture file.
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

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

by stu » Tue Mar 26, 2013 22:12

jojoa1997 wrote:Why not put all the textures on a single file and just have the mod use certain areas of the armor texture file.

That sounds horribly complicated for little if any gain. The naming convention is simply the registered tool name with the colon substituted by an underscore.
 

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

by jojoa1997 » Tue Mar 26, 2013 23:56

It is complicated now but later on it will be simple.
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

deivan
Member
 
Posts: 452
Joined: Fri Feb 15, 2013 10:16
Location: Brazil. :D

by deivan » Thu Apr 11, 2013 20:26

I have a crash with a fail in the line 61 but I don't have the mod "player_textures", is another mod or a new part of the game?
 

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

by stu » Thu Apr 11, 2013 20:30

Mod Updated: Version: 0.2.1

Added a new helper mod to the modpack [unified_skins] (Thanks kaeza)
This acts a common framework for [3d_armor] and [wieldview] allowing them to be used completely independently of each other. The mod will also be used as the basis for visible player clothing (coming soon).

See top post for more info.
 

User avatar
nextmissinglink
Member
 
Posts: 145
Joined: Mon Feb 04, 2013 16:43
Location: Uranus

by nextmissinglink » Sun Apr 14, 2013 15:07

make tools that you hold 3d
IF in doubt hit it with a hammer
This is a signature virus. Add me to your signature so that I can multiply id10t ERROR
do not abuse me i am 11 and i like hitting things with a hammer that may include you
this is ment to be secret http://forum.minetest.net/viewtopic.php?pid=86467#p86467
 

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

by stu » Sun Apr 14, 2013 17:39

deivan wrote:I have a crash with a fail in the line 61 but I don't have the mod "player_textures", is another mod or a new part of the game?

I somehow missed this post while updating. This bug has now been fixed, thanks for letting me know.

nextmissinglink wrote:make tools that you hold 3d

While that would look really cool, it would be a lot of work to implement. I'd need to create a separate character model for every single wieldable item.

The current 2d system is much more flexible and I don't think it looks all that bad.
 

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

by jojoa1997 » Sun Apr 14, 2013 17:47

@stu i have added a version not dependent on inventory pkus for minitest. is that alright?
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

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

by stu » Sun Apr 14, 2013 17:57

jojoa1997 wrote:@stu i have added a version not dependent on inventory pkus for minitest. is that alright?

Absolutely! I look forward to trying it.

Will you be using the wieldview also? If so I can make you a player model with the wield-item scaled more like MC's
Last edited by stu on Sun Apr 14, 2013 17:59, edited 1 time in total.
 

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

by jojoa1997 » Sun Apr 14, 2013 18:34

I will be using everything but the extra armor one. And sure. though a suggestion for the armors is wrap it in a function. When i realease minitest 1.2 look at your mod
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
addi
Member
 
Posts: 620
Joined: Thu Sep 20, 2012 03:16
Location: Black-Forest, Germany

by addi » Wed Apr 17, 2013 15:48

it seams there is a bug with crafting the wood and iron stuff, mithrill armor does work :)

instead of the registered item 3d_armor:helmet_iron

ill get the inknown item :
Code: Select all
17:41:48: ACTION[ServerThread]: player addi crafts 3d_armor:helmet_2
 

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

by stu » Wed Apr 17, 2013 18:09

addi wrote:it seams there is a bug with crafting the wood and iron stuff, mithrill armor does work :)

instead of the registered item 3d_armor:helmet_iron

ill get the inknown item :
Code: Select all
17:41:48: ACTION[ServerThread]: player addi crafts 3d_armor:helmet_2


Thank you for bringing this to my attention, it was a silly mistake and is now corrected in the current git.

Mod updated!
 

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

by jojoa1997 » Thu Apr 18, 2013 02:22

Uh weildview makes the players look weird. i think you messed up with the player model. Maybe have the mod make the user hold an entity which is what the weild item is.
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

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

by stu » Thu Apr 18, 2013 17:50

jojoa1997 wrote:Uh weildview makes the players look weird. i think you messed up with the player model. Maybe have the mod make the user hold an entity which is what the weild item is.

That can happen if you try to weild a non 16x16px textured item. You can still handle other texture sizes so long as you keep the item's inventory_image at 16x16px.

If this is not the case then please try to explain what you mean by weird. Using entities may be possible but making them animate in sync with the player model would be lot of work to do in lua. From what I have experienced entity attachment tends to be jerky and often lags.

The ideal solution (imo) would be to have the player model support multiple uv images. That way the wielded item would be a separate texture from the player. Another thing that would be useful is a texture resizing ^[modifier (cubic interpolation)
Last edited by stu on Thu Apr 18, 2013 18:09, edited 1 time in total.
 

User avatar
Traxie21
Member
 
Posts: 753
Joined: Mon Dec 31, 2012 10:48
Location: McKinney, Texas U.S.A.

by Traxie21 » Thu Apr 18, 2013 18:45

At the moment, even while holding a 16x16 item, the player model is squashed and mitextured.
 

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

by jojoa1997 » Thu Apr 18, 2013 19:18

stu wrote:
jojoa1997 wrote:Uh weildview makes the players look weird. i think you messed up with the player model. Maybe have the mod make the user hold an entity which is what the weild item is.

That can happen if you try to weild a non 16x16px textured item. You can still handle other texture sizes so long as you keep the item's inventory_image at 16x16px.

If this is not the case then please try to explain what you mean by weird. Using entities may be possible but making them animate in sync with the player model would be lot of work to do in lua. From what I have experienced entity attachment tends to be jerky and often lags.

The ideal solution (imo) would be to have the player model support multiple uv images. That way the wielded item would be a separate texture from the player. Another thing that would be useful is a texture resizing ^[modifier (cubic interpolation)
Go on traxies server and look at others. Traxie keep the weilditem mod on there
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
Traxie21
Member
 
Posts: 753
Joined: Mon Dec 31, 2012 10:48
Location: McKinney, Texas U.S.A.
 

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

by stu » Thu Apr 18, 2013 19:47

Traxie21 wrote:At the moment, even while holding a 16x16 item, the player model is squashed and mitextured.

What resolution is your player's skin? Using a non 64x32px skin will also cause problems, that goes for armor too! If that's not it then it could be a conflict with some other mod. Something that alters scale or player texture, perhaps?

It works fine for me with all the default textures I can think of, unless i can see the problem or know the specific textures that cause the problem, there is not much I can do.

Edit: btw, what minetest version are you running there? I have not updated my dev version for a few days now.
--Will Rebuild
Last edited by stu on Thu Apr 18, 2013 20:12, edited 1 time in total.
 

User avatar
Traxie21
Member
 
Posts: 753
Joined: Mon Dec 31, 2012 10:48
Location: McKinney, Texas U.S.A.
 

PreviousNext

Return to Mod Releases



Who is online

Users browsing this forum: nirasa and 6 guests