Commit graph

165 commits

Author SHA1 Message Date
smallmodel
db16c8bea4
Localize player IPrint string 2024-11-25 19:09:02 +01:00
smallmodel
652df1a5af
Prevent players with SVF_NOCLIENT to use objects 2024-11-17 22:10:03 +01:00
smallmodel
aeb8aa8e55
Don't send a voice chat message if the entity is not sent to clients 2024-11-17 20:28:03 +01:00
smallmodel
e74e113199
Fix voice message always being sent to enemies in team message 2024-11-17 20:26:40 +01:00
smallmodel
9a55939b42
Fix weapon selection 2024-11-10 22:10:34 +01:00
smallmodel
d3f3b9b51c
Don't allow lean in single-player in the base game 2024-11-10 17:01:56 +01:00
smallmodel
67486f1e49
Clear the player velocity on intermission 2024-11-10 16:17:03 +01:00
smallmodel
2e0e5db260
Implement bindweap 2024-11-09 00:27:42 +01:00
smallmodel
ac3eb58671
Return 4 from getconnstate even if it's deprecated 2024-11-08 21:46:25 +01:00
smallmodel
b38fedb18c
Make the vehicle path drive from TurretMove
This fixes the issue where the AB41 can't be controlled
2024-11-07 20:23:24 +01:00
smallmodel
1f232efdf3
Add the push velocity when jumping from a valid ground entity 2024-11-03 20:34:49 +01:00
smallmodel
94e1830895
Don't jump when on top of another sentient 2024-11-03 20:32:17 +01:00
smallmodel
406f804ef8
Don't jump when inside a vehicle or turret 2024-11-03 20:30:37 +01:00
smallmodel
5cb343730b
Rename Conditions to m_conditions 2024-11-03 20:06:31 +01:00
smallmodel
2e6e20cf09
Set the m_bHasJumped value when jumping 2024-11-03 20:01:21 +01:00
smallmodel
1e036a7689
Clear the torso and legs state when the movement type is set to portable turret 2024-10-31 19:49:05 +01:00
smallmodel
858b27b809
Handle the case where the legs or the torso state is NULL 2024-10-31 19:48:30 +01:00
smallmodel
940ac789b9
Change the current fov only if the fov is currently the selected fov
This prevents the player from modifying the fov while zooming
2024-10-26 22:42:18 +02:00
smallmodel
fcd2d2e668
Use the correct weapon selection menu 2024-10-23 20:15:29 +02:00
smallmodel
f5391bbfa0
Use BUTTON_ANY to check for input rather than BUTTON_MOUSE 2024-10-21 19:03:19 +02:00
smallmodel
aa0c704655
Instead of resetting the state, prevent using the turret if the player is charging 2024-10-20 22:42:05 +02:00
smallmodel
e2f5c80afc
Stop charging the weapon when using turret 2024-10-20 18:46:23 +02:00
smallmodel
8c2b92d151
Remove player from turret when deleted 2024-10-13 23:22:13 +02:00
smallmodel
032fb9b5ba
Make sure to delete all conditional objects
This fixes the issue where memory would be leaked by conditionals
2024-10-13 22:09:38 +02:00
smallmodel
1624d10a01
Don't check for bots for smoothclients 2024-10-07 00:51:01 +02:00
smallmodel
0120e7e4a5
Add liberation messages 2024-10-03 19:06:03 +02:00
smallmodel
ef45c988c6
Fix player spectating often not spectating the next alive player 2024-10-02 22:16:58 +02:00
smallmodel
0472a93c3f
Ignore kills when telefragging
This fixes an issue (that also occur on OG) where telefrags would also count towards teamkills
2024-10-02 17:02:48 +02:00
smallmodel
9b70e646dc
Add "auto" to automatically choose a primary weapon 2024-10-02 16:52:22 +02:00
smallmodel
388ab210a7
Fix incorrect obituary hit location 2024-10-02 16:42:10 +02:00
smallmodel
dfd04f0d41
Reset the player state when using a turret
This prevents the player from using the turret + hold their weapon to crouch and become impossible to hit
2024-10-02 14:50:11 +02:00
smallmodel
88ac49c0c9
Set the correct flag when the player is using a turret 2024-10-02 14:35:37 +02:00
smallmodel
c68fbfacb9
Set the EF_PLAYER_IN_MENU flag when the player is talking 2024-10-02 14:09:27 +02:00
smallmodel
c406aaf74f
Add a feature that prevents teams from being uneven 2024-09-29 19:00:19 +02:00
smallmodel
bfa0ef64ec
Fix the letterbox not transitioning smoothly
This fixes the letterbox being shown immediately
2024-09-27 19:35:30 +02:00
smallmodel
e43f0a9285
Add a new feature to enable/disable instant messages and text chat with a variable to set the minimum delay between messages 2024-09-26 19:29:56 +02:00
smallmodel
dbc536c6c2
Fix voice chat time not working on FFA 2024-09-26 19:10:01 +02:00
smallmodel
c6675f2013
Remove special features code to avoid any confusion 2024-09-22 20:06:31 +02:00
smallmodel
f9d264058b
Use safe version of sprintf and strcpy 2024-09-20 23:08:53 +02:00
Sébastien Noel
a010e648ee Fix a few typos 2024-09-19 10:52:47 +02:00
smallmodel
2ab826268d
Clear the legs state during the torso evaluation when the movecontrol is not legs
The legs state won't be stuck anymore waiting for an empty animation. This could happen under special circumstances, when the torso evaluation sets the movecontrol to non-legs (clears the legs anim) and then back to legs in subsequent iterations.
Fixes #105, the issue cannot be exploited anymore for land-sharking
2024-09-16 20:20:19 +02:00
smallmodel
f35582489d
Fix support for british, russian and italian voices in Spearhead and Breakthrough 2024-09-16 18:09:56 +02:00
smallmodel
77292fb9ab
First person spectator fix (not working yet) 2024-09-15 01:21:17 +02:00
smallmodel
725561b655
Fix the usage of memory, strings, constant and parameters 2024-09-08 23:54:47 +02:00
smallmodel
53565663d9
Add old welcome code (commented out) for when a player becomes spectator 2024-09-02 01:01:55 +02:00
smallmodel
2b9d31fe7f
Normalize angles to fix interpolation issues on client
See #342
2024-08-27 15:24:31 +02:00
smallmodel
6b89ec615a
Set damage angles only for mohaa 1.0-1.11 2024-07-27 19:45:18 +02:00
smallmodel
44c17409a7
Allow pain if the player dies 2024-07-27 19:33:39 +02:00
smallmodel
81df55310b
Fix medals always being awarded
This fixes #316
2024-07-23 19:53:40 +02:00
smallmodel
5317b8424f
Prevents the player from walking
This fixes #275
2024-07-02 22:16:13 +02:00