Commit Graph

80 Commits

Author SHA1 Message Date
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
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
moto 22fb84ac25 Server: Find a new target/enemy other than Players in Last Stand
Fixes https://github.com/nzp-team/nzportable/issues/20
2022-10-25 12:49:02 -04:00
moto 4cf879558f Client: Make Point Updating considerably more efficient.
Stop iterating over the large array all of the time, it's stupid :^)
2022-10-25 12:23:24 -04:00
moto 82d66c5cf5 Fix silly copy/paste type error 2022-10-24 08:51:43 -04:00
moto 19ae55654c Server: Revamp Purchase of Wall Weapon Ammo
Adds some utility functions to make grabbing specific pieces of weapon
information in any of a player's slots easier. Fixes some mulekick bugs
as a side effect. Fixes https://github.com/nzp-team/nzportable/issues/52.
2022-10-24 08:44:41 -04:00
Ian 328f1f8ee1 Add CTR QuakeC 2022-09-02 20:19:25 -04:00
moto 921e16e118 Server: don't precache footsteps for engines that do it clientside 2022-07-14 17:11:06 -04:00
moto 216d6124a4 Server: Add hlrendermode hack for FTE 2022-07-10 11:03:29 -04:00
moto 68a8fcb4ac Server: Bleedout Timer parity 2022-07-10 10:58:31 -04:00
moto 9e8293b2eb Reduce pump/bolt time with Double Tap 2022-07-10 10:54:48 -04:00
moto 5b45e5bd66 Server: Don't force skin0 for place_model 2022-07-08 18:37:48 -04:00
moto 87319e13cf Server: more small perf tweaks 2022-07-02 10:19:33 -04:00
moto 707141ec68 Server: Limit revive checks to PC 2022-07-02 09:22:32 -04:00