I was wondering if there is a way to change or alter the body type presets in CAS. Actually, the specific thing I'm wanting to do is just replace the various fat presets with the existing fit presets (while also keeping the original fit presets). It's to make randomization always choose fit body types.
Hi guys, there is a resource that specifies information about the CAS presets - the resource type is 0xEAA32ADD. One of the fields in this resource specifies the probability that the resource will be chosen randomly in CAS. Below are the instances for the body presets.
And here is a super quick and dirty .bt file for this resource. The field of interest is "chanceForRandom", set that to 0.0f and the body should no longer appear randomly.
//--------------------------------------
// The Sims 4
// Copyright 2015 Electronic Arts Inc. All rights reserved.
//
//--- 010 Editor v5.0 Binary Template
// Resource Type: CAS Preset Resource (type 0xeaa32add)
//--------------------------------------
local INT32 i;
INT32 version;
INT32 ageGender;
INT32 region;
INT32 archtype;
INT32 displayIndex;
INT32 presetNameKey <format=hex>;
INT32 presetDescriptKey <format=hex>;
INT32 numSculpt;
for (i = 0; i < numSculpt; ++i)
{
INT64 instance;
INT32 region;
}
INT32 numModifiers;
for (i = 0; i < numModifiers; ++i)
{
INT64 instance;
FLOAT weight;
INT32 Region;
}
CHAR isPhysiqueSet;
if ( isPhysiqueSet == 1 )
{
FLOAT heavyValue;
FLOAT fitValue;
FLOAT leanValue;
FLOAT bonyValue;
}
FLOAT chanceForRandom;
INT32 tagcount;
for (i = 0; i < tagcount; ++i)
{
INT16 category;
INT16 tagValue;
}
Note that if you replace these resources, then that could cause issues if we update them in the future.
The current version of the preset resource is 12 / 0x0C. The only difference from the bt for version 11 seems to be an added byte after the set of physique values. I've only seen a value of 0 for it.
@SimGuruModSquad Maybe you could tell us the function of that byte, if any?
I don't suppose we could get a list of more or all of the presets?
Comments
And here is a super quick and dirty .bt file for this resource. The field of interest is "chanceForRandom", set that to 0.0f and the body should no longer appear randomly.
Note that if you replace these resources, then that could cause issues if we update them in the future.
Good luck!
Would it be possible to give us an updated .bt file? The old one doesn't work anymore with the newest resources.
Thanks so much!!
Yes, I did some quick testing and it does! Thanks sooooo much!!
Updated bt file posted!
-SGMS
Would it be possible to post an updated BT file? Thanks!
@SimGuruModSquad Maybe you could tell us the function of that byte, if any?
I don't suppose we could get a list of more or all of the presets?
@SimGuruModSquad
Would it be possible to post and updated BT file for this resource? Thanks!
Updated BT file posted. This field is Cats&Dogs related, which is why you have only seen it set to 0.
-SGMS