Difference between revisions of "Interaction Tuning Resource"
From SimsWiki
ColonolNutty (Talk | contribs) |
ColonolNutty (Talk | contribs) |
||
Line 5: | Line 5: | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
! style="background:#ccf;" | Field Name | ! style="background:#ccf;" | Field Name | ||
− | |||
! style="background:#ccf;" | Description | ! style="background:#ccf;" | Description | ||
|- | |- | ||
− | | _saveable | + | | _saveable || Unknown Purpose |
|- | |- | ||
− | | outcome | + | | outcome || Instructions on what to do after an interaction succeeds or fails |
|- | |- | ||
|} | |} |
Revision as of 19:15, 15 September 2018
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). Name must match the python name (without the "_" portion in the name)
_saveable(type(t), name(n))
enabled
<V t="enabled" n="_saveable"> <Unknown Code> </V>
disabled
<V t="disabled" n="_saveable" />
outcome
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>
TS4PR Tuning Resources by Name | |
---|---|