Replies: 3 (Who?), Viewed: 634 times.
#1
24th Jul 2020 at 11:03 PM

Posts: 1
Please help with adding trait conflicts

If anyone would be willing to give me a step by step explanation of the process of adding conflict, I would be most grateful.
Thanks in advanced,
The Dragon Warrior
Advertisement
#2
26th Jul 2020 at 2:44 PM

Posts: 90
Thanks: 1848 in 5 Posts
I use sims 4 studio for modding so cant help with mod constuctor. However you want to open up your trait tuning file and add this line of code in
You will need to find the tuning id of the traits you want it to conflict with. You can do this with sims 4 studio by clicking tools and choosing extract tuning. In the search bar type trait/trait and look for the traits you want your conflicts with. Click add to current package.
The first line of coding for the trait tuning files you just added will look similar to the above. You want to copy the number (in the case above the number 16844 and go back to your own traits tuning file and insert the number in the conflicting traits section.
Code:
<T n="cas_trait_asm_param">HatesChildren</T> <L n="conflicting_traits"> <T>16838<!--trait_FamilyOriented--></T>
You will need to find the tuning id of the traits you want it to conflict with. You can do this with sims 4 studio by clicking tools and choosing extract tuning. In the search bar type trait/trait and look for the traits you want your conflicts with. Click add to current package.
Code:
<I c="Trait" i="trait" m="traits.traits" n="trait_HatesChildren" s="16844">
The first line of coding for the trait tuning files you just added will look similar to the above. You want to copy the number (in the case above the number 16844 and go back to your own traits tuning file and insert the number in the conflicting traits section.
Code:
<T n="cas_trait_asm_param">HatesChildren</T> <L n="conflicting_traits"> <T>16844<!--trait_FamilyOriented--></T>
#3
4th Aug 2020 at 5:25 AM

Posts: 384
Thanks: 6223 in 17 Posts
You can only do it in Sims 4 Studio. I've never been able to add a conflict in Mod Constructor.
View all My Sims 4 Creations here https://kiarasimsfourmods.home.blog/
Creators & Support Discord - https://discord.com/invite/9Ys7SYT
KiaraSims4Mods Discord - https://discord.com/invite/TykFPkY
View all My Sims 4 Creations here https://kiarasimsfourmods.home.blog/
Creators & Support Discord - https://discord.com/invite/9Ys7SYT
KiaraSims4Mods Discord - https://discord.com/invite/TykFPkY
#4
5th Aug 2020 at 6:53 AM

Posts: 113
Thanks: 1136 in 11 Posts
What I do- as do others who have conflicts in their traits, I presume- is make my traits in Constructor and edit them in Studio. What you want to do is edit the Sim Data and Trait Tuning of your traits. For example, one of my traits conflicts with Evil, Mean, and Hot-Headed, so here is the code in Sim Data:
And Trait Tuning:
However. What the previous posters failed to clarify is that if you just do this and call it a day, you'll only get a half conflict. That is, if you select my trait, Evil/Mean/Hot-Headed will be greyed out, but if you select, say, Evil, my trait will not be greyed out, and will be selectable- meaning you can have them together as long as you select Evil/Mean/Hot-Headed first. This is not good!
So you have to click Tools -> Extract Tuning..., search for and insert the data for the relevant traits, and add your trait to the conflicts list. This will also mean your mod will be incompatible with any other mods that have the same trait involved in a conflict, meaning only one mod's conflicts will register, but it is what it is.
Code:
<L name="conflicting_traits"> <T type="TableSetReference">16836</T> <T type="TableSetReference">16857</T> <T type="TableSetReference">16845</T> </L>
And Trait Tuning:
Code:
<L n="conflicting_traits"> <T>16836</T> <T>16857</T> <T>16845</T> </L>
However. What the previous posters failed to clarify is that if you just do this and call it a day, you'll only get a half conflict. That is, if you select my trait, Evil/Mean/Hot-Headed will be greyed out, but if you select, say, Evil, my trait will not be greyed out, and will be selectable- meaning you can have them together as long as you select Evil/Mean/Hot-Headed first. This is not good!
So you have to click Tools -> Extract Tuning..., search for and insert the data for the relevant traits, and add your trait to the conflicts list. This will also mean your mod will be incompatible with any other mods that have the same trait involved in a conflict, meaning only one mod's conflicts will register, but it is what it is.
Who Posted
|