Post by simguy80 on Sept 17, 2020 16:07:55 GMT -5
Requirement - XMLInjector - Direct Link: scumbumbomods.com/s/XmlInjector_v3_ObjectsWithTagFix.zip
XMLInjector Web Site: scumbumbomods.com/xml-injector
My package: www.simfileshare.net/download/2066331/
I've got the basics down, but need help refining it.
Basically I've made it so when you click a Sim it gives them loot, which in turn uses a buff to assign the default CAS nude mesh. For the socks and tights it assigns new invisible CAS.
Here are some issues I would like to tackle:
1. Be able to save the buff to a savefile. (Not sure if this is the correct terminology?)
Right now if you save and load a file Sims go back to their original state.
2. Be able to "blacklist" or "whitelist" specific clothing types the current Sim may or may not be wearing so the menu item will/won't show up.
Solved: TS4 Tuning Description Browser has been a huge help finding the appropriate codes I need. TargetSim is used for the inActiveSim interaction.
3. Align the icons on the menu items so they go to the edge.
I really hope there's someone here with better knowhow that can help me out with even one of these points!
Thanks!
XMLInjector Web Site: scumbumbomods.com/xml-injector
My package: www.simfileshare.net/download/2066331/
I've got the basics down, but need help refining it.
Basically I've made it so when you click a Sim it gives them loot, which in turn uses a buff to assign the default CAS nude mesh. For the socks and tights it assigns new invisible CAS.
Here are some issues I would like to tackle:
1. Be able to save the buff to a savefile. (Not sure if this is the correct terminology?)
Right now if you save and load a file Sims go back to their original state.
Solved: Did a bit of "jumping through hoops" by assigning an invisible Trait to a Sim so the buffs are always assigned them.
Solved: TS4 Tuning Description Browser has been a huge help finding the appropriate codes I need. TargetSim is used for the inActiveSim interaction.
<V t="outfit_body_types">
<U n="outfit_body_types">
<U n="body_types">
<V n="whitelist" t="specify">
<U n="specify">
<L n="whitelist">
<E>SOCKS</E>
</L>
</U>
</V>
</U>
<E n="subject">TargetSim</E>
</U>
</V
3. Align the icons on the menu items so they go to the edge.
4. Naked Barbie warning!
Pixelate when taking off pants. Also, make it so Sim's thumbnail works like the default nude so Sim isn't saved with pants off.
(I'm thinking maybe the switch_outfit_Towel_Active script could be used as a template accept for the EnterBathing outfit? Make it so all your current clothing stays on accept the pants. Not sure if it's possible since testing always seem to result in random parts being assigned or everything just stays the same?)
I already figured out age restrict with borrowing tuning from changeOutfit_Nude_BG and adding buff_Clothing_Nude buff to the loot lists.
5. I'd really like the Sim to spin before changing. You can see it's already in the Interaction Tunings, but it doesn't use it.
Solved: Adding the animation to basic_content before basic_extras does the trick!
6. Remove all the buffs when clicking Change Outfit... so the thumbnails won't have the removed clothing items. (I tried, but not sure if I can add loot in changeOutfitPicker_Actor.)
Solved: In the buff I added the line <T n="apply_to_all_outfits">False</T>. The current outfit is still displayed without the clothing items but I think I'm fine with that. changeOutfit_FromPicker then removes the buffs.
Pixelate when taking off pants. Also, make it so Sim's thumbnail works like the default nude so Sim isn't saved with pants off.
(I'm thinking maybe the switch_outfit_Towel_Active script could be used as a template accept for the EnterBathing outfit? Make it so all your current clothing stays on accept the pants. Not sure if it's possible since testing always seem to result in random parts being assigned or everything just stays the same?)
I already figured out age restrict with borrowing tuning from changeOutfit_Nude_BG and adding buff_Clothing_Nude buff to the loot lists.
<V t="buff">
<U n="buff">
<U n="buff">
<T n="buff_type">128807<!--buff_Clothing_Nude--></T>
</U>
</U>
</V>
5. I'd really like the Sim to spin before changing. You can see it's already in the Interaction Tunings, but it doesn't use it.
Solved: Adding the animation to basic_content before basic_extras does the trick!
<V n="basic_content" t="one_shot">
<U n="one_shot">
<U n="animation_ref">
<T n="factory">96791<!--OutfitChange_Canonical--></T>
</U>
</U>
</V
6. Remove all the buffs when clicking Change Outfit... so the thumbnails won't have the removed clothing items. (I tried, but not sure if I can add loot in changeOutfitPicker_Actor.)
Solved: In the buff I added the line <T n="apply_to_all_outfits">False</T>. The current outfit is still displayed without the clothing items but I think I'm fine with that. changeOutfit_FromPicker then removes the buffs.
I really hope there's someone here with better knowhow that can help me out with even one of these points!
Thanks!