Commit Graph

200 Commits

Author SHA1 Message Date
Marco Cawthorne 1a34688c06
Use GetSpawnX() methods instead of peeking into some attribute that
may change.
2021-09-16 18:40:06 +02:00
Marco Cawthorne 5015de91cd
Remove input_sequence definition. 2021-09-15 22:45:53 +02:00
Marco Cawthorne d0044b5709 Remove VALVE define from client/progs.src 2021-08-29 21:46:30 +02:00
Marco Cawthorne 7bf07fae76 Move physics variables into shared/pmove.h 2021-08-14 08:50:17 +02:00
Marco Cawthorne 40f7a76c1d Server-side check for chooseteam event calls, to avoid a NULL pointer error
when someone tries to execute these functions with a modified client.
2021-08-13 22:06:28 +02:00
Marco Cawthorne 136a4060b7 Limit "chooseteam" cmd to maxplayers > 1 games ONLY. 2021-08-13 21:32:26 +02:00
Marco Cawthorne 57c115f191 Inherit FreeHL's viewmodel effects 2021-08-01 08:55:33 +02:00
Marco Cawthorne 1ef3e98a0d Add install_from_archiveorg.sh for content installation. 2021-06-26 17:47:31 +02:00
Marco Cawthorne 594ecf013a Merge branch 'master' of github.com:eukara/freecs 2021-06-18 09:29:14 +02:00
Marco Cawthorne d839ab65d5 Run Physics_Run() directly instead of PMove_Run(), which will be removed
eventually.
2021-06-18 09:27:33 +02:00
eukara 4463e9ecab
Update README.md 2021-06-11 17:22:07 +02:00
Marco Cawthorne 69aaa52a7a Updated the game-specific PMove code to be part of our player class 2021-06-08 15:31:50 +02:00
Marco Cawthorne e6dac8fe81 Add experimental waypoints for cs_backalley, cs_estate, cs_italy,
cs_militia, cs_office, de_aztec, de_dust, de_dust2, de_train, de_vegas,
de_vertigo and fy_pool_day.
2021-06-04 13:07:13 +02:00
Marco Cawthorne 4d4c2f4194 Include flashlight.qc from FreeHL. 2021-05-22 20:42:16 +02:00
Marco Cawthorne 544fc438ef Update player.h definition from ANGLES_Z to COLORMAP 2021-05-20 16:04:39 +02:00
Marco Cawthorne 73517a0858 Use PMove_SetSize() to get accurate bbox info. 2021-05-16 23:12:47 +02:00
Marco Cawthorne 13193ccd23 Updated consistency pack also comes with alternate USP submodel. So support that too. 2021-05-13 10:08:06 +02:00
Marco Cawthorne ecc963a0fe Fix the consistency pack pk3, where modders can make different hand models
for each team.
Add crosshair to first-person spectating.
Network view-ofs.
2021-05-13 09:26:26 +02:00
Marco Cawthorne 6a24b29e3d Bots: Now following some basic objectives - don't look too deep into it
Weapons: We now have added weapon weights and isempty() functions to the
weapon structs
Spectator: Now integrated into the gamemodes proper. NEEDS MORE TESTING!
Radio: Fixed a bug in which the wrong player name would be displayed.
2021-05-12 15:47:34 +02:00
Marco Cawthorne 9b620da3fb Polish WEAPON_M3 and WEAPON_XM1014 by giving it real spread, and allowing
the reload sequence to be interrupted at any time.
2021-05-10 14:09:14 +02:00
Marco Cawthorne 6344d561c8 Fix accidental typo causing a compile error. 2021-05-10 13:22:56 +02:00
Marco Cawthorne 009508fa8b Update Animation_TimerUpdate to conform with upstream Nuclide. 2021-05-10 12:24:53 +02:00
Marco Cawthorne 404303ea72 Use Base its damage.qc instead of FreeHL its. 2021-05-10 11:36:07 +02:00
Marco Cawthorne a2f65f73d7 Shared: Inherit weapon_common and input from Nuclide's base game 2021-05-10 08:16:51 +02:00
Marco Cawthorne 133bf4fec2 Simplify prediction code with the help from upstream SDK changes. 2021-05-08 17:46:20 +02:00
Marco Cawthorne 73c834c3eb Shared: Use Base's fx_spark.qc now 2021-04-10 23:35:47 +02:00
Marco Cawthorne cc48c2c994 Handle player weapon model attachments for all the weapons! 2021-04-06 09:20:35 +02:00
Marco Cawthorne dee6ee1a73 Change pSeat references to pSeatLocal where applicable. 2021-03-31 13:42:36 +02:00
Marco Cawthorne acbdc62b14 Make sure we call View_AddEvent() _after_ Weapons_ViewAnimation() so the
cache hack in the upstream Nuclide repo works.
2021-03-30 07:31:33 +02:00
Marco Cawthorne 7bc7388125 Use the new View_AddEvent() for shell ejections 2021-03-29 21:54:53 +02:00
Marco Cawthorne 09417b5443 WEAPON_C4BOMB: No pickup for CTs (make this a cvar? could be interesting) 2021-03-28 12:18:02 +02:00
Marco Cawthorne 3f4485d364 Client: Add shell ejection sounds to the shelleject modelevent 2021-03-27 07:53:35 +01:00
Marco Cawthorne 0560e66010 Merge branch 'master' of github.com:eukara/freecs 2021-03-24 07:53:10 +01:00
Marco Cawthorne a310454e98 Added spectator HUD and fix for our new observer/spectator implementation 2021-03-24 07:52:52 +01:00
eukara cca20d2f5c
Update README.md 2021-03-19 13:07:50 +01:00
eukara f9f3d5adfd
Update README.md 2021-03-18 18:16:46 +01:00
Marco Cawthorne 38f985e3a2 Merge branch 'master' of github.com:eukara/freecs 2021-03-17 16:34:59 +01:00
Marco Cawthorne 4a66a9d364 Client: offset the radar and weaponselect by a fair bit so we don't overlap 2021-03-17 16:17:17 +01:00
eukara 15d3a1ece0
Update README.md 2021-03-17 15:41:32 +01:00
Marco Cawthorne 14c23b521f Client: Replace all calls from View_EjectShell to View_EjectShellAttachment 2021-03-17 14:36:39 +01:00
Marco Cawthorne 29009ffbb9 Client: Add shell ejection for pistols, smgs and rifles. 2021-03-17 13:26:12 +01:00
Marco Cawthorne 81d7630dd7 Add auto-reload when empty, clean up misc weapon code and add alpha to
the hudpic display functions that I missed.
2021-03-17 11:51:50 +01:00
Marco Cawthorne 5635eb0d80 Color the chat nicks depending on the team 2021-03-17 09:48:26 +01:00
Marco Cawthorne 3eff9bc99c Add missing locale files! 2021-03-17 09:25:41 +01:00
Marco Cawthorne a14e514ca2 Basic radar implementation! It shows player positions and height - also
adjusted obituaries to be colored after the team colors.
2021-03-17 09:20:59 +01:00
Marco Cawthorne be938177a4 Restore the night-vision equipment item. 2021-03-17 06:54:41 +01:00
Marco Cawthorne 9f9def03f3 Include draw.qc from Nuclide's base game 2021-03-17 06:27:05 +01:00
Marco Cawthorne 24428a072f Merge client/input.qc and server/input.qc into shared/input.qc 2021-03-09 11:54:15 +01:00
eukara a6a0abcc5e
Create FUNDING.yml 2021-03-08 15:34:27 +01:00
Marco Cawthorne 6ff68fcc34 Initial commit, carried over from Nuclide's Git on March 8th 2021 2021-03-08 10:38:54 +01:00