0 files liked
22 comments
0 videos
1 upload
3 followers
18,142 downloads
@HOTLER The game only supports RGB for primary and secondary colours, for the rest you can only select from the preset colours.
@WildFire418 There's RGB sliders, NativeUI doesn't really have any controls that could be used as a colour wheel though.
@AnarchyBlues I don't condone any attempted online use of this mod - please don't even try it.
@ImNotMentaL No worries mate, you're kind enough to open-source all of your code so I'm happy to give something back.
@AnarchyBlues sjaak327 is already working on a new version of his trainer to include it.
@AnarchyBlues I actually wrote code for SPA to handle the Tornado's roof last week when I found out how it works - I'm quite happy to submit a pull request if INM wants me to so that he can build a new release, I just don't want to be pushy about it! :)
I've found one other car mod that doesn't save in the garages, the roof livery on the Tornado Custom. I had a dig through Unknown Modder's decompiled carmod_shop script and figured out that the below native functions are what's needed (I take no credit for the naming of them).
// Hash 0x5ECB40269053C0D4
int _get_vehicle_livery2_count(int vehicleHandle);
// Hash 0x60190048C0764A26
int _get_vehicle_livery2(int vehicleHandle);
// Hash 0xA6D3A8750DC73270
void _set_vehicle_livery2(int vehicleHandle, int liveryNumber);
@MAK Moderator It's the normal Grotti X80.
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.
Apologies it's taken a little while - things like the menu option for changing the menu key took a bit of fiddling to get working, and every time I had a chance to work on it ScriptHookV was broken by R*!
@sally.za08 It's in progress and shouldn't take too much longer - I have a couple of other features that I'm adding at the same time so that people don't have to keep redownloading new versions.
@ImNotMentaL Small bug with six-car garages, trim and dashboard colours aren't loaded from the CFG. From the latest source, lines 292 and 293 in SixCarGarage.vb are passing in the vehicle number plate, whereas in the working ten-car garages it's passing in a handle to the vehicle instead (lines 388/389). The six-car is also missing the loading of the RoofTrim variable (line 379 for ten-car), but that's not saved anyway.