Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please extend the "change car colour" feature to add pearlescent #423

Open
BeckyYork opened this issue Aug 22, 2023 · 0 comments
Open

Please extend the "change car colour" feature to add pearlescent #423

BeckyYork opened this issue Aug 22, 2023 · 0 comments
Labels
improvement Ideas for improving existing features

Comments

@BeckyYork
Copy link
Contributor

BeckyYork commented Aug 22, 2023

Can you please extend the "change car colour" feature which people can turn on for the servers to have the option for Tri-colour pearlescent
Here is the CSP extension code that I used to make this.
It we could have the ability to turn the option on and off per driver (dynamic list of steam64id), that would be amazing also.

Additionally, it would be better if this was applied to txNormal so that the car stickers on txDetail are sitting on top of the pearl paint not under it; if it's not possible to putting it under the txDetail, using an inverse of the alpha txDetail mask would do the same job.

[INCLUDE: common/materials_carpaint.ini]
[Material_CarPaint_Rainbow]
CarPaintMaterial=Body  ; Car Paint Material
BaseSpecularColor = #000000     ; Top colour, opacity blank
ChameleonColorA = #5500FF, 1    ; Colour One, opacity 1
ChameleonColorB = #FF0055, 1    ; Colour Two, opacity 1
UseMetallicReflections = 1      ; leave all the other settings unchanged
SecondaryReflection = 0
SpecularSun = 0, 0
SunMultiplier = 0
FresnelMax = 10
FresnelC = 0.5
ColoredSpecular = 1
PearlescentSpecular = 1
ColoredSpecular = 1
AmbientSpecular = 1
AmbientSpecularEXP = 2.5
ClearCoatThickness = 0

EDIT
A complementary idea would be to allow for a new config file. say
/content/cars/ks_car/extension/user_config.ini
in which case people can put in whatever colours they like in that file and when they join the server that user_config is transmitted via the server to the other drivers and held in memory temporarily applied to the car for everyone on the server.
Additionally
Similar idea except the config is passed from the acServer, either from a disguised chat message or http://script

@Marocco2 Marocco2 added the improvement Ideas for improving existing features label Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Ideas for improving existing features
Projects
Status: Todo
Development

No branches or pull requests

2 participants