I'm trying to build this myself and really getting nowhere, because changing the way models render is tricky for my java coding skills...
Basically I'm trying to get mobs & players to have different expressions depending on what they are doing, and using the "spare" space in the standard skin files to do so. This way players could make their own expressions and store them in their standard skins - they would be used where this mod is installed, and wouldn't matter otherwise (since those texture co-ordinates are un-used).
So the standard skin layout for a player (and most biped mobs) is this:
and I'm trying to get it to work like this - (note the new "head" entries, with the standard 'face' representing an idle state):
A biped mob (e.g. zombie) has their normal face, but when they "see" the player the model switches to the "interested" texture. When they are attacking you it would change to the "angry" texture, and then when it was being hit it would change to the "hurt" texture, and so on.
Same thing with the player entities, so that in a multi-player game a players expression would change depending on their actions (hitting other, getting hit, etc). One could see it possible to put in server mods to allow /emote X which might allow the player to change their expression to a given state using commands.
I'd like to know if anyone else has tried to put together such a mod - I searched for a while but couldn't find one but there could be something out there. Alternately, any actual coding pointers on how I actually change the box renderers so they can handle rendering these alternate texture co-ordinates would be something I'd like too.
Rollback Post to RevisionRollBack
No, I will not subscribe to your channel because you asked... but I might if it's *good*.
The Meaning of Life, the Universe, and Everything.
Join Date:
12/22/2012
Posts:
46
Minecraft:
Shrub
Member Details
I think this looks like a promising idea, if I was a modder I would certainly try to accomplish this! Also, what about animating them, like blinking or yawning? An animated body would also be cool, like to make yourself look like you are on fire or something. To accomplish the animated ones you would just have to format the PNG in the same way that animated blocks are formatted: each frame directly above the other frames in one document.
i thought of this idea before, but i didnt suggest it anywhere because i assumed people would have thought of it before ad didnt make it because they thought it was dumb. i do love the idea though! i'd make all kinds of goofy expressions for my skin. also, i think there is room for 1 or 2 more faces to the right of the limbs.
there seems to be room for about 6 faces all up in the standard skin. Modding the skin size seems difficult because it's stored on amazon s3 storage so it's available everywhere on all net-connected servers, which is why I'm trying to go for a solution inside the standard skin file. Changing mob expressions should be relatively easy since you can hook the expression to their current action (hurt, hunting, idle, etc), but doing it for the player means also modding the server to support the extra state for the player instance. Actually, that side is pretty easy, just getting the texture to change is my current problem!
Rollback Post to RevisionRollBack
No, I will not subscribe to your channel because you asked... but I might if it's *good*.
The Meaning of Life, the Universe, and Everything.
Join Date:
12/22/2012
Posts:
46
Minecraft:
Shrub
Member Details
to make the animations you just copy the skin, and tile it vertically in a PNG file... kinda like a filmstrip. It's the same method that texture pack makers use to make animated blocks with MCPatcher
Animating player skins would be tricky - where would you store the files? Since each player could potentially have a unique skin they would need unique animated elements. Would have to use some kind of accessible storage like amazon s3 (which minecraft uses).
Rollback Post to RevisionRollBack
No, I will not subscribe to your channel because you asked... but I might if it's *good*.
Animating player skins would be tricky - where would you store the files? Since each player could potentially have a unique skin they would need unique animated elements. Would have to use some kind of accessible storage like amazon s3 (which minecraft uses).
well, if you've ever used an animated texture pack you probably know that the animations are only on one document, but each frame is above the next. That way players could customize and make any length or number of frames they want.
Basically I'm trying to get mobs & players to have different expressions depending on what they are doing, and using the "spare" space in the standard skin files to do so. This way players could make their own expressions and store them in their standard skins - they would be used where this mod is installed, and wouldn't matter otherwise (since those texture co-ordinates are un-used).
So the standard skin layout for a player (and most biped mobs) is this:
and I'm trying to get it to work like this - (note the new "head" entries, with the standard 'face' representing an idle state):
A biped mob (e.g. zombie) has their normal face, but when they "see" the player the model switches to the "interested" texture. When they are attacking you it would change to the "angry" texture, and then when it was being hit it would change to the "hurt" texture, and so on.
Same thing with the player entities, so that in a multi-player game a players expression would change depending on their actions (hitting other, getting hit, etc). One could see it possible to put in server mods to allow /emote X which might allow the player to change their expression to a given state using commands.
I'd like to know if anyone else has tried to put together such a mod - I searched for a while but couldn't find one but there could be something out there. Alternately, any actual coding pointers on how I actually change the box renderers so they can handle rendering these alternate texture co-ordinates would be something I'd like too.
well, if you've ever used an animated texture pack you probably know that the animations are only on one document, but each frame is above the next. That way players could customize and make any length or number of frames they want.