Post by Bakie on Nov 2, 2016 7:24:46 GMT -5
Hello!
I was wondering if someone knows how to get the on/off interactions on objects to activate an effect.
My object already has the effect I want it to have, but I want people to be able to set it on and off.
One of the objects I already looked at is AOM's;AOM_Deco_8Candles, which has a light on and off switch to it.
But I don't think that's really the thing I'm looking for as my effect isn't a light, but maybe I'm wrong about that as the candle effect is just an effect too.
After that, I looked at the "Ghost Laser Light Show" I don't know the english word of it, but in Studio you can search for it by typing down 1A60E
This is what the tuning of this object looks like:
<?xml version="1.0" encoding="utf-8"?>
<I c="GameObject" i="object" m="objects.game_object" n="object_laserLightShow_Ghost" s="126645">
<U n="_components">
<V n="idle_component" t="enabled">
<U n="enabled">
<L n="idle_animation_map">
<U>
<T n="key">35296<!--GenericOnOff_On--></T>
<T n="value">35300<!--idle_laserLightShow_On--></T>
</U>
<U>
<T n="key">35297<!--GenericOnOff_Off--></T>
<T n="value">35416<!--idle_laserLightShow_Off--></T>
</U>
</L>
</U>
</V>
<V n="proximity_component" t="enabled">
<U n="enabled">
<L n="buffs">
<T>35451<!--buff_Object_laserLightShow--></T>
</L>
</U>
</V>
<V n="retail_component" t="enabled">
<V n="enabled" t="reference">
<T n="reference">115303<!--retailComponent_Default_HighAppeal--></T>
</V>
</V>
<V n="state" t="enabled">
<U n="enabled">
<L n="state_triggers">
<U>
<L n="at_states">
<T>35297<!--GenericOnOff_Off--></T>
</L>
<V n="set_states" t="Set_state_list">
<L n="Set_state_list">
<T>35337<!--LaserLightShow_Rotation_Off--></T>
</L>
</V>
</U>
<U>
<L n="at_states">
<T>35296<!--GenericOnOff_On--></T>
</L>
<V t="Set_state_list" n="set_states">
<L n="Set_state_list">
<T>35328<!--LaserLightShow_Rotation_Start--></T>
</L>
</V>
</U>
<U>
<L n="at_states">
<T>35334<!--LaserLightShow_Rotation_Reset--></T>
<T>35296<!--GenericOnOff_On--></T>
</L>
<V t="Set_state_list" n="set_states">
<L n="Set_state_list">
<T>35328<!--LaserLightShow_Rotation_Start--></T>
</L>
</V>
</U>
<U>
<L n="at_states">
<T>39611<!--FireState_Burn_Material_Change--></T>
</L>
<V n="set_states" t="Set_state_list">
<L n="Set_state_list">
<T>35297<!--GenericOnOff_Off--></T>
</L>
</V>
</U>
<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">35296<!--GenericOnOff_On--></T>
</U>
<U>
<T n="key">35297<!--GenericOnOff_Off--></T>
</U>
</L>
<V n="default_value" t="reference">
<T n="reference">35297<!--GenericOnOff_Off--></T>
</V>
</U>
<U>
<L n="client_states">
<U>
<T n="key">35328<!--LaserLightShow_Rotation_Start--></T>
<U n="value">
<V n="vfx_state" t="apply_new_value">
<V n="apply_new_value" t="start_vfx">
<V n="start_vfx" t="single_effect">
<U n="single_effect">
<T n="effect_name">sp04_ghost_lamp</T>
</U>
</V>
</V>
</V>
</U>
</U>
<U>
<T n="key">35329<!--LaserLightShow_Rotation_Bunny--></T>
<U n="value">
<V n="vfx_state" t="apply_new_value">
<V n="apply_new_value" t="start_vfx">
<V n="start_vfx" t="single_effect">
<U n="single_effect">
<T n="effect_name">sp04_ghost_lamp</T>
</U>
</V>
</V>
</V>
</U>
</U>
<U>
<T n="key">35330<!--LaserLightShow_Rotation_Rocker--></T>
<U n="value">
<V n="vfx_state" t="apply_new_value">
<V n="apply_new_value" t="start_vfx">
<V n="start_vfx" t="single_effect">
<U n="single_effect">
<T n="effect_name">sp04_ghost_lamp</T>
</U>
</V>
</V>
</V>
</U>
</U>
<U>
<T n="key">35331<!--LaserLightShow_Rotation_Llama--></T>
<U n="value">
<V n="vfx_state" t="apply_new_value">
<V n="apply_new_value" t="start_vfx">
<V n="start_vfx" t="single_effect">
<U n="single_effect">
<T n="effect_name">sp04_ghost_lamp</T>
</U>
</V>
</V>
</V>
</U>
</U>
<U>
<T n="key">35332<!--LaserLightShow_Rotation_Random1--></T>
<U n="value">
<V n="vfx_state" t="apply_new_value">
<V n="apply_new_value" t="start_vfx">
<V n="start_vfx" t="single_effect">
<U n="single_effect">
<T n="effect_name">sp04_ghost_lamp</T>
</U>
</V>
</V>
</V>
</U>
</U>
<U>
<T n="key">35333<!--LaserLightShow_Rotation_Random2--></T>
<U n="value">
<V n="vfx_state" t="apply_new_value">
<V n="apply_new_value" t="start_vfx">
<V n="start_vfx" t="single_effect">
<U n="single_effect">
<T n="effect_name">sp04_ghost_lamp</T>
</U>
</V>
</V>
</V>
</U>
</U>
<U>
<T n="key">35334<!--LaserLightShow_Rotation_Reset--></T>
<U n="value">
<V n="vfx_state" t="apply_new_value">
<V n="apply_new_value" t="start_vfx">
<V n="start_vfx" t="single_effect">
<U n="single_effect">
<T n="effect_name">sp04_ghost_lamp</T>
</U>
</V>
</V>
</V>
</U>
</U>
<U>
<T n="key">35337<!--LaserLightShow_Rotation_Off--></T>
</U>
</L>
<V n="default_value" t="reference">
<T n="reference">35337<!--LaserLightShow_Rotation_Off--></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 t="reference" n="default_value">
<T n="reference">35957<!--Materialistic_YetToAdmire--></T>
</V>
</U>
</L>
</U>
</V>
</U>
<L n="_super_affordances">
<T>35344<!--si_LaserLightShow_TurnOn--></T>
<T>13328<!--debug_Reset--></T>
<T>13326<!--debug_ObjectDestroy--></T>
<T>103888<!--cheat_set_as_head--></T>
<T>35346<!--si_LaserLightShow_TurnOff--></T>
<T>35438<!--si_LaserLightShow_Watch--></T>
<T>106859</T>
<T>74457<!--fire_ReplaceBurntObject--></T>
<T>35954<!--object_Materialistic_AdmirePossessions--></T>
<T>31586<!--object_Insane_TalkToObjects--></T>
<T>102258<!--Ghost_Possess--></T>
</L>
</I>
Changing the effect on this object works, but then it still got the sounds of the original ghost light show thingy, which I don't want.
I also don't know how to delete only the sounds of this object.
I don't know about other objects which have a more simpler on/off switch on them to activate just ones single effect.
I will probably also have to change more then just this object tuning, like interaction tuning or maybe state tuning too. I just don't know which ones and how.. :( Is there someone with more knowledge about this?
I was wondering if someone knows how to get the on/off interactions on objects to activate an effect.
My object already has the effect I want it to have, but I want people to be able to set it on and off.
One of the objects I already looked at is AOM's;AOM_Deco_8Candles, which has a light on and off switch to it.
But I don't think that's really the thing I'm looking for as my effect isn't a light, but maybe I'm wrong about that as the candle effect is just an effect too.
After that, I looked at the "Ghost Laser Light Show" I don't know the english word of it, but in Studio you can search for it by typing down 1A60E
This is what the tuning of this object looks like:
<?xml version="1.0" encoding="utf-8"?>
<I c="GameObject" i="object" m="objects.game_object" n="object_laserLightShow_Ghost" s="126645">
<U n="_components">
<V n="idle_component" t="enabled">
<U n="enabled">
<L n="idle_animation_map">
<U>
<T n="key">35296<!--GenericOnOff_On--></T>
<T n="value">35300<!--idle_laserLightShow_On--></T>
</U>
<U>
<T n="key">35297<!--GenericOnOff_Off--></T>
<T n="value">35416<!--idle_laserLightShow_Off--></T>
</U>
</L>
</U>
</V>
<V n="proximity_component" t="enabled">
<U n="enabled">
<L n="buffs">
<T>35451<!--buff_Object_laserLightShow--></T>
</L>
</U>
</V>
<V n="retail_component" t="enabled">
<V n="enabled" t="reference">
<T n="reference">115303<!--retailComponent_Default_HighAppeal--></T>
</V>
</V>
<V n="state" t="enabled">
<U n="enabled">
<L n="state_triggers">
<U>
<L n="at_states">
<T>35297<!--GenericOnOff_Off--></T>
</L>
<V n="set_states" t="Set_state_list">
<L n="Set_state_list">
<T>35337<!--LaserLightShow_Rotation_Off--></T>
</L>
</V>
</U>
<U>
<L n="at_states">
<T>35296<!--GenericOnOff_On--></T>
</L>
<V t="Set_state_list" n="set_states">
<L n="Set_state_list">
<T>35328<!--LaserLightShow_Rotation_Start--></T>
</L>
</V>
</U>
<U>
<L n="at_states">
<T>35334<!--LaserLightShow_Rotation_Reset--></T>
<T>35296<!--GenericOnOff_On--></T>
</L>
<V t="Set_state_list" n="set_states">
<L n="Set_state_list">
<T>35328<!--LaserLightShow_Rotation_Start--></T>
</L>
</V>
</U>
<U>
<L n="at_states">
<T>39611<!--FireState_Burn_Material_Change--></T>
</L>
<V n="set_states" t="Set_state_list">
<L n="Set_state_list">
<T>35297<!--GenericOnOff_Off--></T>
</L>
</V>
</U>
<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">35296<!--GenericOnOff_On--></T>
</U>
<U>
<T n="key">35297<!--GenericOnOff_Off--></T>
</U>
</L>
<V n="default_value" t="reference">
<T n="reference">35297<!--GenericOnOff_Off--></T>
</V>
</U>
<U>
<L n="client_states">
<U>
<T n="key">35328<!--LaserLightShow_Rotation_Start--></T>
<U n="value">
<V n="vfx_state" t="apply_new_value">
<V n="apply_new_value" t="start_vfx">
<V n="start_vfx" t="single_effect">
<U n="single_effect">
<T n="effect_name">sp04_ghost_lamp</T>
</U>
</V>
</V>
</V>
</U>
</U>
<U>
<T n="key">35329<!--LaserLightShow_Rotation_Bunny--></T>
<U n="value">
<V n="vfx_state" t="apply_new_value">
<V n="apply_new_value" t="start_vfx">
<V n="start_vfx" t="single_effect">
<U n="single_effect">
<T n="effect_name">sp04_ghost_lamp</T>
</U>
</V>
</V>
</V>
</U>
</U>
<U>
<T n="key">35330<!--LaserLightShow_Rotation_Rocker--></T>
<U n="value">
<V n="vfx_state" t="apply_new_value">
<V n="apply_new_value" t="start_vfx">
<V n="start_vfx" t="single_effect">
<U n="single_effect">
<T n="effect_name">sp04_ghost_lamp</T>
</U>
</V>
</V>
</V>
</U>
</U>
<U>
<T n="key">35331<!--LaserLightShow_Rotation_Llama--></T>
<U n="value">
<V n="vfx_state" t="apply_new_value">
<V n="apply_new_value" t="start_vfx">
<V n="start_vfx" t="single_effect">
<U n="single_effect">
<T n="effect_name">sp04_ghost_lamp</T>
</U>
</V>
</V>
</V>
</U>
</U>
<U>
<T n="key">35332<!--LaserLightShow_Rotation_Random1--></T>
<U n="value">
<V n="vfx_state" t="apply_new_value">
<V n="apply_new_value" t="start_vfx">
<V n="start_vfx" t="single_effect">
<U n="single_effect">
<T n="effect_name">sp04_ghost_lamp</T>
</U>
</V>
</V>
</V>
</U>
</U>
<U>
<T n="key">35333<!--LaserLightShow_Rotation_Random2--></T>
<U n="value">
<V n="vfx_state" t="apply_new_value">
<V n="apply_new_value" t="start_vfx">
<V n="start_vfx" t="single_effect">
<U n="single_effect">
<T n="effect_name">sp04_ghost_lamp</T>
</U>
</V>
</V>
</V>
</U>
</U>
<U>
<T n="key">35334<!--LaserLightShow_Rotation_Reset--></T>
<U n="value">
<V n="vfx_state" t="apply_new_value">
<V n="apply_new_value" t="start_vfx">
<V n="start_vfx" t="single_effect">
<U n="single_effect">
<T n="effect_name">sp04_ghost_lamp</T>
</U>
</V>
</V>
</V>
</U>
</U>
<U>
<T n="key">35337<!--LaserLightShow_Rotation_Off--></T>
</U>
</L>
<V n="default_value" t="reference">
<T n="reference">35337<!--LaserLightShow_Rotation_Off--></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 t="reference" n="default_value">
<T n="reference">35957<!--Materialistic_YetToAdmire--></T>
</V>
</U>
</L>
</U>
</V>
</U>
<L n="_super_affordances">
<T>35344<!--si_LaserLightShow_TurnOn--></T>
<T>13328<!--debug_Reset--></T>
<T>13326<!--debug_ObjectDestroy--></T>
<T>103888<!--cheat_set_as_head--></T>
<T>35346<!--si_LaserLightShow_TurnOff--></T>
<T>35438<!--si_LaserLightShow_Watch--></T>
<T>106859</T>
<T>74457<!--fire_ReplaceBurntObject--></T>
<T>35954<!--object_Materialistic_AdmirePossessions--></T>
<T>31586<!--object_Insane_TalkToObjects--></T>
<T>102258<!--Ghost_Possess--></T>
</L>
</I>
Changing the effect on this object works, but then it still got the sounds of the original ghost light show thingy, which I don't want.
I also don't know how to delete only the sounds of this object.
I don't know about other objects which have a more simpler on/off switch on them to activate just ones single effect.
I will probably also have to change more then just this object tuning, like interaction tuning or maybe state tuning too. I just don't know which ones and how.. :( Is there someone with more knowledge about this?