Is there a way to set the vehicle's color from Lua, without any freezing (like don't load a different config)? Should be similar to how the traffic modifies the traffic vehicles' colors.
Definitely possible, not sure how exactly but you can check the part randomizer mod, it has a button that randomizes colors and it's super fast
this should work in game engine lua: Code: local vehicleObj = be:getPlayerVehicle(0) vehicleObj.color = Point4F(1,0,0,1) vehicleObj.colorPalette0 = Point4F(0,1,0,1) vehicleObj.colorPalette1 = Point4F(0,0,1,1) Where the fourth (w) component defines the Chrominess (0.0 = 0%, 2.0 = 100%)