Log in to reply
 

How to have headlight corona's WITHOUT rearlight corona's?



  • I want to have headlight corona's:
    alt text

    But I don't want to have rearlight corona's:
    alt text

    So when I replace "corona" in graphics.ytd with a dummy, then I lose both corona's. Is it possible to have headlight corona's WITHOUT rearlight corona's?



  • @PerfectGTA
    I haven't tried this but I reckon it should be possible. :slight_smile:

    In 'carcols.ymt/.meta' there is a '<Lights>' section that has independent settings for the lights & for the coronas also. Here's an example of the taillights part (headlights, indicators etc are also there):

    TailLight Example:

          <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="0xFFFF1E05"/>
            <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>
    

    I'm confident you should be able to accomplish your task by reducing the settings below to '0'. (perhaps try negative values if it doesn't work for some reason) :

            <size value="0.00000000"/>
            <size_far value="0.00000000"/>
            <intensity value="0.00000000"/>
            <intensity_far value="0.00000000"/>
    

    Note: Make sure you only edit the values in the '<tailLightCorona>' section (don't get it mixed up with the values in the '<tailLight>' section). Also be sure to backup any files/.rpf archives before you edit them :thumbsup:

    • Choose a car to test (an add-on will be easiest to start wth as it's 'carcols.meta' & 'carvariations.meta' will be easy to find & are usually right next to each other in the dlc).
    • Find the settings that apply to that car in the 'carvariations.meta' (search for name if multiple vehicles)
    • At the bottom of that car's section in the 'carvariations.meta' file you should see something this:
                <Item value="false"/>
                <Item value="false"/>
                <Item value="false"/>
              </liveries>
            </Item>
          </colors>
          <kits>
            <Item>26_ninef_modkit</Item>
          </kits>
          <windowsWithExposedEdges/>
          <plateProbabilities>
            <Probabilities>
              <Item>
                <Name>Standard White</Name>
                <Value value="100"/>
              </Item>
            </Probabilities>
          </plateProbabilities>
          <lightSettings value="58"/>
          <sirenSettings value="0"/>
        </Item>
    

    The setting you will be interested in is this:

          <lightSettings value="58"/>
    

    it indicates what light settings value in 'carcols.ymt/meta' the vehicle is using.

    Tip: If you choose an add-on with only one car in it you can skip that^ first part, start from here & head straight to the 'carcols.meta' to look for the '<id value="**"/>' line as there should only be one.
    I've included the previous instructions so you see how it all works & know what to do if you come to edit vanilla/replace vehicles & you have to hunt through game files in various locations.

    After you know what carvariations lightSettings value your vehicle uses you ('58' for this example) you would then search the various 'carcols.ymt/.meta' for:

    <id value="58"/>
    

    Underneath that will be the light settings that apply to that car (& possibly others. See 'Note:' below). The entire block for that id value will look somewhat like this:

    Example:

        <Item>
          <id value="58"/>
          <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="41"/>
            <distBetweenCoronas_far value="130"/>
            <xRotation value="0.00000000"/>
            <yRotation value="0.00000000"/>
            <zRotation value="0.92362800"/>
            <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>ninef</name>
        </Item>
    

    Search for the next '<tailLightCorona>' under the '<id value=' line & then edit the values to look like this:

            <size value="0.00000000"/>
            <size_far value="0.00000000"/>
            <intensity value="0.00000000"/>
            <intensity_far value="0.00000000"/>
    

    Note: Multiple vehicles can use the same carcols id settings so searching for the name (you'll notice '<name>ninef</name>' at the bottom of the scroll down example code block just above this) of the vehicle isn't a good approach here as it's possible for vehicles to use settings that are named for a different vehicle. Stick to the carvariations '<lightSettings value=' & carcols '<id value=' & you shouldn't go wrong :thumbsup:

    Note: There are '<id value=' in the '<Kits>' section of 'carcols' also. Don't get them mixed up with the lights. :thumbsup:

    Once you've done all that load up the game & see what you've got. This is GTA so there may be some experimentation/tweaking of values required.
    Let me know how you get on :thumbsup:



  • @PerfectGTA
    Just wanted to add that you could also try:

            <numCoronas value="0"/>
    

    in the '<tailLightCorona>' section. :thumbsup:


Log in to reply
 

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.