Page 31 of 36

Re: [Modpack] 3D Armor [0.4.11] [minetest-3d_armor]

Posted: Tue Mar 13, 2018 19:00
by stu
GreenDimond wrote:I'd like to set an armor texture to a vertical frames animation, but the `gsub` on L229 in the api.lua prevents me. Is there some way I can use minetest.override_item to set `self.textures[name].armor` to the texture I want?
This doesn't work:

Code: Select all

minetest.override_item("mymod:shield_mymod", {
	self.textures[name].armor = {
		{
            name = "mymod_shield_mymod_anim.png",
            animation = {
                type = "vertical_frames",
                aspect_w = 3,
                aspect_h = 3,
                length = 1,
            },
        },
    },)
})
This is not possible anyway since entities do not support animated textures. Otherwise, you should be able to use 'override' on armor items, just as you can any other.
bell07 wrote:ok, tenplus closed the issue without changes. Seems the inventory_plus requires sfinv for creative.
Now I created new issue on 3d_armor site with solution proposal: https://github.com/stujones11/minetest- ... issues/134
@bell07 Thanks, I have replied in the issue tracker.

Re: [Modpack] 3D Armor [0.4.11] [minetest-3d_armor]

Posted: Tue May 15, 2018 14:53
by Dan2018
Loving the armor so far,

I have modified the wood chest plate to

Code: Select all

armor_heal=100
So the server can be in normal mode but so they dont kill each other all the time.

Is there any way to make this wood chestplate immune to other players but make it so they still take fall/lava damage?

Many thanks

Re: [Modpack] 3D Armor [0.4.11] [minetest-3d_armor]

Posted: Tue May 15, 2018 18:06
by stu
Dan2018 wrote: Is there any way to make this wood chestplate immune to other players but make it so they still take fall/lava damage
For Minetest Game at least, the best way would be to give the armor item a 'fleshy' group level of 100

Code: Select all

armor_groups = {fleshy=100},
However, if you have mods that add 'super weapons' then you may need to increase that and/or include other damage groups, I forget the exact formula.

The heal feature is a bit of a kludge really, to compensate for the lack of granularity in the default HP levels. You will need to set this to 0 for other damages to work normally. Thankfully, the development version of Minetest Engine has some interesting new features that should help overcome many of these issues.

Re: [Modpack] 3D Armor [0.4.11] [minetest-3d_armor]

Posted: Tue May 15, 2018 18:08
by Phoenixflo44
New Armor new protection.

Re: [Modpack] 3D Armor [0.4.11] [minetest-3d_armor]

Posted: Tue May 15, 2018 18:22
by stu
Phoenixflo44 wrote:New Armor new protection.
Sure, but you will have to wait for Minetest 0.5.x :)

Re: [Modpack] 3D Armor [0.4.11] [minetest-3d_armor]

Posted: Tue May 15, 2018 18:28
by Phoenixflo44
Unfortunately :[

Re: [Modpack] 3D Armor [0.4.11] [minetest-3d_armor]

Posted: Wed May 16, 2018 08:26
by Dan2018
Tried setting
fleshy=100

instead of the default 10.

Set heal to 0.

Seems like they are still invincible after jumping off a cliff.

Do we have to tweak the fleshy number to the top heart damage of the best weapon?

Update: Seemed to have worked now, when i teleported someone to me they didnt take damage but falling now does. Set the use to 9999 as well.

Re: [Modpack] 3D Armor [0.4.11] [minetest-3d_armor]

Posted: Wed May 16, 2018 17:16
by stu
Dan2018 wrote:Seemed to have worked now, when i teleported someone to me they didnt take damage but falling now does. Set the use to 9999 as well.
Glad you got it working, however, setting `armor_use` to a higher value actually causes the armor to wear out more quickly. If you want indestructible armor then you should set this value to zero.
Dan2018 wrote:Do we have to tweak the fleshy number to the top heart damage of the best weapon?
There is a bit more to it than that, you can see the exact formula here: https://github.com/minetest/minetest/bl ... .txt#L1901
Like I say though, `fleshy=100` should suffice for the base game and the majority of mods but setting it higher should not have any adverse effect, AFAIK :)

Re: [Modpack] 3D Armor [0.4.11] [minetest-3d_armor]

Posted: Fri Jun 01, 2018 23:37
by csirolli
When 3d_armor's admin armor gets hit with anything, the item used is destroyed. What causes this behavior?

Re: [Modpack] 3D Armor [0.4.11] [minetest-3d_armor]

Posted: Sat Jun 02, 2018 18:06
by stu
csirolli wrote:When 3d_armor's admin armor gets hit with anything, the item used is destroyed. What causes this behavior?
It was a feature demonstration I added to the admin shield. It was not very popular and has since been removed 4baed2c

There have also been some other fairly important fixes recently so you would be well advised to update anyway. I will try to make a new release sometime tomorrow if I have time.

Re: [Modpack] 3D Armor [0.4.11] [minetest-3d_armor]

Posted: Sun Jun 03, 2018 20:18
by stu
I have held off from making a new release today due to a recent issue report I would be interested to know if anyone else has experienced this problem recently. It also needs testing with the new 0.4.17 bugfix release, although I am not expecting any problems there.

Re: [Modpack] 3D Armor [0.4.11] [minetest-3d_armor]

Posted: Tue Jun 05, 2018 11:22
by Dan2018
Not had that issue here. Always seem to have worked fine.

Have just set our bone config to keep so users keep items when they die.
Anyway to make the fitted armor to stay after death to?
Only really want to keep the wood chest plate as ive edited to make it invincible. People always forget to make a new one.
Thanks

Re: [Modpack] 3D Armor [0.4.11] [minetest-3d_armor]

Posted: Tue Jun 05, 2018 17:43
by stu
Dan2018 wrote:Not had that issue here. Always seem to have worked fine.

Have just set our bone config to keep so users keep items when they die.
Anyway to make the fitted armor to stay after death to?
Only really want to keep the wood chest plate as ive edited to make it invincible. People always forget to make a new one.
Thanks
You can do this by adding the following to your minetest.conf

Code: Select all

armor_drop = false
Alternatively you could remove the 'bones' mod from MTG as the presence of this mod determines the default setting.

Re: [Modpack] 3D Armor [0.4.11] [minetest-3d_armor]

Posted: Tue Jun 05, 2018 20:42
by csirolli
Just to let you know, it seems that issue I raised is not a problem with this mod but with the 0.4.16 engine. It was indeed fixed in 0.4.17.

Re: [Modpack] 3D Armor [0.4.12] [minetest-3d_armor]

Posted: Sun Jun 10, 2018 18:49
by stu
Version Update: 0.4.12
  • Shields: Remove on_punch effects and fix positional sound effects
  • Fix crash with UI but no technic by @numberZero
  • Add POVA support by @tenplus1
  • Display correct heal attribute level
  • Fix detached inventory exploit

Re: [Modpack] 3D Armor [0.4.12] [minetest-3d_armor]

Posted: Mon Aug 06, 2018 15:20
by SteveDaSteve
I've come across a bug, the player is displaced a node below where he should be, whether I am wearing armor or not.

Image

Re: [Modpack] 3D Armor [0.4.12] [minetest-3d_armor]

Posted: Mon Aug 06, 2018 15:33
by Krock
SteveDaSteve wrote:I've come across a bug, the player is displaced a node below where he should be, whether I am wearing armor or not.
Not a bug. You should use the correct mod version for your Minetest installation: https://github.com/stujones11/minetest- ... _0.5.0-dev

Re: [Modpack] 3D Armor [0.4.12] [minetest-3d_armor]

Posted: Mon Aug 06, 2018 21:15
by SteveDaSteve
Krock wrote:
SteveDaSteve wrote:I've come across a bug, the player is displaced a node below where he should be, whether I am wearing armor or not.
Not a bug. You should use the correct mod version for your Minetest installation: https://github.com/stujones11/minetest- ... _0.5.0-dev
Ok, that worked, thanks for the help!

Re: [Modpack] 3D Armor [0.4.12] [minetest-3d_armor]

Posted: Tue Aug 07, 2018 23:47
by PolySaken
Using wieldview support for a new mod I'm making, is there a way to make the Wieldview item appear bigger, say, 3x?

Re: [Modpack] 3D Armor [0.4.12] [minetest-3d_armor]

Posted: Wed Aug 08, 2018 07:10
by TenPlus1
Polysaken: wieldview uses a face on the 3d_armor player model which already has a set size, but using wield3d might help since you could resize what you see: https://github.com/stujones11/wield3d

Re: [Modpack] 3D Armor [0.4.12] [minetest-3d_armor]

Posted: Thu Aug 09, 2018 01:05
by PolySaken
TenPlus1 wrote:Polysaken: wieldview uses a face on the 3d_armor player model which already has a set size, but using wield3d might help since you could resize what you see: https://github.com/stujones11/wield3d
Hmm, ok. The mod specifically depends on the 3d_armor mod itself, so i'll have to put in a warning message to disable wieldview if using wield3d

Re: [Modpack] 3D Armor [0.4.12] [minetest-3d_armor]

Posted: Thu Aug 09, 2018 04:32
by GreenXenith
PolySaken wrote:
TenPlus1 wrote:Polysaken: wieldview uses a face on the 3d_armor player model which already has a set size, but using wield3d might help since you could resize what you see: https://github.com/stujones11/wield3d
Hmm, ok. The mod specifically depends on the 3d_armor mod itself, so i'll have to put in a warning message to disable wieldview if using wield3d
They actually work together. No need to disable anything.

Re: [Modpack] 3D Armor [0.4.12] [minetest-3d_armor]

Posted: Thu Aug 09, 2018 05:26
by PolySaken
GreenDimond wrote:
PolySaken wrote:
TenPlus1 wrote:Polysaken: wieldview uses a face on the 3d_armor player model which already has a set size, but using wield3d might help since you could resize what you see: https://github.com/stujones11/wield3d
Hmm, ok. The mod specifically depends on the 3d_armor mod itself, so i'll have to put in a warning message to disable wieldview if using wield3d
They actually work together. No need to disable anything.
oh, i thought it would make two items appear.
edit: for my purpose it will not work. wieldview disables the resizing for some reason.

Re: [Modpack] 3D Armor [0.4.12] [minetest-3d_armor]

Posted: Thu Aug 09, 2018 21:26
by stu
PolySaken wrote:oh, i thought it would make two items appear.
edit: for my purpose it will not work. wieldview disables the resizing for some reason.
They were made to work together so that tool items can use the less visually glitchy wieldview mod while wield3d can be used to show nodes and other generated meshes. As TenPlus1 rightly points out, the wieldview item is actually part of the armor model so cannot be scaled separately.

However, you can fix the wield3d attachment issues locally (or on your server) by substituting the player model with this one: https://github.com/stujones11/minetest- ... sam_viewer

Note: This will only work with MT 5.0.0-dev without some adjustments to position and collision/selection boxes and will have no effect with 3d_armor since it changes the model anyway. I will get around to fixing that before the MT 5.0.0 release xD

Re: [Modpack] 3D Armor [0.4.12] [minetest-3d_armor]

Posted: Thu Aug 09, 2018 22:59
by PolySaken
stu wrote:
PolySaken wrote:oh, i thought it would make two items appear.
edit: for my purpose it will not work. wieldview disables the resizing for some reason.
They were made to work together so that tool items can use the less visually glitchy wieldview mod while wield3d can be used to show nodes and other generated meshes. As TenPlus1 rightly points out, the wieldview item is actually part of the armor model so cannot be scaled separately.

However, you can fix the wield3d attachment issues locally (or on your server) by substituting the player model with this one: https://github.com/stujones11/minetest- ... sam_viewer

Note: This will only work with MT 5.0.0-dev without some adjustments to position and collision/selection boxes and will have no effect with 3d_armor since it changes the model anyway. I will get around to fixing that before the MT 5.0.0 release xD
Ah. that makes sense.
I'm using 0.4.17.1, not 5.0.0 so I'll keep the current setup, but thanks anyway.