I’d really love to see the script to be improved in case of modifying the models. Priority would be to change color. A command to change colors with hexacodes or something similar would be great
start coding it then
i can’t that’s why i suggested it retard
Is that even a function now?
AFAIK its not possible unless you replace the given objects texture with a shader.
i rather meant tuning parts like spoilers and stuff, just as you could in singleplayer when you changed the overall color of the tuned vehicle
Yeah that isn’t possible. I’m not sure how GTA does it by default, one would have to dissect it. But I do know the objects them selves have the car color information texture shits imbedded in the dff hence why they spawn in as black. The object probably needs to be parented to the vehicles corresponding dummys to retrieve the necessary information (color and or damage). I’m just speculating but its probably along those lines.
If MTA had a function to attach such parts to vehicle dummy’s it’d probably work.
I’ll redesign flowerattach as I’m redesigning offedit in oop format, and include the ability to change the color of the objects. Considering I’ve done it before. However the shade of the objects will not match the vehicle. The color will be the same as the vehicles secondary color, but the level of darkness or brightness will not be the same as the vehicle. I’d have to do tweaks to it, or apply the same shader to the car as I do the object. Just note that this is a shader, and if you render it for multiple cars then it may reduce your fps, however I’m adding checks in place to make sure your fps works correctly.
Here’s a link to my old script where I’ve done this.
https://community.multitheftauto.com/index.php?p=resources&s=details&id=14183
all I can say is nice job, but fuck having more fps drops we have enough fps drop as it is. if you can fix that shit then sure i would not mind having it on the server.