Hi there! You are currently browsing as a guest. Why not create an account? Then you get less ads, can thank creators, post feedback, keep a list of your favourites, and more!
Scholar
Original Poster
#1 Old 13th May 2017 at 9:49 PM
Default Add flames to a custom candelabra
Hi,

I would like to know if we are able to add one or several flames on lightings to create a custom candelabra.

Thanks,

Jim.
Advertisement
Icy Spicy
#2 Old 13th May 2017 at 11:07 PM
Quote: Originally posted by TheJim07
Hi,

I would like to know if we are able to add one or several flames on lightings to create a custom candelabra.

Thanks,

Jim.


Give your candelabra the holiday candle (Menorah etc.) tuning for multiple flames and adjust and delete the vfx according to your object height.
Scholar
Original Poster
#3 Old 14th May 2017 at 8:49 PM
Quote: Originally posted by icemunmun
Give your candelabra the holiday candle (Menorah etc.) tuning for multiple flames and adjust and delete the vfx according to your object height.

Can you please expand your answer and tell me how to do that ?
Icy Spicy
#4 Old 14th May 2017 at 9:11 PM
1. Use the Menorah as a base

2. Search for tuning :
object_light_table_holiday_candle
object_light_table_holiday_candle_menorah

3. Both the tunings have a Lighting enabled component

Code:
<V n="lighting" t="enabled">
      <U n="enabled">
        <L n="component_interactions">
          <T>110350<!--lights_light_candle_holidayCandle--></T>
          <T>111040<!--lights_extinguish_candle_holidayCandle_Menora--></T>
          <T>110438<!--lights_light_candle_holidayCandle_1--></T>
          <T>110437<!--lights_light_candle_holidayCandle_2--></T>
          <T>110439<!--lights_light_candle_holidayCandle_3--></T>
          <T>110440<!--lights_light_candle_holidayCandle_4--></T>
          <T>110441<!--lights_light_candle_holidayCandle_5--></T>
          <T>110442<!--lights_light_candle_holidayCandle_6--></T>
          <T>110443<!--lights_light_candle_holidayCandle_7--></T>
          <T>110491<!--lights_light_candle_holidayCandle_8--></T>
          <T>110510<!--lights_lightAll_candle_holidayCandle_Menora--></T>
        </L>
      </U>
    </V>

4. There are also client states which define these components -

Code:
<L n="client_states">
              <U>
                <T n="key">110445<!--holidayCandle_Candles_1--></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">gp1_Obj_menorah_day_02</T>
                        </U>
                      </V>
                    </V>
                  </V>
                </U>
              </U>
              <U>
                <T n="key">110446<!--holidayCandle_Candles_2--></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">gp1_Obj_menorah_day_03</T>
                        </U>
                      </V>
                    </V>
                  </V>
                </U>
              </U>
              <U>
                <T n="key">110447<!--holidayCandle_Candles_3--></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">gp1_Obj_menorah_day_04</T>
                        </U>
                      </V>
                    </V>
                  </V>
                </U>
              </U>
              <U>
                <T n="key">110448<!--holidayCandle_Candles_0--></T>
                <U n="value">
                  <V t="apply_new_value" n="light_dimmer" />
                  <V t="apply_new_value" n="vfx_state" />
                </U>
              </U>
              <U>
                <T n="key">110449<!--holidayCandle_Candles_4--></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">gp1_Obj_menorah_day_05</T>
                        </U>
                      </V>
                    </V>
                  </V>
                </U>
              </U>
              <U>
                <T n="key">110450<!--holidayCandle_Candles_5--></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">gp1_Obj_menorah_day_06</T>
                        </U>
                      </V>
                    </V>
                  </V>
                </U>
              </U>
              <U>
                <T n="key">110451<!--holidayCandle_Candles_6--></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">gp1_Obj_menorah_day_07</T>
                        </U>
                      </V>
                    </V>
                  </V>
                </U>
              </U>
              <U>
                <T n="key">110452<!--holidayCandle_Candles_7--></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">gp1_Obj_menorah_day_08</T>
                        </U>
                      </V>
                    </V>
                  </V>
                </U>
              </U>
              <U>
                <T n="key">110490<!--holidayCandle_Candles_8--></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">gp1_Obj_menorah_day_09</T>
                        </U>
                      </V>
                    </V>
                  </V>
                </U>
              </U>
            </L>


Choose which ever effect you want (you can delete the remaining client states and component interactions)

5. Adjust the FX slot according to your mesh height (This can easily be done in the rig/slot tab of sims 4 studio)

Basically one slot lights up while the others are all vfx

You can dissect my attached Object. Pictured - Candle on the left
Screenshots
Attached files:
File Type: rar  Dhupdani_Candle.rar (1.69 MB, 8 downloads) - View custom content
Scholar
Original Poster
#5 Old 15th May 2017 at 8:01 PM
I think I need a tutorial ><
Icy Spicy
#6 Old 15th May 2017 at 8:43 PM
Quote: Originally posted by TheJim07
I think I need a tutorial ><


Here is a tutorial where you need an external package for your candelabra to function if you don't want to make custom interactions.
Scholar
Original Poster
#7 Old 16th May 2017 at 11:23 AM
Thanks ! I could do my custom candelabra ! But I have one question : in the Sims 4, candelabra made by EA seems to have a "lit" texture and an "unlit" texture. So, in game, my custom candelabra (that has one texture only) doesn't appear to be lit (but in fact it is). I hope what I write is understandable ^^'.
Icy Spicy
#8 Old 16th May 2017 at 4:30 PM
Quote: Originally posted by TheJim07
Thanks ! I could do my custom candelabra ! But I have one question : in the Sims 4, candelabra made by EA seems to have a "lit" texture and an "unlit" texture. So, in game, my custom candelabra (that has one texture only) doesn't appear to be lit (but in fact it is). I hope what I write is understandable ^^'.


The lit version is just an unlit version + vfx applied .
Do you have the vfx part? Something like this :
Code:
<V n="visual_effect" t="enabled">
          <U n="enabled">
            <T n="effect_name">sp09_Obj_lightTablemedium_EF05HOLIDAY</T>
          </U>
        </V>
Scholar
Original Poster
#9 Old 16th May 2017 at 4:45 PM
No I didn't see it in the Object Tuning
Icy Spicy
#10 Old 16th May 2017 at 5:00 PM
Quote: Originally posted by TheJim07
No I didn't see it in the Object Tuning


Then maybe you have outcome based lit and unlit states(There are basically various ways you can approach this). Post your package and I will look into it! Are you following the tutorial I posted ?
Scholar
Original Poster
#11 Old 16th May 2017 at 5:04 PM
Here's the package. Yes I follow the tuto.
Attached files:
File Type: rar  TheJim07_TS4_LightingTable_FlickeringMercenaryTableLamp.rar (135.7 KB, 8 downloads) - View custom content
Icy Spicy
#12 Old 16th May 2017 at 5:19 PM
Your tuning appears to be all right. The Lit state has all the vfx.I checked it out in game and found it to be functioning properly (Images attached). Take note that you need to unpause the game for the interaction to take effect.
Screenshots
Back to top