Commit graph

852 commits

Author SHA1 Message Date
smallmodel
c0a284927e
Fixed vote item name being empty 2023-12-31 00:53:26 +01:00
smallmodel
2d911c37a4
Added vote commands for cgame 2023-12-31 00:39:43 +01:00
smallmodel
eb663fdbc1
Fixed a crash due to subtitle when there is no player 2023-12-28 21:08:07 +01:00
smallmodel
d217b1d561
Fixed some events having wrong parameters for documentation 2023-12-28 20:50:47 +01:00
smallmodel
0167f0a3a4
Using Added in OPM comments 2023-12-28 20:35:33 +01:00
smallmodel
4304ad0faa
Fixed weapon attachment not correcting properly 2023-12-28 19:16:54 +01:00
smallmodel
3be17376e4
Fixed wrong landmine defuse direction 2023-12-28 18:55:43 +01:00
smallmodel
0b4fd4c17e
Fixed isabandoned returning 1 if the player has a landmine 2023-12-28 18:53:32 +01:00
smallmodel
66c4499b2e
Fixed ScriptThreadLabel::Execute with other/owner param 2023-12-28 18:30:15 +01:00
smallmodel
cde13177a4
Don't set the ground entity in Entity::droptofloor 2023-12-28 18:22:10 +01:00
smallmodel
9fce2575ab
Commented out the code that makes triggers only respond to killed/activate messages 2023-12-28 18:21:58 +01:00
smallmodel
8f8e92c8c3
Don't cound the number of shots if the owner is the world 2023-12-28 17:47:18 +01:00
smallmodel
8683d317fe
Set origin2 and player's num shots fired when placing landmine 2023-12-28 17:45:53 +01:00
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