Post by Deleted on Dec 14, 2021 17:42:47 GMT -5
For context, I have a candle with both a _FX_ slot, and an _FX_1 slot. Currently, only the _FX_ is functional.
Now, I'd rather not use the aom candle, as it has no light, or working vertex colors. So instead I used this tutorial to make a single flame; and would like to add an additional flame to create a double sided candle.
That being said, I noticed a large difference between how aom's object tuning is coded, and how mine is, because in aom all the FX slots are identified, and assigned effect names.
Here is an example of what I mean:
This isn't the case for the code I want to alter. The singular FX slot isn't even mentioned, as you can see:
Now, I'd rather not use the aom candle, as it has no light, or working vertex colors. So instead I used this tutorial to make a single flame; and would like to add an additional flame to create a double sided candle.
That being said, I noticed a large difference between how aom's object tuning is coded, and how mine is, because in aom all the FX slots are identified, and assigned effect names.
Here is an example of what I mean:
<U>
<T n="effect_name">gp1_Obj_kwanzaa_day_01</T>
<V n="joint_name" t="Slot">
<T n="Slot">_FX_1</T>
</V>
</U>
<U>
<T n="effect_name">gp1_Obj_kwanzaa_day_01</T>
<V n="joint_name" t="Slot">
<T n="Slot">_FX_2</T>
</V>
</U>
This isn't the case for the code I want to alter. The singular FX slot isn't even mentioned, as you can see:
<?xml version="1.0" encoding="utf-8"?>
<I c="GameObject" i="object" m="objects.game_object" n="ktn:xlm9" s="18253905475417682893">
<U n="_components">
<V n="focus" t="enabled">
<U n="enabled">
<V n="_focus_score" t="globally">
<U n="globally">
<E n="base">NONE</E>
</U>
</V>
</U>
</V>
<V n="lighting" t="enabled">
<U n="enabled">
<L n="component_interactions">
<T>120287<!--lights_TurnOn_Candle--></T>
<T>120288<!--lights_TurnOff_Candle--></T>
<T>214715<!--lights_TurnOffAll_Candle--></T>
<T>120303<!--lights_TurnOnAll_Candles--></T>
<T>120302<!--lights_AutomateAll_Candles--></T>
<T>120313<!--lights_AutomateThis_Candle--></T>
<T>241033<!--changeLightColorIntensity_All_Candles--></T>
<T>120317<!--changeLightColorIntensity_ThisCandle--></T>
<T>254205<!--debug_Immediate_Lighting_Set_Flickering_Off--></T>
<T>254203<!--debug_Immediate_Lighting_Set_Flickering_On--></T>
</L>
<V n="light_states" t="enabled">
<U n="enabled">
<T n="off_state_value">239789<!--Lighting_Off--></T>
<T n="on_state_value">239788<!--Lighting_On--></T>
</U>
</V>
<V n="visual_effect" t="enabled">
<U n="enabled">
<T n="effect_name">gp1_Obj_kwanzaa_day_01</T>
</U>
</V>
</U>
</V>
<V n="retail_component" t="enabled">
<V n="enabled" t="reference">
<T n="reference">115301<!--retailComponent_Default_LowAppeal--></T>
</V>
</V>
<V n="state" t="enabled">
<U n="enabled">
<L n="state_triggers">
<U>
<L n="at_states">
<T>77532<!--FireState_Burn_Material_Change_Replace--></T>
</L>
<V n="set_states" t="Set_state_list">
<L n="Set_state_list">
<T>39737<!--FireState_Burn_Material_Change_Not_Burning--></T>
</L>
</V>
</U>
</L>
<L n="states">
<U>
<L n="client_states">
<U>
<T n="key">131794<!--Kelpto_Stolen_Object--></T>
</U>
<U>
<T n="key">131795<!--Klepto_Not_Stolen_Object--></T>
</U>
</L>
<V n="default_value" t="reference">
<T n="reference">131795<!--Klepto_Not_Stolen_Object--></T>
</V>
</U>
<U>
<L n="client_states">
<U>
<T n="key">254199<!--lightFlickeringState_Values_On--></T>
</U>
<U>
<T n="key">254200<!--lightFlickeringState_Values_Off--></T>
</U>
</L>
<V n="default_value" t="reference">
<T n="reference">254200<!--lightFlickeringState_Values_Off--></T>
</V>
<T n="reset_on_load_if_time_passes">True</T>
<T n="reset_to_default">True</T>
</U>
<U>
<L n="client_states">
<U>
<T n="key">131794<!--Kelpto_Stolen_Object--></T>
</U>
<U>
<T n="key">131795<!--Klepto_Not_Stolen_Object--></T>
</U>
</L>
<V n="default_value" t="reference">
<T n="reference">131795<!--Klepto_Not_Stolen_Object--></T>
</V>
</U>
<U>
<L n="client_states">
<U>
<T n="key">137056</T>
</U>
<U>
<T n="key">137057</T>
</U>
</L>
<V n="default_value" t="reference">
<T n="reference">137057</T>
</V>
</U>
<U>
<L n="client_states">
<U>
<T n="key">39611<!--FireState_Burn_Material_Change--></T>
</U>
<U>
<T n="key">39736<!--FireState_Burn_Material_Change_Burning--></T>
</U>
<U>
<T n="key">39737<!--FireState_Burn_Material_Change_Not_Burning--></T>
</U>
<U>
<T n="key">77532<!--FireState_Burn_Material_Change_Replace--></T>
</U>
</L>
<V n="default_value" t="reference">
<T n="reference">39737<!--FireState_Burn_Material_Change_Not_Burning--></T>
</V>
</U>
<U>
<L n="client_states">
<U>
<T n="key">35956<!--Materialistic_Admired--></T>
</U>
<U>
<T n="key">35957<!--Materialistic_YetToAdmire--></T>
</U>
</L>
<V n="default_value" t="reference">
<T n="reference">35957<!--Materialistic_YetToAdmire--></T>
</V>
</U>
<U>
<L n="client_states">
<U>
<T n="key">239788<!--Lighting_On--></T>
<U n="value">
<V n="autonomy_modifiers" t="leave_unchanged" />
</U>
</U>
<U>
<T n="key">239789<!--Lighting_Off--></T>
<U n="value">
<V n="autonomy_modifiers" t="apply_new_value" />
</U>
</U>
</L>
<V n="default_value" t="reference">
<T n="reference">239789<!--Lighting_Off--></T>
</V>
</U>
</L>
<V n="timed_state_triggers" t="enabled">
<L n="enabled">
<U>
<T n="key">254199<!--lightFlickeringState_Values_On--></T>
<U n="value">
<L n="ops">
<U>
<L n="states_to_trigger">
<T>254200<!--lightFlickeringState_Values_Off--></T>
</L>
<T n="trigger_time">10</T>
</U>
</L>
</U>
</U>
</L>
</V>
</U>
</V>
<V n="tooltip_component" t="enabled" />
</U>
<L n="_super_affordances">
<T>13328<!--debug_Reset--></T>
<T>13326<!--debug_ObjectDestroy--></T>
<T>103888<!--cheat_set_as_head--></T>
<T>196759</T>
<T>106859</T>
<T>74457<!--fire_ReplaceBurntObject--></T>
</L>
<U n="recycling_data">
<L n="recycling_values">
<U>
<E n="Bucks Type">RecycleBitsBucks</E>
<T n="Value">0.75</T>
</U>
<U>
<E n="Bucks Type">RecyclePiecesBucks</E>
<T n="Value">0.25</T>
</U>
</L>
</U>
</I>