Commit graph

1167 commits

Author SHA1 Message Date
smallmodel
e8a48184b9
Set the ground entity number to the glue master 2024-02-23 23:09:29 +01:00
smallmodel
d2aa26248f
Don't allow ducking when physics are off
This fixes #251
2024-02-23 23:02: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
35e6435382
Reimplemented DropInventoryItems from 2.30 2024-02-22 23:12:04 +01:00
smallmodel
7a2735885f
Send information about sentient's team
This fixes #259
2024-02-22 22:50:36 +01:00
smallmodel
1a5cac2c6a
Implemented all parm methods
This fixes, #249 and fixes #217
2024-02-22 20:44:15 +01:00
smallmodel
ef08f1c8f3
Fixed turret fire issues 2024-02-22 20:21:53 +01:00
smallmodel
8919890dbe
Fixed entity collision for vehicles
This fixes vehicle not properly handling damage triggers (fixes #223, fixes #240)
2024-02-22 19:59:28 +01:00
smallmodel
cf6335d180
Fixed VehicleTouched not handling damage properly if there is no driver 2024-02-22 18:29:31 +01:00
smallmodel
a86a707e4a
Added more variables to initialize 2024-02-22 18:29:16 +01:00
smallmodel
9d61993878
Archive name_index 2024-02-21 20:59:41 +01:00
smallmodel
6eb20a3524
Added PostSpawn for ammo
This fixed ammo being spawned in the air without falling (fixes #244)
2024-02-21 20:59:28 +01:00
smallmodel
b0180383df
Fixed FFA scores
This fixes #242
2024-02-21 19:37:49 +01:00
smallmodel
61f0fc665f
Fixed MG42 reload anim name 2024-02-20 23:29:47 +01:00
smallmodel
b0c1d79132
Fixed AI mg42 fire delay 2024-02-20 23:29:38 +01:00
smallmodel
7945c2ca66
Fixed target's m_Team accidentally being overwritten
This causes NPC to look invulnerable (fixes #238)
2024-02-20 22:57:02 +01:00
smallmodel
7b6a558fe5
Check for valid turret gun in P_UserAim
When the player dies, it gets detached from turret can would cause crash (#216)
2024-02-19 23:41:57 +01:00
smallmodel
4122ee4168
Fixed RunAndShoot state crash due to NULL moving patrol node
(#214)
2024-02-19 23:25:39 +01:00
smallmodel
b77f62ab58
Load/Save SimpleArchivedEntity
This fixes #213 where elevator wouldn't go up because of missing waypoint
2024-02-19 23:23:15 +01:00
smallmodel
783bf1b63c
Archive ignorevelocity member 2024-02-19 23:22:53 +01:00
smallmodel
a0728b4a8a
Using MASK_CLICKITEM mask for ClickItemAttack 2024-02-19 23:10:14 +01:00
smallmodel
ea6e865cc8
Added MASK_CLICKITEM 2024-02-19 19:59:14 +01:00
smallmodel
1da4113110
Added FuncLadder archive method
This fixes bug where ladder would get unusable after loading from save game (see #211)
2024-02-19 19:36:46 +01:00
smallmodel
10a8d13ade
Added missing variables to archive 2024-02-18 23:27:15 +01:00
smallmodel
65b47a2b3a
Fixed AnimDone never being called
This fixes maps like e1l2 never starting because it waits for an anim to finish
2024-02-18 21:54:18 +01:00
smallmodel
46cc00d669
Set m_fMaxSpeed 2024-02-18 21:53:33 +01:00
smallmodel
5521cf9ab3
Fixed m_fMaxSpeed being always set to 250 2024-02-18 20:10:18 +01:00
smallmodel
a770df1e0b
Fixed path not found spam 2024-02-18 15:47:07 +01:00
smallmodel
03943a23ac
Fixed badplace and run and shoot think never working 2024-02-17 20:10:00 +01:00
smallmodel
685dc0336a
Corrected loop ordering 2024-02-17 00:05:39 +01:00
smallmodel
776012fedf
Health must have a targetname by default in 2.0 and above 2024-02-16 23:52:25 +01:00
smallmodel
6ba9f2655c
Call PostSpawn after constructing the health instance 2024-02-16 23:51:34 +01:00
smallmodel
bd999a6d9c
Fixed Trace's pass_entities parameter (didn't properly ignore entities) 2024-02-15 23:48:23 +01:00
smallmodel
f46078965d
info_null must inherits from Listener instead of Entity
This fixes Level::AllocEdict issues on some maps that use it a lot (like t2l4) #206
2024-02-15 21:15:37 +01:00
smallmodel
60f6bb17e3
Fixed AI parameters not fixing AI parameters 2024-02-15 20:40:55 +01:00
smallmodel
fdf1dac618
Wrong condition for SetDesiredYawDest (should set only if values are non-zero) 2024-02-15 20:23:50 +01:00
smallmodel
373a35acf0
Fixed target trigger being triggered by itself 2024-02-15 20:23:17 +01:00
smallmodel
abfdac59ba
Make aiMaxDeviation only supported on 2.0 and above 2024-02-15 00:21:01 +01:00
smallmodel
efc1354dcb
Fixed entity monitoring always used 2024-02-14 20:58:19 +01:00
smallmodel
c9f2603692
Don't suppress below 2.0 2024-02-14 20:48:11 +01:00
smallmodel
aab24260e2
FriendlyInLineOfFire should return false below 2.0 2024-02-14 20:47:54 +01:00
smallmodel
e450156bf7
Fixed path goal movement 2024-02-14 20:46:43 +01:00
smallmodel
1533c02a41
Fixed cover hide 2024-02-14 20:32:57 +01:00
smallmodel
c4855029a9
Fixed motion facing 2024-02-14 20:32:40 +01:00
smallmodel
4fa457118f
Fixed CanMovePathWithLeash() not returning the correct result 2024-02-14 20:06:35 +01:00
smallmodel
33b403d6eb
Fixed MASK_CANSEE 2024-02-14 19:58:29 +01:00
smallmodel
a5c6654dcb
Fixed m_fMaxDistanceSquared initialization value 2024-02-14 19:22:19 +01:00
smallmodel
07ec6adecb
Fixed ViewJitter never being removed 2024-02-14 18:40:34 +01:00