Commit graph

1070 commits

Author SHA1 Message Date
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
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
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
7c33f98ae9
Use m_fFollowRelativeYaw 2024-02-13 00:57:37 +01:00
smallmodel
74e8a38c00
When idle, limit the turret's pitch to the max idle pitch 2024-02-12 16:59:20 +01:00
smallmodel
5a0aeb2f88
Fixed last fire time being incorrectly set in the future 2024-02-12 15:12:55 +01:00
smallmodel
b0e597cf55
Fixed vehicle collision orientation 2024-02-12 15:02:55 +01:00
smallmodel
3e190ca4b3
Added MASK_SHOT_FLUID (there are so many masks) 2024-02-12 00:02:28 +01:00
smallmodel
3853d1ef39
Properly map the CGM message depending on the protocol version 2024-02-11 23:38:24 +01: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
d3870309fb
Fixed MASK_MONSTERSOLID 2024-02-11 22:56:44 +01:00
smallmodel
1fa2031f11
When a player is inside a vehicle, use the vehicle's health for the health stat 2024-02-08 20:41:33 +01:00
smallmodel
f0aad4bb21
Don't mark the driver slot as unused by default 2024-02-07 22:51:50 +01:00
smallmodel
8fe054b063
Fixed door open direction 2024-02-06 23:32:33 +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
434a48af7d
Initialize m_iNumShotsFired 2024-02-06 22:57:37 +01:00
smallmodel
c9aedf242d
Fixed scoreboard sending incorrect data for spectators 2024-02-05 21:03:10 +01:00
smallmodel
cf1dbf07c7
Corrected MASK_CLICK tracemask (especially for patches surface) 2024-02-04 20:46:05 +01:00
smallmodel
13ec3435b4
Fixed rain num shaders 2024-02-04 19:36:56 +01:00
smallmodel
2174f2ff85
For "delete" and "remove", use Listener::ScriptRemove 2024-02-04 19:09:08 +01:00
smallmodel
ac40373c09
Use RemoveVehicleSoundEntities() to remove sound entities 2024-02-04 19:08:37 +01:00
smallmodel
d5908bd75c
Fixed frag grenade spelling in SP 2024-02-04 16:30:31 +01:00
smallmodel
8cf3be3526
If in thinks, don't delete the object immediately 2024-02-04 16:30:22 +01:00
smallmodel
0290fa3351
Set default animation on the attached model if the tag was not found 2024-02-04 16:30:02 +01:00
smallmodel
d501285057
Play pain animation only in 2.0 and above 2024-02-04 15:47:48 +01:00
smallmodel
56044dd8f8
HideMouse doesn't take parameters 2024-02-03 23:19:55 +01:00
smallmodel
e73be7ef5c
Smoke grenades don't exist in vanilla Allied Assault 2024-02-03 21:19:04 +01:00
smallmodel
534176423e
Fixed trace error with Vehicle Hit(MV2) 2024-02-02 23:05:55 +01:00
smallmodel
ca2c2fb8fe
Use floating-point operation in CalculateBoxPoints() 2024-02-02 23:05:18 +01:00
smallmodel
4388b7b187
AI_ThinkActive() must be used if the owner is an Actor 2024-02-02 19:26:11 +01:00
smallmodel
368f94ce3b
Fixed spline improperly returning the number of points when appending 2024-02-02 19:23:09 +01:00
smallmodel
bf27caa61e
Fixed vehicle lacking gravity 2024-01-29 22:55:48 +01:00
smallmodel
808916029e
Formatted scriptthread source file 2024-01-29 00:03:51 +01:00
smallmodel
f83839e01b
Fixed crash with WhatIs command if the entity doesn't have a model 2024-01-28 23:32:43 +01:00