Hey there,
I was looking for a way to identify vehicles from their CVehicle class (since some Vehicles don't have a VehicleName assigned, for example ground AA stations) and came up with this:
Code:
class CVehicle
{
public:
char unknown0[68];
unsigned short VehicleId; //0x44
char unknown1[330];
char VehicleName[16]; //0190
//VehicleIds (unsigned short)
//China
//US
//MEC
//Parachute 0x1177
//Soldier 0x0CCB (China)
//Soldier 0x0CCC (China)
//Soldier 0x0CD3 (US)
//Soldier 0x0CD4 (US)
//Soldier 0x0CD1 (MEC)
//Soldier 0x0CD2 (MEC)
//J10: 0x1110
//35B: 0x10E7
//F-18: 0x1219
//F-15: 0x11F3
//Mig29: 0x1180
//SU-34: 0x11A3
//IGLA: 0x15A8 (china/mec)
//Stinger: 0x15BF
//ESSEX: 0x15CE
//Typ-95: 0x12C0
//Tunguska: 0x12A0
//LineBacker: 0x13ED
/*Transport choppers*/
//Z8: 0x1154
//UH60 (Black Hawk): 0x12A3
//Mi17: 0x11D1
/*Attack choppers*/
//Z10: 0x10C4
//Ahe_Ah1z: 0x107F
//Havoc: 0x10A3
/*Tanks*/
//Typ98: 0x13CC
//M1A2: 0x1461
//T-90: 0x13AB
/*APCs*/
//wz551 0x1310
//Lav25 0x140E
//Btr90 0x12E1
/*Cars*/
//china car: 0x137B
//china car big: 0x1367
//us buggy: 0x133E
//mec car: 0x1353
/*Boats*/
//Boat: 0x1486
}; Don't know if anyone posted this yet, but i thought it might be useful for others. It's not complete (booster pack vehicles, TOW, etc. are missing). Feel free to complete the list if you want to.
Also i was not able to see a clear scheme of how the bytes are set (yeah, air vehicles usually have 0x11 as the higher order byte, but there are lots of exceptions). If you see a better method for grouping the vehicles, i'd be delighted to hear from you.
Have fun.
Edit: Just noticed that every side (US, China, MEC) has got two types of soldiers, one with more and one with less stamina (higher ID -> more stamina). Added their IDs