Commit graph

1070 commits

Author SHA1 Message Date
smallmodel
4391912ee3
Implemented Door::ShowInfo, correctly implemented Door::FieldTouched + minor fixes 2023-10-08 20:56:15 +02:00
smallmodel
fc17536f55
Use CONTENTS_WEAPONCLIP for stickybomb when using it 2023-10-08 20:45:34 +02:00
smallmodel
f59bdd6b9f
Fully implemented ProjectileGenerator classes + Fixed ThrobbingBox code 2023-10-08 20:21:00 +02:00
smallmodel
03f3676b00
Use correct values for fields 2023-10-08 19:13:16 +02:00
smallmodel
e0d7079745
Implemented VehicleWheelsX4 2023-10-08 19:11:23 +02:00
smallmodel
b7f421481f
Implemented VehicleWheelsX2 2023-10-08 18:52:09 +02:00
smallmodel
3506cb3f94
Fixed vlink's origin being incorrectly set 2023-10-08 18:28:01 +02:00
smallmodel
d757fa6306
Renamed world.cpp and world.h to worldspawn.cpp and worldspawn.h 2023-10-08 00:08:47 +02:00
smallmodel
475fc92629
Fixed str() being passed as an instance for variadic arguments 2023-10-07 23:50:16 +02:00
smallmodel
180a20f561
Made wheel_s a struct 2023-10-07 21:56:43 +02:00
smallmodel
2e5ca5b9dc
Return an empty string if the item name is not in the prefix list 2023-10-07 14:19:42 +02:00
smallmodel
decee20fd8
Fixed GetSentientOwner() not returning the owner if not remote controlled 2023-10-06 22:33:59 +02:00
smallmodel
3d9a60c415
Turn off vehicle sound entities when the tank is idle 2023-10-06 22:12:19 +02:00
smallmodel
a4a7002867
ScriptSlave::SetModelEvent: Corrected the case where the model is invalid 2023-10-06 20:18:18 +02:00
smallmodel
96c9a014e6
When getting string from event, store it in an str to avoid potential undefined behavior due to str destruction 2023-10-06 20:13:31 +02:00
smallmodel
11b4471be9
Remove linked turrets of the tandem turret being destroyed 2023-10-06 19:55:36 +02:00
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