Page 3 of 20

PostPosted: Wed Feb 27, 2013 08:07
by Jordach
stu wrote:
Iqualfragile wrote:that looks great, but could you please move your code into a repository like git or hg so it would be easier to update your mod for a server-admin.

Aboslutely, i will do that, very soon. I've been thinking about it for a while... I'll get on to it asap, I promise.

Cheers.
Oh yes please! What could be done is something clever. Perhaps 64x packs may not need to scale their images, as their items are already at the said 64x.

PostPosted: Sun Mar 03, 2013 20:00
by stu
Mod Updaded, version: 0.1.1

All wielded items are now visible (thanks jordan4ibanez)
Player skins no longer need to be re-sized as this is now all done in lua.

As requested, I uploaded 3d_armor to an online git repository. Please bear with me as it is my first time using git.

See top post for details.

Image

Cheers!

PostPosted: Sun Mar 03, 2013 20:11
by jojoa1997
maybe have weilded items be a bit smaller. maybe half as small

PostPosted: Sun Mar 03, 2013 20:30
by Splizard
This is a great mod!

PostPosted: Sun Mar 03, 2013 20:39
by Linxx
this bring a lot of progress to the game o.o

PostPosted: Sun Mar 03, 2013 22:57
by Iqualfragile
thanks for using a repositry, im now testing it on my server with some players, im gona give you feedback when i think that there is something improvable

PostPosted: Sun Mar 03, 2013 22:59
by Iqualfragile
and there we go:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
23:57:56: ACTION[ServerThread]: player Iqualfragile crafts default:sign_wall
23:58:04: ERROR[main]: ERROR: An unhandled exception occurred: ServerError: LuaError: error: ...minetest/bin/../mods/minetest/3d_armor/armor_api.lua:32: attempt to index field 'tiles' (a nil value)


happened when i tried to write sth on a sign (pilzadams signs)

PostPosted: Sun Mar 03, 2013 23:34
by stu
Iqualfragile wrote:and there we go:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
23:57:56: ACTION[ServerThread]: player Iqualfragile crafts default:sign_wall
23:58:04: ERROR[main]: ERROR: An unhandled exception occurred: ServerError: LuaError: error: ...minetest/bin/../mods/minetest/3d_armor/armor_api.lua:32: attempt to index field 'tiles' (a nil value)


happened when i tried to write sth on a sign (pilzadams signs)


Hopefully the latest commit fixes that?

Thank you all for your comments.

PostPosted: Mon Mar 04, 2013 16:29
by Iqualfragile
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
17:07:31: ERROR[main]: ERROR: An unhandled exception occurred: ServerError: LuaError: error: ...minetest/bin/../mods/minetest/3d_armor/armor_api.lua:32: attempt to index field 'tiles' (a nil value)
17:07:31: ERROR[main]: stack traceback:


updatet to the latest git (as always) sadly not fixed yet, a player was crafting at that time

PostPosted: Mon Mar 04, 2013 19:15
by stu
Iqualfragile wrote:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
17:07:31: ERROR[main]: ERROR: An unhandled exception occurred: ServerError: LuaError: error: ...minetest/bin/../mods/minetest/3d_armor/armor_api.lua:32: attempt to index field 'tiles' (a nil value)
17:07:31: ERROR[main]: stack traceback:


updatet to the latest git (as always) sadly not fixed yet, a player was crafting at that time


Sorry about that, it was getting late. I think I have fixed it now though, I've been playing for over an hour doing various things and had no errors so far.

Note to others: omploader seems to be having problems atm. I will update the direct download link asap.

PostPosted: Mon Mar 04, 2013 20:46
by Iqualfragile
stu: you can use github for that, too

PostPosted: Mon Mar 04, 2013 20:57
by stu
Iqualfragile wrote:stu: you can use github for that, too

Good point, I did want to provide an alternative download but omp has been a bit flakey of late. Besides this way is far less maintenance.

Cheers.

PostPosted: Mon Mar 04, 2013 21:03
by Iqualfragile
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

PostPosted: Mon Mar 04, 2013 21:08
by Iqualfragile
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

PostPosted: Mon Mar 04, 2013 21:16
by kaeza
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?

PostPosted: Mon Mar 04, 2013 21:23
by stu
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.

PostPosted: Mon Mar 04, 2013 22:14
by stu
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.

PostPosted: Wed Mar 06, 2013 01:06
by tinoesroho
If you prefer skins based on game characters, there's a twenty pack here.

PostPosted: Sun Mar 17, 2013 19:55
by stu
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.

PostPosted: Fri Mar 22, 2013 22:12
by Traxie21
Is there any way to add more armors?

PostPosted: Tue Mar 26, 2013 21:42
by stu
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.

PostPosted: Tue Mar 26, 2013 22:01
by jojoa1997
Why not put all the textures on a single file and just have the mod use certain areas of the armor texture file.

PostPosted: Tue Mar 26, 2013 22:12
by stu
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.

PostPosted: Tue Mar 26, 2013 23:56
by jojoa1997
It is complicated now but later on it will be simple.

PostPosted: Thu Apr 11, 2013 20:26
by deivan
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?

PostPosted: Thu Apr 11, 2013 20:30
by stu
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.

PostPosted: Sun Apr 14, 2013 15:07
by nextmissinglink
make tools that you hold 3d

PostPosted: Sun Apr 14, 2013 17:39
by stu
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.

PostPosted: Sun Apr 14, 2013 17:47
by jojoa1997
@stu i have added a version not dependent on inventory pkus for minitest. is that alright?

PostPosted: Sun Apr 14, 2013 17:57
by stu
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