Zikhad Posted August 17, 2024 Author Posted August 17, 2024 On 8/10/2024 at 8:17 AM, AlexTheMan21 said: Good morning here is the concept code u can probably make it better for your use maybe instead of local variable its a parameter in the function for future compatibility or whatever idk man This returns the animation table that has the id, tags, actors and ye u get it --Get animation info table local function GetAnimInfo() --Get Current animation name local CurrentAnim = GetAnim() --Checks so it is playing anything if CurrentAnim then --Loop though all animations in zombowin for _,data in pairs(ZomboWinAnimationData) do --Gets actors for said animation for _,actor in pairs(data.actors) do --Compare current animation name with the perform name for the actor that is being looped through if CurrentAnim == actor.stages[1].perform then --Returns the table for the animation player is playing return data end end end end --Returns nothing if not found or no animation playing return nil end I slammed this together in like 30 min so can probably be polished but its just concept for you to make work with your system Theres lots of ways to make this better but that aint my job i just get stuff that works for their purpose, the rest is up to you if u dont already have animationdata variable add it in the top or wherever like local ZomboWinAnimationData = ZomboWinAnimationData Any more questions or if i missed adding any of the code just reply Thanks to @AlexTheMan21, I was able to implement the tag system into ZWBF, now the animation blacklist should be a little more reliable based on tags. Here is the code, If anyone is interested 3
AngyStick Posted August 17, 2024 Posted August 17, 2024 I have a question related to a problem. For some reason non of the ui features works for me and I don't know how to fix it. The porblem also occurs on older version of the mod and neither restarting or deleting and reinstalling helps.
Magenta147 Posted August 17, 2024 Posted August 17, 2024 @Zikhad and @blabla012345 Keep up the good work, only missing is the Breast pump animation. Can make my Female Character a "Cow" and free milk hahaha XD
BlaBla012345 Posted August 17, 2024 Posted August 17, 2024 5 hours ago, Zikhad said: Let me know your ideas I would love to hear them. Hum... haha! 😀 it's okay but you may have misread, because that's precisely what I did : 8 hours ago, blabla012345 said: one standing and one where she is sitting cross-legged for example. And for cleaning, I can also make two: one standing leaning forward so she can see what she is doing and another animation sitting with her thighs spread so she can see what she is doing. And in fact it's YOUR suggestions that I wanted to hear. But it's okay, it was just for me before I started creating animations so as not to waste time creating several animations if you didn't like my suggestions or if you could only implement one and not two. 🙂 I read here that you think you can do it : check if the character is standing or sitting : 5 hours ago, Zikhad said: As for coding, I think I have a vague idea based on other mods animation I saw, will require some trial and investigation. I don't know, for instance, how to check if the character is standing up to select what animation to play, although that seems pretty doable. So I should be able to make you the 4 animations by starting with the 2 standing ones. If you can code the verification of the character in a sitting position then I will make you the other 2 sitting animations. 1
BlaBla012345 Posted August 17, 2024 Posted August 17, 2024 (edited) Here are the UV Mapping with their textures OBSOLETE Edited August 19, 2024 by blabla012345
AlexTheMan21 Posted August 17, 2024 Posted August 17, 2024 6 hours ago, Zikhad said: I mean standing up or sitting down on the ground Isn't sitting down an animation tho? I thought so
BlaBla012345 Posted August 17, 2024 Posted August 17, 2024 (edited) I still think we're wasting our time. I'm uploading the textured version of the model. You shouldn't even have to worry about UVs. See if this version works better just in case. Because, even for me, exporting UV Mapping is a pain. Poire_a_lavement_802_faces+Textures_with_correct_UV.zip Edit: grrr... I forgot to change the center of the object. Now the object will be at coordinates 0,0,0 (as before) but its center is now at the bottom of the object and not in the middle : which should be so much easier for you to place the object in the right place. Poire_a_lavement_802_faces+Texture_with_correct_UV+Center_to_origin.zip Edited August 17, 2024 by blabla012345
BlaBla012345 Posted August 17, 2024 Posted August 17, 2024 (edited) Okay... Here is the first animation Normally you have everything you need to call it : You must call the animation blabla_standing_cleans_herself I randomly set a duration of 1000 and I added a random sound in the middle of the animation. The animation is not very well done : it's just a draft so you can test all that. If the tests are conclusive then I will make you a really good animation and you will give me the duration parameters and what sounds you want to hear there. Note: the .zip is to be unzipped in ...\Zomboid\mods\ZomboWin media.zip Edited August 17, 2024 by blabla012345 1
ClaraLovs Posted August 17, 2024 Posted August 17, 2024 2 hours ago, blabla012345 said: Okay... Here is the first animation Normally you have everything you need to call it : You must call the animation blabla_standing_cleans_herself I randomly set a duration of 1000 and I added a random sound in the middle of the animation. The animation is not very well done : it's just a draft so you can test all that. If the tests are conclusive then I will make you a really good animation and you will give me the duration parameters and what sounds you want to hear there. Note: the .zip is to be unzipped in ...\Zomboid\mods\ZomboWin media.zip 106.52 kB · 1 download How do you make the animations? u use a rig on blender? 🤔
BlaBla012345 Posted August 17, 2024 Posted August 17, 2024 (edited) 1 hour ago, Yonchi said: How do you make the animations? u use a rig on blender? 🤔 I'm just using the tutorial on steam that you linked to us a while ago. It includes a pre-rigged Dummy, although it's not perfect because the Dummy has some useless rigs : the dresses. But overall it's okay. Maybe I'll modify the dummies in the future but I don't have much time right now so I'm making do. Tchernobill : How Create an Animation He posted 2 other nice tutorials by the way How to decompile Project Zomboid Java code How Create a Clothing Mod Of course I had some solid notions about Blender before coming to this forum. It helps for sure, but with a little concentration anyone can make animations I think. Edited August 17, 2024 by blabla012345
ClaraLovs Posted August 17, 2024 Posted August 17, 2024 (edited) 1 hour ago, blabla012345 said: I'm just using the tutorial on steam that you linked to us a while ago. It includes a pre-rigged Dummy, although it's not perfect because the Dummy has some useless rigs : the dresses. But overall it's okay. Maybe I'll modify the dummies in the future but I don't have much time right now so I'm making do. Tchernobill : How Create an Animation He posted 2 other nice tutorials by the way How to decompile Project Zomboid Java code How Create a Clothing Mod Of course I had some solid notions about Blender before coming to this forum. It helps for sure, but with a little concentration anyone can make animations I think. I tried to make this one, is for the BreastPump, it replicates like holding somthing near the chest and starts pumping with the hands, a bit weird done but maybe can be usefull 🥰 breastpump.rar Edited August 17, 2024 by Yonchi
BlaBla012345 Posted August 17, 2024 Posted August 17, 2024 2 hours ago, Yonchi said: I tried to make this one, is for the BreastPump, it replicates like holding somthing near the chest and starts pumping with the hands, a bit weird done but maybe can be usefull 🥰 breastpump.rar 80.68 kB · 0 downloads Hmm... strange... it seems to me that something went wrong... Are you sure that your file is uploaded correctly? "This attachment is not available. It may have been removed or the person who shared it may not have permission to share it to this location."
ClaraLovs Posted August 17, 2024 Posted August 17, 2024 7 minutes ago, blabla012345 said: Hmm... strange... it seems to me that something went wrong... Are you sure that your file is uploaded correctly? "This attachment is not available. It may have been removed or the person who shared it may not have permission to share it to this location." Weird, lemme upload it again 😅 breastpump.rar 2
BlaBla012345 Posted August 17, 2024 Posted August 17, 2024 13 minutes ago, Yonchi said: Weird, lemme upload it again 😅 breastpump.rar 237.1 kB · 0 downloads Well, it's not bad at all, it should be more than enough. Let's wait for @Zikhad's opinion but personally I don't really see what I could do better. I have only one remark @Yonchi : To avoid any interference in the names of the animations in the game, maybe you should call your animations starting with your nickname example in this case: yonchi_breastpump
BlaBla012345 Posted August 18, 2024 Posted August 18, 2024 (edited) And here we are ! The object of so many fantasies ! The object of your desires ! Ladies and Gentlemen ! *Drum roll...* The Breast Pump ! Breast_Pump_2798_faces.zip Oh my God! This was a complete disaster! UV Mapping was a total failure! Here is the corrected version... Breast_Pump_2798_faces_UV_Corrected.zip Edited August 18, 2024 by blabla012345 2
oscar02242006 Posted August 18, 2024 Posted August 18, 2024 Hello guys~ could someone post Pregnancy modpack on it ? i couldn't get it on stream QQ Thanks u guys by the way~~
Magenta147 Posted August 18, 2024 Posted August 18, 2024 (edited) On 8/9/2024 at 9:21 AM, Zikhad said: Hi @JoanieBlushie, this are the required mods from workshop. steam-required.zip 6.6 MB · 5 downloads 3 hours ago, oscar02242006 said: Hello guys~ could someone post Pregnancy modpack on it ? i couldn't get it on stream QQ Thanks u guys by the way~~ @Zikhad The author shared it, on page 6 or 7 but there it is. Edited August 18, 2024 by Magenta147
oscar02242006 Posted August 18, 2024 Posted August 18, 2024 @Magenta147 hey ahh, thanks for your reply. But here i still couldn't pick it, cause it say require pregnancy. So i couldn't pick the mod at start. I also try version 1.0.5 1.0.6 also could u help me again :!! or could u send that pregnancy modpack i will try it ~~ thanks !! 56 minutes ago, Magenta147 said: @Zikhad The author shared it, on page 6 or 7 but there it is.
oscar02242006 Posted August 18, 2024 Posted August 18, 2024 29 minutes ago, oscar02242006 said: @Magenta147 hey ahh, thanks for your reply. But here i still couldn't pick it, cause it say require pregnancy. So i couldn't pick the mod at start. I also try version 1.0.5 1.0.6 also could u help me again :!! or could u send that pregnancy modpack i will try it ~~ thanks !! @Magenta147hahaha sorry I see that 😆👀 i handle it thanks I appreciate that!! 1
Magenta147 Posted August 18, 2024 Posted August 18, 2024 18 minutes ago, oscar02242006 said: hahaha sorry I see that 😆👀 i handle it thanks I appreciate that!! No problem ^^
BlaBla012345 Posted August 18, 2024 Posted August 18, 2024 9 hours ago, blabla012345 said: And here we are ! The object of so many fantasies ! The object of your desires ! Ladies and Gentlemen ! *Drum roll...* The Breast Pump ! Breast_Pump_2798_faces.zip Oh my God! This was a complete disaster! UV Mapping was a total failure! Here is the corrected version... Breast_Pump_2798_faces_UV_Corrected.zip 139.37 kB · 0 downloads Breast Pump Object : UV Mapping Update Refer to the old post for the new download link
Zikhad Posted August 19, 2024 Author Posted August 19, 2024 On 8/18/2024 at 10:08 AM, blabla012345 said: And here we are ! The object of so many fantasies ! The object of your desires ! Ladies and Gentlemen ! *Drum roll...* The Breast Pump ! Breast_Pump_2798_faces.zip Oh my God! This was a complete disaster! UV Mapping was a total failure! Here is the corrected version... Breast_Pump_2798_faces_UV_Corrected.zip 139.37 kB · 1 download WOW 🤩! Thanks! So much movement in this thread in the past few days, lol! I will include this, the "poire a lavement" and the animations... (Warining: It may take a while tough, not much free time these days)
Zikhad Posted August 19, 2024 Author Posted August 19, 2024 (edited) On 8/17/2024 at 5:34 AM, blabla012345 said: I still think we're wasting our time. I'm uploading the textured version of the model. You shouldn't even have to worry about UVs. See if this version works better just in case. Because, even for me, exporting UV Mapping is a pain. Poire_a_lavement_802_faces+Textures_with_correct_UV.zip Edit: grrr... I forgot to change the center of the object. Now the object will be at coordinates 0,0,0 (as before) but its center is now at the bottom of the object and not in the middle : which should be so much easier for you to place the object in the right place. Poire_a_lavement_802_faces+Texture_with_correct_UV+Center_to_origin.zip 43.7 kB · 2 downloads @blabla012345 Without the UV mapping as a texture.png file this is what I see after loading your model into the world And this is how the BreastPump is loaded in the world Edited August 19, 2024 by Zikhad
Zikhad Posted August 19, 2024 Author Posted August 19, 2024 On 8/17/2024 at 7:17 AM, blabla012345 said: Okay... Here is the first animation Normally you have everything you need to call it : You must call the animation blabla_standing_cleans_herself I randomly set a duration of 1000 and I added a random sound in the middle of the animation. The animation is not very well done : it's just a draft so you can test all that. If the tests are conclusive then I will make you a really good animation and you will give me the duration parameters and what sounds you want to hear there. Note: the .zip is to be unzipped in ...\Zomboid\mods\ZomboWin media.zip 106.52 kB · 2 downloads @blabla012345 The animation is working BEAUTIFULLY! Thanks. Unfortunately, as I'm using the recipes to achieve the animation rather than fully script it in lua, I'm not sure if I can use two different animations depending if the character is sitting or not, let's go with a single animation for now
Zikhad Posted August 19, 2024 Author Posted August 19, 2024 On 8/17/2024 at 7:17 AM, blabla012345 said: Okay... Here is the first animation Normally you have everything you need to call it : You must call the animation blabla_standing_cleans_herself I randomly set a duration of 1000 and I added a random sound in the middle of the animation. The animation is not very well done : it's just a draft so you can test all that. If the tests are conclusive then I will make you a really good animation and you will give me the duration parameters and what sounds you want to hear there. Note: the .zip is to be unzipped in ...\Zomboid\mods\ZomboWin media.zip 106.52 kB · 2 downloads @blabla012345 The animation is working BEAUTIFULLY! Thanks. Unfortunately, as I'm using the recipes to achieve the animation rather than fully script it in lua, I'm not sure if I can use two different animations depending if the character is sitting or not, let's go with a single animation for now. For this one, On 8/17/2024 at 2:46 PM, blabla012345 said: Well, it's not bad at all, it should be more than enough. Let's wait for @Zikhad's opinion but personally I don't really see what I could do better. I have only one remark @Yonchi : To avoid any interference in the names of the animations in the game, maybe you should call your animations starting with your nickname example in this case: yonchi_breastpump I'm all for it! Can you folks provide me in a similar way as the cleaning animation that @blabla012345 provided? (with all the necessary files, I can't make them on my own right now)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now