smallmodel
17aea205f7
m_HeadTurret must be initialized to self, fixed SwitchToLinkedTurret() never working, and made IsActiveTurret() return correctly
2023-10-06 19:47:59 +02:00
smallmodel
739f54ed87
Use EV_TakeDamage on pTurret instead, and process all pending events
2023-10-06 19:46:47 +02:00
smallmodel
01be5bee72
Ignore user control when in autopilot
2023-10-04 20:13:00 +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
bd639ba936
Added "info_vehiclepoint" class ID for VehiclePoint
2023-10-04 19:17:26 +02:00
smallmodel
e784e62a4e
Fixed damage event method
...
- Don't damage if health is already 0 or below
- Check for immunity
- Error if attacker or inflictor is NULL
- Don't apply velocity for vehicles
- Set the minimum mass to 20 and momentum to 1000
- Still process pain when in godmode
2023-10-04 00:33:27 +02:00
smallmodel
e4425dcbf8
Make sure to check if vehicle or turret is valid before locking
2023-10-04 00:25:55 +02:00
smallmodel
0dcffe8771
Fixed means of death strings
2023-10-03 18:40:38 +02:00
smallmodel
2b27f6c452
Formatted document
2023-10-03 18:35:06 +02:00
smallmodel
3ba3c728bc
By default, a Vehicle must be removed on death
2023-10-03 18:32:31 +02:00
smallmodel
7193198af2
Set the owner for SmokeGrenades
2023-10-03 18:32:09 +02:00
smallmodel
6691afd160
Use the correct clipmask for VehicleCollisionEntity
2023-10-03 18:30:35 +02:00
smallmodel
59fb220197
Added setOwner/getOwner
2023-10-03 18:30:19 +02:00
smallmodel
ff7651d4c8
Fixed a crash when a window breaks on mohaa mode
2023-10-03 18:04:12 +02:00
smallmodel
58e3056374
Fixed coordinates displaying twice in the console
2023-10-03 17:02:36 +02:00
smallmodel
f1d9cd93ce
Added events from moh 2.0 and above
2023-10-02 21:13:48 +02:00
smallmodel
ada5d614c5
Added comments about versions
2023-10-02 18:49:46 +02:00
smallmodel
0ca0a81644
Fixed DriverUse and FindExitPosition
2023-10-02 18:46:31 +02:00
smallmodel
e1bd69b467
Added SetVehicle / GetTurret / SetTurret
2023-10-02 18:09:55 +02:00
smallmodel
71fe83083e
Fixed crash when trying to play non pvs sound with a null alias
2023-10-02 12:13:22 +02:00
smallmodel
0ddb5c859f
Fixed CalculateAnimationData using wrong angles for vehicle suspension movement
2023-10-02 12:07:59 +02:00
smallmodel
f7b12d5108
Removed unused events
2023-10-02 12:07:26 +02:00
smallmodel
fbfedcf8d6
Fixed vehicle suspensions
2023-10-02 02:15:56 +02:00
smallmodel
5b06a0c2a4
Small code reduction
2023-10-02 02:15:12 +02:00
smallmodel
f3204b0845
Fixed animation playing sometimes not being correct
2023-10-02 02:13:42 +02:00
smallmodel
334314a137
Fixed crash when the owner is NULL
2023-10-02 01:45:19 +02:00
smallmodel
8ecc8122b8
Fixed tank turning too fast
2023-10-02 01:11:09 +02:00
smallmodel
eb9a119dfe
Fixed MoveVehicle not moving correctly
2023-10-02 00:46:37 +02:00
smallmodel
313ece62f7
Fixed turret not turning properly
2023-10-02 00:16:12 +02:00
smallmodel
61e7571388
Added a crash fix in AttachDriverSlot()
2023-10-02 00:07:44 +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
b3bdd9d563
Enabled UpdateNormals()
2023-10-01 23:09:55 +02:00
smallmodel
784fd825bb
Formatted level source file
2023-10-01 22:49:10 +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
2dd7e0c03f
use a vec3_t for VehicleTurretGun::SetBaseOrientation and use GetTagBarrel() for m_iBarrelTag
2023-10-01 21:15:37 +02:00
smallmodel
b94f021567
Refactored setModel()
2023-10-01 21:00:32 +02:00
smallmodel
cf50c5b535
Measure SpawnInternal time
2023-10-01 21:00:11 +02:00
smallmodel
1b71169565
Removed non-fgame module code (as g_spawn is only used for fgame)
2023-10-01 20:57:28 +02:00
smallmodel
30f2b9d5ed
Formatted document
2023-10-01 20:56:51 +02:00
smallmodel
f97362cdb1
Added MASK_VEHICLE_TIRES
2023-10-01 14:11:49 +02:00
smallmodel
6398484459
Fixed Vehicle::Postthink ignoring g_vehicle
2023-10-01 13:43:42 +02:00
smallmodel
07e8c6feaa
Fully implemented cMoveGrid
2023-10-01 13:42:16 +02:00
smallmodel
8c8487231a
Fixed P_DeleteViewModel when the viewmodel is NULL
2023-09-27 23:55:27 +02:00
smallmodel
65ebdf0862
Commented out UpdateNormals() till a solution is found
2023-09-27 23:51:12 +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
4b4e8f806b
Fixed vlink angles in Postthink
2023-09-27 23:17:14 +02:00
smallmodel
4141cee13f
Added MASK_MOVEVEHICLE
2023-09-27 20:22:33 +02:00