Commit graph

742 commits

Author SHA1 Message Date
Steam Deck User
97e89385bc Merge branch 'main' of https://github.com/nzp-team/quakec 2023-01-13 15:41:37 -05:00
Steam Deck User
c042f4d479 SERVER/CLIENT: Print name of downed/revived players via broadcasts 2023-01-13 15:41:27 -05:00
Ian
9986684f0a
Merge pull request #18 from nzp-team/File-size-saving-part1 2023-01-13 14:15:25 -05:00
DerpedCrusader
3f7338c29a Updated frame counting
yay
2023-01-13 12:05:12 -07:00
Steam Deck User
e1a11cbcb7 SERVER: Restore dual wield frame updates 2023-01-13 12:44:11 -05:00
Steam Deck User
33de260a56 SERVER: Hellhound pathfinding 2023-01-13 12:29:08 -05:00
Steam Deck User
a088c5aa9d SERVER: Move W2_Frame_Update to EoF to fix out of sync frames 2023-01-13 11:55:25 -05:00
Steam Deck User
220253d1b9 SERVER: Give spectators some health to avoid game over screen rendering 2023-01-13 11:46:14 -05:00
Steam Deck User
29f3ca4849 SERVER: Fix usage of Co-Op spawnpoints 2023-01-13 11:42:27 -05:00
Steam Deck User
db767b5af8 SERVER: Add zombie limb support to the Zapper 2023-01-13 10:58:57 -05:00
Steam Deck User
3e258fea2f SERVER: Increase bounding box for zapper nodes 2023-01-13 10:54:51 -05:00
Steam Deck User
b03114c9fa Add new weapon 99 for buy_weapon that refills any ammo 2023-01-12 21:13:20 -05:00
Steam Deck User
64db82d124 SERVER: Add wall chalk support for the DG-2 and MP5K 2023-01-12 21:01:13 -05:00
Steam Deck User
ba1c3aaa41 Merge branch 'main' of https://github.com/nzp-team/quakec 2023-01-12 19:44:41 -05:00
Steam Deck User
5b902d7d6e Fix crash with Abstinence Program achievement 2023-01-12 19:44:00 -05:00
Ian
8c2866a89c
SERVER: Remove wasteful what.wav precache
ez 130kB
2023-01-12 16:27:07 -05:00
Ian
d359a694d9
Merge pull request #17 from nzp-team/STG-44-Update 2023-01-12 09:57:01 -05:00
DerpedCrusader
4e90db4b62 STG-44-Update
new model weapon animations the whole 9 yards
2023-01-11 11:34:17 -07:00
Steam Deck User
85d723c5e4 SERVER: Don't play splash.wav if we aren't host 2023-01-11 10:24:04 -05:00
Steam Deck User
6d8202b8e5 SERVER: Properly hide disconnected players 2023-01-11 10:21:16 -05:00
Steam Deck User
b58b25de5e SERVER: Fix for explosives thrown at other players harming attacker 2023-01-11 10:10:59 -05:00
Ian
7b7c86f31d
Merge pull request #16 from ScatterBox/main
Update vitanx.qc to include tracemove
2023-01-02 12:16:35 -05:00
Tyler Young
56b87faeff Update vitanx.qc to include tracemove 2023-01-02 12:11:00 -05:00
Steam Deck User
6290ba3a76 Prompt new build; update copyright on main.qc 2023-01-02 11:20:57 -05:00
Ian
501ff14776
Merge pull request #14 from nzp-team/MP5K-Adding
Adding the MP5K
2023-01-02 11:17:20 -05:00
Tyler Young
169b0d1233 Merge branch 'main' of https://github.com/ScatterBox/quakec 2023-01-01 21:22:12 -05:00
Tyler Young
1250040764 Fix precaching on devices other than PC 2023-01-01 21:22:10 -05:00
DerpedCrusader
129afc81ed FIxing pap weapon
OOPS
2023-01-01 16:32:49 -07:00
DerpedCrusader
aec5a0034f Adding the MP5K
adds all the coding for MP5K

to note, some things like the spread, recoil and kick are copied from the MP40, so they may be inaccurate, and might need to be changed in the future
2023-01-01 16:05:47 -07:00
Ian
93e2ab2bb7
Merge branch 'main' into main 2022-12-31 19:27:49 -05:00
Tyler Young
aa35a1063b Add definitions for handling updateLimb in Quakespasm
as it says
2022-12-31 18:37:14 -05:00
Steam Deck User
02080f45ac Merge branch 'main' of https://github.com/nzp-team/quakec 2022-12-30 10:56:38 -05:00
Steam Deck User
4a41999915 Server: Various Wall Weapon Improvements.
Make all wall weapons fullbright to fix visibility issues. Properly
precache W_BOWIE assets. Use grenade_bag.mdl instead of grenade world
model when using the grenade weapon.
2022-12-30 10:55:32 -05:00
DerpedCrusader
857920ac05 MP40 Update
New model, animations, textures
2022-12-29 16:20:35 -07:00
Steam Deck User
c25ad01a79 Server: PaP Sound no longer uses ATTN_NONE 2022-12-29 14:58:45 -05:00
Steam Deck User
ed50418025 Server: Make Teleporter Co-Op Friendly 2022-12-29 14:53:20 -05:00
Steam Deck User
1dde9c3952 Move PlayerSpawn() def in rounds 2022-12-28 19:34:30 -05:00
Steam Deck User
54d8572321 Server: Misc. Co-Op fixes 2022-12-28 19:32:21 -05:00
Steam Deck User
89742dc652 GLOBAL: Retire CTR QuakeC, Merge with PSP.
This rebrands the two under the "HANDHELD" name. The two platforms now
function identically in regards to server functions, making them
unified in behavior and general server-reliant functions.
2022-12-28 15:21:19 -05:00
Steam Deck User
fb7c97be1d Merge branch 'main' of https://github.com/nzp-team/quakec 2022-12-28 13:11:13 -05:00
Steam Deck User
cdda3a943d CTR: Enable Achievement Support 2022-12-28 13:10:44 -05:00
Ian
a5d3fc3293
prompt nightly pass 2022-12-28 11:06:17 -05:00
Tyler Young
c52c16f9b7 Fixing updateLimb AGAIN
just works now
2022-12-27 23:15:29 -05:00
Tyler Young
278e5f1eff Merge remote-tracking branch 'upstream/main' 2022-12-27 22:37:32 -05:00
Tyler Young
96cd0931d1 Fixing again 2022-12-27 22:34:32 -05:00
Tyler Young
bb9992455d whoops
ok
2022-12-27 22:14:04 -05:00
Tyler Young
6987f175d0 Uncomment updateLimb stuff
cause we do dat
2022-12-27 21:55:13 -05:00
Tyler Young
8cb75597b5 Updating zombie filepaths
yes
2022-12-27 21:50:52 -05:00
Steam Deck User
d3e4af8707 Comment scale def 2022-12-27 16:40:35 -05:00
Steam Deck User
a1583120f3 Server: Award Points for reviving player 2022-12-27 16:33:52 -05:00
Steam Deck User
a1f07c75f0 Server: Re-Write GetDown
Now properly checks the weapons the player has to modify the last down
weapon. Also doesn't spawn the revive entity on solo.
2022-12-27 16:23:17 -05:00
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
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