Commit graph

20 commits

Author SHA1 Message Date
smallmodel
459e13dc76
Allow pusher to teleport
This fixes an issue where teamslaves (bind elements) would not be in sync with the pusher
2024-11-27 14:36:16 +01:00
smallmodel
6b402e5215
Format g_phys source file 2024-11-25 22:21:51 +01:00
smallmodel
c9ccb0efaf
Check for Sentient instead of Player 2024-11-11 23:48:19 +01:00
smallmodel
0f48c39bc1
Add more resilience against null entity in G_FixEntityPosition 2024-07-27 19:05:45 +02:00
smallmodel
f9901787b5
Removed "touch" unregistration 2024-04-11 00:26:45 +02:00
smallmodel
bf700186d0
Fixed bounce velocity reduction 2024-02-11 23:31:26 +01:00
smallmodel
ca7cacfdcc
Add a debug line when bouncing if enabled (for AI) 2024-02-11 23:27:21 +01:00
smallmodel
b893f4f89f
Properly stop if on ground 2024-02-11 23:20:52 +01:00
smallmodel
109686aca2
Reduce the velocity when bouncing 2024-02-11 23:14:08 +01:00
smallmodel
6840df4eca
backoff value should be 1.4 for bounce and 1.6 for Gib 2024-02-11 23:11:11 +01:00
smallmodel
ed3f212bd8
Also check for slide with bounce movetype 2024-02-11 23:10:21 +01:00
smallmodel
e1f2a51f2b
Only move angles if there is an angular velocity 2024-02-11 23:07:32 +01:00
smallmodel
ac63e6c627
Rotate the client when blocked, and make sure the checked's velocity doesn't reach the push move speed 2024-02-06 23:31:48 +01:00
smallmodel
5ad0f60ee3
G_TestEntityPosition must check for sentient instead of player 2023-09-26 20:50:00 +02:00
smallmodel
070fe17473
G_PushEntity: use cylinder 2023-08-17 21:30:34 +02:00
smallmodel
12e85aba45
Also check if the groundentity has no movetype 2023-08-17 20:05:30 +02:00
smallmodel
c4738966fe
Using g_utils.cpp from fakk 2023-08-15 01:27:35 +02:00
smallmodel
5333c7ff4a
Removed empty line before opening braces 2023-07-05 20:52:55 +02:00
OM
1ee8463ff5 Arithmetic operations fixes 2023-06-22 18:32:15 +02:00
OM
e4fa0fff3a Renamed **game** to **fgame** 2023-06-15 23:44:02 +02:00
Renamed from code/game/g_phys.cpp (Browse further)