hercy
New Member
Posts: 4
|
Post by hercy on Jan 11, 2020 4:53:23 GMT -5
Hey guys, I'm so excited to mod the sims 4.
So far I've had a lot of fun creating new clothes and hair trough new swatches. Compared to what I'd like to do I'm barely at step one though. I wanted to make a small list of mods I want to make and it turns out I'll probably have to learn about 90% of the porgram if I want to do them all. I do study computer science but my programming skills aren't too great. At least I have an idea of how hard the tasks will be. So I tried building this list with each problem solved I can take what I learned from there and apply it to the harder task.
If you've worked on a mod similar to some item on the list I'd love to hear a breakdown of how you've gone about it or how I should tackle it.
Change dirty sim texture: I want to replace the dirt texture your sim gets when low on hygine. Problem: I don't know how to find and replace things that aren't in the premade categories of s4s like CAS and Objects, etc. (Can this be done with a .package?)
Change sound of door opening: Simple replace Problem: I saw that converting mp4 is a little complicated and that sounds have some xml parameters I don't know how to use yet.
Make slobs flush the toilet, but not care about their hygine: I want to learn how to change sim behaviour. Problem: The tuning files I saw scare me a little. How can I figure out what part of the code serves what function or where can I learn it?
Interactive board game: I want to learn how to make an interactable object with different states. Problem: how to apply chess animation and new states to a new object. (I don't want to just remodel a chess table, because then I don't know what makes it work)
Give sims a sit down on floor interaction: I want to be able to add new option to sims or furniture for them to interact with it. Perhaps have them hum at random intervals Problem: How to add new interaction option and animation. How to add sound to animation.
So yeah, that's my bucket list of what I want to learn to be able to make just about anything I want to do in the future.
|
|
|
Post by sigma1202 on Jan 11, 2020 10:55:40 GMT -5
All of these are pretty advanced, which one would you want to focus on first?
|
|
hercy
New Member
Posts: 4
|
Post by hercy on Jan 11, 2020 11:18:43 GMT -5
All of these are pretty advanced, which one would you want to focus on first? I guess changing the dirty texture would be my first to learn how I can dig up files that aren't on the main menu of s4s.
|
|
|
Post by MizoreYukii on Jan 11, 2020 13:49:53 GMT -5
My post goes backwards, sorry about that. - The last one, adding floor animations, is going to be extremely difficult if you want it to work like EA animations. If you're okay with them being subpar and not being able to do anything (aka multitasking and instead just sitting there like a pose), then you can just create your animation and have it work. But if you want everything EA has, it's going to be a mess. For this one to be like EA's, I'd actually recommend waiting for my friend to release his program, as he's making a program for animators so custom animations are easier to create and better (not like the current ones where they float and glitch everywhere because they lack the necessary material). For now I'd recommend just working on adding interactions to stuff and getting use to basic modding, which is the easy part (XML injector by Scumbumbo can inject the the interactions for you, unless you're adamant to learn Python).
- Actually, you do want to copy the chess table as it would be the easiest route, at least depending on what you are trying to achieve (we don't have any other board games last I checked). What game are you trying to make? You'll need to extract everything chess related and make alterations that way.
- The XML you just eventually learn after poking at it for a while. There are tutorials that ease this process but they don't cover everything. Follow this tutorial series on getting started and for tutorials on different types of tuning mods (note that I said series, I linked page 2 as that is where you start to learn programs and setup):
simsvip.com/category/the-sims-4/how-to-create-a-mod/page/2/
And these ones teach you how to use the TDESC and some other basics. www.patreon.com/posts/tutorial-very-30543199 www.patreon.com/posts/bonus-tutorial-31960337 www.patreon.com/posts/bonus-tutorial-31988039 www.patreon.com/posts/bonus-tutorial-2-32028544 TDESC browser: www.modthesims.info/download.php?&t=618199
The same person also has a ton of other tutorials, like creating loots, buffs, interactions, etc. so here is the main tutorial page www.patreon.com/zer0_/posts?tag=Tutorials Once you have your modding folder setup and read the basic tutorials, try looking through the slob files. It might be in the trait itself, or the flush toilet interaction, or something similar.
- The door sound is easy enough, it should be in the animation (if not there, it would be referenced in the XML, which is rare). Sigma posted a mini-tutorial on how to locate sounds in animations here: sims4studio.com/post/135615/thread
Once you've located the door sound then you can copy the sound name, convert it to FNV64, open Game Cruiser again and paste it. This should lead you to the audio file. You have to go through all this work because audio files are not named and can't be searched by name like most other files.
- The dirty textures I'm not sure as I didn't see them in debug or CAS, so most likely you'd be able to find them in Game Cruiser as something else (Sigma shows you how to access Game Cruiser in the above tutorial). Game Cruiser is how you find anything not in CAS, Build/Buy, or XML, in a semi-organized way. There is no tutorial as far as I know on how to use it, before you ask. xD Let's just hope the hygiene texture isn't actually a VFX, otherwise there is no replacing it, only turning it off.
|
|
hercy
New Member
Posts: 4
|
Post by hercy on Jan 12, 2020 11:30:56 GMT -5
Okay, I messed around a little more today. So far I've tried and failed to locate the dirty textures. Though I'm now confused as to how EA handles the dirty textures like sinks and showers because I couldn't find those eaither.
I managed to find the door sounds, thank you for the tutorial. But I want to replace them with a new custom sound, not one that's already in the game.
For the board game, I'm going to put that on hold for now. I tougth it wasn't so hard to make an object with different instances. I was just going to do a generic board game, with a board textures and small figures and dice, with the sims "moving" them using the chess animation, just with the figure replaced. And I'll leave the XML and animation alone for a few weeks. Especially if it means I'll get to try it trough the program made by your friend.
So all in all I think I want to focus on finding these dirty textures (for at least the appliances) if it's even possible and the sound replacement part.
|
|
|
Post by MizoreYukii on Jan 12, 2020 13:09:33 GMT -5
I got curious so went digging (Google to the rescue) and found this tutorial explaining where burn and dirty states are for objects (I thought they were a geostate, weird way to do this): sims4studio.com/thread/5183/tutorial-change-dirty-state-overlayThere is also this tutorial by Peacemaker. peacemaker-ic.tumblr.com/post/148590251499/dirtytexturetutorialpartoneI'll keep looking for sims though. Sorry, I gave you a starting point with the sound as I thought you were going to go from there with research (and also because of how you would go about replacing it). xD You can either replace the sound in the audio file you located, or make a new sound file and replace the reference in all animations. Replacing the sound in the current audio file is the easiest. Unless it's used for something else, which I doubt, I don't think it will be a problem. Here is Necrodog's tutorial, which isn't really the best for explaining replacement, but is good for new ones. If you want to create a new sound file, you can also use the sound tool (which explains audio settings you'll need too), which is on an adult website so I can't link it (meaning you need to be 18+, or whatever the age in your country). Search "sims 4 sound tool" and it should come up. It's not too difficult to make custom objects when you clone and use most, if not all, resources from the game (entirely new custom ones with custom animations, etc. are much more involved, and of course, way harder if you want them to look good), it's just a lot of moving pieces you have to change and alter as that is how the game is built. Someone very recently, as a complete beginner, did what you wanted to do and made a "new" board game with the Deaderpool/MCCC Discord server's help. As for the animation tool, I don't know when he will get it done. You may be waiting several months or longer to use it. If you are new to animating I'd recommend learning and practicing in the meantime so that when it releases you can just import and export as needed.
|
|
|
Post by MizoreYukii on Jan 12, 2020 15:08:30 GMT -5
Did some digging through the tuning to track it down as it would be applied through loots and buffs, and unfortunately this seems to be like ghosts and that it's controlled by the client, or VFX (I think just controlled by client though). The dirty state appears around -99/-100 and the buffs that are applied list VFX s40_Sim_stink (the green cloud) and the other one for hygiene failure is object state SimGrubby_Grubby (5B02819E!00000000!00000000000196C1.SimGrubby_Grubby.ObjectStateTuning.xml) which is applied via 0C772E27!00000000!0000000000019756.loot_MakeSimGrubby.ActionTuning.xml.
So unfortunately you can't just override the texture as it, by our standards, doesn't exist/isn't alterable. If you want to override it still your only option is to create a new texture and then inside 0C772E27!00000000!0000000000019756.loot_MakeSimGrubby.ActionTuning.xml remove the state_change and turn into a regular buff applier. Create a new buff file and inside that buff file make it an appearance modifier. This will cause it to override the buff it is currently using for all areas that cause hygiene failure. So it's the same thing in a way, just a different method. The dirtiness will appear under the clothes though (I mean, you might be able to get it over the clothes with sort layer, etc. but I could be wrong).
|
|
|
Post by sigma1202 on Jan 14, 2020 15:58:50 GMT -5
MizoreYukii hercyI actually managed to find the grubby texture trough some convoluted methods grubby texture: 00B2D882!00000000!83D7255E72389859 you can add it to a package by going to the game file cruiser then just copy the instance id where it says "instance", check the DST texture checkbox, select the entry that appeared, and click on add to the package I did a quick test by changing the hue/saturation in photoshop to see if it actually works, and it works fine :)
|
|
|
Post by MizoreYukii on Jan 14, 2020 19:13:01 GMT -5
sigma1202 Holy canoly! Great job! How did you track it down? I wonder if ghosts can be accessed this way as well, if it uses a similar system at least.
|
|
|
Post by sigma1202 on Jan 15, 2020 8:18:43 GMT -5
sigma1202 Holy canoly! Great job! How did you track it down? I wonder if ghosts can be accessed this way as well, if it uses a similar system at least. oh its a little convoluted, i used ninja ripper to rip the texture from memory, since ninja ripper only extracts the textures that are currently loaded there won't be that many files (i had 264) after that i skimmed trough them and found the grubby texture, now to find the instance id i extracted all the "DST image" from the "game file cruiser", sims 4 studio will name each texture with its: instance, group and type. then i copied the texture that i extracted with ninja ripper to that folder and used a software that finds duplicate images, and i got it
|
|
hercy
New Member
Posts: 4
|
Post by hercy on Jan 18, 2020 15:30:54 GMT -5
Wow you guys are the best! Sorry for disappearing like that, it's exam season so one of my main drives to mod was procrastionation. Anyway, that's not to say I don't have some plans in mind that aren't the product of laziness.
Before I started crunching for tests I did do necrodog's tutorial before you suggested it. I managed to add the sound that I wanted but found out I should have added it to the animation rather than the object as now it plays after the animation during which I wanted it to play. But no problem, at least now I know exactly where I'll have to replace it once I have the time to mod again. Also I am 18+ and I have seen that sound editor, I haven't tried it yet though.
Thank you for finding the grungy texture, I'm sure I would've never found it without your help.
On another note would I get into trouble if I used an expansion pack hairstyle, create a standalone for it with a custom color option and shared it with a small community? What I mean is, I've got a friend who has an OC with hair similar to, but not exactly the same one as in the parenthood pack. If I remodel it slightly along with a new texture can I share that as a base game CC?
|
|
|
Post by sigma1202 on Jan 18, 2020 15:50:10 GMT -5
On another note would I get into trouble if I used an expansion pack hairstyle, create a standalone for it with a custom color option and shared it with a small community? What I mean is, I've got a friend who has an OC with hair similar to, but not exactly the same one as in the parenthood pack. If I remodel it slightly along with a new texture can I share that as a base game CC? No, if you clone an expansion pack hairstyle, it won't work if that other person doesn't have that pack
|
|
|
Post by simadream on Feb 13, 2020 1:28:07 GMT -5
sigma1202 Holy canoly! Great job! How did you track it down? I wonder if ghosts can be accessed this way as well, if it uses a similar system at least. oh its a little convoluted, i used ninja ripper to rip the texture from memory, since ninja ripper only extracts the textures that are currently loaded there won't be that many files (i had 264) after that i skimmed trough them and found the grubby texture, now to find the instance id i extracted all the "DST image" from the "game file cruiser", sims 4 studio will name each texture with its: instance, group and type. then i copied the texture that i extracted with ninja ripper to that folder and used a software that finds duplicate images, and i got it OH! How clever! I might have to look into this. There are so many little textures sometimes that are a pain to track down. Thanks for sharing this with us.
|
|