Log in to reply
 

Xenon headlight colours not available



  • Hello everyone, in GTA offline, I cannot choose the colour of the xenon lights anymore, wether it's at Benny's shop or with Menyoo/Simple trainer. I tested with a vanilla GTA game and it still didn't work. Am I missing some mod for that ?



  • @Twingo69
    I think you would have to use a trainer with that functionality, try Simple Trainer & see what headlight colour options it offers.



  • @a63nt-5m1th I've tried simple trainer as well, perhaps it's not the most recent update ?



  • @Twingo69
    Simple Trainer was updated 3 days ago, so is up-to-date.
    It used to work (perhaps a GTA V update broke it).

    Your best bet is to contact a few Trainer mod authors & see what they know about it/have any plans to implement new functionality for it etc.



  • Alright thanks for the tip



  • @Twingo69
    You can change the colour of the headlights for individual vehicles easily enough doing it manually, you just won't be able to change the colour ingame.
    You can also change the global xenon colour manually if you are happy with all vehicles having the same colour xenons?
    Let me know what functionality you want & I'll show you the best way to get it done, if it's possible :thumbsup:



  • @a63nt-5m1th I don't know how to change it manually but let's say I want them Red, could you walk me through it ?



  • @Twingo69
    Cool, no probs :thumbsup:
    To change the global xenon colour open up the 'carcols.ymt' here:

    ...\mods\update\update.rpf\x64\data\carcols.ymt

    Scroll to the bottom of the file & find these values & change them to what I have here:

      <GlobalVariationData>
        <xenonLightColor value="0xFFFF2D2D"/>  <!-- 'Hex(FF2D2D)' Red -->
        <xenonCoronaColor value="0xFFFF2D2D"/> <!-- 'Hex(FF2D2D)' Red -->
        <xenonLightIntensityModifier value="1.50000000"/>
        <xenonCoronaIntensityModifier value="1.50000000"/>
      </GlobalVariationData>
    

    It will use this colour of red.
    You can use that site to find the hex values for colours. Just enter the last 6 digits of the GTA V hex hash ('0xFFFF2D2D' for example, becomes 'Hex(FF2D2D)') on that site).
    Using that process you can go from colours to hex hashes or vice versa, say you want to test different shades of red out or try a different colour etc :thumbsup:



  • @a63nt-5m1th So far I'm greeted with Error code : plrInvalidFile, and it won't open the file... Perhaps this is the reason why it's not working !



  • @Twingo69
    Opening it with OpenIV yeah?
    If it won't open in OpenIV, try right-clicking 'carcols.ymt' > 'Export to META/XML (.xml)' > export to a location & try opening & editing with a text editor (Notepad++ etc) & see what happens? Drag & drop to reinstall the edited file (no need to change the file extension).



  • @a63nt-5m1th Hmm hmm exactly in edit mode (I have a 10min slowmode for every comment so i'm sorry for responding a bit late

    (EDIT) - -Managed to open and modify the file ! Now I just have to copy it back in OpenIV or is already done ?



  • @Twingo69
    Cool, no probs :thumbsup:
    I edited my previous post, what happens when you Export to META/XML (.xml)?



  • @Twingo69
    If editing with text editor, drag & drop to reinstall the edited file (no need to change the file extension. Leave it as '.ymt.xml', it will be converted automatically).
    If edited in OpenIV, save the file after edit. It should prompt you to save if you close the file after editing :thumbsup:



  • @a63nt-5m1th Just tested and it works, even for the main car of the character, thanks a lot :) I'll keep the website that provides the colour as well.



  • @Twingo69
    Cool :slight_smile: :thumbsup:
    If for any reason you want to know how to edit the default headlight colour for individual vehicles, refer to this post :thumbsup:



  • @a63nt-5m1th Hey there ! Just asking how to make it back to normal ? because in the Benny's shop every colour is "NULL" and i have no idea how to fix that haha



  • @Twingo69
    Default settings for those 'carcols.ymt' values you edited red are these:

      <GlobalVariationData>
        <xenonLightColor value="0xFF2975FF"/>
        <xenonCoronaColor value="0xFF306EFF"/>
        <xenonLightIntensityModifier value="1.50000000"/>
        <xenonCoronaIntensityModifier value="1.50000000"/>
      </GlobalVariationData>
    

    if that's what you mean? (or referring to default headlight colour for individual vehicles link I posted above?)

    Also, I think I may have figured something out :thinking:. Send me your 'mods' folder 'carcols.ymt' (use MediaFire or something & post the link here) & I'll be able to confirm my theory, & if it works, edit your file for you to test out :thumbsup:
    Don't get your hopes up just in case, but might solve all of you xenon light related issues in one go :pray: :fingers_crossed: :thumbsup:



  • @a63nt-5m1th https://www.mediafire.com/file/avmhrnht7b1i1mi/carcols.ymt/file

    Here you go, I haven't changed anything just yet, since I get lots of NULL stuff especially in Benny's garage, I kinda stopped modding haha



  • @Twingo69
    Fixed your 'carcols.ymt'. You can get it here & test it out :thumbsup:

    'plrInvalidFile' Error:

    Your 'Error code : plrInvalidFile' was caused by a combination of decimal points in these lines:

            <distBetweenCoronas value="0.1" />
            <distBetweenCoronas_far value="20.5" />
    

    I changed them to this:

            <distBetweenCoronas value="1" />
            <distBetweenCoronas_far value="20" />
    

    & the '<id value='s in the '<Lights>' section being out of order/missing numbers.

    carvariation 'lightSettings' values:

    For the '<id value=' changes I made, you will have to open up your 'carvariation.ymt/.meta' files & change the numbers you use for the 'lightSettings value' for any vehicles that use the original numbers in the list below (so that the lights for those use the same settings as before):

    Example (in carvariations):

          <lightSettings value="959"/>
    

    you change to:

          <lightSettings value="79"/>
    

    Here are the '<id value=' numbers you had & the numbers I have changed them to:

    Original ID  =  New ID
    
      959        =     79
      1668       =     80
      100        =     81
      668        =     82
      975        =     83
      946        =     84
      898        =     85
      8902       =     86
      8999       =     87
      7654       =     88
      931        =     89
      998        =     90
      677        =     91
      118        =     92
      657        =     93
      1247       =     94
      638        =     95
    

    Xenon Lights:

    Also, test Simple Trainer's xenon lights menu again, it should be working now :slight_smile: :thumbsup:
    I added this in at the bottom of the 'carcols.ymt' file:

      <GlobalVariationData>
        <xenonLightColor value="0xFF2975FF"/> <!-- global xenon colour, the one you changed to red previously -->
        <xenonCoronaColor value="0xFF306EFF"/> <!-- global xenon colour, the one you changed to red previously -->
        <xenonLightIntensityModifier value="1.50000000"/>
        <xenonCoronaIntensityModifier value="1.50000000"/>
      </GlobalVariationData>
      <XenonLightColors> <!-- Individual Xenon Light Colours (13 in total, but could probably add more) -->
        <Item>
          <lightColor value="0xFFDEDEFF"/> <!-- Light Blue Purple -->
          <coronaColor value="0xFFDEDEFF"/>
          <lightIntensityModifier value="1.50000000"/>
          <coronaIntensityModifier value="1.50000000"/>
        </Item>
        <Item>
          <lightColor value="0xFF0215FF"/>  <!-- Blue -->
          <coronaColor value="0xFF0215FF"/>
          <lightIntensityModifier value="1.50000000"/>
          <coronaIntensityModifier value="1.50000000"/>
        </Item>
        <Item>
          <lightColor value="0xFF0353FF"/> <!-- Light Blue -->
          <coronaColor value="0xFF0353FF"/> 
          <lightIntensityModifier value="1.50000000"/>
          <coronaIntensityModifier value="1.50000000"/>
        </Item>
        <Item>
          <lightColor value="0xFF00FF8C"/> <!-- Bright Green -->
          <coronaColor value="0xFF00FF8C"/> 
          <lightIntensityModifier value="1.50000000"/>
          <coronaIntensityModifier value="1.50000000"/>
        </Item>
        <Item>
          <lightColor value="0xFF5EFF01"/> <!-- Bright Green Yellow -->
          <coronaColor value="0xFF5EFF01"/> 
          <lightIntensityModifier value="1.50000000"/>
          <coronaIntensityModifier value="1.50000000"/>
        </Item>
        <Item>
          <lightColor value="0xFFFFFF00"/> <!-- Yellow -->
          <coronaColor value="0xFFFFFF00"/> 
          <lightIntensityModifier value="1.50000000"/>
          <coronaIntensityModifier value="1.50000000"/>
        </Item>
        <Item>
          <lightColor value="0xFFFF9605"/> <!-- Orange -->
          <coronaColor value="0xFFFF9605"/>
          <lightIntensityModifier value="1.50000000"/>
          <coronaIntensityModifier value="1.50000000"/>
        </Item>
        <Item>
          <lightColor value="0xFFFF3E00"/> <!-- Orange Red -->
          <coronaColor value="0xFFFF3E00"/> 
          <lightIntensityModifier value="1.50000000"/>
          <coronaIntensityModifier value="1.50000000"/>
        </Item>
        <Item>
          <lightColor value="0xFFFF0101"/> <!-- Red -->
          <coronaColor value="0xFFFF0101"/> 
          <lightIntensityModifier value="1.50000000"/>
          <coronaIntensityModifier value="1.50000000"/>
        </Item>
        <Item>
          <lightColor value="0xFFFF3264"/> <!-- Pink Red -->
          <coronaColor value="0xFFFF3264"/> 
          <lightIntensityModifier value="1.50000000"/>
          <coronaIntensityModifier value="1.50000000"/>
        </Item>
        <Item>
          <lightColor value="0xFFFF05BE"/> <!-- Bright Pink -->
          <coronaColor value="0xFFFF05BE"/> 
          <lightIntensityModifier value="1.50000000"/>
          <coronaIntensityModifier value="1.50000000"/>
        </Item>
        <Item>
          <lightColor value="0xFF2301FF"/> <!--  Blue (2)  -->
          <coronaColor value="0xFF2301FF"/> 
          <lightIntensityModifier value="1.50000000"/>
          <coronaIntensityModifier value="1.50000000"/>
        </Item>
        <Item>
          <lightColor value="0xFF0F03FF"/> <!-- Blue (3) -->
          <coronaColor value="0xFF0F03FF"/> 
          <lightIntensityModifier value="1.50000000"/>
          <coronaIntensityModifier value="1.50000000"/>
        </Item>
      </XenonLightColors>
    </CVehicleModelInfoVarGlobal>
    

    So, in the '<XenonLightColors>' section, you can now use the same process as you did for the global hex values, but this time change the hex value in the '<lightColor value=' & '<coronaColor value=' lines to change each of the 13 colours to whatever you want.
    Those 13 colour options should then appear when you use the Simple Trainer xenon colour menu :thumbsup:



  • @a63nt-5m1th Oh wow this was a lot that you did it seems. I didn't find any settings value that had any of the original ID so I'm guessing that's good ! I will try again now but I'm getting a Menyoo.asi error now almost everytime I'm trying to spawn a car etc... I have no idea where that's from but oh well, guess I have to download the game again lol, my backup save disappeared some time ago so yeah. It says "an exception occurred while executing Menyoo.asi (0x00007FFB5CA59EF0), id34

    UPDATE : the xenon lights all work perfectly thank you again this is wonderful



  • @Twingo69
    No probs, glad it worked :slight_smile: :thumbsup:



  • Download Enhanced Native trainer, enter a car, open the trainer, go to vehicles, modifications, on page 2 or 3, you will find xenon lights option, then find xenon colors, then choose any color you want, but make sure you have xenon lights update.


Log in to reply
 

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