When you spawn a mob with an egg from mobs redo it comes with a random texture
textures = {{"parrot_blue.png"},{"parrot_green.png"},{"parrot_grey.png"}},
But when you want to test out different mob textures you need to spawn more and even then you might not get the mob with the right texture.
These two tools could solve this
-a tool that can be used for right clicking on mobs to change their texture without formspec. With this tool you could test out all the mobs textures by aditionaly right clicking with it.
-a tool that can be used for right clicking on mobs to show a formspec with all the posible mob textures
buttons. When button is pressed mob changes textures to that texture.
How can this be done?
tool that changes mob's texture from all its textures
tool that changes mob's texture from all its textures
- Attachments
-
- parot.png (301.75 KiB) Viewed 474 times
-
- Member
- Posts: 4289
- Joined: Sun Sep 09, 2012 17:31
- GitHub: Sokomine
- IRC: Sokomine
- In-game: Sokomine
Re: tool that changes mob's texture from all its textures
The parrots look very nice! Hope I'll see them on some servers soon. Regarding your question: I do have a way to select a texture in my mobf_trader mod. The texture is not adjusted in any way...it's just the image shown. All you really need to do is figure out how to get all textures a mob might have, display them, and react to the player's selection. I havn't taken a close enough look at mobs_redo to tell you how easy it is.
A list of my mods can be found here.
- Nathan.S
- Member
- Posts: 1147
- Joined: Wed Sep 24, 2014 17:47
- GitHub: NathanSalapat
- IRC: NathanS21
- In-game: NathanS21
- Location: Bigsby Texas
- Contact:
Re: tool that changes mob's texture from all its textures
Take a look at the sheep, they can change texture when shorn or dyed. That should explain how the texture changing is accomplished.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
Check out my website, and brand new Minetest Modding Course
Re: tool that changes mob's texture from all its textures
right click with the test_texture:stick tool, and type texture(s) to use, then the text saves in the tool.
then simply use the tool on objects to set texture.
then simply use the tool on objects to set texture.
- Attachments
-
- test_texture.zip
- (697 Bytes) Downloaded 50 times
-
- screenshot_20170515_110421.png (348.59 KiB) Viewed 474 times
- azekill_DIABLO
- Member
- Posts: 7507
- Joined: Wed Oct 29, 2014 20:05
- GitHub: azekillDIABLO
- In-game: azekill_DIABLO
- Location: OMICRON
- Contact:
Re: tool that changes mob's texture from all its textures
great thing, you should release it!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!
DMs are always open if you want to get in touch!
Re: tool that changes mob's texture from all its textures
its here https://github.com/22i/amc/ to test the parrot out go into creative and find parrot spawn egg thereazekill_DIABLO wrote:great thing, you should release it!
- azekill_DIABLO
- Member
- Posts: 7507
- Joined: Wed Oct 29, 2014 20:05
- GitHub: azekillDIABLO
- In-game: azekill_DIABLO
- Location: OMICRON
- Contact:
Re: tool that changes mob's texture from all its textures
:D i know this repo, i downloaded it (and probably starred it)ph8jPf9M wrote:its here https://github.com/22i/amc/ to test the parrot out go into creative and find parrot spawn egg thereazekill_DIABLO wrote:great thing, you should release it!
i was just talking to AItechEYE
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!
DMs are always open if you want to get in touch!
Who is online
Users browsing this forum: No registered users and 7 guests