Commit graph

1854 commits

Author SHA1 Message Date
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
b02abb1f18
Fixed issue when the string is escaped with a newline 2023-10-03 17:54:23 +02:00
smallmodel
9f42da4686
Hide tempmodel when it is outside of the min/max distance range 2023-10-03 17:04:26 +02:00
smallmodel
58e3056374
Fixed coordinates displaying twice in the console 2023-10-03 17:02:36 +02:00
smallmodel
3142865fef
Added MacOS support 2023-10-03 17:02:23 +02:00
smallmodel
06e3497a57
Fixed issues with tempmodel origin 2023-10-03 17:02:07 +02:00
smallmodel
e49833737d
Fixed label showing when stat alpha is 0 2023-10-03 12:21:24 +02:00
smallmodel
7eedc5fef8
Fixed Rend_SetColor() with m_local_alpha 2023-10-03 01:51:31 +02:00
smallmodel
c442942022
Using text outlines 2023-10-03 01:49:59 +02:00
smallmodel
2c2652ed1d
Fixed outline color 2023-10-03 01:41:35 +02:00
smallmodel
97bcc07aab
Made m_bOutlinedText a protected member 2023-10-03 00:54:45 +02:00
smallmodel
001704b22e
Implemented LayoutPlayerStatAlpha and LayoutStatbarShader_Marker 2023-10-03 00:48:41 +02:00
smallmodel
f1d9cd93ce
Added events from moh 2.0 and above 2023-10-02 21:13:48 +02:00
smallmodel
49aa2aa858
Implemented UILabel from moh 2.0 and above 2023-10-02 21:11:48 +02:00
smallmodel
6274d9a1e9
Added UI_StartLocalSoundDialog, UI_FadeSound and UI_StopAll imports 2023-10-02 21:11:32 +02:00
smallmodel
5fa9d91401
Added S_StartLocalSoundChannel 2023-10-02 21:11:16 +02:00
smallmodel
9acb803ffe
Implemented getMaxWidthIndex and PrintOutlinedJustified from moh 2.0 2023-10-02 20:38:48 +02:00
smallmodel
105924bca3
Formatted document 2023-10-02 20:18:24 +02:00
smallmodel
5f12be2037
Formatted source files 2023-10-02 19:18:25 +02:00
smallmodel
13931c40cb
Added playerstatalpha and statbar_shader_marker from 2.0 2023-10-02 19:16:12 +02:00
smallmodel
ada5d614c5
Added comments about versions 2023-10-02 18:49:46 +02:00
smallmodel
7323d51219
Emitter fixes 2023-10-02 18:47:02 +02:00
smallmodel
f5071f2667
Fixed out of temp model warning spam 2023-10-02 18:46:45 +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
b17494519e
Tempmodel fixes 2023-10-02 13:41:00 +02:00
smallmodel
13555f505c
newEnt's parent entity must be ENTITYNUM_NONE in AddTempModels() 2023-10-02 12:45:51 +02:00
smallmodel
2a65f53084
TagSpawnLinked must initialize the spawnthing origin to the entity's origin 2023-10-02 12:45:34 +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
baa8f4334b
Implemented CG_ClientCommands 2023-10-02 12:07:12 +02:00
smallmodel
24a211b190
Formatted document 2023-10-02 11:56:35 +02:00
smallmodel
6e82f254b7
Formatted document 2023-10-02 11:51:08 +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