Commit graph

154 commits

Author SHA1 Message Date
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
smallmodel
40e3977664
Continue using entities even when attached to a turret, in 1.11 and below for backwards compatibility!
Fixes #140 where the MG42 objective in m1l1 would not trigger
2024-06-15 00:16:29 +02:00
smallmodel
2b01f092b3
Fixed german model always being set to german_wehrmacht_soldier 2024-06-09 18:23:06 +02:00
smallmodel
911e87c6ec
physics_off: Don't reset the physics in 1.0 in Single-player mode
This fixes #303 in m4l2 where the player doesn't have their gun holstered in the truck
2024-06-03 20:29:41 +02:00
smallmodel
6d10ed27c5
Fixed preferred weapon not showing on stats screen
Fixes #271
2024-04-22 16:48:24 +02:00
smallmodel
6675a491be
Fixed the model name when archiving persistant data
This fixes a crash when the next mission map is loaded and then saving/loading afterwards (fixes #237)
2024-03-06 19:29:07 +01:00
smallmodel
9f5df368d1
Fixed infinite player team spectate 2024-03-05 23:30:25 +01:00
smallmodel
58d0e43f78
Use MASK_USE instead of MASK_SOLID 2024-02-26 17:37:38 +01:00
smallmodel
f229c1c5a8
Fixed player health in SP 2024-02-23 23:21:44 +01:00
smallmodel
a0cb46d4a1
Formatting 2024-02-23 23:09:57 +01:00
smallmodel
e8a48184b9
Set the ground entity number to the glue master 2024-02-23 23:09:29 +01:00
smallmodel
0f1de72ae6
Initialize the ground entity number 2024-02-23 22:51:08 +01:00