Jab Posted February 6, 2016 Share Posted February 6, 2016 Either I need someone with more java experience than myself to give me a hand getting it to work with jabs model loader or I'll have to release a standalone version and then create a mod adding my hair styles to jabs model loader as wigs that can be found on the map. One big hurdle to deal with is character creation. The creation menu uses sprites to show hair. This could be done in such a way that the character screen shows bald hair, but rather chooses custom options. Of course with some work, a 3D model can be shown. Another thing to factor in is the potential issue of custom hair and multiplayer. If the data is sent as a String via C2S / S2C, then there is no issue with custom hair as long as the client can handle invalid hair types. Link to comment Share on other sites More sharing options...
Zelik Posted February 6, 2016 Author Share Posted February 6, 2016 Either I need someone with more java experience than myself to give me a hand getting it to work with jabs model loader or I'll have to release a standalone version and then create a mod adding my hair styles to jabs model loader as wigs that can be found on the map. One big hurdle to deal with is character creation. The creation menu uses sprites to show hair. This could be done in such a way that the character screen shows bald hair, but rather chooses custom options. Of course with some work, a 3D model can be shown. Another thing to factor in is the potential issue of custom hair and multiplayer. If the data is sent as a String via C2S / S2C, then there is no issue with custom hair as long as the client can handle invalid hair types.The only problem that I'm having right now is getting my model loader integrated into yours. I had given up on trying to make the character creation screen show the 3d model of the character(its out of my skill range), so the character will unfortunately show as a bald character. And I've also done a few multiplayer tests, if the server has the mod and the client doesn't then the character is shown bald(the tests were done on v32.xx). I'm thinking though that I may be able to get them added to the game via your model loader running along side my survivorfactory and lua files. But I'm trying to limit downloads for players. I wouldn't want them to have to download your files, my files and then a mod, just to get hair working. I've been trying to hardcode my models into your loader with no luck. I always get errors. As of now I get 3 errors all on line 55. I literally just need to add my models to your loader to get to a release state, I could release a standalone but, most people use your loader and as of now they are not compatible. I dont want to do that, I feel it would toss a wrench into everything you've accomplished especially with your new release with clothing support. Link to comment Share on other sites More sharing options...
Wveth Posted March 24, 2016 Share Posted March 24, 2016 Short and messy for girls! My fave <3 RealHumanBeing 1 Link to comment Share on other sites More sharing options...
Zelik Posted June 13, 2016 Author Share Posted June 13, 2016 First Beta release, download is on page 1. Link to comment Share on other sites More sharing options...
Omgwtfplz Posted July 11, 2016 Share Posted July 11, 2016 Hey, as you said, not to panic when it shows your character bald in character creation, so I didn't panic. However, after picking "Hippie" and making the character, I was still bald in game. Any suggestions? Link to comment Share on other sites More sharing options...
Omgwtfplz Posted July 12, 2016 Share Posted July 12, 2016 (edited) Okay, I think I figured out the problem of why my character remains bald. First off, my "graphics card" doesn't support 3D models, and as you said in an earlier post, the reason you couldn't change the character from being bald in the character creation menu was that those models were based on 2D sprites. Now, I'm assuming that since my card doesn't support 3D models, that my character in-game is actually a 2D sprite, and that your hair mods aren't going to touch those. Am I on the right page? Edited July 12, 2016 by Omgwtfplz Link to comment Share on other sites More sharing options...
Zelik Posted July 18, 2016 Author Share Posted July 18, 2016 On 7/12/2016 at 0:15 AM, Omgwtfplz said: Okay, I think I figured out the problem of why my character remains bald. First off, my "graphics card" doesn't support 3D models, and as you said in an earlier post, the reason you couldn't change the character from being bald in the character creation menu was that those models were based on 2D sprites. Now, I'm assuming that since my card doesn't support 3D models, that my character in-game is actually a 2D sprite, and that your hair mods aren't going to touch those. Am I on the right page? As of right now, there is no way to edit the character 2d sprites as far as I know. They are all contained in the "Characters.pack" and if I understand correctly no one has been able to successfully unpack, modify and repack that particular file. Link to comment Share on other sites More sharing options...
Wayfarer Posted January 23, 2017 Share Posted January 23, 2017 Nice work, thanks for doing this up for us all! Link to comment Share on other sites More sharing options...
tommysticks Posted January 24, 2017 Share Posted January 24, 2017 On 11/13/2015 at 6:20 PM, Zelik said: There are 2 different versions, both included in the download. One is for players that use Jab's ModelLoader and the other is for players that don't. Either way the install instructions are included. Have fun!!! You should include in the download description which is which. On 11/13/2015 at 6:20 PM, Zelik said: ALSO...Do not add my mod to any modpacks. Is this aimed at any hydration-name-related mod/author? Link to comment Share on other sites More sharing options...
Johnny Fisher Posted January 24, 2017 Share Posted January 24, 2017 On 12/2/2015 at 11:40 AM, Geras said: Or a female mohawk: Hidden Content That's not a mohawk. This is. Spoiler Link to comment Share on other sites More sharing options...
GoodOldLeon Posted January 24, 2017 Share Posted January 24, 2017 Does this work with b36.4? Link to comment Share on other sites More sharing options...
Geras Posted January 24, 2017 Share Posted January 24, 2017 3 hours ago, Johnny Fisher said: That's not a mohawk. This is. Reveal hidden contents Not that I care about a post from over a year ago, but type "female mohawk" into google Link to comment Share on other sites More sharing options...
Johnny Fisher Posted February 4, 2017 Share Posted February 4, 2017 (edited) On 1/24/2017 at 2:28 PM, Geras said: Not that I care about a post from over a year ago, but type "female mohawk" into google Yeah, but the game's set in the 90's, and those sure as hell weren't what mohawks looked like back in the day. Edited February 4, 2017 by Johnny Fisher Link to comment Share on other sites More sharing options...
Zelik Posted February 19, 2017 Author Share Posted February 19, 2017 On 1/24/2017 at 9:16 AM, tommysticks said: You should include in the download description which is which. Is this aimed at any hydration-name-related mod/author? Yes Link to comment Share on other sites More sharing options...
Zelik Posted February 19, 2017 Author Share Posted February 19, 2017 (edited) Should I update the mod? Is anyone actually using it? Edited February 19, 2017 by Zelik Sparrow 1 Link to comment Share on other sites More sharing options...
cici0608 Posted March 21, 2017 Share Posted March 21, 2017 On 2017. 2. 20. at 0:03 AM, Zelik said: Should I update the mod? Is anyone actually using it? YES RealHumanBeing 1 Link to comment Share on other sites More sharing options...
Sparrow Posted June 6, 2017 Share Posted June 6, 2017 This is awesome! I hope you'll make more options for females! I'd like a long wavy option! =D RealHumanBeing 1 Link to comment Share on other sites More sharing options...
Joe_Winko Posted January 4, 2018 Share Posted January 4, 2018 just curious, how did you make custom hair styles for project zomboid? i know you have to make the shape of it in blender (i've already done that) but how do you attach/assign it to the head joint and then export it into the game? Link to comment Share on other sites More sharing options...
RealHumanBeing Posted January 5, 2018 Share Posted January 5, 2018 On 19.02.2017 at 6:03 PM, Zelik said: Should I update the mod? Is anyone actually using it? Yes please! I'll die if i play one more time with vanilla hairs. ( standalone version doesn't work - all new hairs is just bald. ) Link to comment Share on other sites More sharing options...
Sparrow Posted January 5, 2018 Share Posted January 5, 2018 Try the model loader version. It works on my game. Unfortunately I think this mod is dead. Link to comment Share on other sites More sharing options...
tommysticks Posted January 5, 2018 Share Posted January 5, 2018 On 1/4/2018 at 3:11 PM, Joe_Winko said: just curious, how did you make custom hair styles for project zomboid? i know you have to make the shape of it in blender (i've already done that) but how do you attach/assign it to the head joint and then export it into the game? You need to add weights to the hair and export using Jab's model export script in blender. Then you need to edit the ModelManager.class file in the base game. Link to comment Share on other sites More sharing options...
EnigmaGrey Posted January 6, 2018 Share Posted January 6, 2018 19 hours ago, tommysticks said: Then you need to edit the ModelManager.class file in the base game. Anything overly complex, or is all that needed is a getter/setter rather than string literals for the model name? Link to comment Share on other sites More sharing options...
tommysticks Posted January 6, 2018 Share Posted January 6, 2018 (edited) 1 hour ago, EnigmaGrey said: Anything overly complex, or is all that needed is a getter/setter rather than string literals for the model name? It would be super neat to have getter/setter, but this is how I've been doing it for the past decade. It is same way we used to do it with weapon models: We used to need to add similar highlighted text with the new model name for weapons. No texture is needed for the hair, since all hair models use the same texture. I've been using this method to make custom clothes, too. The new "hairdo" would be body armor and helmet for example. We actually had it working on a server at one time. Kind of a hassle though. I don't know how hard it would be to implement getter/setter for this, but it sure would be super neat. Edited January 6, 2018 by tommysticks Link to comment Share on other sites More sharing options...
EnigmaGrey Posted January 6, 2018 Share Posted January 6, 2018 Soo . . . these then: ... loadModel("hair_baldspot", null); loadModel("hair_messy", null); loadModel("hair_picard", null); loadModel("hair_recede", null); loadModel("hair_short", null); in ModelManager create(), for adding the new model. Not sure about needing a new slot (amor, helmet, hat?) . Looks like SurvivorFactory chooses the correct hair style. It's just a switch statement. Maybe setHairNoColor(String hairNoColor) in SurvivorDesc. getPlayer():getDescriptor() and getPlayer():setDescriptor() might let you change it from Lua. Link to comment Share on other sites More sharing options...
tommysticks Posted January 6, 2018 Share Posted January 6, 2018 5 minutes ago, EnigmaGrey said: Soo . . . these then: ... loadModel("hair_baldspot", null); loadModel("hair_messy", null); loadModel("hair_picard", null); loadModel("hair_recede", null); loadModel("hair_short", null); in ModelManager create(), for adding the new model. Not sure about needing a new slot (amor, helmet, hat?) . Looks like SurvivorFactory chooses the correct hair style. It's just a switch statement. Maybe setHairNoColor(String hairNoColor) in SurvivorDesc. getPlayer():getDescriptor() and getPlayer():setDescriptor() might let you change it from Lua. I've fucked around with this shit a whole lot. Does loadModel work now? You can change hairstyle with this: getPlayer():getDescriptor():setHair("F_Hair_Bob_White"); ...but afaik there has never been a way to load weighted models with lua. Link to comment Share on other sites More sharing options...
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