Vehicle Class Details - widberg/fmtk GitHub Wiki
| Class | ID |
|---|---|
| BUGGY | 0 |
| BIKE | 1 |
| MUSCLE | 2 |
| NONE | 2 |
| QUAD | 3 |
| SUV | 4 |
| TRUCK | 5 |
| HYDRO | 6 |
| DRAGSTER | 7 |
| UNKNOWN | -1 |
These are the possible values for the second argument of the AddVehicleInfo command seen in GameTsc/Story/VehiclesDef.tsc. This defines some properties of the vehicle; for example, HYDRO vehicles cannot drown underwater even after turning off their ability to drive on water in the Param/VehiclesParam.tsc script.
If any other string is used, then fatal_error_box(MB_OK, "", "Type Inconnu %s", class_string); is called. The MB_OK is ORd with MB_ICONEXCLAMATION before being passed as the uType argument of MessageBoxW.