Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!   (85,170 visits to this link)

    2. News

    1. GTA Online

      1. Find Lobbies & Players
      2. Guides & Strategies
      3. Vehicles
      4. Content Creator
      5. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    4. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    5. GTA Chinatown Wars

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    9. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption 2

    2. Red Dead Redemption

    3. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Forum Support

    2. Site Suggestions

pez2k

Sprayshop - Car colour selection & custom Crew Colour editor

Recommended Posts

pez2k

I couldn't find a trainer with a really good set of tools for editing car colours (especially RGB values), so I wrote one myself.

 

Features include:

  • Support for all colourable parts, primary / secondary / tertiary / pearlescent / wheel / trim / accent / dashboard.
  • Choice of all colours not normally available in Los Santos Customs, including Worn and Utility colours.
  • Switching paint finishes while retaining the colour, e.g. changing Worn Sea Wash to metallic.
  • Changing base paint colours without resetting the pearlescent colour.
  • RGB editing of custom primary and secondary colours, as well as support for inputting and generating hex Crew Colours.
Screenshots:

 

 

 

Usage:

Press F6 while in a car to open the menu.

 

Prerequisites:

How to install:

Place the ColourEditor.dll into the scripts folder of your GTAV install. If you don't have a scripts folder, create one.

 

Version history:

1.0 - Initial release.

1.1 - Added Epsilon, Faded Utility, Brushed Gold and Pure Gold textures. Updated Classic texture.

 

Download

 

Source available on request - it's currently a bit messy though.

Edited by pez2k

Share this post


Link to post
Share on other sites
Ursusaurus

This is awesome. There is a pretty massive frame drop when using this in game (60's to exactly 29 fps).

Share this post


Link to post
Share on other sites
pez2k

NativeUI itself seems to have some performance impact in all mods I've tried that use it, but that's a lot larger than I've experienced. Unfortunately I couldn't find another UI framework that is as accurate to the look of the native menus - if there are any suggestions I'm open to trying a different one.

 

The script itself isn't doing anything outside of reacting to menu actions, other than using the tick event to do a one-line check that the player hasn't gotten out of their car (if they have, it closes the menus). The only thing that even requires much CPU time is detecting the texture of your selected paintjob, as it has to basically match that colour against one in each category. Even then though, the most common colours will be caught first, you'd need a car in matte purple or chrome to make much of an impact and that code only runs at the time the menu is first opened, or when you select a colour. I'll have a look for any optimisation tricks to using NativeUI though.

Share this post


Link to post
Share on other sites
pez2k

I've updated the tool now to include a few less common textures that I'd missed, including super-shiny Epsilon and Pure Gold.

 

I also have a couple of future ideas to do with NativeUI optimisation that I need to try out, but I'll probably have to add a configuration file to toggle them even if they do work.

Share this post


Link to post
Share on other sites
pez2k

The tool is now updated to v1.5 with some new features: changing the menu key, saving and loading custom colours, and an option to automatically repair and clean the car when applying colour changes like in LSC.

 

It now creates a configuration file on first run to store the settings and saved colours. I've tried to make it fairly robust so that you can add new colours to the config file manually if needed - most of the fields should be fairly self-explanatory. You don't need to include every field for each saved colour either, there's sane defaults for each missing field so just the RGB fields or hex field alone is enough to work. It's worth mentioning though that if you have both RGB values and a hex code entered for a saved colour the hex code will always take precedence if they differ.

 

Unfortunately there are no optimisations that I can find to reduce the load that NativeUI takes up - generally the only improvements end up with a flickering menu.

Edited by pez2k

Share this post


Link to post
Share on other sites
Ursusaurus

Just gotta say thanks for making this. Use it to make all my colors in the requests page.

Share this post


Link to post
Share on other sites
Ursusaurus

Funny, right after I post that the mod stops working.

 

I have all the files from scripthook, scripthook.net, nativeui, and sprayshop in the GTA 5 folder. Any ideas?

Share this post


Link to post
Share on other sites
gigi7o

This tool doesnt work when i put the different files inside the main folder and inside the scripts folder it doesnt work... Why ?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.