Commit graph

1383 commits

Author SHA1 Message Date
f8798d6084 Base: Merge client/input.qc and server/input.qc into shared/input.qc, as
it makes a lot more sense of prediction purposes
2021-03-09 11:39:52 +01:00
a062ff92a8 Move doc/license to LICENSE for visibility 2021-03-09 10:36:33 +01:00
f157117af7 Purge game manifest files, let get_gamepacks.sh handle them 2021-03-08 19:00:41 +01:00
ab8f1f3a81 Add get_gamepacks.sh, which updates and clones (if not present) src files and scripts for some example games and mods 2021-03-08 15:53:57 +01:00
12286e5032 Exclude mod-dirs (except for base) from Nuclide's source tree 2021-03-08 11:17:49 +01:00
46f9e1be0f Client: Add force parameter to Sky_Update() and make sure Sky_Update() is
called upon CSQC_RendererRestarted.
2021-03-08 01:45:15 +01:00
c13f1f13cd Scientist Hunt: Clean up monster_scientist to be contains less mod-specific
code and let the parent CBaseNPC take over most of it
2021-03-06 17:43:57 +01:00
f13754a8c3 CBaseNPC: Add ::StartleAllies() and ::TalkPanic() methods. Which handle
behaviour related to the MONSTER_FEAR flag.
2021-03-06 17:43:08 +01:00
8b4cd6b8c7 build_game.sh: Run make for menu/plugins and check if the level-editor is present before calling make_mapdef.sh 2021-03-06 01:20:25 +01:00
7dcebd140d Menu-FN: Add proper caching (non-CVAR based) for pkgfile and introvideo
manifest info. This avoids the headache of engine threading getting in the
way and messing up package manager and what have you on ~some~ systems
2021-03-06 00:23:59 +01:00
7dae291f31 Scientist Hunt: simplify the path changing code for scared scientists 2021-03-05 10:56:25 +01:00
568121d05f Update build_editor.sh, build_game.sh and make_mapdef.sh to generate
individual eclass .def files for Radiant
2021-03-04 05:04:14 +01:00
0867c17211 Poke646: Fix to make it compile again with the new networking.
Team Fortress: Ditto
2021-03-04 04:07:09 +01:00
d798c0539e Half-Life: Get rid of ::ammo_shotgun/gauss/egon_state, we'll use tempstate
instead
2021-03-04 02:21:18 +01:00
0eeb27a65a Rename all instances of ::ammo_handgrenade_state to ::mode_tempstate as
it's used in plenty of other instances, by other weapons, as it's not
meant to be persistent.
2021-03-04 02:07:08 +01:00
8a6cf34179 They Hunger: Various weapon fixes and improvements to the networking 2021-03-04 02:01:23 +01:00
efcbd465b2 Counter-Strike: Change 9mm max ammo count from 150 to 120. Fix Five-Seven
crash and fix ammo buying logic from not clamping the final value when
over the maximum
2021-03-01 04:32:05 +01:00
b10a075b39 Counter-Strike: Lots of polish for the weapons, fixes for all sorts of
ammo values, some buy action polish (make sure we limit nade purchases)
Other games have the ammo-bar streamlined as well.
2021-03-01 03:10:03 +01:00
fc75a1be11 Base, Half-Life, Counter-Strike, Opposing Force and Scientist Hunt have
now been reworked to have fully networked ammo that's also fully affected
by rollback netcode. Big diff, mods WILL break. Beware.
2021-02-28 02:31:27 +01:00
71f7e024c9 Server: Add serverinfo set for skyname into worldspawn... I must have been on drugs or something 2021-02-23 05:55:57 +01:00
d3cfedaab2 GS-Entbase: Fix hiccup that happens with infodecal entities, we now make
sure to only network them when they are targetname'd.
2021-02-22 21:56:34 +01:00
ef88557fbf func_recharge: Add depletion logic to the entity, same as func_healthcharger 2021-02-22 18:05:34 +01:00
099b516236 func_healthcharger: Add the depletion logic to the entity 2021-02-22 18:05:11 +01:00
c26d4d0c45 Client/Server: Add server controllable fogparms using serverinfo 2021-02-22 17:49:55 +01:00
20a67bf418 Client/Server: Make the server control the sky. 2021-02-22 17:29:34 +01:00
3e13cb46ff build_game.sh: script will now build QuakeC progs for any detected mod subdirectories 2021-02-20 12:01:27 +01:00
b702f166d1 Client: Make sure the weaponFX gets wiped upon any weapon-switch, to avoid
anything from still drawing upon respawn or forced switches
2021-02-18 09:54:52 +01:00
136b274d36 Half-Life: further tweaks to the Egon beam 2021-02-18 01:26:26 +01:00
110ce2b607 GS-EntBase: Add func_detail_illusionary definition.
Half-Life: Add sound/trail for Egon, WIP
2021-02-17 16:21:17 +01:00
e1df585677 Menu-FN: Check TCP_GetState() before allowing a message to be sent to chatrooms. 2021-02-17 13:28:26 +01:00
5e181c1128 Menu-FN: Spray-logo precaching optimisation 2021-02-17 11:59:38 +01:00
adc951dd96 Menu-FN: Strip file extension from player model lookup, that avoids some
headaches when figuring out what model we're supposed to be using
2021-02-17 11:34:55 +01:00
82a501c0be Menu-FN: add 'nosprays' gameinfo setting as a companion to the 'nomodels'
setting, as some mods may choose not to support them
2021-02-17 11:28:09 +01:00
543a27ed2e Half-Life: Add gameinfo_introvideo info to the manifest for sierra.avi 2021-02-17 11:17:52 +01:00
40bbca0dc4 Menu-FN: Add support for gameinfo_introvideo, check for gameinfo_pkgfile
to determine if a file exists before force-opening the update page.
2021-02-17 11:17:28 +01:00
3037d38b9a Base-Mod: Document client and server progs.src a bit more to encourage
a kind-of structure.
2021-02-17 11:16:30 +01:00
a902b702ae Small building adjustment to the mod progs.src and Makefiles.
Changed some client progs function names for readability, more to come
2021-02-17 00:44:40 +01:00
89be1ea628 PMove: Fixed water movement code a bit so we don't sink while moving 2021-02-16 11:02:39 +01:00
8716784288 Merge branch 'master' of ssh://git.code.sf.net/p/freecs-1-5/code 2021-02-15 11:55:18 +01:00
1f10bbd4f0 Counter-Strike: Cache scope images using spriteframe() instead of the old
deprecated method.
2021-02-15 11:54:32 +01:00
ce2185ff02 Plugins: Added a callback for when a client is done connecting to a server 2021-02-14 21:05:10 +01:00
23edd47438 Counter-Strike: Fix the round not restarting when players drop unexpectedly
or when the counter is otherwise out of sync on team joins.
2021-02-14 01:31:21 +01:00
d5ae0c8dfd func_train: Fix the moving sound from not stopping on certain variations
of this entity
2021-02-14 00:21:35 +01:00
8d262c9eb2 Counter-Strike: Make the text-menu use the new Textmenu_Toggle call, so
players can exit e.g. the team choice menu.
2021-02-14 00:20:32 +01:00
086e8e5a37 Server: We forgot to call Vote_Init(), which clears a bunch of serverinfo keys. 2021-02-13 23:08:58 +01:00
0fe863aabc Server: Add water stepping, wading and swimming sounds + script definitions 2021-02-13 23:06:06 +01:00
7874773acf Half-Life: added player.die sound shader definition 2021-02-13 10:35:12 +01:00
2834b49f12 env_sprite: Turns out the default scale is not 0.25f. 2021-02-13 10:12:17 +01:00
2449fa492e Half-Life: Fix viewmodel still drawing when dead, player moving 2021-02-13 10:07:52 +01:00
97f90ae72c Scientist Hunt: Clean up w_cannon a little 2021-02-13 10:06:34 +01:00