This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [QUESTION] Vehicle and VehicleSeat DBCs  (Read 754 times)

Смердокрыл

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 445
    • View Profile
[QUESTION] Vehicle and VehicleSeat DBCs
« on: November 12, 2015, 09:00:00 pm »
Hey!
Im trying to create a carriage vehicle npc and Im having a big trouble understanding the dbcs.

Firstly, in both Vehicle.dbc and VehicleSeat.dbc, flags are supposed to be in the format 0xSOMETHING, but in the actual dbc they look like a number with many decimals.

Secondly, in VehicleSeat.dbc you have the following columns:
m_enterAnimStart; // +0x34, size 0x4, type 0                              // 13
m_enterAnimLoop; // +0x38, size 0x4, type 0                               // 14
m_rideAnimStart; // +0x3C, size 0x4, type 0                               // 15
m_rideAnimLoop; // +0x40, size 0x4, type 0                                // 16
m_rideUpperAnimStart; // +0x44, size 0x4, type 0                          // 17
m_rideUpperAnimLoop; // +0x48, size 0x4, type 0                           // 18

m_exitAnimStart; // +0x68, size 0x4, type 0                               // 26
m_exitAnimLoop; // +0x6C, size 0x4, type 0                                // 27
m_exitAnimEnd; // +0x70, size 0x4, type 0                                 // 28

m_vehicleExitAnim; // +0x88, size 0x4, type 0                             // 34
m_vehicleRideAnimLoop; // +0x8C, size 0x4, type 0                         // 35
m_vehicleEnterAnimBone; // +0x90, size 0x4, type 0                        // 36
m_vehicleExitAnimBone; // +0x94, size 0x4, type 0                         // 37
m_vehicleRideAnimLoopBone; // +0x98, size 0x4, type 0                     // 38
m_vehicleEnterAnimDelay; // +0x9C, size 0x4, type 3                       // 39
m_vehicleExitAnimDelay; // +0xA0, size 0x4, type 3                        // 40

m_enterAnimKitID; // +0xE8, size 0x4, type 0                              // 58
m_rideAnimKitID; // +0xEC, size 0x4, type 0                               // 59
m_exitAnimKitID; // +0xF0, size 0x4, type 0                               // 60
m_vehicleEnterAnimKitID; // +0xF4, size 0x4, type 0                       // 61
m_vehicleRideAnimKitID; // +0xF8, size 0x4, type 0                        // 62
m_vehicleExitAnimKitID; // +0xFC, size 0x4, type 0                        // 63

Which of these are the animations of the vehicle, and which are of the passenger? Also, whats the difference between columns, for example, 13 and 58?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
or no.
At least I tried.