Core/Vehicles: implement vehicle seat addon table to allow us to specify orientation values for vehicle seat attachment coordinates.

* added seat template addon data for Ozumat in Throne of the Tides
This commit is contained in:
Ovahlord
2019-01-18 07:18:28 +01:00
parent 771f21a171
commit 0373b3b613
6 changed files with 77 additions and 35 deletions

View File

@@ -0,0 +1,14 @@
DROP TABLE IF EXISTS `vehicle_seat_addon`;
CREATE TABLE `vehicle_seat_addon`(
`SeatID` MEDIUMINT(8) UNSIGNED NOT NULL COMMENT 'VehicleSeat.dbc identifier',
`Angle` FLOAT UNSIGNED NOT NULL COMMENT 'Seat angle override field',
PRIMARY KEY (`SeatID`)
);
DELETE FROM `vehicle_seat_addon` WHERE `SeatID` IN (8372, 8450, 8451, 8453, 8426);
INSERT INTO `vehicle_seat_addon` (`SeatID`, `Angle`) VALUES
(8372, 180),
(8426, 180),
(8450, 180),
(8451, 180),
(8453, 180);