Commit graph

839 commits

Author SHA1 Message Date
smallmodel
830cbe7af2
Fixed issues with animation when sv_fps was above 20 2023-12-27 18:04:41 +01:00
smallmodel
4eb83c0766
Fixed weapon attachments not being detached 2023-12-27 16:29:00 +01:00
smallmodel
210f2fef77
Formatted source file 2023-12-27 16:28:28 +01:00
smallmodel
d19a6160d2
Call SetWeaponAnim() instead of NewAnim() for weapon animation 2023-12-27 16:25:37 +01:00
smallmodel
cd773cf73f
Set last active weapon only if the weapon is not an inventory item 2023-12-27 16:13:12 +01:00
smallmodel
f3b9a10f7a
Detach weapons already attached to the attach tag only if the current weapon attach tag is valid 2023-12-27 15:54:55 +01:00
smallmodel
709283ff33
Fixed MAX_ACTIVE_WEAPONS check (out of bounds) 2023-12-27 15:49:33 +01:00
smallmodel
6b5e527b6b
Fixed callvote line breaks 2023-12-27 15:38:17 +01:00
smallmodel
b7005a310e
Fixed callvote still executing kick with an invalid player 2023-12-27 15:14:08 +01:00
smallmodel
73111d854d
Fixed an infinite loop bug when selecting the previous/next weapon 2023-12-27 14:07:57 +01:00
smallmodel
065ab98175
Added a comment in CondMinChargeTime about the crash fix 2023-12-27 14:07:34 +01:00
smallmodel
cbeaeba828
Use IsSubclassOfWeapon() and IsSubclassOfPlayer() 2023-12-27 14:06:22 +01:00
smallmodel
0ee1307e75
Fixed missing m_Thread archive 2023-11-28 20:26:40 +01:00
smallmodel
e07dda6991
Fixed defaultEntry not being initialized after archiving 2023-11-28 20:10:23 +01:00
smallmodel
b10ce9a426
Added GetKey() / SetKey() in con_set's Entry, so ScriptVariable can override it and set the key appropriately 2023-11-28 19:50:19 +01:00
smallmodel
e59200a7de
Fixed cSpline archiving bad values 2023-11-27 20:35:23 +01:00
smallmodel
a7902a8837
Added FollowPathRelativeYaw and NormalAngles 2023-11-27 20:30:36 +01:00
smallmodel
615726cc75
Added FollowPathRelativeYaw 2023-11-27 20:22:37 +01:00
smallmodel
839abf6076
Added missing variables to archive 2023-11-27 20:20:00 +01:00
smallmodel
c7c8d4580d
Added missed archived variables and using a ScriptThreadLabel instead of an event for the killed handler 2023-11-27 20:07:57 +01:00
smallmodel
2cc47e10f9
Added missing iNextLandTime archived variable 2023-11-27 20:06:19 +01:00
smallmodel
8fc5dacebf
Removed bBindChilds unused variable + added more variables to archive 2023-11-27 20:06:05 +01:00
smallmodel
cb23f3bb70
Added missing weapon_class archived variable 2023-11-27 20:05:36 +01:00
smallmodel
d7350d8629
Added Clear() method in ScriptThreadLabel 2023-11-27 20:05:21 +01:00
smallmodel
7fdd26c59e
Added m_fHealRate archived variable 2023-11-27 19:37:26 +01:00
smallmodel
fad555308b
Archive ScriptVM and ScriptThread appropriately 2023-11-27 19:30:40 +01:00
smallmodel
433305617c
IsAlive: check if the given listener is an actual entity 2023-11-26 20:38:14 +01:00
smallmodel
5418d84c7e
Fixed m_fpsTiki being uninitialized when archiving 2023-11-26 20:36:23 +01:00
smallmodel
0e9d83ee14
Added a check to debug the total of archived items 2023-11-26 20:31:58 +01:00
smallmodel
ecbf7f6caa
Fixed Archive method not calling parent class archive method 2023-11-26 20:00:12 +01:00
smallmodel
5a3638fa68
Better for loop clarity 2023-11-26 19:55:07 +01:00
smallmodel
111088b540
Formatted document 2023-11-26 19:54:07 +01:00
smallmodel
ba1703ebf0
When loading an entity from archive, set the model only if the entity allows model to be archived 2023-11-26 19:49:51 +01:00
smallmodel
e50a041c12
SimpleEntity subclass flags name now starts with ECF_ prefix 2023-11-16 23:17:06 +01:00
smallmodel
ce0e9fe77e
Added portable turret anim blends + fixed anim blends 2023-11-16 23:03:04 +01:00
smallmodel
1146c834fb
Fixed bad bullet coords being sent 2023-11-15 21:02:23 +01:00
smallmodel
9068264132
Make sure to remove the view model and detach the player when the turret gun is being removed 2023-11-15 20:42:16 +01:00
smallmodel
59ac8ea437
Clear the partial immobile flag when initializing the player's physics 2023-11-15 20:41:41 +01:00
smallmodel
baf451d2a2
Cleaned up bg_public 2023-11-15 20:39:09 +01:00
smallmodel
d588012168
Don't use ANIM_MASK 2023-11-15 19:45:58 +01:00
smallmodel
a3ed25cb2e
Use WEAPON_CLASS_ITEM1 instead of raw 256 constant value 2023-11-15 19:36:29 +01:00
smallmodel
c399f45841
Weapon::SetItemSlot() fixed missing bitwise negate 2023-11-15 19:36:09 +01:00
smallmodel
b852980842
Fixed bullet tracer speed 2023-11-14 17:55:08 +01:00
smallmodel
14f9acdb57
Fixed "spin" event name 2023-11-14 14:09:52 +01:00
smallmodel
8c64b7aa89
Clear charge start time on respawn 2023-11-14 14:06:39 +01:00
smallmodel
8d49f8935c
Added mode parm for IS_WEAPONCLASS_READY_TO_FIRE
This fixes issues with animation being stuck on secondary grenade charge
2023-11-14 14:04:37 +01:00
smallmodel
ff8ec63e95
Call IsRepeatType() instead of checking the animFlags 2023-11-14 14:03:23 +01:00
smallmodel
096692fec8
Fixed usage of 2D vector array 2023-11-14 01:07:23 +01:00
smallmodel
30a1ccb2e2
Made stateString const char* 2023-11-14 01:04:22 +01:00
smallmodel
7794ee8aea
Mark Archive() method 'override' 2023-11-14 00:54:20 +01:00