Hi there! You are currently browsing as a guest. Why not create an account? Then you get less ads, can thank creators, post feedback, keep a list of your favourites, and more!
Pettifogging Legalist!
retired moderator
Original Poster
#1 Old 19th Oct 2014 at 7:31 PM Last edited by plasticbox : 22nd Apr 2015 at 12:54 PM.
Default How to change age and gender flags in S4PE
Originally posted by CmarNYC here -- I’m only C+Ping it to make it easy to find. Thanks, Cmar! =)

--

Use the latest version of s4pe, select the CASP, and click the Grid button.



Look for the AgeGender line and the value next to it. The circled four digits control the gender and age the hair is valid for. The first digit controls the gender. Use '1' for male, '2' for female, and '3' for unisex. You can just change the number and click Commit, then save.

A quick reference for the Age (last two hex digits), in case that's also useful:

Baby = 01,
Toddler = 02,
Child = 04,
Teen = 08,
YA = 10,
Adult = 20,
AdultYA = 30,
Elder = 40,
AdultElder = 60,
YAandUp = 70,
TeenAndUp = 78,
AllAges = 7F
8 users say thanks for this. (Who?)
Advertisement
Theorist
#2 Old 29th Oct 2014 at 1:11 PM
I made a tutorial on the same subject, but more complete, for beginners HERE
I have a version in Portuguese for those who are interested HERE
Pettifogging Legalist!
retired moderator
Original Poster
#3 Old 31st Oct 2014 at 4:57 PM
If I'm not mistaken, that tutorial tells people to make a full clone only to change that one flag. That is unecessary -- all you need is the CASP, not duplicates of everything else. Even in those cases where the mesh needs editing (to make it fit around the scalp), you still wouldn't need all of the textures.

Stuff for TS2 · TS3 · TS4 | Please do not PM me with technical questions – we have Create forums for that.

In the kingdom of the blind, do as the Romans do.
Theorist
#4 Old 7th Nov 2014 at 12:01 PM
Sorry, I only saw your answer now .
So if I understand, I just clone one texture?
Test Subject
#5 Old 7th Nov 2014 at 12:39 PM
Casp no longer works with the new patch pools.
Pettifogging Legalist!
retired moderator
Original Poster
#6 Old 8th Nov 2014 at 12:25 PM
@Nikkkita, did you use s4pe 0.2c or 0.2d? If it was the former, you might want to try again – there was an s4pe update just a couple hours ago: https://github.com/Kuree/Sims4Tools/releases


Quote: Originally posted by Kiara24
So if I understand, I just clone one texture?


No, if all you want is change a gender flag all you need is the CASP. Not textures or anything else. Can look at these uploads for a working example:

http://www.modthesims.info/download.php?t=538974
http://www.modthesims.info/download.php?t=537906

(Mine’s still cloned from less-than-recent game files, but the only change in CASP that I know about was one additional field, the rest should still work the same)

Stuff for TS2 · TS3 · TS4 | Please do not PM me with technical questions – we have Create forums for that.

In the kingdom of the blind, do as the Romans do.
Sir Not Appearing In This Film
#7 Old 8th Nov 2014 at 2:28 PM
Quote: Originally posted by Nikkkita
Casp no longer works with the new patch pools.


Kuree released a new version of s4pe last night, they work again. https://github.com/Kuree/Sims4Tools/releases
Test Subject
#8 Old 8th Nov 2014 at 2:34 PM
Quote: Originally posted by plasticbox
@Nikkkita, did you use s4pe 0.2c or 0.2d? If it was the former, you might want to try again – there was an s4pe update just a couple hours ago: https://github.com/Kuree/Sims4Tools/releases


It was 0.2C, thank you so much for the information about s4pe. It's Christmas before the time
Thanks Snaitf too
Theorist
#9 Old 9th Nov 2014 at 2:36 PM
Quote: Originally posted by plasticbox



No, if all you want is change a gender flag all you need is the CASP. Not textures or anything else. Can look at these uploads for a working example:

http://www.modthesims.info/download.php?t=538974
http://www.modthesims.info/download.php?t=537906

(Mine’s still cloned from less-than-recent game files, but the only change in CASP that I know about was one additional field, the rest should still work the same)


How do I clone just the CASP?
Ms. Byte (Deceased)
#10 Old 9th Nov 2014 at 3:12 PM
Quote: Originally posted by Kiara24
How do I clone just the CASP?


Possibly with Color Magic? I haven't used it in a while so I don't know. Otherwise, you can use any cloning tool and just delete all the other resources using s4pe.

Please do not PM me with mod, tutorial, or general modding questions or problems; post them in the thread for the mod or tutorial or post them in the appropriate forum.

Visit my blogs for other Sims content:
Online Sims - general mods for Sims 3
Offline Sims - adult mods for Sims 3 and Sims 4
Pettifogging Legalist!
retired moderator
Original Poster
#11 Old 9th Nov 2014 at 3:45 PM Last edited by plasticbox : 9th Nov 2014 at 4:05 PM.
By "cloning" I simply meant export the CASP you want to a new file/package in s4pe. But yeah you can also use the override feature of some other tool and then delete the rest you don't need, if that makes it easier for you.

ColorMagic is also up and working again btw, I think there was no announcement (not in the thread over here I mean).

Stuff for TS2 · TS3 · TS4 | Please do not PM me with technical questions – we have Create forums for that.

In the kingdom of the blind, do as the Romans do.
Theorist
#12 Old 9th Nov 2014 at 6:51 PM
Thanks for the tips.
I do not know if I understand, but if I need the textures and mesh, I clone normally , but if I want to just change the gender, I just need the CASP, mean I have to know where to find that CASP already contains all this information and only have to change the flag. Is that?
Test Subject
#13 Old 21st Dec 2014 at 12:22 AM
I'm hoping someone can help me because I'm going crazy. I use S4pe to go in and change the gender flags in casp. If I change from male to female everything works out fine. If I change from female to male or unisex the content shows shows up in the "mods window" when the game starts up, but when I go the window where a sim given hair and dressed, the content doesn't show up in the options. I've tried hair, clothing and accessories. I've changed the casp from 2078 to 1078, and then to 3078, I am pretty inexperienced at modding but this doesn't seem like a very difficult proposition.
Pettifogging Legalist!
retired moderator
Original Poster
#14 Old 21st Dec 2014 at 1:28 AM
Maybe post your package? Hard to tell what it could be without seeing that.

Stuff for TS2 · TS3 · TS4 | Please do not PM me with technical questions – we have Create forums for that.

In the kingdom of the blind, do as the Romans do.
Test Subject
#15 Old 21st Dec 2014 at 4:24 AM
Thanks cause this is driving me crazy, it seems like what I'm doing should work

Version: 0x0000001A
TGIoffset: 0x00000184
PresetCount: 0x00000000
Name: Alexandra_Sine_Alexandra_Sine_yfHair_GoldenBlonde_LongWavyOverRtShoulder
SortPriority: 0.0000
SecondarySortIndex: 0x0023
PropertyID: 0x0000C091
AuralMaterialHash: 0x811C9DC5
ParmFlags: 0x2C (AllowForRandom, ShowInUI, ShowInCASDemo)
ExcludePartFlags: 0x0000000000000000 (BODYTYPE_NONE)
ExcludeModifierRegionFlags: 0x00000000
--- FlagList: CASFlagList (0xF) ---
--- CASFlagList[0] ---
FlagCatagory: 0x0044 (AgeAppropriate)
FlagValue: 0x0054 (AgeAppropriate_Adult)
--- CASFlagList[1] ---
FlagCatagory: 0x0044 (AgeAppropriate)
FlagValue: 0x0048 (AgeAppropriate_Elder)
--- CASFlagList[2] ---
FlagCatagory: 0x0044 (AgeAppropriate)
FlagValue: 0x0123 (AgeAppropriate_Teen)
--- CASFlagList[3] ---
FlagCatagory: 0x0044 (AgeAppropriate)
FlagValue: 0x0047 (AgeAppropriate_YoungAdult)
--- CASFlagList[4] ---
FlagCatagory: 0x0045 (Archetype)
FlagValue: 0x004C (Archetype_Caucasian)
--- CASFlagList[5] ---
FlagCatagory: 0x004B (HairColor)
FlagValue: 0x005E (HairColor_Blonde)
--- CASFlagList[6] ---
FlagCatagory: 0x0063 (HairLength)
FlagValue: 0x0298 (HairLength_Long)
--- CASFlagList[7] ---
FlagCatagory: 0x0064 (HairTexture)
FlagValue: 0x0297 (HairTexture_Wavy)
--- CASFlagList[8] ---
FlagCatagory: 0x0046 (OutfitCategory)
FlagValue: 0x0050 (OutfitCategory_Athletic)
--- CASFlagList[9] ---
FlagCatagory: 0x0046 (OutfitCategory)
FlagValue: 0x0052 (OutfitCategory_Bathing)
--- CASFlagList[A] ---
FlagCatagory: 0x0046 (OutfitCategory)
FlagValue: 0x0107 (OutfitCategory_Career)
--- CASFlagList[B] ---
FlagCatagory: 0x0046 (OutfitCategory)
FlagValue: 0x004D (OutfitCategory_Everyday)
--- CASFlagList[C] ---
FlagCatagory: 0x0046 (OutfitCategory)
FlagValue: 0x004E (OutfitCategory_Formal)
--- CASFlagList[D] ---
FlagCatagory: 0x0046 (OutfitCategory)
FlagValue: 0x0053 (OutfitCategory_Party)
--- CASFlagList[E] ---
FlagCatagory: 0x0046 (OutfitCategory)
FlagValue: 0x0051 (OutfitCategory_Sleep)
---
SimlolencePrice: 0x00000000
PartTitleKey: 0x00000000
PartDesptionKey: 0x00000000
UniqueTextureSpace: 0x00
BodyType: 0x00000002
Unused1: 0x00000008
AgeGender: 0x00001078 (Teen, YoungAdult, Adult, Elder, Male)
Unused2: 0x01
Unused3: 0x00
--- SwatchColorList: SwatchColorCode (0x1) ---
[0]: #FFEABA77
---
BuffResKey: 0x00 (0x00000000-0x00000000-0x0000000000000000)
VarientThumbnailKey: 0x00 (0x00000000-0x00000000-0x0000000000000000)
NakedKey: 0x00 (0x00000000-0x00000000-0x0000000000000000)
ParentKey: 0x00 (0x00000000-0x00000000-0x0000000000000000)
SortLayer: 0x00002EE0
--- LODBlockList: LodBlockList (0x4) ---
--- LodBlockList[0] ---
Level: 0x01
--- LODAssetList: LodAssetList (0x1) ---
--- LodAssetList[0] ---
CastShadow: 0x00000000
Sorting: 0x00004000
SpecLevel: 0x00002000
---
--- ByteIndexList: LODKeyList (0x3) ---
[0]: 0x01 (0x015A1849-0x002917E6-0xE3685AFABCB5D5E2)
[1]: 0x02 (0x015A1849-0x0093A693-0xE3685AFABCB5D5E2)
[2]: 0x03 (0x015A1849-0x0093A690-0xE3685AFABCB5D5E2)
---
Unused: 0x00000008
--- LodBlockList[1] ---
Level: 0x02
--- LODAssetList: LodAssetList (0x1) ---
--- LodAssetList[0] ---
CastShadow: 0x00000000
Sorting: 0x00004000
SpecLevel: 0x00002000
---
--- ByteIndexList: LODKeyList (0x3) ---
[0]: 0x04 (0x015A1849-0x002917E5-0xE3685AFABCB5D5E2)
[1]: 0x05 (0x015A1849-0x008D4FD4-0xE3685AFABCB5D5E2)
[2]: 0x06 (0x015A1849-0x008D4FD7-0xE3685AFABCB5D5E2)
---
Unused: 0x00000008
--- LodBlockList[2] ---
Level: 0x03
--- LODAssetList: LodAssetList (0x1) ---
--- LodAssetList[0] ---
CastShadow: 0x00000000
Sorting: 0x00004000
SpecLevel: 0x00002000
---
--- ByteIndexList: LODKeyList (0x3) ---
[0]: 0x07 (0x015A1849-0x002917E4-0xE3685AFABCB5D5E2)
[1]: 0x08 (0x015A1849-0x008F8D4D-0xE3685AFABCB5D5E2)
[2]: 0x09 (0x015A1849-0x008F8D4E-0xE3685AFABCB5D5E2)
---
Unused: 0x00000008
--- LodBlockList[3] ---
Level: 0x00
--- LODAssetList: LodAssetList (0x1) ---
--- LodAssetList[0] ---
CastShadow: 0x00000000
Sorting: 0x00004000
SpecLevel: 0x00002000
---
--- ByteIndexList: LODKeyList (0x3) ---
[0]: 0x0A (0x015A1849-0x002917E7-0xE3685AFABCB5D5E2)
[1]: 0x0B (0x015A1849-0x0091673A-0xE3685AFABCB5D5E2)
[2]: 0x0C (0x015A1849-0x00916739-0xE3685AFABCB5D5E2)
---
Unused: 0x00000008
---
--- SimpleList`1: SlotKey (0x2) ---
[0]: 0x00
[1]: 0x00
---
DiffuseShadowKey: 0x0D (0x3453CF95-0x80000000-0xE3217087B22DBA04)
ShadowKey: 0x0E (0x3453CF95-0x80000000-0xE3217087B22DBA05)
CompositionMethod: 0x00 (0x00000000-0x00000000-0x0000000000000000)
RegionMapKey: 0x0F (0xAC16FBEC-0x00000000-0xE3685AFABCB5D5E2)
Overrides: 0x00 (0x00000000-0x00000000-0x0000000000000000)
NormalMapKey: 0x00 (0x00000000-0x00000000-0x0000000000000000)
SpecularMapKey: 0x10 (0xBA856C78-0x80000000-0xE3217087B22DBA06)
--- CountedTGIBlockList: TGIList (0x11) ---
[00]: 0x00000000-0x00000000-0x0000000000000000
[01]: 0x015A1849-0x002917E6-0xE3685AFABCB5D5E2
[02]: 0x015A1849-0x0093A693-0xE3685AFABCB5D5E2
[03]: 0x015A1849-0x0093A690-0xE3685AFABCB5D5E2
[04]: 0x015A1849-0x002917E5-0xE3685AFABCB5D5E2
[05]: 0x015A1849-0x008D4FD4-0xE3685AFABCB5D5E2
[06]: 0x015A1849-0x008D4FD7-0xE3685AFABCB5D5E2
[07]: 0x015A1849-0x002917E4-0xE3685AFABCB5D5E2
[08]: 0x015A1849-0x008F8D4D-0xE3685AFABCB5D5E2
[09]: 0x015A1849-0x008F8D4E-0xE3685AFABCB5D5E2
[0A]: 0x015A1849-0x002917E7-0xE3685AFABCB5D5E2
[0B]: 0x015A1849-0x0091673A-0xE3685AFABCB5D5E2
[0C]: 0x015A1849-0x00916739-0xE3685AFABCB5D5E2
[0D]: 0x3453CF95-0x80000000-0xE3217087B22DBA04
[0E]: 0x3453CF95-0x80000000-0xE3217087B22DBA05
[0F]: 0xAC16FBEC-0x00000000-0xE3685AFABCB5D5E2
[10]: 0xBA856C78-0x80000000-0xE3217087B22DBA06
Test Subject
#16 Old 23rd Dec 2014 at 2:52 AM
I have a chance to use another computer with sims and s4pe on it, edited the cas file and it worked. So I reinstalled programs on my computer and it works.
Back to top