- Site Map >
- Modding and Creation >
- Sims 4 Creation >
- Modding Discussion >
- Really quick xml question
- Site Map >
- Modding and Creation >
- Sims 4 Creation >
- Modding Discussion >
- Really quick xml question
Replies: 0 (Who?), Viewed: 572 times.
#1
5th Apr 2020 at 5:24 PM
Last edited by ravayen : 5th Apr 2020 at 7:13 PM.
Posts: 6
Really quick xml question
in "cauldron_Experiment_Autonomous"is this part under periodic stat changes
<V t="statistic_set_max">
<U n="statistic_set_max">
<T n="advertise">False</T>
<T n="stat">222442<!--commodity_MagicVenueNPC_Autonomy--></T>
</U>
</V>
Can anyone tell me what <U n="statistic_set_max"> is being used for here?
I'm new to this so still learning (blindly stumbling) my way to understanding certain parts of code , i came across it while trying to make my household sims use the experiment on cauldron interactaction autonomously.
thnx to anyone that answers this.
For anyone interested this is the xml i currently have (ignore if you only want to answer the actual question thnx guys n gals
<?xml version="1.0" encoding="utf-8"?>
<I c="SuperInteraction" i="interaction" m="interactions.base.super_interaction" n="cauldron_Experiment_Autonomous" s="216189">
<L n="_false_advertisements">
<V t="statistic_change">
<U n="statistic_change">
<T n="amount">1</T>
<T n="stat">16655<!--motive_Fun--></T>
<L n="tests">
<L>
<V t="trait">
<U n="trait">
<L n="whitelist_traits">
<T>213061<!--trait_Occult_WitchOccult_Manifested--></T>
</L>
</U>
</V>
</L>
</L>
</U>
</V>
</L>
<V n="_saveable" t="enabled" />
<L n="_static_commodities">
<U>
<T n="static_commodity">218699<!--staticCommodity_MagicVenueNPC_Start--></T>
</U>
</L>
<T n="allow_autonomous">True</T>
<T n="allow_user_directed">False</T>
<V n="animation_stat" t="enabled">
<U n="enabled">
<V n="actor_stat" t="enabled">
<V n="enabled" t="single">
<U n="single">
<T n="item">213064<!--rankedStatistic_WitchOccult_WitchXP--></T>
</U>
</V>
</V>
</U>
</V>
<T n="attention_cost">0.5</T>
<V n="basic_content" t="flexible_length">
<U n="flexible_length">
<L n="conditional_actions">
<V t="literal">
<U n="literal">
<L n="conditions">
<V t="time_based">
<U n="time_based">
<T n="max_time">120</T>
<T n="min_time">60</T>
</U>
</V>
</L>
</U>
</V>
<V t="list_reference">
<T n="list_reference">40705<!--ExitConditionList_MotivesNearFail--></T>
</V>
</L>
<V n="content" t="staging_content">
<U n="staging_content">
<U n="content_set">
<L n="affordance_links">
<T>214116<!--mixer_Cauldron_NonCrafting_Brew--></T>
<T>214117<!--mixer_Cauldron_NonCrafting_Idles--></T>
<T>214118<!--mixer_Cauldron_NonCrafting_Stir--></T>
</L>
</U>
</U>
</V>
<V n="periodic_stat_change" t="enabled">
<U n="enabled">
<L n="operations">
<V t="statistic_set_max">
<U n="statistic_set_max">
<T n="stat">217260<!--commodity_Trait_Autonomy_Ghost_WitchOverload--></T>
<L n="tests">
<L>
<V t="trait">
<U n="trait">
<L n="whitelist_traits">
<T>216974<!--trait_Ghost_WitchOverload--></T>
</L>
</U>
</V>
<V t="sim_info">
<U n="sim_info">
<V n="npc" t="enabled">
<T n="enabled">True</T>
</V>
</U>
</V>
</L>
</L>
</U>
</V>
<V t="statistic_set_max">
<U n="statistic_set_max">
<T n="advertise">False</T>
<T n="stat">222442<!--commodity_MagicVenueNPC_Autonomy--></T>
</U>
</V>
</L>
</U>
</V>
<T n="start_autonomous_inertial">False</T>
</U>
</V>
<L n="basic_extras">
<V t="state_change">
<U n="state_change">
<V n="new_value" t="single_value">
<U n="single_value">
<T n="new_value">213633<!--cauldron_ProgressCommodity_InProgress--></T>
</U>
</V>
<V n="timing" t="immediately" />
</U>
</V>
<V t="state_change">
<U n="state_change">
<V n="new_value" t="single_value">
<U n="single_value">
<T n="new_value">219290<!--cauldron_Content_Experiment--></T>
</U>
</V>
<V n="timing" t="immediately" />
</U>
</V>
<V t="loot">
<U n="loot">
<L n="loot_list">
<T>214205<!--loot_Cauldron_Reset--></T>
</L>
</U>
</V>
<V t="loot">
<U n="loot">
<L n="loot_list">
<T>215302<!--loot_WitchOccult_UseWand_Add--></T>
</L>
<V n="timing" t="at_beginning" />
</U>
</V>
<V t="buff">
<U n="buff">
<U n="buff_type">
<T n="buff_type">123741<!--Buff_NoGreetings--></T>
</U>
<L n="subject">
<E>Actor</E>
</L>
</U>
</V>
<V t="buff_fire_and_forget">
<U n="buff_fire_and_forget">
<U n="buff">
<T n="buff_type">223356<!--buff_MagicVenueNPC_Experiment_Cooldown--></T>
</U>
<V n="timing" t="at_end">
<U n="at_end">
<E n="criticality">OnCancelOrException</E>
</U>
</V>
</U>
</V>
</L>
<L n="basic_liabilities">
<V t="route_goal_suppression" />
<V t="remove_buff">
<U n="remove_buff">
<T n="buff_to_remove">215320<!--buff_WitchOccult_UseWand--></T>
</U>
</V>
</L>
<V n="basic_reserve_object" t="enabled">
<U n="enabled">
<L n="subject_list">
<U>
<V n="reserve_type" t="multi" />
<L n="subject">
<E>Object</E>
</L>
</U>
</L>
</U>
</V>
<V n="canonical_animation" t="enabled">
<U n="enabled">
<T n="factory">213940<!--cauldron_Brew--></T>
</U>
</V>
<V n="content_score" t="disabled" />
<T n="display_name">0x387AD6A<!--Experiment--></T>
<U n="display_name_text_tokens">
<L n="tokens">
<V t="participant_type">
<U n="participant_type">
<V n="objects" t="from_participant">
<U n="from_participant">
<E n="participant">Actor</E>
</U>
</V>
</U>
</V>
<V t="participant_type">
<U n="participant_type">
<V n="objects" t="from_participant">
<U n="from_participant">
<E n="participant">Object</E>
</U>
</V>
</U>
</V>
</L>
</U>
<L n="interaction_category_tags">
<E>Interaction_Super</E>
<E>Interaction_All</E>
</L>
<U n="progress_bar_enabled">
<T n="bar_enabled">False</T>
</U>
<V n="route_start_balloon" t="enabled">
<U n="enabled">
<U n="balloon">
<T n="balloon_chance">50</T>
<L n="balloon_choices">
<U>
<V n="item" t="balloon_category">
<T n="balloon_category">219039<!--balloonCategory_Spellcasters_Potions_thought--></T>
</V>
</U>
</L>
<L n="balloon_target">
<E>Actor</E>
</L>
</U>
</U>
</V>
<E n="scoring_priority">NORMAL</E>
<T n="subaction_selection_weight">1</T>
<V n="super_affordance_compatibility" t="literal">
<U n="literal">
<V n="default_inclusion" t="exclude_all">
<U n="exclude_all">
<L n="include_affordances">
<T>13998<!--sim_Chat--></T>
</L>
</U>
</V>
</U>
</V>
<E n="target_type">OBJECT</E>
<L n="test_globals">
<V t="sim_info">
<U n="sim_info">
<V n="ages" t="specified" />
<V n="species" t="specified">
<U n="specified">
<L n="species">
<E />
</L>
</U>
</V>
<E n="who">Actor</E>
</U>
</V>
<V t="trait">
<U n="trait">
<L n="whitelist_traits">
<T>213061<!--trait_Occult_WitchOccult_Manifested--></T>
</L>
</U>
</V>
<V t="in_use">
<U n="in_use">
<T n="negate">True</T>
</U>
</V>
</L>
<L n="tests">
<L>
<V t="in_use">
<U n="in_use">
<T n="negate">True</T>
</U>
</V>
<V t="state">
<U n="state">
<T n="value">214197<!--cauldron_Content_None--></T>
</U>
</V>
</L>
<L>
<V t="state">
<U n="state">
<T n="value">219290<!--cauldron_Content_Experiment--></T>
</U>
</V>
<V t="in_use" />
</L>
</L>
<T n="time_overhead">30</T>
</I>
Edit:-
rather than make another topic for a short question does anyone know the maximum figure you can put for false advertising fun and other motives (for autonomy testing purposes)?
Who Posted
|