Strec Posted March 10, 2017 Posted March 10, 2017 Hello. Want to try modding on TS4 but just starting to learn To do a test, i got a mod in which autonoms sims do gardening and I want to try to modify it so only sims with 'one with nature' can be concerned. Here is a part of the code concerning, I suppose,the restrictions : <I c="SuperInteraction" i="interaction" m="interactions.base.super_interaction" n="Gardening_Plant_Evolve" s="39335"> <L n="_constraints"> <U> <L n="constraints"> <U> <E n="key">HUMAN</E> <V n="value" t="circle"> <U n="circle"> <T n="ideal_radius">0.7</T> <T n="radius">2</T> </U> </V> </U> </L> </U> <U> <L n="constraints"> <U> <T n="primary_trait">12C11</T> <E n="key">HUMAN</E> <V n="value" t="facing"> <U n="facing"> <T n="inner_radius">0</T> <T n="range">20</T> </U> </V> </U> </L> </U> </L> I think human in a radius are concerned but how can I add a restriction like 'humans with this trait' (12C11)?
TURBODRIVER Posted March 10, 2017 Posted March 10, 2017 Hey! Constraints are related only to sims position and orientation, this way you can make a sim look at something or go somewhere. To test for things you need to look at "tests" and "test_globals". If you want to test traits for example.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now