smallmodel
7831195b98
feat(fgame): add cvar to allow standing on another player's head
2026-04-12 16:42:21 +02:00
smallmodel
067302c108
fix(fgame): fix incorrect damage clamping
2026-04-07 19:21:48 +02:00
smallmodel
8c31216b59
feat(fgame): add an option for continuous legs animation
2026-04-06 00:29:41 +02:00
smallmodel
7b357cdfa9
fix(fgame): fix text message event receiving only the last word ( #882 )
2026-02-10 21:54:26 +01:00
smallmodel
887b649bb5
chore(fgame): clarify intermission type
2026-01-29 19:43:34 +01:00
smallmodel
9fd2fb13f1
feat(fgame): add an optional parameter to removeclass and killclass to control subclass inclusion ( #863 )
...
Subclasses are included by default.
2025-12-15 23:52:32 +01:00
smallmodel
f8876404c2
fix(fgame): fix invalid voteUpload value when loading from save (crash)
2025-12-15 22:23:23 +01:00
smallmodel
f648db6b52
feat(fgame): send vote options between multiple client frames ( #861 )
...
It is now possible for servers to send large vote configuration files to clients without causing disconnections due to packets being larger than 50 KB.
The issue also occurs on vanilla servers.
2025-12-10 21:14:37 +01:00
smallmodel
42fa1fb87d
feat(fgame): allow the player to rotate in noclip mode
2025-12-04 22:05:24 +01:00
smallmodel
63a1679bf6
fix(fgame): allow spectators and dead players to vote ( #845 )
2025-11-23 01:02:46 +01:00
smallmodel
777a9f2405
feat(fgame): use the camera's origin with a calculated offset for the player's camera view position
...
This makes it so bullets fired from turrets aim directly at the player's target when shooting.
2025-11-21 23:27:06 +01:00
smallmodel
26508d26f0
docs: correctly annotate version changes in comments
2025-11-21 23:19:46 +01:00
smallmodel
561ee6648a
refactor(fgame): use constants rather than a magic number for sentient mins/maxs
2025-11-18 21:44:08 +01:00
smallmodel
d82f0258a0
refactor(fgame): use a function that removes projectiles
2025-11-18 00:10:26 +01:00
smallmodel
b44252b989
docs(fgame): annotate 2.11 final changes
2025-11-17 20:25:53 +01:00
smallmodel
b839d55a07
fix(fgame): fix strange spectate behavior when going to spectator immediately after being killed
...
- Spectators would have 0 health.
- Spectators would sometimes drop health or anything DM-related.
- Spectators could have pain.
2025-11-13 23:05:59 +01:00
smallmodel
5df5735965
fix(fgame): remove view-model states and only cache players' world model ( #829 )
...
Caching all FPS models would create too many unnecessary entries. On some maps, this would cause clients to reach the MAX_MOD_KNOWN limit, causing crashes.
2025-11-13 00:16:26 +01:00
smallmodel
b06857d077
fix(fgame): add more checks for weapon dropping ( #815 )
...
- Drop carryable turrets, even if they are items.
- Don’t drop weapons when dead.
- In single-player mode, only allow dropping when realism mode is enabled.
2025-10-26 23:52:20 +01:00
smallmodel
69a63629e4
Don't animate and don't play states when frozen
...
The player's animation would look weird/shy and footsteps sound would continue to play.
2025-10-07 23:16:40 +02:00
smallmodel
a64007cb23
Make tick functions clearer
2025-10-07 22:48:42 +02:00
smallmodel
8041939976
Rename vote time variable
2025-10-07 21:36:40 +02:00
smallmodel
d757609842
Fix client's vote indication not cleared
2025-10-07 20:59:39 +02:00
smallmodel
48febb1247
Give binoculars for players on AA
2025-09-25 00:49:50 +02:00
smallmodel
c84b93fb77
Remove calls to ladder/turret detachment
...
These are called in InitModel() already
2025-09-19 13:20:37 +02:00
smallmodel
0fdf19a3d4
Add reflective team damage
...
A flag can be set for `g_teamdamage` so reflective damage can be enabled. When enabled, an attacker who damage their teammate will also get damaged.
2025-08-29 21:41:46 +02:00
smallmodel
bb9189f219
Don't kick all players if g_teamkillkick is set to 0
2025-08-29 21:16:23 +02:00
smallmodel
95474c92b3
Fix switch team messages
2025-08-16 21:15:35 +02:00
smallmodel
480a377292
Expose API to kick client with reason for game
...
This will let the client know why it gets kicked by game.
2025-08-16 21:08:10 +02:00
smallmodel
6adeca6196
Fix taunts incorrectly played as team on mohaa base ( #776 )
2025-07-27 13:41:19 +02:00
smallmodel
a9b8c44206
Fix incorrect entity flags set on the spawned dead body
2025-07-24 22:47:52 +02:00
smallmodel
4e8ddf3c35
Refactor server-sided view model animation
2025-07-06 20:10:02 +02:00
smallmodel
4b4644547a
Prevent clients from using first-person player model as a skin
2025-06-27 22:53:15 +02:00
smallmodel
d180f36370
Allow player_textMessage event to return a value
...
The script can optionally prevent the message from being sent.
2025-06-21 22:27:09 +02:00
smallmodel
1c5a33f82a
Gather usable entities based on the view position
...
This fixes an issue where leaning had no effect when trying to use entities.
2025-06-21 00:12:12 +02:00
smallmodel
ccb4b801bf
Add a code delegate for spawn
2025-06-14 21:31:00 +02:00
smallmodel
e43ade976b
Prevent switching teams and primary weapon in single-player
2025-06-13 00:41:25 +02:00
smallmodel
64cbcd023e
Clear pending weapon commands when a new one arrives
2025-06-05 23:40:52 +02:00
smallmodel
33cfc2cbf8
Fix projectiles with no owner getting removed when a player joins a team ( #735 )
2025-06-05 21:00:20 +02:00
smallmodel
6af295ebcb
Add a getter to retrieve the player's user info
2025-06-03 19:36:36 +02:00
smallmodel
cf06a395de
Properly initialize a client when reusing an entity
...
This fixes an issue where, if a client rejoins after losing connection, the scoreboard would temporarily display the name of client 0 before spawning.
2025-06-01 01:11:05 +02:00
smallmodel
95dff2536b
Add contextual print feature ( #727 )
...
Add metadata to client-specific messages such as text and join events.
Can be disabled via `sv_logContext 0`.
2025-05-31 22:31:36 +02:00
smallmodel
bdf92ffb06
Increase max dm message length to 400 characters
2025-05-18 00:30:10 +02:00
smallmodel
1bcf6f73a4
Add "(all)" prefix
2025-05-17 16:51:15 +02:00
smallmodel
483b49f5ee
Print the exact message that is shown in-game to console
2025-05-17 16:49:24 +02:00
smallmodel
8ab12b29a6
Fix issue where the text message gets empty when exceeding character limit
2025-05-14 23:55:47 +02:00
smallmodel
035f7b2605
Increase message buffer to 200 characters
2025-05-14 23:50:20 +02:00
smallmodel
e98c725043
Fix player having no damage alpha in mohaas and mohaab ( #678 )
2025-02-24 22:11:41 +01:00
smallmodel
a1e7afac76
Prevent using a trick to spoof another name in 1.11 and below
2025-02-03 23:51:40 +01:00
smallmodel
2f75092d8b
Reserve console name for DMMessage
2025-02-03 23:42:38 +01:00
smallmodel
ad01c2d966
Fix wrong flags getting checked for allowed weapons
2025-02-03 20:43:03 +01:00