Commit graph

2816 commits

Author SHA1 Message Date
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
7956746b65
Fixed inward sphere argument: the argument should be optional
See #209
2024-02-19 19:34:11 +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
8a3b62e93f
Fixed targetname error 2024-02-16 23:50:57 +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
smallmodel
ceb901e9ca
Fixed disconnected menu not being pushed properly 2024-02-14 18:32:06 +01:00
smallmodel
651b86b066
Added comment for more clarity 2024-02-13 18:23:23 +01:00
smallmodel
a4003dd61c
Only execute anim/suppress.scr if targeting 2.0 and above 2024-02-13 18:16:52 +01:00
smallmodel
5e461786f9
Added a comment about FriendlyInLineOfFire 2024-02-13 18:15:54 +01:00
smallmodel
45108c6f4b
Fixed curious' finished animation global function
This fixes AI being permanently stuck in a curious animation
2024-02-13 17:38:11 +01:00
smallmodel
bc0d373dcd
Fixed AI getting blocked because of an obstacle 2024-02-13 17:37:28 +01:00
smallmodel
0f37a8f6ea
Fixed m_fLeashSquared initialization 2024-02-13 16:42:54 +01:00
smallmodel
03ceaf82ce
Fixed AngleMod() being inaccurate
This caused issues with Actor never finishing turning (because it expected the desired yaw to be at the exact same angle rounded by 0.001)
2024-02-13 16:23:47 +01:00
smallmodel
1e5e5e24f6
Fixed entity monitoring never printing 2024-02-13 16:23:06 +01:00
smallmodel
eb993dbd43
Fixed grenade toss location and wall facing 2024-02-13 16:22:56 +01:00
smallmodel
4f5abb3412
Fixed int conversion when printing the awareness 2024-02-13 16:22:39 +01:00
smallmodel
6418d79d76
Call PostThink() in Think_Alarm() 2024-02-13 16:22:18 +01:00
smallmodel
796a3a711f
Fixed animation delta over time 2024-02-13 01:01:51 +01:00
smallmodel
0ef743d945
Forgot newline 2024-02-13 01:01:39 +01:00
smallmodel
7c33f98ae9
Use m_fFollowRelativeYaw 2024-02-13 00:57:37 +01:00
smallmodel
51ba1e2951
Properly use identity / identitylighting when cgen isn't explicitly specified 2024-02-12 23:47:07 +01:00
smallmodel
0b16d599d5
Added UseCount for image_t 2024-02-12 22:11:15 +01:00
smallmodel
3b2223ad22
image validity check 2024-02-12 22:11:00 +01:00
smallmodel
186583148a
Use proper values for GL_TEXTURE_WRAP_S and GL_TEXTURE_WRAP_T 2024-02-12 22:10:00 +01:00
smallmodel
5475624b7f
Added DDS support + handle compressed textures correctly 2024-02-12 20:19:33 +01:00
smallmodel
d5be69239a
Added GL 1.3 functions 2024-02-12 20:18:52 +01:00
smallmodel
304645d720
Ignore CGEN_BAD stages 2024-02-12 19:50:32 +01:00