Closed nicoell closed 4 months ago
can you provide exact map(s) that have this issue?
@ezio416
Exact repro steps:
You should see that VehicleState::GetVehicleType returns CarSport (1) while driving with Desert car
Here's a screenshot showing my test setup and my Dev integration into EditorRoute plugin. The EditorRoute integration is not of question here, I tested with logging to the console, It's merely meant to showcase the test map.
I fixed this, but it leaves me wondering whether our approach to finding the vehicle type is correct. I will do some research.
Edit: It is not. This will break again in the future. I'll re-open this issue and will fix this properly.
Tested today and this issue has come up again. I tried both using gates, and creating a new rally map directly (through the 'create a new map' thing). Impacts Rally and Desert.
This was fixed shortly after the latest update, so it hasn't landed in an Openplanet update yet. It should be fixed next update. I'll try to prioritize releasing an update soon.
VehicleState::GetVehicleType returns CarSport (1) while driving with DesertCar. CarSport, CarSnow and CarRally seem to work.
Tested with Openplanet 1.26.25