mr.lister Posted March 18, 2021 Share Posted March 18, 2021 Hi all, I would like to use Dress Options for some of my mods to show them as undressed. I'm currently using separated .tx (or .zip) files for each mod. (For example I have a shirt, that has 3 variants. fully dressed, few buttons untucked, all buttons untucked, etc ). I would like to use them in a single .tx file. For exampled R9Panty017 has few undress options. (Pull side, pulled down) and all are in the same .tx file. Is it possible to use CollaTKane to automatically generate this? (I'm using version CTK 2.15) I have checked \Custom.03.Outfits\Scripts\DcDress_R9Panty017.bs located in Custom.03.Outfits.zip file and looks like it is the place that needed the additional coding. Can some one pls help me to understand how this works, in VX? Specially where these IDs coming from? Dress50004, Dress50005, etc. Can I use any value at my will? I'm posting the code below for someone to explain how it works. ? Sorry if I asked too muck of stupid questions here. ---\Custom.03.Outfits\Scripts\DcDress_R9Panty017.bs--- DressDescription :Dress50004_Description. { .DressID 50004i; .PrimaryZone 123i; .DressIconID 3557i; .Enable ( :EnableFemale || :EnableShemale ); }; if ( defined ( :Dress50004_Description ) ) { :Dress50004_Description. { .DressName "Panty Option 1"; }; } else { :Dress50004_Description. { .DressName " Panty Option 1 undefined?!?"; }; }; DressDescription :Dress50005_Description. { .DressID 50005i; .PrimaryZone 123i; .DressIconID 3557i; .Enable ( :EnableFemale || :EnableShemale ); }; if ( defined ( :Dress50005_Description ) ) { :Dress50005_Description. { .DressName "Panty Option 2"; }; } else { :Dress50005_Description. { .DressName " Panty Option 2 undefined?!?"; }; }; DressDescription :Dress50006_Description. { .DressID 50006i; .PrimaryZone 123i; .DressIconID 3557i; .Enable ( :EnableFemale || :EnableShemale ); }; if ( defined ( :Dress50006_Description ) ) { :Dress50006_Description. { .DressName "Panty Option 3"; }; } else { :Dress50006_Description. { .DressName " Panty Option 3 undefined?!?"; }; }; DressDescription :Dress50007_Description. { .DressID 50007i; .PrimaryZone 123i; .DressIconID 3557i; .Enable ( :EnableFemale || :EnableShemale ); }; if ( defined ( :Dress50007_Description ) ) { :Dress50007_Description. { .DressName "Panty Option 4"; }; } else { :Dress50007_Description. { .DressName " Panty Option 4 undefined?!?"; }; }; :Dress50004_Description. { .CmdArray % DressCmd. { .Show -1i; .Target + "R9Panty017:R9Panty017_pulled_mesh"; }; .CmdArray % DressCmd. { .Show -1i; .Target + "R9Panty017:R9Panty017_down_mesh"; }; .CmdArray % DressCmd. { .Show -1i; .Target + "R9Panty017:R9Panty017_aside_mesh"; }; }; :Dress50005_Description. { .CmdArray % DressCmd. { .Show -1i; .Target + "R9Panty017:R9Panty017_pulled_mesh"; }; .CmdArray % DressCmd. { .Show -1i; .Target + "R9Panty017:R9Panty017_down_mesh"; }; .CmdArray % DressCmd. { .Show -1i; .Target + "R9Panty017:R9Panty017_mesh"; }; }; :Dress50006_Description. { .CmdArray % DressCmd. { .Show -1i; .Target + "R9Panty017:R9Panty017_down_mesh"; }; .CmdArray % DressCmd. { .Show -1i; .Target + "R9Panty017:R9Panty017_aside_mesh"; }; .CmdArray % DressCmd. { .Show -1i; .Target + "R9Panty017:R9Panty017_mesh"; }; }; :Dress50007_Description. { .CmdArray % DressCmd. { .Show -1i; .Target + "R9Panty017:R9Panty017_pulled_mesh"; }; .CmdArray % DressCmd. { .Show -1i; .Target + "R9Panty017:R9Panty017_aside_mesh"; }; .CmdArray % DressCmd. { .Show -1i; .Target + "R9Panty017:R9Panty017_mesh"; }; }; DressDescription :Dress33717_Description. { .DressID 33717i; .SceneScriptFile [ :DressBaseDir + "AcR9Panty017", + "R9Panty017" ]; .DressName "Pull me Panty"; .PickNodeNameArray [ + "R9Panty017:R9Panty017_mesh"; + "R9Panty017:R9Panty017_down_mesh"; + "R9Panty017:R9Panty017_aside_mesh"; + "R9Panty017:R9Panty017_pulled_mesh"; ]; .CmdArray [ DressCmd. { .Show 1i; .Target + "R9Panty017:R9Panty017_group"; }; DressCmd. { .Target + "R9Panty017:R9Panty017_tex2d"; .ParamID 2i; .Attr @ TransformLayer.ColorAddHSV; .Value @ ( 0i, 0i, 0i ); }; ]; .PrimaryZone :DZ_Panties; .DressIconID 33717i; .Enable ( :EnableFemale || :EnableShemale ); }; 1 Link to comment
mr.lister Posted March 18, 2021 Author Share Posted March 18, 2021 I'm also attaching the original bs file for your reference. DcDress_R9Panty017.bs.txt 1 Link to comment
Daspex Posted March 20, 2021 Share Posted March 20, 2021 Hi, i never did any clothes so idk if its the same but the .bs code you attached looks pretty similar to the room options .lua files.I think you can use the id's at your own will but it could be that they have a specific range but idk exactly.I also dont know if the .bs code can be generated by ctk,maybe Marburg knows if its possible. 1 Link to comment
Recommended Posts