Jump to content

What is lightsettings used for?


JZersche

Recommended Posts

It deals with the lightbar configuration of emergency vehicles.

Wenn ich Deutsch sprechen, enschultigung: Mein Deutsch ist nicht sehr gut.

gATXSNG.png

 If you are replying to something I have posted, you may wish to quote me for faster response times; I do not usually follow threads I reply to.
My personal inbox is not the support forum. I don't mind helping  you with your issues, but you are responsible for your research.  I am not a page in a manual, Google, or the forum search function - look through all three before asking.
A link to a handy how-to guide for getting useful solutions to your problems, and useful answers to your questions. A lot of it may seem irrelevant, but it outlines some great practices to use when seeking answers or solutions.

Link to comment
Share on other sites

3 minutes ago, EvilJackCarver said:

It deals with the lightbar configuration of emergency vehicles.

No, that's sirensettings.

Seems that lightsettings messes with the headlights, so I'm going to assume that Rockstar have a setting file somewhere that has a whole database of lightsettings, setting it to 992 gave me no headlights, and setting it to 2 gave me headlights.

Modeling tested on [Ford Raptor SVT]

Link to comment
Share on other sites

Ah, misread. My bad.

Wenn ich Deutsch sprechen, enschultigung: Mein Deutsch ist nicht sehr gut.

gATXSNG.png

 If you are replying to something I have posted, you may wish to quote me for faster response times; I do not usually follow threads I reply to.
My personal inbox is not the support forum. I don't mind helping  you with your issues, but you are responsible for your research.  I am not a page in a manual, Google, or the forum search function - look through all three before asking.
A link to a handy how-to guide for getting useful solutions to your problems, and useful answers to your questions. A lot of it may seem irrelevant, but it outlines some great practices to use when seeking answers or solutions.

Link to comment
Share on other sites

16 minutes ago, EvilJackCarver said:

Ah, misread. My bad.

I figured it out, just like sirensettings controls the lightbars, lightsettings controls all the vehicles exterior lighting (headlights, interior lights, taillights, reverse, etc)

You can actually specify those settings with an id value inside of the carcols file.

 

    <Item>
      <id value="75"/>
      <indicator>
        <intensity value="0.37500000"/>
        <falloffMax value="2.50000000"/>
        <falloffExponent value="8.00000000"/>
        <innerConeAngle value="20.00000000"/>
        <outerConeAngle value="50.00000000"/>
        <emmissiveBoost value="false"/>
        <color value="0xFFFF7300"/>
        <textureName/>
        <mirrorTexture value="true"/>
      </indicator>
      <rearIndicatorCorona>
        <size value="0.00000000"/>
        <size_far value="0.00000000"/>
        <intensity value="0.00000000"/>
        <intensity_far value="0.00000000"/>
        <color value="0x00000000"/>
        <numCoronas value="1"/>
        <distBetweenCoronas value="128"/>
        <distBetweenCoronas_far value="255"/>
        <xRotation value="0.00000000"/>
        <yRotation value="0.00000000"/>
        <zRotation value="0.00000000"/>
        <zBias value="0.25000000"/>
        <pullCoronaIn value="false"/>
      </rearIndicatorCorona>
      <frontIndicatorCorona>
        <size value="0.00000000"/>
        <size_far value="0.00000000"/>
        <intensity value="0.00000000"/>
        <intensity_far value="0.00000000"/>
        <color value="0x00000000"/>
        <numCoronas value="1"/>
        <distBetweenCoronas value="128"/>
        <distBetweenCoronas_far value="255"/>
        <xRotation value="0.00000000"/>
        <yRotation value="0.00000000"/>
        <zRotation value="0.00000000"/>
        <zBias value="0.25000000"/>
        <pullCoronaIn value="false"/>
      </frontIndicatorCorona>
      <tailLight>
        <intensity value="0.25000000"/>
        <falloffMax value="4.00000000"/>
        <falloffExponent value="16.00000000"/>
        <innerConeAngle value="45.00000000"/>
        <outerConeAngle value="90.00000000"/>
        <emmissiveBoost value="false"/>
        <color value="0xFFFF0000"/>
        <textureName/>
        <mirrorTexture value="true"/>
      </tailLight>
      <tailLightCorona>
        <size value="1.20000000"/>
        <size_far value="2.50000000"/>
        <intensity value="5.00000000"/>
        <intensity_far value="1.00000000"/>
        <color value="0xFFFF0F05"/>
        <numCoronas value="1"/>
        <distBetweenCoronas value="128"/>
        <distBetweenCoronas_far value="255"/>
        <xRotation value="0.00000000"/>
        <yRotation value="0.00000000"/>
        <zRotation value="0.00000000"/>
        <zBias value="0.25000000"/>
        <pullCoronaIn value="false"/>
      </tailLightCorona>
      <tailLightMiddleCorona>
        <size value="0.00000000"/>
        <size_far value="0.00000000"/>
        <intensity value="0.00000000"/>
        <intensity_far value="0.00000000"/>
        <color value="0x00000000"/>
        <numCoronas value="1"/>
        <distBetweenCoronas value="128"/>
        <distBetweenCoronas_far value="255"/>
        <xRotation value="0.00000000"/>
        <yRotation value="0.00000000"/>
        <zRotation value="0.00000000"/>
        <zBias value="0.25000000"/>
        <pullCoronaIn value="false"/>
      </tailLightMiddleCorona>
      <headLight>
        <intensity value="1.50000000"/>
        <falloffMax value="35.00000000"/>
        <falloffExponent value="16.00000000"/>
        <innerConeAngle value="0.00000000"/>
        <outerConeAngle value="60.00000000"/>
        <emmissiveBoost value="false"/>
        <color value="0xFF7FA7E3"/>
        <textureName>VehicleLight_car_LED1</textureName>
        <mirrorTexture value="false"/>
      </headLight>
      <headLightCorona>
        <size value="0.10000000"/>
        <size_far value="7.00000000"/>
        <intensity value="7.00000000"/>
        <intensity_far value="5.00000000"/>
        <color value="0xFF61A5FF"/>
        <numCoronas value="2"/>
        <distBetweenCoronas value="32"/>
        <distBetweenCoronas_far value="68"/>
        <xRotation value="0.00000000"/>
        <yRotation value="0.18221200"/>
        <zRotation value="0.58433600"/>
        <zBias value="0.25000000"/>
        <pullCoronaIn value="false"/>
      </headLightCorona>
      <reversingLight>
        <intensity value="0.50000000"/>
        <falloffMax value="7.20000000"/>
        <falloffExponent value="32.00000000"/>
        <innerConeAngle value="20.00000000"/>
        <outerConeAngle value="78.00000000"/>
        <emmissiveBoost value="false"/>
        <color value="0xFFFFFFFF"/>
        <textureName/>
        <mirrorTexture value="true"/>
      </reversingLight>
      <reversingLightCorona>
        <size value="0.80000000"/>
        <size_far value="2.00000000"/>
        <intensity value="1.50000000"/>
        <intensity_far value="1.00000000"/>
        <color value="0x00F7F7F7"/>
        <numCoronas value="1"/>
        <distBetweenCoronas value="128"/>
        <distBetweenCoronas_far value="255"/>
        <xRotation value="0.00000000"/>
        <yRotation value="0.00000000"/>
        <zRotation value="0.00000000"/>
        <zBias value="0.25000000"/>
        <pullCoronaIn value="false"/>
      </reversingLightCorona>
      <name>fugitive</name>
    </Item>



There's an example, the fugitive has lightsettings 75!

So if you apply lightsettings="75" in carvariations, to any vehicle, it will use those settings. (theoretically)

CARCOLS.YMT

    <Item>
      <id value="3"/>
      <indicator>
        <intensity value="0.37500000"/>
        <falloffMax value="2.50000000"/>
        <falloffExponent value="8.00000000"/>
        <innerConeAngle value="30.00000000"/>
        <outerConeAngle value="80.00000000"/>
        <emmissiveBoost value="false"/>
        <color value="0xFFFF8000"/>
        <textureName/>
        <mirrorTexture value="true"/>
      </indicator>
      <rearIndicatorCorona>
        <size value="0.00000000"/>
        <size_far value="0.00000000"/>
        <intensity value="0.00000000"/>
        <intensity_far value="0.00000000"/>
        <color value="0x00000000"/>
        <numCoronas value="1"/>
        <distBetweenCoronas value="128"/>
        <distBetweenCoronas_far value="255"/>
        <xRotation value="0.00000000"/>
        <yRotation value="0.00000000"/>
        <zRotation value="0.00000000"/>
        <zBias value="0.25000000"/>
        <pullCoronaIn value="false"/>
      </rearIndicatorCorona>
      <frontIndicatorCorona>
        <size value="0.00000000"/>
        <size_far value="0.00000000"/>
        <intensity value="0.00000000"/>
        <intensity_far value="0.00000000"/>
        <color value="0x00000000"/>
        <numCoronas value="1"/>
        <distBetweenCoronas value="128"/>
        <distBetweenCoronas_far value="255"/>
        <xRotation value="0.00000000"/>
        <yRotation value="0.00000000"/>
        <zRotation value="0.00000000"/>
        <zBias value="0.25000000"/>
        <pullCoronaIn value="false"/>
      </frontIndicatorCorona>
      <tailLight>
        <intensity value="1.00000000"/>
        <falloffMax value="4.00000000"/>
        <falloffExponent value="8.00000000"/>
        <innerConeAngle value="45.00000000"/>
        <outerConeAngle value="90.00000000"/>
        <emmissiveBoost value="false"/>
        <color value="0xFFFF0000"/>
        <textureName/>
        <mirrorTexture value="true"/>
      </tailLight>
      <tailLightCorona>
        <size value="0.15000000"/>
        <size_far value="0.75000000"/>
        <intensity value="1.00000000"/>
        <intensity_far value="5.00000000"/>
        <color value="0xFFFF1A00"/>
        <numCoronas value="1"/>
        <distBetweenCoronas value="128"/>
        <distBetweenCoronas_far value="255"/>
        <xRotation value="0.00000000"/>
        <yRotation value="0.00000000"/>
        <zRotation value="0.00000000"/>
        <zBias value="0.25000000"/>
        <pullCoronaIn value="false"/>
      </tailLightCorona>
      <tailLightMiddleCorona>
        <size value="0.00000000"/>
        <size_far value="0.00000000"/>
        <intensity value="0.00000000"/>
        <intensity_far value="0.00000000"/>
        <color value="0x00000000"/>
        <numCoronas value="1"/>
        <distBetweenCoronas value="128"/>
        <distBetweenCoronas_far value="255"/>
        <xRotation value="0.00000000"/>
        <yRotation value="0.00000000"/>
        <zRotation value="0.00000000"/>
        <zBias value="0.25000000"/>
        <pullCoronaIn value="false"/>
      </tailLightMiddleCorona>
      <headLight>
        <intensity value="4.00000000"/>
        <falloffMax value="40.00000000"/>
        <falloffExponent value="160.00000000"/>
        <innerConeAngle value="15.00000000"/>
        <outerConeAngle value="70.00000000"/>
        <emmissiveBoost value="false"/>
        <color value="0xFFFFE894"/>
        <textureName>VehicleLight_misc_searchlight</textureName>
        <mirrorTexture value="false"/>
      </headLight>
      <headLightCorona>
        <size value="8.00000000"/>
        <size_far value="1.80000000"/>
        <intensity value="2.80000000"/>
        <intensity_far value="10.00000000"/>
        <color value="0xFFFFFFFF"/>
        <numCoronas value="1"/>
        <distBetweenCoronas value="128"/>
        <distBetweenCoronas_far value="255"/>
        <xRotation value="0.00000000"/>
        <yRotation value="0.00000000"/>
        <zRotation value="0.00000000"/>
        <zBias value="0.25000000"/>
        <pullCoronaIn value="false"/>
      </headLightCorona>
      <reversingLight>
        <intensity value="0.50000000"/>
        <falloffMax value="4.00000000"/>
        <falloffExponent value="32.00000000"/>
        <innerConeAngle value="45.00000000"/>
        <outerConeAngle value="90.00000000"/>
        <emmissiveBoost value="false"/>
        <color value="0xFFFFFFFF"/>
        <textureName/>
        <mirrorTexture value="true"/>
      </reversingLight>
      <reversingLightCorona>
        <size value="0.80000000"/>
        <size_far value="2.00000000"/>
        <intensity value="1.50000000"/>
        <intensity_far value="1.00000000"/>
        <color value="0x00F7F7F7"/>
        <numCoronas value="1"/>
        <distBetweenCoronas value="128"/>
        <distBetweenCoronas_far value="255"/>
        <xRotation value="0.00000000"/>
        <yRotation value="0.00000000"/>
        <zRotation value="0.00000000"/>
        <zBias value="0.25000000"/>
        <pullCoronaIn value="false"/>
      </reversingLightCorona>
      <name>Submersible</name>

 

CARVARIATIONS.META
 

  <variationData>
    <Item>
      <modelName>submersible2</modelName>
      <colors>
        <Item>
          <indices content="char_array">
            132 
            0 
            122 
            156 
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
      </colors>
      <kits />
      <windowsWithExposedEdges />
      <plateProbabilities>
        <Probabilities />
      </plateProbabilities>
      <lightSettings value="3" />
      <sirenSettings value="0" />
    </Item>

Submersible2 [Lightsettings=3]

Link to comment
Share on other sites

13 hours ago, Kilyin said:

carcols.ymt has been unencrypted.

True, but that doesn't have the variations entries for the models, so I was just wondering how the value the Fugitive was figured out. I guess just comparing values to the in-game appearance?

Link to comment
Share on other sites

Lightsettings come from carcols.ymt. Each light setting has an id number and a <name>, the 75th one happens to be <name>fugitive</name>

Customization is key to my gaming experience. I take pictures, do textures and lore-friendly vehicles. 
Recent releases: OracleRadiusPony. See all.
You can see my gallery here

Link to comment
Share on other sites

Yeah, I got it from the carcols.ymt file. Anyone programming savvy willing to relay what the process of figuring out how to open unknown files like YMTs for example involves? Like as a developer, where do you even start, what are some of the first things you need to know in order to figure out how a file like the YMT files could be opened and read?

I didn't make a new topic for this question, because I didn't think it would get a good response, but if anyone knows, please tell me lol.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...