smallmodel
824cfd789c
Properly save and restore entity's children solidity
2024-11-16 18:19:45 +01:00
smallmodel
a0b80a9096
Fix string not usable for targetname
2024-11-16 18:17:19 +01:00
smallmodel
857d25825b
Remove tmvolume like other commands when shutting down OpenAL
2024-11-16 16:57:59 +01:00
smallmodel
735832829d
Don't drop the weapon if it has no ammo
2024-11-16 00:29:44 +01:00
smallmodel
5703161166
Fix grenade dropping no ammo
...
This makes the weapon drop at least 1 ammo clip
2024-11-16 00:29:13 +01:00
smallmodel
d85455e9ec
Don't export referenced paks if download is disabled on the server
2024-11-15 21:00:20 +01:00
smallmodel
f6c9de4286
Use com_basegame instead of BASEGAME macro
2024-11-15 20:58:46 +01:00
smallmodel
67b285924c
Prefix OpenAL with debug prints
2024-11-14 19:49:22 +01:00
smallmodel
0c206beb45
Expect a SimpleEntity rather than an Entity
...
The specified path in FollowPath can be a Waypoint which is a subclass of SimpleEntity
2024-11-14 19:46:16 +01:00
smallmodel
9a6472210c
Use a separate user-data location for the demo version
2024-11-13 23:15:31 +01:00
smallmodel
fb2f3bddaa
Fix the intermission screen (mission failed/success) not hiding immediately on the base game
2024-11-13 20:01:05 +01:00
smallmodel
96ca9c20e4
Rework fade sequence and make it work
2024-11-13 19:40:31 +01:00
smallmodel
d01fa33e46
Use 0.31 for Breakthrough demo
...
This makes the Breakthrough demo client compatible with Breakthrough demo servers
2024-11-13 00:07:07 +01:00
smallmodel
ab84a6ea58
Add support for the demo version of the game
...
This allows the demo version of the game to be used, both for playing on demo servers, or for hosting a demo server
2024-11-12 23:09:37 +01:00
smallmodel
b0a683c188
Don't localize if the localization hasn't been initialized
2024-11-12 23:09:32 +01:00
smallmodel
e5ef61c5d2
Abort decal loading if a shader cannot be found while loading
2024-11-12 23:00:38 +01:00
smallmodel
02af9a763d
Better support for older BSP versions
2024-11-12 20:56:26 +01:00
smallmodel
132903a843
Use different fields for protocol version 6 and 8
2024-11-12 20:56:02 +01:00
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