Commit graph

120 commits

Author SHA1 Message Date
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
smallmodel
efaea69c09
Don't evaluate state when immobile 2024-02-23 21:12:38 +01:00
smallmodel
a67dbff603
Reset state to STAND when the player has no physics 2024-02-23 21:12:23 +01:00
smallmodel
1fa2031f11
When a player is inside a vehicle, use the vehicle's health for the health stat 2024-02-08 20:41:33 +01:00
smallmodel
d501285057
Play pain animation only in 2.0 and above 2024-02-04 15:47:48 +01:00
smallmodel
e73be7ef5c
Smoke grenades don't exist in vanilla Allied Assault 2024-02-03 21:19:04 +01:00
smallmodel
b6b35079ef
Fixed crouch height bounding box 2024-01-22 23:53:13 +01:00
smallmodel
09ad42ba47
Fixed players not being able to use while firing, below 2.0 2024-01-08 22:56:26 +01:00
smallmodel
6b4a8bd627
Fixed jumpstart modheight not working on AA 2024-01-02 23:32:06 +01:00
smallmodel
0d851fdb68
Players now get correct weapons depending on the target game version 2024-01-02 18:38:21 +01:00
smallmodel
70c71b69ee
Added a feature to let each team have their own objective location 2024-01-02 00:52:25 +01:00
smallmodel
0167f0a3a4
Using Added in OPM comments 2023-12-28 20:35:33 +01:00
smallmodel
6b5e527b6b
Fixed callvote line breaks 2023-12-27 15:38:17 +01:00
smallmodel
b7005a310e
Fixed callvote still executing kick with an invalid player 2023-12-27 15:14:08 +01:00
smallmodel
73111d854d
Fixed an infinite loop bug when selecting the previous/next weapon 2023-12-27 14:07:57 +01:00
smallmodel
c7c8d4580d
Added missed archived variables and using a ScriptThreadLabel instead of an event for the killed handler 2023-11-27 20:07:57 +01:00
smallmodel
5418d84c7e
Fixed m_fpsTiki being uninitialized when archiving 2023-11-26 20:36:23 +01:00
smallmodel
e50a041c12
SimpleEntity subclass flags name now starts with ECF_ prefix 2023-11-16 23:17:06 +01:00
smallmodel
59ac8ea437
Clear the partial immobile flag when initializing the player's physics 2023-11-15 20:41:41 +01:00
smallmodel
a3ed25cb2e
Use WEAPON_CLASS_ITEM1 instead of raw 256 constant value 2023-11-15 19:36:29 +01:00
smallmodel
8c64b7aa89
Clear charge start time on respawn 2023-11-14 14:06:39 +01:00
smallmodel
99a9022b53
Fixed Italian player not switching to the Breda weapon after spawning 2023-11-14 00:50:35 +01:00
smallmodel
1255964e6b
Added a fix that prevent players from equipping weapons from the other team 2023-11-14 00:49:32 +01:00
smallmodel
c0a50eb2ff
Fixed infinite spectator switch loop 2023-11-13 20:31:41 +01:00
smallmodel
cc62ebcffc
Don't display an error for viewmodelanim fps tiki 2023-11-04 19:01:48 +01:00
smallmodel
7899e5161e
Add a newline at the end of dmmessage errors 2023-11-04 00:20:27 +01:00
smallmodel
95603b1142
Convert chat prefix for localization 2023-11-04 00:08:53 +01:00
smallmodel
bf8e0eb812
Other player was not receiving the private message 2023-11-04 00:05:18 +01:00
smallmodel
6caa16444e
Return an str for battle language instead of const char* 2023-11-03 22:00:49 +01:00
smallmodel
94d4cbeb82
Enhanced Player's dmmessage implementation (say + voice) 2023-11-03 21:56:31 +01:00
smallmodel
e306c415f0
Only move the client if there is no turret or if the turret doesn't allow user's aim 2023-11-01 20:15:44 +01:00
smallmodel
844a50dfd8
Added more comments in DoUse 2023-10-17 17:51:29 +02:00
smallmodel
8abdb80e85
Fixed crashes when spectating, and fixed spectate not working properly under some conditions 2023-10-13 21:15:02 +02:00
smallmodel
e132c0a015
Player camera view fix
- Add PMF_DAMAGE_ANGLES when camera show quakes
- Fixed spectating angles
- Fixed a crash that can occur if current_torso is NULL
2023-10-13 19:52:12 +02:00
smallmodel
d757fa6306
Renamed world.cpp and world.h to worldspawn.cpp and worldspawn.h 2023-10-08 00:08:47 +02:00