Difference between revisions of "Creating A CAS Part Snippet for DeviousDesires"
ColonolNutty (talk | contribs) |
ColonolNutty (talk | contribs) |
||
Line 156: | Line 156: | ||
|part_tags | |part_tags | ||
|A list of CAS Part tags used for querying and organization of the CAS Part. | |A list of CAS Part tags used for querying and organization of the CAS Part. | ||
− | |For a full list of CAS Part tags, check out [[ | + | |For a full list of CAS Part tags, check out [[DC CAS Part Tags for DC|DC CAS Part Tags]] |
|- | |- | ||
|part_game_tags | |part_game_tags | ||
Line 251: | Line 251: | ||
|part_tags | |part_tags | ||
|A list of CAS Part tags used for querying and organization of the CAS Part. | |A list of CAS Part tags used for querying and organization of the CAS Part. | ||
− | |For a full list of CAS Part tags, check out [[ | + | |For a full list of CAS Part tags, check out [[DC CAS Part Tags for DC|DC CAS Part Tags]] |
|- | |- | ||
|part_game_tags | |part_game_tags | ||
Line 348: | Line 348: | ||
|part_tags | |part_tags | ||
|A list of CAS Part tags used for querying and organization of the CAS Part. | |A list of CAS Part tags used for querying and organization of the CAS Part. | ||
− | |For a full list of CAS Part tags, check out [[ | + | |For a full list of CAS Part tags, check out [[DC CAS Part Tags for DC|DC CAS Part Tags]] |
|- | |- | ||
|part_game_tags | |part_game_tags |
Revision as of 17:16, 23 July 2022
Preface
The following tutorial will go through the process of creating a CAS Part snippet for use with Devious Desires. We will start with a complete snippet first and break it down along the way.
Directory
- Devious Desires Home Page
- DD General
- DD Kinky
- DD Milk Farm
- DD Pets
- DD Amputation
- DD Dirty Play
- DD WW Loader
- Animation Customization
References
Tutorial
Here we have a complete snippet and what we should end up with in the end.
Full Example
<?xml version="1.0" encoding="UTF-8"?> <I c="DeviousDesiresCASPartPackage" i="snippet" m="deviousdesires.cas_parts.cas_part_tuning" n="DeviousDesires_CAS_Parts_Human_Feet" s="10317950248457242899"> <T n="has_devious_desires_cas_parts">True</T> <L n="body_cas_parts_list"> <U> <T n="part_id">6563</T> <T n="part_display_name">0xD4F323E4<!--Native--></T> <T n="part_raw_display_name">Native Male Feet (H)</T> <T n="part_author">Vanilla</T> <E n="sim_type">ADULT_HUMAN</E> <L n="available_for_genders"> <E>MALE</E> </L> <E n="part_type">FEET</E> <L n="part_custom_tags"> <E>YELLOW</E> </L> </U> <U> <T n="part_id">6543</T> <T n="part_display_name">0xD4F323E4<!--Native--></T> <T n="part_raw_display_name">Native Female Feet (H)</T> <T n="part_author">Vanilla</T> <E n="sim_type">ADULT_HUMAN</E> <L n="available_for_genders"> <E>FEMALE</E> </L> <T n="part_type">FEET</T> <L n="part_custom_tags"> <T>YELLOW</T> </L> </U> </L> <L n="overlay_cas_parts_list"> <!--Tears--> <U> <T n="part_id">14202652467133993841<!--yuSkinDetail_Tears_202010021302246405--></T> <T n="part_display_name">0x1879423C<!--Tears--></T> <T n="part_raw_display_name">Face Tears (H)</T> <T n="part_author">DeviousDesires</T> <E n="sim_type">ADULT_HUMAN</E> <L n="available_for_genders"> <E>MALE</E> <E>FEMALE</E> </L> <E n="overlay_type">TEARS</E> <E n="overlay_body_location">FACE</E> <E n="overlay_weight">LIGHT</E> <T n="is_3d">True</T> </U> </L> <L n="strapon_cas_parts_list"> <U> <T n="part_id">13287103063830156525</T> <T n="part_display_name">0x59859C0E<!--Strapon--></T> <T n="part_raw_display_name">Default Strapon (H)</T> <T n="part_author">DeviousDesires</T> <E n="sim_type">ADULT_HUMAN</E> <L n="available_for_genders"> <E>MALE</E> </L> <L n="part_custom_tags"> <T>YELLOW</T> </L> </U> </L> </I>
The above, is a simple snippet containing three CAS Parts, two feet CAS Parts and one overlay for the Face. Lets break it down.
Body CAS Part
Starting with the Body CAS Part Properties.
<L n="body_cas_parts_list"> <U> <T n="part_id">6563</T> <T n="part_display_name">0xD4F323E4<!--Native--></T> <T n="part_raw_display_name">Native Male Feet (H)</T> <T n="part_author">Vanilla</T> <E n="sim_type">ADULT_HUMAN</E> <L n="available_for_genders"> <E>MALE</E> </L> <E n="part_type">FEET</E> <E n="part_sub_type">PENIS_HARD_MERMAID_TAIL</E> <L n="part_custom_tags"> <T>YELLOW</T> </L> </U> <U> <T n="part_id">6543</T> ... </U> </L>
Below you will find each of the elements, what they do or are for, and what values are ok to put within them.
Element Name | Description | Values |
---|---|---|
part_id | This is the FNV64 decimal identifier of the CAS Part. In this case, 6563 references the native Female Adult Human feet. | An FNV64 Decimal Identifier |
part_display_name | The FNV32 hexidecimal identifier of a string in your String Table. This will be displayed when showing the part for selection. | An FNV32 Hexidecimal Identifier |
part_raw_display_name | The Raw display name of the CAS Part, this is used for sorting the CAS Part appropriately within the UI. It is recommend you match this text with text in your string table! | A string/text of whatever you want it to be. |
part_author | The name of the Author of the CAS Part. Most likely your name. | A string/text of the name of an Author, it can be whatever you want it to be. |
sim_type | This is the type of Sim this CAS Part is available. It specifies the Age, Species, and Occult Type that may use this CAS Part. Please note that Non-Occult Sim Types will be available for Occult Sim Types. i.e. ADULT_HUMAN will be available for ADULT_HUMAN_VAMPIRE, but ADULT_HUMAN_VAMPIRE will not be available for ADULT_HUMAN. | For a full list of Sim Types check out Common Sim Types |
available_for_body_genders | A list of genders this CAS Part will be available for. If not listed, it will be available for both Male and Female genders. | MALE, FEMALE |
part_tags | A list of CAS Part tags used for querying and organization of the CAS Part. | For a full list of CAS Part tags, check out DC CAS Part Tags |
part_game_tags | A list of game tags used for querying and organization of the CAS Part. | For a full list of Game tags, check out Common Game Tags |
part_custom_tags | A list of custom tags used for querying and organization of the CAS Part. | Since the values in this are custom, they can be whatever you want them to be. |
part_type | The body part type this CAS Part is. | TONGUE, FEET, CHEST VAGINA, PENIS_SOFT, PENIS_HARD |
part_sub_type | OPTIONAL: The part sub type this CAS Part is. In order for this value to be used, the part_type value must be PENIS_HARD! No, it does not make sense in the example code above, it is just an example! | PENIS_HARD_MERMAID_TAIL, PENIS_HARD_ROBOT |
Overlay CAS Part
Starting with the Overlay CAS Part Properties.
<L n="overlay_cas_parts_list"> <!--Tears--> <U> <T n="part_id">14202652467133993841</T> <T n="part_display_name">0x1879423C<!--Tears--></T> <T n="part_raw_display_name">Face Tears (H)</T> <T n="part_author">DeviousDesires</T> <E n="sim_type">ADULT_HUMAN</E> <L n="available_for_genders"> <E>MALE</E> <E>FEMALE</E> </L> <E n="overlay_type">TEARS</E> <E n="overlay_body_location">FACE</E> <E n="overlay_weight">LIGHT</E> <T n="is_3d">True</T> </U> <U> <T n="part_id">123421432</T> <T n="part_display_name">0x1879423C<!--Tears--></T> <T n="part_raw_display_name">Face Tears 2 (H)</T> <T n="part_author">DeviousDesires</T> <E n="sim_type">ADULT_HUMAN</E> <L n="available_for_genders"> <E>MALE</E> <E>FEMALE</E> </L> <E n="overlay_type">TEARS</E> <E n="overlay_body_location">FACE</E> <E n="overlay_weight">LIGHT</E> <T n="is_3d">False</T> </U> <U> ... </U> </L>
Below you will find each of the elements, what they do or are for, and what values are ok to put within them.
Element Name | Description | Values |
---|---|---|
part_id | This is the FNV64 decimal identifier of the CAS Part. In this case, 14202652467133993841 references an overlay CAS Part provided by Devious Desires. | An FNV64 Decimal Identifier |
part_display_name | The FNV32 hexidecimal identifier of a string in your String Table. This will be displayed when showing the part for selection. | An FNV32 Hexidecimal Identifier |
part_raw_display_name | The Raw display name of the CAS Part, this is used for sorting the CAS Part appropriately within the UI. It is recommend you match this text with text in your string table! | A string/text of whatever you want it to be. |
part_author | The name of the Author of the CAS Part. Most likely your name. | A string/text of the name of an Author, it can be whatever you want it to be. |
sim_type | This is the type of Sim this CAS Part is available. It specifies the Age, Species, and Occult Type that may use this CAS Part. Please note that Non-Occult Sim Types will be available for Occult Sim Types. i.e. ADULT_HUMAN will be available for ADULT_HUMAN_VAMPIRE, but ADULT_HUMAN_VAMPIRE will not be available for ADULT_HUMAN. | For a full list of Sim Types check out Common Sim Types |
available_for_genders | A list of genders this CAS Part will be available for. If not listed, it will be available for both Male and Female genders. | MALE, FEMALE |
part_tags | A list of CAS Part tags used for querying and organization of the CAS Part. | For a full list of CAS Part tags, check out DC CAS Part Tags |
part_game_tags | A list of game tags used for querying and organization of the CAS Part. | For a full list of Game tags, check out Common Game Tags |
part_custom_tags | A list of custom tags used for querying and organization of the CAS Part. | Since the values in this are custom, they can be whatever you want them to be. |
overlay_type | Describes the type of overlay this CAS Part is. | TEARS, BLUSH, CUM, MILK |
overlay_body_location | The location on a Sims body, the overlay applies onto. | EYES, FACE, MOUTH, CHEST, BELLY, BACK, LOWER_BACK, ANUS, VAGINA, PENIS, BUTT, BUTT_LEFT, BUTT_RIGHT, FEET, NIPPLE_LEFT, NIPPLE_RIGHT, NIPPLE_BOTH |
overlay_weight | Describes how heavy the overlay is visually, which determines when it will apply. The order overlays go in when updating an overlay is LIGHT -> MEDIUM -> HEAVY. During sex, when an overlay is applied, it is initially applied LIGHT. If a LIGHT overlay has already been applied, it will be upgraded to a MEDIUM overlay, then to a HEAVY overlay. | LIGHT, MEDIUM, HEAVY |
is_3d | Whether or not the overlay contains 3d vertices or if it is simply a texture. If set to True, it indicates the overlay has a 3D model. | True or False |
Strap-on CAS Part
Starting with the Strapon CAS Part Properties.
<L n="strapon_cas_parts_list"> <U> <T n="part_id">13287103063830156525</T> <T n="part_display_name">0x59859C0E<!--Strapon--></T> <T n="part_raw_display_name">Default Strapon (H)</T> <T n="part_author">DeviousDesires</T> <E n="sim_type">ADULT_HUMAN</E> <L n="available_for_genders"> <E>MALE</E> </L> <L n="part_custom_tags"> <T>YELLOW</T> </L> </U> <U> <T n="part_id">5432543</T> <T n="part_display_name">0x59859C0E<!--Strapon--></T> <T n="part_raw_display_name">Default Strapon 2 (H)</T> <T n="part_author">DeviousDesires</T> <E n="sim_type">ADULT_HUMAN</E> <L n="available_for_genders"> <E>FEMALE</E> <E>MALE</E> </L> </U> <U> ... </U> </L>
Below you will find each of the elements, what they do or are for, and what values are ok to put within them.
Element Name | Description | Values |
---|---|---|
part_id | This is the FNV64 decimal identifier of the CAS Part. In this case, 13287103063830156525 references the default Strap-on provided by Devious Desires. | An FNV64 Decimal Identifier |
part_display_name | The FNV32 hexidecimal identifier of a string in your String Table. This will be displayed when showing the part for selection. | An FNV32 Hexidecimal Identifier |
part_raw_display_name | The Raw display name of the CAS Part, this is used for sorting the CAS Part appropriately within the UI. It is recommend you match this text with text in your string table! | A string/text of whatever you want it to be. |
part_author | The name of the Author of the CAS Part. Most likely your name. | A string/text of the name of an Author, it can be whatever you want it to be. |
sim_type | This is the type of Sim this CAS Part is available. It specifies the Age, Species, and Occult Type that may use this CAS Part. Please note that Non-Occult Sim Types will be available for Occult Sim Types. i.e. ADULT_HUMAN will be available for ADULT_HUMAN_VAMPIRE, but ADULT_HUMAN_VAMPIRE will not be available for ADULT_HUMAN. | For a full list of Sim Types check out Common Sim Types |
available_for_genders | A list of genders this CAS Part will be available for. If not listed, it will be available for both Male and Female genders. | MALE, FEMALE |
part_tags | A list of CAS Part tags used for querying and organization of the CAS Part. | For a full list of CAS Part tags, check out DC CAS Part Tags |
part_game_tags | A list of game tags used for querying and organization of the CAS Part. | For a full list of Game tags, check out Common Game Tags |
part_custom_tags | A list of custom tags used for querying and organization of the CAS Part. | Since the values in this are custom, they can be whatever you want them to be. |