Closed KcRobin9 closed 1 month ago
Can the color count be retrieved from the vehicle info? Something like
mmVehInfo* veh_info = VehList()->GetVehicleInfo(opp->Model);
i32 paint_job = opp_id % string(veh_info->Colors).NumSubStrings();
That's a great idea.
I implemented it in a way such that the color count is retrieved from the vehicle info by default, and users are still able to set a custom color count if they add the cmd line.
With this tweak, users will be able to set how many opponent car colors will be cycled through.
If there are 20 opponents, and 10 available car colors, and the user sets
colorcount -10
, it means that every color will be used twice.