Commit graph

296 commits

Author SHA1 Message Date
Steam Deck User
4b62411685 Server: Restore hacky 90 degree mystery box spot change. Fix teddy path.
They sit again :^)
2022-12-27 13:16:16 -05:00
Steam Deck User
c8c57f25f7 Server: Restore check if the goalentity is the world.
Despite the comment left, this is holding our broken pathfinding
together.
2022-12-27 13:06:37 -05:00
Steam Deck User
c7f5e02130 PSP/CTR: Add .scale to defs 2022-12-22 18:03:32 -05:00
Steam Deck User
3802fadefa Server: Some AI targeting improvements 2022-12-22 11:44:13 -05:00
Steam Deck User
950c072fa1 Server: Prohibit dive action if player's camera is not reset.
Fixes an issue where diving while the camera was resetting would, over
time, make the default "standing" camera lower.
2022-12-22 10:20:18 -05:00
Ian
c2ad06a796 Allow Zombie Skins on everything else (not FTE) 2022-12-21 15:18:47 -05:00
Ian
5bc426ab95 CTR: Allow Zombie Skin Varients 2022-12-21 14:25:36 -05:00
Ian
61d341d6a6
Update main.qc 2022-12-20 19:56:16 -05:00
Ian
78e9e50e6e
Merge pull request #8 from ScatterBox/main
Fixing frames
2022-12-20 19:55:32 -05:00
Tyler Young
13087bc1cd Quit linking hitboxes every frame
saves frames
2022-12-20 19:50:56 -05:00
Ian
ad80900a22
Merge pull request #7 from nzp-team/Ghewer-update
Changes to match new model
2022-12-20 18:31:24 -05:00
DerpedCrusader
80657e6827 Changes to match new model
ADS, Frames ect. corrections
2022-12-20 15:32:09 -07:00
Steam Deck User
451733a0ab fix m1 garand bug 2022-12-20 16:54:00 -05:00
Steam Deck User
ad4f0a8963 Server: Have .semiswitch apply to impulse for weapon swapping
Fixes issues when bound to the scroll wheel where you can spam the wheel
to increase rate of fire via bypass.
2022-12-20 16:03:16 -05:00
Steam Deck User
16a77c1e0f Server: Populate Power-Up Array manually
Overcomes what is likely an FTEQCC compiler bug where just using a = b
copying would result in a mis-match of first-values (id). Fixes dogs not
always dropping Max Ammo's on NON-FTE.
2022-12-20 15:43:15 -05:00
Ian
5e09033a07
Shared: Add additional reload information for M1 Garand 2022-12-20 02:17:53 -05:00
Ian
5ff18c9684
Server: Oops! Declare W_AdvanceAnim() 2022-12-20 02:11:44 -05:00
Ian
4e366c62bd
Shared: Add extra defines for different reload types 2022-12-20 02:09:33 -05:00
Ian
d5235469cf
Server: Add check for partial and full reloads in weapon_core.qc 2022-12-20 02:08:32 -05:00
Steam Deck User
3364b19a4b AAHH 2022-12-20 01:58:55 -05:00
Ian
f1c53b0a14
Merge pull request #6 from nzp-team/PPSH-Code
Changes for new PPSH Model
2022-12-20 01:49:57 -05:00
Steam Deck User
d964e9afb2 Server: Add melee weapons to weapon2model blacklist
Fixes issue where left weapon in dual wields would stay visible
2022-12-20 01:46:16 -05:00
DerpedCrusader
701a9df98d Changes for new PPSH Model
updated ADS/Frames for new model
2022-12-19 23:31:04 -07:00
Steam Deck User
a53ad310f4 Server: Fix lack of break cases in Util_*AmmoInSlot 2022-12-20 01:27:12 -05:00
Steam Deck User
327c9cdc43 Server: Add support for Explosive Barrels to be damaged by other
Explosives
2022-12-20 00:58:37 -05:00
Steam Deck User
aa9965e2f1 Server: Fix bad weapon delay timing when Pack-A-Punching
fixes an issue where spamming use trying to retrieve a gun coming out
would interrupt the frames and prevent interacting with other items.
2022-12-20 00:42:19 -05:00
Steam Deck User
7702f79b35 Server: Restore give command
sorta broken but whatever :^)
2022-12-20 00:09:36 -05:00
Steam Deck User
d4fafff812 Server: Move Command Parser out of player.qc and revamp command system.
Commands are now stored in a table/struct that is referenced by
SV_ParseClientCommand, with a system for printing command information
and status codes. :^)
2022-12-16 13:53:17 -05:00
Steam Deck User
0d8da55cf2 Server: Rewrite SV_ParseClientCommand
Increases readability and fixes an issue where cl_chatmode would append
'say' to everything in FTE, making the command now work properly
there.
2022-12-16 12:49:38 -05:00
Ian
75547beb64
Server: Define an action for shooting an Explosive Barrel with the Wunderwaffe
Now instantly explodes; fixes crashing issue
2022-12-09 17:20:57 -05:00
Ian
6afcdc3ecb
Server: Remove FIRETYPE_RAYBEAM from Util_WeaponIsSemiAutomatic
Fixes disparity issue with the Ray Gun acting as a semi automatic weapon.
2022-12-09 17:13:42 -05:00
Tyler Young
240956e24e Precache sounds until engine side steps aren't borked
it is what it is
2022-11-27 15:05:06 -05:00
Ian
900b6e198c Client: Change fullscreen description when on Web.
Adds a clarification that fullscreen will only kick in when/if you
are loaded into the World.
2022-11-23 10:14:47 -05:00
Ian
ceac5a4707 Client: Add Render Scale graphics setting for Web.
Since Resolution wouldn't do anything, this is the next best thing
(arguably better all around).
2022-11-23 10:08:52 -05:00
Ian
59e2e8eab4 Client: Hide extra menu detail for things hidden in Web
Including division lines and graphical setting values.
2022-11-23 09:44:21 -05:00
Ian
7982ff0ccf Client: Update copyright date for menu.qc 2022-11-23 09:36:26 -05:00
Ian
7c971f3c2b Client: Add OPTION_IS_* flags for menu button indexes
Helps filter menu options by platform.
2022-11-23 09:35:41 -05:00
Ian
753fc61a53 Client: Add a check if the client is being ran in a web browser.
Will allow for certain features to be hidden/displayed specified to
the web client.
2022-11-23 09:27:48 -05:00
Ian
836b7c47d7 Server: No longer rotate Mystery Box spawns by 90 degrees at the start.
Should help with some rotation bugs. Needs further testing.
2022-11-21 22:10:05 -05:00
Ian
be302d2ac4 Merge branch 'main' of https://github.com/nzp-team/quakec into main 2022-11-21 21:28:25 -05:00
Ian
8257107fea Server: Call W_SprintStop() before preparing to use equipment
Fixes https://github.com/nzp-team/nzportable/issues/58 and also prevents
being able to exploit sprinting while holding a grenade.
2022-11-21 21:25:23 -05:00
Ian
1d51c1ca74
Server: Make Precache_Set an inline function
will help out a bit with jumps when this gets more widely adopted in our codebase. also hello from GitHub for iOS :^)
2022-11-19 11:08:06 -05:00
Ian
b74c6cd8c8 Server: Improve Button Check logic for Firing/ADS
Moves everything together to improve branching/speed things up a bit.
Also adds a note about PC flipping the fire buttons for akimbo weaponry
and puts akimbo stuff closer together.
2022-11-17 22:11:52 -05:00
Ian
1f64c0239a Server: Streamline weapon projectile determination
Use new #defines for firetypes and a new utility function Util_WeaponIsSemiAutomatic
to make W_Fire far more legible in the section where firing a projectile or trace
is done.
2022-11-17 21:49:50 -05:00
Ian
5086304b51 Shared: Add #defines for weapon Firetypes.
This helps referencing which firetype corresponds to what in weapon_core.
2022-11-17 21:44:51 -05:00
Ian
e7a2cba82d Server: Oops! Grenade weapons should not tracefire.
This has been wasteful and a part of the QC for quite some time, lol
2022-11-17 21:36:22 -05:00
Ian
c109f1712a Server: Add a utility function for weapons that require a tracefire
Util_WeaponFiresTraceshot() can be used to determine if a weapon is "standard"
requiring a tracefire for bullet impact/penetration.
2022-11-17 21:34:46 -05:00
Ian
68f66b4b7b Server: Remove FIXME case regarding Do_Pathfind on FTE platforms
Determined that 0 will never be a returned value by Do_Pathfind unless accidentally
executed on another platform.
2022-11-17 21:28:31 -05:00
Ian
c2afd12efa Server: Remove irreverant FIXME case for Hound classname
The issue/request described has been determined to be a non-issue. The spawn functions
for Hellhounds has never changed, and the normal classname that is set after the
spawn function is all that is referenced.

Also, fun tidbit: Beta assigned them the classname "doggy". cute :^)
2022-11-17 21:25:29 -05:00
Ian
8ccf74a2ba Remove waste KDE/KATE temporary file
Left in due to unsanitized recent commit
2022-11-17 21:19:24 -05:00