|
Post by menaceman44 on Mar 6, 2019 7:24:04 GMT -5
I'm currently working on a bit of an overhaul mod for the Tragic Clown. During my tinkering I have come to realise that the Tragic Clown situation uses the wrong facepaint for the job.
The Tragic Clown facepaint comes in three designs and only one is intended to be worn for the situation. This is the one with the sad mouth and grey patches over the eyes. Instead, the game uses the one that looks like the Sim's chin has been dunked in a bag of coal dust.
I'm not sure why this is though because I have looked at the outfit tuning and the facepaint tags and everything seems correct. Only the correct facepaint is tagged for Random and is also the only one that has the Uniform_TragicClown tag in the CAS part. The one the game is actually using DOESN'T have the uniform tag at all.
In my experimenting I disabled the wrong facepaint for Adults but all that did was make it so that the Tragic Clown wore no face makeup at all. Removing the Situation tag still allowed it to be used for the Tragic Clown situation.
Reordering the swatches had no effect.
The only thing that worked was to swap the textures between the two swatches, which means that *techincally* the game is still using the wrong facepaint and would swap it for any Sims that may already be using it.
Going by the fact that even the official pictures and renders of the Tragic Clown use the wrong facepaint I'm guessing this is somethign even EA haven't managed to fix. (But then that isn't exactly surprising.)
Has anybody got any insight in this? Create a default clone of the Tragic Clown facepaint and try to get the game to use one of the others by altering the tags. I can't get it to work at all.
|
|
|
Post by brujah on Mar 6, 2019 19:36:52 GMT -5
Share what you have and someone can take a look. I have some ideas but without looking I'd only be guessing.
|
|
|
Post by menaceman44 on Mar 7, 2019 14:08:48 GMT -5
I haven't made any changes to the Uniform tuning.
These are the files pertaining to JUST the Tragic Clown face paint. They are both default overrides of all three swatches. This first one has the situation flag removed from the second swatch, the one the game currently uses. The game continues to use the face paint. www.simfileshare.net/download/984463/This second file also has the situation tag removed from the second swatch as well as disabling it for Adult Sims. The game spawns Tragic Clowns with NO facepaint. www.simfileshare.net/download/984464/
|
|
|
Post by brujah on Mar 8, 2019 21:57:58 GMT -5
I'm not at my computer to look but based on the post above it seems like this is a tuning issue where the tuning is calling that specific swatch.
|
|
|
Post by menaceman44 on Mar 9, 2019 9:24:10 GMT -5
The thing is, from all of the tuning I have been able to find and look at and understand, which admittedly might not be all of it, I can't see anything that calls a specific swatch. The "uniform" is set up in the same way as any other where the items the game is supposed to use are assigned a specific uniform tag and the game can only pull from those. The tag in this case is Uniform_TragicClown and only one of those swatches has that tag - the correct one which the game does not use.
|
|
|
Post by brujah on Mar 9, 2019 20:11:59 GMT -5
Here's a completely random idea... go back to the original override clone and swap the names and instances of the one the game uses now to the one you want to use. Don't change anything else...
|
|
|
Post by menaceman44 on Mar 10, 2019 12:14:56 GMT -5
Isn't that kind of the same thing as when I swapped the textures instead? I have no problem doing that for my own game but I'm just niggled that it would mess with any Sims that have been made using either of those face paint designs for other players.
|
|
|
Post by andrew on Mar 10, 2019 13:41:24 GMT -5
Did you look at the tuning buff_Clothing_TragicClown_TearsOfAClown? The buff from the clothing is setting a specific face paint 000000000001D9A5(the coal dust one).
|
|
|
Post by menaceman44 on Mar 10, 2019 14:32:11 GMT -5
I'm just about to test that exact same thing in my game right now. I decided to extract EVERY piece of tuning that involved the Tragic Clown and go through them one by one and see if CAS parts were mentioned. It appears both clothing buffs set it.
How do you actually identify a CAS part from the numerical value given in the tuning though? I couldn't find those values in the CAS parts anywhere. (Obviously the green text that Studio adds is wrong in these situations.)
|
|
|
Post by andrew on Mar 10, 2019 14:40:11 GMT -5
In the tuning, it is entered decimal form. To search for it, you will need to convert it to hexadecimal (121253 from the tuning is 1D9A5 in hexadecimal).
|
|
|
Post by menaceman44 on Mar 10, 2019 14:43:05 GMT -5
Since I didn't know how to alter the CAS part reference in the code at the time of my testing I just removed the snippet of code that sets the CAS part from the buff tuning. This resulted in the Tragic Clown not wearing any makeup so next I will test changing the reference to that of the correct asset.
EDIT: IT WORKED! The Tragic Clown is now wearing the correct facepaint! Thanks brujah!
|
|
|
Post by brainstrip on Apr 6, 2020 15:58:05 GMT -5
Hello menaceman44 ! I have a similar situation as yours. I originally made custom Tragic Clown outfits, facepaints, etc.. before EA decided to make the somewhat accurate TC for TS4. Now, I'm working both on an override and separate version of it, and I'd like to achieve two things: First, for the override I'd like male sims to wear a facepaint with the stubble like the original TC, and female sims just a clean one. I was thinking of overriding two of the facepaints, but I don't know how I would go about changing which swatch the Tragic Clown outfit for males uses. And secondly, for the regular version, I'd like to remove the buffs and the facepaint reference from the outfit altogether. I think I can achieve both things editing the snippet of code you managed to successfully edit, so I'd love to have some guidance on how I can achieve that.
|
|
|
Post by menaceman44 on Apr 6, 2020 18:37:24 GMT -5
Hmm, I know how to change which facepaint is applied but I don't know if it can be different for the seperate genders or not. I'm not very tuning savvy so I don't know if a gender check can be applied or not. The tunings that determine the facepaint come from the buffs that get applied when a Sim is wearing the TC outfit. You'll want to edit buff_Clothing_TragicClown_TearsOfAClown and buff_Clothing_TragicClown_MiseryLovesCompany. You will want to look at the bits of code near the start under appearance_modifier where it says set_cas_part.
Removing the buffs and facepaint from the outfits all together is actually much easier. With your clothing open in Studio, go to the warehouse view and select the CAS Part resource. Scroll down on the right until you see the Buff entry. Replace the Group, Instance and Type values with all zeros to remove any buffs attached to the clothing.
|
|
|
Post by brainstrip on Apr 6, 2020 20:55:42 GMT -5
Thank you for the hasty response! I'll try that and if I'm able to separate the genders I'll let you know as well. :P
|
|
|
Post by brainstrip on Apr 6, 2020 23:29:00 GMT -5
Hmm, I know how to change which facepaint is applied but I don't know if it can be different for the seperate genders or not. I'm not very tuning savvy so I don't know if a gender check can be applied or not. The tunings that determine the facepaint come from the buffs that get applied when a Sim is wearing the TC outfit. You'll want to edit buff_Clothing_TragicClown_TearsOfAClown and buff_Clothing_TragicClown_MiseryLovesCompany. You will want to look at the bits of code near the start under appearance_modifier where it says set_cas_part. Removing the buffs and facepaint from the outfits all together is actually much easier. With your clothing open in Studio, go to the warehouse view and select the CAS Part resource. Scroll down on the right until you see the Buff entry. Replace the Group, Instance and Type values with all zeros to remove any buffs attached to the clothing. Ok, I've looked at the editing the buff and you're right, I don't think we can set it to use a different swatch for different genders. I was somewhat able to achieve what I was looking for by editing the buffs and removing the appearance modifier altogether, and adding the respective facepaint textures into each of the outfits. The only problem is I always seem to mess up somehow and now the nose mesh is all broken (even tho I simply added the mesh and merged it with the main outfit part to preserve the number of mesh parts). Gonna have to keep playing with it LOL! But you've been of great help, so thank you!
|
|