Commit graph

231 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
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
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
moto
469c6fcaa0 Server: Smarter branching in Round_Core 2022-07-02 08:54:04 -04:00
moto
92f38d906a Server: Proper handling of SV_ParseClientCommand 2022-06-02 08:54:44 -04:00
moto
1ed974f2d3 Server: Restore Ray Gun Sprint Cycle 2022-05-19 08:39:42 -04:00
moto
63a07997cc Server: Use Co-Op Quick Revive Price properly 2022-05-18 09:32:32 -04:00
moto
f25b8dbe19 Server: Solve Bowie purchase logic 2022-05-18 09:26:23 -04:00
moto
6b33819c7b Server: Fix v_bowie path in weapon_wall 2022-05-18 09:22:58 -04:00
moto
6f25b07c1f Use proper scope graphic 2022-05-09 17:12:57 -04:00
moto
4d5363b08f Server: Restore Box Glow for FTE, fix Power-Up timeout 2022-05-09 15:47:40 -04:00
moto
0ccb6357f0 Server: Target player when running god 2022-05-09 13:49:56 -04:00
moto
f11f58b84d Server: fix explosion.spr precache 2022-05-09 13:23:25 -04:00
moto
9094c71a50 Server: Undo accidental Power-Up spawn changes 2022-05-08 17:43:21 -04:00
moto
b5cb3207f6 Server: Add explosion effect for Nuke'd Zombies 2022-05-08 17:42:40 -04:00
moto
3f328c6cd4 Server: Revamp Power-Ups to use rotation cycle 2022-05-07 22:18:55 -04:00
unknown
de3ae91395 Server: Use new model paths 2022-04-23 23:40:12 -04:00
unknown
976770c9bf Server: Improve Power-Up drop rate consistency 2022-04-23 23:18:38 -04:00
unknown
d7d1f1e050 Client: fix low ammo text taking priority over no ammo 2022-04-23 22:57:40 -04:00
unknown
52e212f6cd Server: Explosive Barrel Parity 2022-04-23 18:46:34 -04:00
unknown
0a5b3de482 Client: Algorithmically determine low ammo counts 2022-04-23 17:21:54 -04:00
unknown
8b54e632f2 Server: Fix for firing while switching weapons 2022-04-22 16:44:27 -04:00
Ian
4446d96358 Server: Prohibit AI damage to Player when Nuke is active 2022-04-20 11:58:49 -04:00
unknown
c364b20bac Fix broken lightning.spr path precache 2022-04-09 12:52:00 -04:00
unknown
cb978e2288 Server: Oops, do the same with PaP 2022-04-06 14:36:59 -04:00
unknown
4f80f71cbe Server: Add support for legacy Perk model paths 2022-04-06 14:34:38 -04:00
unknown
73f7d7ff24 Server: Power Switch skin hotfix 2022-04-06 10:26:32 -04:00
unknown
8a7e3dbf94 Server: Expand Power Switch functions 2022-04-06 10:25:24 -04:00
unknown
0553d33213 Server: Have Power Switch toggle lightstyles 2022-04-06 09:59:54 -04:00
unknown
f2a80afd3b Client: Substitute vid_fullscreen_standalone for vid_fullscreen (fixes #1) 2022-04-06 07:52:21 -04:00
unknown
2b07dd561c Server: Electro-Shock Parity 2022-04-05 21:46:24 -04:00
unknown
b7d643be2f Client: Use new version file 2022-04-05 17:50:05 -04:00
unknown
b26ca6a026 Initial commit 2022-02-08 13:42:28 -05:00