Commit graph

3794 commits

Author SHA1 Message Date
smallmodel
fe862badf6
Add printdeathmsg from moh 2.0 and above 2024-11-12 18:37:17 +01:00
smallmodel
1ad5964c2f
Implement stoploopsound from moh 2.0 and above 2024-11-12 18:21:24 +01:00
smallmodel
851a16e18c
Fix the bullet tracer scale 2024-11-12 00:09:29 +01:00
smallmodel
763a79cb74
Fix angle when in turret 2024-11-11 23:48:39 +01:00
smallmodel
c9ccb0efaf
Check for Sentient instead of Player 2024-11-11 23:48:19 +01:00
smallmodel
9e060d11b6
Allow user-created variables 2024-11-11 20:58:37 +01:00
smallmodel
50fdbaf152
Use CVAR_RESETSTRING instead of CVAR_SERVER_CREATED 2024-11-11 20:36:03 +01:00
smallmodel
ccca958ec5
Get the grid1 on each iteration in case it has been reallocated
This fixes a very rare crash that would occur when loading a world map
2024-11-11 19:48:49 +01:00
smallmodel
dd37ba2741
Properly archive clients 2024-11-11 19:06:05 +01:00
smallmodel
81b49236a5
Use proper types for playerState_t structure 2024-11-11 19:00:36 +01:00
smallmodel
894e1d7d66
Properly cleanup the existing owner from targets 2024-11-11 18:37:29 +01:00
smallmodel
9d83d58756
Create path only if the target is a SplinePath 2024-11-11 18:28:56 +01:00
smallmodel
54b9a0c340
Fix incorrect SKB offsets 2024-11-11 18:28:42 +01:00
smallmodel
2cf380c15d
Add scale field for skel header 2024-11-11 18:12:50 +01:00
smallmodel
d400d8927d
Fix archive data between 64-bit and 32-bit architectures 2024-11-11 17:52:24 +01:00
smallmodel
fef30ff3d5
Clear the splinepath entity flag when destroying 2024-11-11 17:35:41 +01:00
smallmodel
4023c9d863
Fix isOpen event, must return true if it's not closed 2024-11-11 16:40:43 +01:00
smallmodel
7bcb91bbb5
Don't allocate the mark if the number of allocated polys is insufficient
There was a very rare occurrence where it would hang trying to find a free mark poly, when the number of specified polys was more than the number of allocated polys. This bug also occurs in the original game
2024-11-11 15:14:20 +01:00
smallmodel
5edee7d12e
Add tmvolume from Spearhead and Breakthrough 2024-11-11 14:24:57 +01:00
smallmodel
51c7e27bc1
Fix the switch label not being archived 2024-11-11 14:05:14 +01:00
smallmodel
f400190531
Fix the switch label called incorrectly for VehicleTurretGunTandem 2024-11-11 14:04:51 +01:00
smallmodel
8732e368b6
Clear the last command angles when loading 2024-11-11 13:49:33 +01:00
smallmodel
9a55939b42
Fix weapon selection 2024-11-10 22:10:34 +01:00
smallmodel
cd89d2c0b4
Don't execute reloadmap if the server is not running 2024-11-10 22:10:24 +01:00
smallmodel
661b08a7fa
Don't set g_shownpc to 1 when developer is set 2024-11-10 21:47:58 +01:00
smallmodel
079555e43a
Fix VehicleTurretGun sound 2024-11-10 19:29:33 +01:00
smallmodel
fcc4e94655
Continue traveling if the bullet trace goes backwards 2024-11-10 19:02:59 +01:00
smallmodel
c5721f8a2c
Fix variable name starting with multiple consecutive numbers 2024-11-10 17:55:54 +01:00
smallmodel
e5acee55ea
Restore old behavior of "angle" event of the ScriptOrigin class on previous versions (below 2.30) 2024-11-10 17:42:37 +01:00
smallmodel
d3f3b9b51c
Don't allow lean in single-player in the base game 2024-11-10 17:01:56 +01:00
smallmodel
48e9db8966
Don't reload the state table when archiving
This fixes multiple issues where the player could end on an incorrect move type after loading from save, like getting out of the ladder
2024-11-10 16:50:23 +01:00
smallmodel
67486f1e49
Clear the player velocity on intermission 2024-11-10 16:17:03 +01:00
smallmodel
923a6de394
Clear the velocity when both walking and frozen 2024-11-10 16:07:55 +01:00
smallmodel
de0e4954f8
Call G_MoveClientToIntermission() instead of setting the immobile flag 2024-11-10 15:53:06 +01:00
smallmodel
1ef1bad9ae
Add network profiling tool from Spearhead and Breakthrough
Profiling can be enabled with `cl_netprofile` and `sv_netprofile`, the overlay can be shown using `cl_netprofileoverlay` and `sv_netprofileoverlay` and the server can dump network profile using the `netprofiledump` command
2024-11-09 21:38:16 +01:00
smallmodel
23a035e2ca
Use a default value for maxlen and bVirtualScale for Print 2024-11-09 19:38:15 +01:00
smallmodel
ec73268f94
Reorder methods 2024-11-09 19:21:24 +01:00
smallmodel
2b06cc690e
Add reloadmap server command from Breakthrough 2024-11-09 16:03:08 +01:00
smallmodel
7afc2427ac
Finish DrawBoundingBox() entity implementation 2024-11-09 15:51:27 +01:00
smallmodel
f3bbcba4f0
Set blue horizontal lines for debug bbox 2024-11-09 15:16:46 +01:00
smallmodel
0dca08a66a
Fix actor position on a turret 2024-11-09 14:35:52 +01:00
smallmodel
f646151ce2
Set medium difficulty by default 2024-11-09 13:27:24 +01:00
smallmodel
2e0e5db260
Implement bindweap 2024-11-09 00:27:42 +01:00
smallmodel
f34aad03cd
Add script owner implementation 2024-11-09 00:18:59 +01:00
smallmodel
332d209f62
Check if the turret's vehicle entity is valid 2024-11-08 22:31:49 +01:00
smallmodel
888e35466b
Drop error if the Script cannot load the file 2024-11-08 22:28:33 +01:00
smallmodel
1f69fce10e
Don't check for CONTENTS_BBOX on the base game for large bullets passing through entities
Some mods have tanks with mounted turrets and this would cause issues as the bullet would hit the tank instead
2024-11-08 22:06:51 +01:00
smallmodel
ac3eb58671
Return 4 from getconnstate even if it's deprecated 2024-11-08 21:46:25 +01:00
smallmodel
14f3e2faf9
Add a comment about driver solidity 2024-11-08 21:26:23 +01:00
smallmodel
a528e916c2
Add the owner when starting a thread from trigger_multipleall if the activator is a projectile 2024-11-08 21:26:09 +01:00