Aardman55 Posted March 7, 2015 Share Posted March 7, 2015 Added support for exporting weights. (Hint: This means clothes and hair are now moddable. ) Give me your adress, i wanna marry you Link to comment Share on other sites More sharing options...
Aardman55 Posted March 7, 2015 Share Posted March 7, 2015 I shall break the chain of Developer posts to stay true to my member title!Also, great work man I bet many modders will appreciate this. Personally, I was unable to load anything as it all just kept being a cube but then again, I'm a noob in blender and don't know anything about it lol.Delete the cube. Most of the imported stuff is so small that they appear inside the cube. -snip-Thanks a bunch, that helped a LOT. Link to comment Share on other sites More sharing options...
Jab Posted March 7, 2015 Author Share Posted March 7, 2015 Ok, so AFTER testing the darn weight additive in the game, (and several game crashes later), I found out the game always expects every weighted vertex to have 4 weight influence bones (doesn't matter if duplication, and the value for non-influence to fill the empty slots is -1.0). I see this as a problem, although yeah you can get away with doing it just like this. It just seems.. unnecessary. I'd use a java interpreter as such:String line = br.readLine();if(line.isEmpty() || line.startsWith("#")) { continue;} else {... // Read weightsString split = line.split(",")if(split.length > 0) { // Read weights as arrays...} else { // Read weight. (one)}Anyways, Picture time! Siorus, LeoIvanov, Gammlernoob and 1 other 4 Link to comment Share on other sites More sharing options...
Jab Posted March 7, 2015 Author Share Posted March 7, 2015 Here's a image showing an example of a custom beard: Svarog, Siorus and Gammlernoob 3 Link to comment Share on other sites More sharing options...
Aardman55 Posted March 8, 2015 Share Posted March 8, 2015 Well for some reason I can't export beards and clothes, its file size just shrinks and the game crashes. Basically ive untucked the shirt and blouse and made it a little longer / bigger but it doesnt seem to work. Do I need to export it skinned or with an uv map or should i not use vertex editing or..? Link to comment Share on other sites More sharing options...
Jab Posted March 8, 2015 Author Share Posted March 8, 2015 Well for some reason I can't export beards and clothes, its file size just shrinks and the game crashes. Basically ive untucked the shirt and blouse and made it a little longer / bigger but it doesnt seem to work. Do I need to export it skinned or with an uv map or should i not use vertex editing or..? I was going to mention how to do this later because I figured in the beginning no one would really use or catch onto this script. When you mod clothes, you must first import the male or female model. (this loads the rig, and has to be there when exporting). Sorry. So: 1) import male.txt2) import shirt.txt3) mod the shirt4) export the shirt (This is because the model doesn't contain the bone data required, but still exports the weights of the bones. This is weird, but this is how it is currently for the game.) Aardman55 and Suomiboi 2 Link to comment Share on other sites More sharing options...
Rathlord Posted March 8, 2015 Share Posted March 8, 2015 Here's a image showing an example of a custom beard: Runescape, is that you? Gammlernoob, Kitt Frostpaws and Aardman55 3 Link to comment Share on other sites More sharing options...
Aardman55 Posted March 8, 2015 Share Posted March 8, 2015 Well for some reason I can't export beards and clothes, its file size just shrinks and the game crashes. Basically ive untucked the shirt and blouse and made it a little longer / bigger but it doesnt seem to work. Do I need to export it skinned or with an uv map or should i not use vertex editing or..? I was going to mention how to do this later because I figured in the beginning no one would really use or catch onto this script. When you mod clothes, you must first import the male or female model. (this loads the rig, and has to be there when exporting). Sorry. So: 1) import male.txt2) import shirt.txt3) mod the shirt4) export the shirt (This is because the model doesn't contain the bone data required, but still exports the weights of the bones. This is weird, but this is how it is currently for the game.) Thanks for the help! I'll try that now. Is it like that for every such object, like beards and hair too?Edit: After some minor headaches, heres the exact steps that worked for me:0) Make a backup of whatever you wanna mod1) Import male.txt2) Import shirt.txt 2.5) Make sure you do it in exactly THAT order3) Mod the shirt4) Deselect everything5) Select only the shirt in Object Mode6) Export I am having heaps of fun with your tools, modding the game so much right now lol. Suomiboi 1 Link to comment Share on other sites More sharing options...
Suomiboi Posted March 8, 2015 Share Posted March 8, 2015 Ahahahaa!! I'm having so much fun right now!! Thank you so very much for doing this! Gammlernoob, Svarog, Sieben and 3 others 6 Link to comment Share on other sites More sharing options...
Svarog Posted March 8, 2015 Share Posted March 8, 2015 Now if there was an easy way (or is there already?) to add new hair\beards\clothes into the game the "Not enough character customization" problem would solve itself. This is awesome. Jab 1 Link to comment Share on other sites More sharing options...
Atoxwarrior Posted March 9, 2015 Share Posted March 9, 2015 Jab amazing job, thank you will learn to customize many textures.if not too much to ask, but Might make this hairstyle. something extravagant but brilliant Link to comment Share on other sites More sharing options...
Burianu Posted March 9, 2015 Share Posted March 9, 2015 Awesome work, Jab! Can't wait to see what the community does with this! Link to comment Share on other sites More sharing options...
Golde Posted March 9, 2015 Share Posted March 9, 2015 First time touching blender in a year... I tried making something along the lines of an Mk47 Mutant.. Aardman55 1 Link to comment Share on other sites More sharing options...
Aardman55 Posted March 10, 2015 Share Posted March 10, 2015 First time touching blender in a year... I tried making something along the lines of an Mk47 Mutant.. I wanted to do something similar. Great job though ! Link to comment Share on other sites More sharing options...
Golde Posted March 10, 2015 Share Posted March 10, 2015 I wanted to do something similar. Great job though ! But.. i'm so damn bad at it.. I got freaking weird ass triangles on it.. Link to comment Share on other sites More sharing options...
Aardman55 Posted March 10, 2015 Share Posted March 10, 2015 I wanted to do something similar. Great job though ! But.. i'm so damn bad at it.. I got freaking weird ass triangles on it.. For your first blender model / edit after a long time, this isnt bad at all. The triangles are 90% likely unnoticable in game, the shotgun has some weird triangles too but no one notices em . Golde 1 Link to comment Share on other sites More sharing options...
Jab Posted March 11, 2015 Author Share Posted March 11, 2015 Adding options to the Import / Export scripts, for convenience. I'll possibly look into "smart-finding" the rigs for the clothes / hair so people don't accidently modify clothes without the weights. WolfeClaw 1 Link to comment Share on other sites More sharing options...
Jab Posted March 12, 2015 Author Share Posted March 12, 2015 Still can't seem to get the animation loading right... I'll keep trying I guess :/ dnk3912, Gammlernoob, Atoxwarrior and 6 others 9 Link to comment Share on other sites More sharing options...
EnigmaGrey Posted March 12, 2015 Share Posted March 12, 2015 I like to think it was always that way. LeoIvanov 1 Link to comment Share on other sites More sharing options...
LeoIvanov Posted March 12, 2015 Share Posted March 12, 2015 I like to think it was always that way. What, you mean to say that it wasn't like this before? Link to comment Share on other sites More sharing options...
Golde Posted March 12, 2015 Share Posted March 12, 2015 I'd like to see that getting exported and put into the game... Really curious on how the game's gonna play out with that... Link to comment Share on other sites More sharing options...
mads232 Posted March 12, 2015 Share Posted March 12, 2015 I still can't believe you just figured out how to do this.. This is a big step for.. How is it.. This is a big step for humanity.. And modding.. Uh well. THIS IS FREAKIN' INCREDIBLE! I'm gonna try it out right now! Golde and Gammlernoob 2 Link to comment Share on other sites More sharing options...
mads232 Posted March 12, 2015 Share Posted March 12, 2015 Hmm.. For some reason, when I try and import the male.txt, it doesn't really show anything, other than bob_armature object out in the Outliner Oh I got it now.Even though my game crashes with the edited models.. Hmm :/I mean, whenever I try to load a save (Or create a new one) it just stalls and a black screen appears.So it doesn't really crash. Anyone got an idea how to fix this?... :/ How do you guys do this?! Link to comment Share on other sites More sharing options...
Jab Posted March 13, 2015 Author Share Posted March 13, 2015 I'm going to put off loading in the animations for a bit. Time after time, failures, or close failures. Atoxwarrior 1 Link to comment Share on other sites More sharing options...
mads232 Posted March 13, 2015 Share Posted March 13, 2015 I'm going to put off loading in the animations for a bit. Time after time, failures, or close failures. What you have done already is amazing. Take a break, you deserve it WolfeClaw and Atoxwarrior 2 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