Commit Graph

3025 Commits

Author SHA1 Message Date
Melow
a962cf1edf Merge branch 'main' of https://github.com/MelowFX/ARC-9 2025-02-28 00:11:40 +02:00
Melow
1dead3a3e0 fix(hooks): correct logic causing incorrect behavior in return value
Fixed an issue where returning the 'false' value resulted in no output due to the 'or' operator always selecting the second argument. This was due to the way the 'or' operator works, where it prioritizes the first truthy value. The fix ensures the correct value is returned in cases where the 'false' value should be considered.
2025-02-28 00:11:09 +02:00
Darsu
b6d62865a2 NO_DAMAGE_FORCES in bipod for mytton pls test cuz i didn't 2025-02-28 00:27:21 +07:00
Darsu
e6730a41e1
Update cl_light.lua 2025-02-27 17:53:40 +07:00
Darsu
85696eaa9d 2x better tpik perf it was running twice a frame for no reason 2025-02-26 17:44:03 +07:00
littlebabyman
7fb499aece no prediction, no sharedrandom!!!!!!!!!!!!!!!!!!!! 2025-02-24 17:31:55 +02:00
littlebabyman
402bf96bda fix npc aiming bad 2025-02-24 17:22:42 +02:00
Darsu
afef8a94db swaggier light brightness hint 2025-02-23 20:42:15 +07:00
HouKyou
319f8011f7
added LeyHitreg to incompat warning 2025-02-23 11:52:31 +02:00
MokaAkashiya85
3bd56f2b25 Fancy UI stuff
- Increased the size of the "top left panel" customization menu element to accommodate new additions.
- Added a rudimentary UI element to show what value the Light Brightness is on. Only displayed when turned on.
- Moved the "Controller Mode is enabled." text from standalone drawtext to now being part ot the "top left panel" element, meaning it moves with it instead of being an overlayed text.
2025-02-22 17:56:41 +01:00
Darsu
042a26d2b5 qol scroll on light button to change brigthess 2025-02-22 22:46:10 +07:00
Darsu
045426fe52 PeekingIsSight 2025-02-22 21:29:45 +07:00
Darsu
e273bf82a2 Update cl_laser.lua 2025-02-19 23:12:04 +07:00
MokaAkashiya85
64b5e5bff5 Revert "Update sh_inspect.lua"
This reverts commit 0a70922c03.
2025-02-11 19:34:28 +01:00
MokaAkashiya85
0a70922c03 Update sh_inspect.lua
- Fixed that weapons using numbered inspects (i.e. "inspect_1", "inspect_2", etc.) weren't taken into consideration when disabling inspect.
2025-02-11 19:18:20 +01:00
MokaAkashiya85
05d4fbc4f4 Update sh_inspect.lua
- If a weapon does not have an "inspect" or "enter_inspect" animation, it can no longer utilize inspect.
2025-02-08 15:30:58 +01:00
MokaAkashiya85
4fa7d3f8d1 Update cl_subcategories.lua
- If the subcategory name for the weapon starts with a number, it is visually removed. Does not alter category sorting order, so "1B" will always be above "2A" for example.
2025-02-05 19:53:22 +01:00
littlebabyman
da9dbbe37e cleanup
the convar never worked, and now does not exist
2025-02-02 04:34:01 +02:00
Darsu
da8c234303 fix akimbo effects 2025-02-02 09:17:43 +07:00
MokaAkashiya85
b2fe407348 DE Loc. 2025-01-31 19:36:47 +01:00
Darsu
db0da5e375 fix weird offsets 2025-02-01 01:03:36 +07:00
Darsu
51a861dc32 localing processedvalue in shoot 2025-02-01 00:47:27 +07:00
Darsu
fc1f783a7a no shellfx for npcs 2025-01-31 22:41:03 +07:00
Darsu
a98bea15ee microoptimiz 2025-01-31 22:40:50 +07:00
Darsu
ab569c4b6e npc spawn with reloaded gun 2025-01-31 22:26:20 +07:00
Darsu
69f20e4105 Update cl_model.lua 2025-01-31 22:05:58 +07:00
Darsu
abe10a2d20 rhik error fix 2025-01-31 21:58:43 +07:00
Darsu
b6984abe50 comment out all dev checks, calling globals bad 2025-01-31 21:58:34 +07:00
Darsu
471ed11afd attposcache reset on invalidatecahce 2025-01-31 21:48:26 +07:00
Darsu
a4a2d57c3d experement: reset long cache once a minute not 10s 2025-01-31 21:47:24 +07:00
Darsu
ba4846fcc0 cache for dyn stats now has one tick lifetime 2025-01-31 21:46:32 +07:00
Darsu
ad37026066 attachment position cache test, please see if anything changed 2025-01-31 08:35:25 +07:00
Darsu
0c252b5f6f minor wm render optimiz 2025-01-31 07:19:04 +07:00
MokaAkashiya85
05ce80d82d Loc. + Other stuffs
- Updated localizations for the LOD Distance addition.
- Weapon and attachment descriptions should no longer consider "<font=??>" in its total length (concept; might need revisit)
2025-01-31 00:58:39 +01:00
Darsu
973950bcf7 Update cl_drawmodel.lua 2025-01-31 00:01:35 +07:00
Darsu
23293c884b minor fixes of weird bugs 2025-01-30 23:54:19 +07:00
Darsu
0ce40c2d7f ply.ARC9NoScopes variable for nvgs 2025-01-30 23:53:55 +07:00
Darsu
541c9cf66e IR lasers & flashlights in mw, arctic, jmod nvgs 2025-01-30 23:53:37 +07:00
Darsu
58a71fbf84 new LOD system 2025-01-30 23:52:23 +07:00
Darsu
9fc984ef5e i fixed mirrors by breaking mp #epic fail 2025-01-30 21:49:13 +07:00
Darsu
077f280c04 flares and lasers work good in cameras and mirrors 2025-01-29 02:34:05 +07:00
Darsu
ca809d43b4 i guess that timer in icon capture made it do pink killicon if gun was never shoot (also why tf good stuff is commented out?) 2025-01-29 01:47:00 +07:00
Darsu
174162fb13 rt scope hdr tonemap thing smooth now 2025-01-26 05:02:56 +07:00
Darsu
cd524a3e56 no own wm laser in firstperson 2025-01-26 01:24:35 +07:00
Darsu
761c76eac6 good light flares in vm too 2025-01-25 22:42:20 +07:00
Darsu
72ff0f177e light flares ported from tacrp 2025-01-25 22:23:50 +07:00
Darsu
42c63ac5dc draw lights and lasers even if player not visible 2025-01-25 21:07:07 +07:00
Darsu
c253f72278 fixed lack of projected light for other players with allflash 1 2025-01-25 19:47:47 +07:00
Darsu
5896bbe4e4 a bit better sway procedural anim 2025-01-17 02:39:13 +07:00
Darsu
15e95f7910 HookP_BlockFire affect grenades and melees too 2025-01-15 21:09:49 +07:00