|
Post by vmars on Mar 26, 2021 11:21:45 GMT -5
hey everyone I am in a little problem right now. I made a custom slider that is more realisticly aging the face of the sims.The slider is working fine. The problem is i want to add this slider to the cas modifier so it affect automaticly the sims for exemple teen would use 0% young adult 40% adult 60% and elder 100% of the slider. I added my slider in the casmodifier file (both xml and data)
but doesnt have any effect .. so i wonder if anyone have a suggestion
thanks
here is what i added in both XML and Data (elder casmodifier, instance:8C1D6C1E399C2C4F)
xml :
<U> <T n="ModifierName">vmarsaging26032021</T> <T n="LimitDirectManip">1</T> <T n="LimitRandomize">0</T> </U>
data:
<U type="Object" schema="Client_CASModifierTuning.ModifierData"> <T name="ModifierName">11677302565123550236</T> <T name="LimitDirectManip">1</T> <T name="LimitRandomize">0</T> <T name="Scale">1</T> <T name="Offset">0</T> <T name="MinValue">0</T> </U>
|
|
|
Post by fallingsim on Mar 26, 2021 16:35:40 GMT -5
Try changing the Offset to 1.0 for elders, 0.6 for adults, etc.
|
|
|
Post by vmars on Mar 27, 2021 9:20:48 GMT -5
hello,
I tried but still no effect :(
|
|
|
Post by fallingsim on Mar 27, 2021 12:28:59 GMT -5
I'm not an expert and without seeing your package I can't be sure, but check these:
In the XML, the modifier name must FNV64 hash to the Sim Modifier instance. The FNV64 hash of "vmarsaging26032021" is 0xA20E1CD060F26C1C, not 0x8C1D6C1E399C2C4F.
In the Data, the modifier name must be the decimal version of the Sim Modifier instance. Your data file seems to be using the correct decimal version of 0xA20E1CD060F26C1C, which is 11677302565123550236.
My guess is that your Sim Modifier instance needs to be changed to 0xA20E1CD060F26C1C - just a guess. I think you may also need to include the offset in the xml.
MenaceMan's Auto Shorter Teens mod uses exactly the same mechanism, if an example would help.
|
|
|
Post by vmars on Mar 27, 2021 13:44:39 GMT -5
|
|
|
Post by fallingsim on Mar 27, 2021 15:17:29 GMT -5
I don't have permission to access your package, you need to set permissions so anyone with the link can view it.
|
|
|
Post by vmars on Mar 27, 2021 15:21:13 GMT -5
|
|
|
Post by fallingsim on Mar 27, 2021 16:38:37 GMT -5
Thanks! I see several issues: - I get an error when I open the package in S4S. TS4MorphMaker also gets an error, in the normals DMap which is unreadable and might be corrupted. - Your data and xml resources only contain the one adjustment for aging. These should be overrides with all the standard stuff still there and your adjustment added. Maybe you did it this way just for testing? - In the XML, you now have "7791263BC29C52B1" as the Modifier Name. This has to be a text name that FNV hashes to the instance ID of the Sim Modifier. - In the Data, you have "8615709600246420145" which is the decimal version of 0x7791263BC29C52B1 which is still not the instance ID of the Sim Modifier. I did the following: - Changed the Sim Modifier instance to 0x7791263BC29C52B1, the FNV64 hash of "vmarsageelder". - In the xml, changed the Modifier Name to vmarsageelder. When I tested in CAS, it's definitely doing something but it looks like the normals are all messed up, not surprising since the normals deformer map is corrupt or whatever. drive.google.com/file/d/1_jYYZ5bE9iKw7mrnYwLoNclyaEWpPD0T/view?usp=sharing
|
|
|
Post by vmars on Mar 28, 2021 6:48:25 GMT -5
|
|
|
Post by vmars on Mar 28, 2021 7:46:56 GMT -5
|
|