Interaction Tuning Resource
From SimsWiki
Revision as of 19:21, 15 September 2018 by ColonolNutty (Talk | contribs)
The fields defined in an interaction tuning resource
This table is a list of all possible fields found in an interaction tuning resource.
Field Name | Description |
---|---|
_saveable | Unknown Purpose |
outcome | Instructions on what to do after an interaction succeeds or fails |
Contents |
Header Example:
Resource Header(class(c), itemType(i), module(m), stringId(s))
<I c="ImmediateSuperInteraction" i="interaction" m="interactions.base.immediate_interaction" n="ExampleSuperInteractionOne" s="12345">
Property Name | Description |
---|---|
class(c) | The python class that will run the interaction |
itemType(i) | The resource type, in this case interaction meaning it is an Interaction Tuning Resource |
module(m) | The python namespace to the class |
stringId(s) | The tuning resource identifier, for usage within python. It should be the resource Key in decimal notation. |
Field Examples:
NOTE: All elements below have both type(t) and name(n) (A few elements can omit the name).
_saveable(type(t), name(n))
t=enabled
<V t="enabled" n="_saveable"> <Unknown Code> </V>
t=disabled
<V t="disabled" n="_saveable" />
outcome(type(t), name(n))
t=single
<V t="single" n="outcome"> <U n="single"> <U n="actions"> <!-- List of actions to perform on sims --> <L n="continuation"> <U> <T n="affordance">10451411205084654091</T> <!-- The Decimal Identifier of the interaction to push in the queue of this sim --> <T n="si_affordance_override">9553480838726705593</T> <!-- The Decimal Identifier of the Super Interaction to make this interaction a sub of --> <!-- If the interaction is between two Teen/YA/Adult/Elder sims use sim_chat) --> sims/pets)--> <!-- If the super interaction has the field "visible" set to "false" this interaction will interaction will be invisible --> <E n="target">TargetSim</E> <!-- The target of this outcome (Actor/TargetSim) --> </U> <U> <T n="affordance">10451411205084654091</T> <T n="si_affordance_override">9553480838726705593</T> <E n="target">Actor</E> </U> </L> <T n="force_outcome_on_exit">True</T> <!-- If True, one of the above outcomes WILL be picked when the interaction ends --> </U> </U> </V>
t=test_based
<V t="single" n="outcome"> <TODO> </V>
TS4PR Tuning Resources by Name | |
---|---|