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
smallmodel
e4425dcbf8
Make sure to check if vehicle or turret is valid before locking
2023-10-04 00:25:55 +02:00
smallmodel
c3d228a9f5
Fixed float vote options
2023-09-24 23:37:26 +02:00
smallmodel
60f83597ee
Added HasVehicle() virtual method
2023-09-24 16:38:06 +02:00
smallmodel
e26d7d346a
IsReady() should also check for dead
2023-09-23 19:38:17 +02:00
smallmodel
54bae94ad9
Use Weapon::SetItemSlot when updating stats, instead of setting weapon_class manually
2023-09-19 20:18:27 +02:00
smallmodel
a8a2c7e345
Use result from GetVAngles() in Player::GetViewangles() event
2023-09-19 20:08:35 +02:00
smallmodel
25690648d6
Fixed inventory item having wrong weapon class set, and added support for portable turret
2023-09-17 19:54:45 +02:00
smallmodel
e160cf240c
Fixed vote not working properly
2023-09-12 20:12:09 +02:00
smallmodel
0ee4ffbfbc
Implemented vote system (from mohaas/mohaab)
2023-09-12 00:07:10 +02:00
smallmodel
b1bb79e19f
Added Player::HasVotedYes() and Player::HasVotedNo()
2023-09-11 21:28:05 +02:00
smallmodel
76c69b7bd1
Implemented Player::CallVote from mohaas/mohaab
2023-09-11 20:45:30 +02:00
smallmodel
c5a46be23e
Optimized calls to Event() (avoid allocating a new Event when it can be reused)
2023-09-07 18:22:07 +02:00
smallmodel
38c0e09e8a
Call UpdateFootsteps() even on multiplayer
2023-09-03 00:07:17 +02:00
smallmodel
dbcf4c1800
Use GT_SINGLE_PLAYER instead of comparing non-zero
2023-08-29 18:48:36 +02:00
smallmodel
0f58b5780a
Fixed fall damage on mohaas/mohaab
...
Use a percentage of the health instead
2023-08-28 15:49:28 +02:00
smallmodel
a7f258f2b1
Fixed health not healing with the healrate
2023-08-28 15:48:12 +02:00
smallmodel
28fbcf5628
Removed player printf destructor
...
Remove EF_PLAYER entflags from the Player destructor
2023-08-21 23:44:33 +02:00
smallmodel
3ea73febe4
Fixed spectate num
2023-08-21 23:33:23 +02:00
smallmodel
9eb3b3e1c3
Fixed infinite loop in SetPlayerSpectate()
2023-08-21 21:38:44 +02:00
smallmodel
010794418c
Fixed GetSpectateFollowOrientation using forward rather than right
2023-08-20 14:02:55 +02:00
smallmodel
51b5b2571a
Set lean info per game for Pmove
2023-08-20 14:02:33 +02:00
smallmodel
50cfc7e5ad
Added STRING_VIEWMODELANIM_DONE
2023-08-19 21:06:25 +02:00
smallmodel
aa25ef6c68
Removed EV_Player_UseHeld as there is already EV_GetUseHeld
2023-08-19 00:35:32 +02:00
smallmodel
854136d85b
Fixed spelling mistake
2023-08-18 14:14:11 +02:00
smallmodel
15e8146306
Don't hide the HUD when in turret or vehicle
2023-08-17 22:38:09 +02:00
smallmodel
0e1837db31
Fixed smoke and rifle grenade max ammo
2023-08-17 21:30:57 +02:00
smallmodel
4f757445c4
Set vehicle to be in godmode if the player is in godmode
2023-08-17 18:24:20 +02:00
smallmodel
7e113359b3
Fixed crash with healrate
2023-08-16 19:14:05 +02:00
smallmodel
f9232840e4
Fixed sprint not working
2023-08-16 13:17:01 +02:00
smallmodel
1f4393e3b2
Call DM_Team::AddKills when the player got killed
2023-08-16 01:32:53 +02:00
smallmodel
c4738966fe
Using g_utils.cpp from fakk
2023-08-15 01:27:35 +02:00
smallmodel
e86e5c0d80
Renamed MOD_MINE to MOD_LANDMINE
...
Added MOD_AAGUN
2023-08-14 23:37:05 +02:00
smallmodel
7fb42cf655
Fixed message printing on mohaas/mohaab
2023-08-14 20:44:28 +02:00
smallmodel
ba2c3ed5fd
Fixed lean on protocols before 2.0
2023-08-14 02:12:30 +02:00
smallmodel
421b3d6375
Fixed crouch on mohaa and mohaas/mohaab
2023-08-13 20:20:36 +02:00
smallmodel
ea78d96bc3
Fixed disabled view model animation
...
Fixed pmove viewheight
2023-08-13 17:59:41 +02:00
smallmodel
16c22a3ee5
Added "idle0", "idle1", "idle2" view model animations
...
Fixed respawn time after death
Fixed Sentient not switching to the primary weapon when spawning
Fixed weapon select not showing
Initialize all Player variables
Remove projectiles when switching teams
Set viewmodelanim to disabled when reaching the weapon's max fire movement
2023-08-13 16:11:25 +02:00
smallmodel
ddac42e21e
Call Weapon::GetZoom() instead
2023-08-11 23:54:43 +02:00
smallmodel
41f7003747
Fixed SetPlayerView, SetupView, PlayerAngles
...
UpdateStats changes:
- Added support for allied and axis objective locations
- Vehicle health
- Healrate
- Secondary ammo
2023-08-11 03:13:36 +02:00
smallmodel
a56d74814b
Try to play pain animation in DamageFeedback
2023-08-11 01:58:22 +02:00
smallmodel
8d41b58635
Using hitloc enum instead of macros
2023-08-11 01:34:21 +02:00
smallmodel
e80f326ee6
Proper implementation of DamageFeedback
2023-08-11 01:21:50 +02:00
smallmodel
8a808b616e
Apply fall damage differently on mohaas/mohaab
...
Ignore world effects if no-cliping
2023-08-11 00:54:15 +02:00
smallmodel
91bb2f2e0b
Enable god mode for the vehicle the player is in
2023-08-11 00:48:09 +02:00