smallmodel
497058d7f4
Make the driver nonsolid while moving
2024-10-28 22:30:52 +01:00
smallmodel
a509dd4692
Fix vehicle exit position when targeting the base game
...
The base game always uses, when specified, the exit position
2024-10-28 22:25:49 +01:00
smallmodel
558e69dba8
Archive the vehicle name
...
This was missing and this allows the torso state to the modheight to set the bounding box height. Before that, it did not recognize the turret so the modheight was still set to stand. It caused issues when trying to get out a vehicle turret, like the flak88 in e1l1 (the player wasn't able to get out of the turret)
2024-10-27 14:27:44 +01:00
smallmodel
f3222fc36a
Set AI angles only if they don't have an enemy, otherwise let the AI set their angles
...
This prevented actors from attacking correctly because the AI cover target state expects the AI to 100% stare at the enemy and the vehicle would keep changing the AI angles
2024-09-01 17:16:09 +02:00
smallmodel
7f7d797fce
Fix vehicles getting blocked by sentients dying
2024-08-27 00:36:03 +02:00
smallmodel
377b0896c2
Fix drivable vehicle not having the death
waittill after loading from save
...
This caused some vehicles to be destroyed immediately after being handled from script (like the halftrack in t2l1)
2024-08-18 12:03:01 +02:00
smallmodel
e207715b5e
Initialize m_iLastTiresUpdate
2024-06-22 16:12:29 +02:00
smallmodel
26c3375112
When there is no enter_boneindex for turret slot, use the boneindex instead
...
This fixes #208
2024-04-22 18:28:56 +02:00
smallmodel
e89543710c
Check for max use angle when using the vehicle
2024-04-22 18:04:14 +02:00
smallmodel
4630a1f386
Fixed wrong return values for Vehicle::EventCanUse
...
It fixes Modello being hardly usable on maps like e3l2
2024-04-21 19:40:33 +02:00
smallmodel
048a973290
Added GetProjectileHitsRemaining
2024-04-10 00:20:32 +02:00
smallmodel
ab5efa5a64
Fixed sentient being improperly attached/detached from/to the turret
...
This fixes #255
2024-04-09 00:12:02 +02:00
smallmodel
5d3b76b249
Cleaned up SetMoveInfo() / SetCEMoveInfo()
2024-03-04 22:26:56 +01:00
smallmodel
63456beeb0
Code clarity
2024-03-03 22:47:31 +01:00
smallmodel
e06ee0f26a
Bounce backwards check
2024-02-28 23:40:41 +01:00
smallmodel
8919890dbe
Fixed entity collision for vehicles
...
This fixes vehicle not properly handling damage triggers (fixes #223 , fixes #240 )
2024-02-22 19:59:28 +01:00
smallmodel
cf6335d180
Fixed VehicleTouched not handling damage properly if there is no driver
2024-02-22 18:29:31 +01:00
smallmodel
10a8d13ade
Added missing variables to archive
2024-02-18 23:27:15 +01:00
smallmodel
46cc00d669
Set m_fMaxSpeed
2024-02-18 21:53:33 +01:00
smallmodel
5521cf9ab3
Fixed m_fMaxSpeed being always set to 250
2024-02-18 20:10:18 +01:00
smallmodel
373a35acf0
Fixed target trigger being triggered by itself
2024-02-15 20:23:17 +01:00
smallmodel
f0aad4bb21
Don't mark the driver slot as unused by default
2024-02-07 22:51:50 +01:00
smallmodel
ac40373c09
Use RemoveVehicleSoundEntities() to remove sound entities
2024-02-04 19:08:37 +01:00
smallmodel
534176423e
Fixed trace error with Vehicle Hit(MV2)
2024-02-02 23:05:55 +01:00
smallmodel
bf27caa61e
Fixed vehicle lacking gravity
2024-01-29 22:55:48 +01:00
smallmodel
d217b1d561
Fixed some events having wrong parameters for documentation
2023-12-28 20:50:47 +01:00
smallmodel
e50a041c12
SimpleEntity subclass flags name now starts with ECF_ prefix
2023-11-16 23:17:06 +01:00
smallmodel
f73e4b6f22
Check if the turret is valid before detaching remote owner
2023-11-13 20:30:51 +01:00
smallmodel
dcac24c9e2
Fixed EventStopAtEnd() incorrectly stopping the vehicle
2023-11-05 20:39:04 +01:00
smallmodel
cf61ae0332
Fixed crash when driver's client is null
2023-10-22 21:16:07 +02:00
smallmodel
3506cb3f94
Fixed vlink's origin being incorrectly set
2023-10-08 18:28:01 +02:00
smallmodel
180a20f561
Made wheel_s a struct
2023-10-07 21:56:43 +02:00
smallmodel
dfcf0da710
Added vehicle waittills
2023-10-04 19:17:57 +02:00
smallmodel
f47fb87d1b
Fixed vehicle path not working properly
2023-10-04 19:17:48 +02:00
smallmodel
3ba3c728bc
By default, a Vehicle must be removed on death
2023-10-03 18:32:31 +02:00
smallmodel
0ca0a81644
Fixed DriverUse and FindExitPosition
2023-10-02 18:46:31 +02:00
smallmodel
0ddb5c859f
Fixed CalculateAnimationData using wrong angles for vehicle suspension movement
2023-10-02 12:07:59 +02:00
smallmodel
fbfedcf8d6
Fixed vehicle suspensions
2023-10-02 02:15:56 +02:00
smallmodel
eb9a119dfe
Fixed MoveVehicle not moving correctly
2023-10-02 00:46:37 +02:00
smallmodel
6cfd99e40a
Fixed AttachPassengerSlot not attaching correctly and call DriverAdded() after attaching the driver
2023-10-02 00:07:30 +02:00
smallmodel
7958ba38d8
Fixed angles being wrong when the vehicle starts + fixed turret slot initial angles, use MAX_CORNERS instead of MAX_SOUND_ENTITIES and fixed UpdateNormals() angles
2023-10-01 21:16:50 +02:00
smallmodel
6398484459
Fixed Vehicle::Postthink ignoring g_vehicle
2023-10-01 13:43:42 +02:00
smallmodel
9704362501
Initialize m_bAnimMove
2023-09-27 23:49:23 +02:00
smallmodel
f0e87cd85a
Prefixed TIKI import functions
2023-09-27 23:21:34 +02:00
smallmodel
f6e6bf1d6b
Implemented SlidePush, MoveVehicle and Postthink
2023-09-27 23:20:09 +02:00
smallmodel
63a24c4448
Reimplemented a few methods (from moh 2.0 and above)
2023-09-26 23:51:12 +02:00
smallmodel
787df3362b
Fixed v_angle not being set in SetViewAngles + floor view angles
2023-09-26 20:51:25 +02:00
smallmodel
0693db3ef5
Fixed Vehicle::VehicleDestroyed
2023-09-26 20:33:23 +02:00
smallmodel
fafb0e2793
Initialize max speed in EventDriveInternal and use cVehicleSpline instead of cSpline<4, 512>
2023-09-26 20:31:13 +02:00
smallmodel
0a4819d172
Using FindExitPosition() when detaching from driver, turret or passenger
2023-09-26 20:27:59 +02:00