Commit graph

255 commits

Author SHA1 Message Date
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
02efa21e3d Move game-specific sources into their respective mod-dirs. This was planned
for a while and was inevitable. Latest fteqcc required that fixes a limit
with paths. Also added src/server/mapcycle.qc
2021-02-08 13:35:15 +01:00
1952c05890 materials.txt support: Make sure we convert the material identifer to upper-case. 2021-01-25 15:01:26 +01:00
baaa68069d Plugins: Fixed InitEnts not being called, added another example plugin (Server Banner) 2021-01-24 20:26:10 +01:00
dbb53d151a Let the menu progs know when we're actually in a single/multi-player game.
It seems that the maxclients serverinfo key lies to the client, so we work
around that by setting our own
2021-01-23 12:56:22 +01:00
93728d283c Added Materials_FixName() for preparing materials.txt lookups 2021-01-22 15:54:06 +01:00
f8606ae7e7 Extend impacts to the full spectrum of material definitions, sound shaders
and all. Still needs patch for Counter-Strike.
2021-01-19 10:37:28 +01:00
6a48c18171 BotLib: Add support for the AIM linkflag, to control when a bot is forced
to look ahead to the current waypoint node.
2021-01-16 17:34:04 +01:00
3662565879 Unscrew player animation and fix a bug involving botlib overriding
important playermethods on bot-clients with CBaseEntity ones.
2021-01-06 15:54:17 +01:00
ae6f3ebdfb Lots more documentation in server/*.c, minor fixes for some mod guns like
They Hunger, Gearbox, SciHunt and Poke646. Also cvar support for 'pausable'
2021-01-06 13:58:37 +01:00
ae70642f14 Server: Disallow the 'pause' command to any game with more than 1 client-slot. 2021-01-06 12:38:35 +01:00
58be8e2170 BotLib/Nodes: Add support for variable link radius. If you need to fill
your old waypoint data... try 'sv way radiushack'. Sorry!
2021-01-02 11:17:14 +01:00
d1b1431b8a BotLib: Bots ought to switch weapons now when they pick an item up!
Also moved the way_menu cmd into its own file...
2020-12-28 19:59:37 +01:00
5edcdb892c BotLib: My last commit before weekend hits. More pathfinding work, added
a temporary interface for in-game waypointing... Bots will combat you too.
2020-12-26 07:27:34 +01:00
c76cdc5903 BotLib: Added basic waypointing and pathfinding system. They'll go about
their business but not do much else just yet.
2020-12-23 07:53:43 +01:00
86daed3eec Added a stripped down base game tree, which should pose as a decent
entry-point for starters into the SDK
2020-12-22 01:56:44 +01:00
d04d2a83ef Nodes: Only bother saving a node .way file when we've got nodes to dump. 2020-12-22 01:15:22 +01:00
6583a42a87 Change magic numbers of BSP version checks to macro defines. 2020-12-13 00:56:11 +01:00
74192c2f78 Implement basic EV_SHAKE event & adding 'shakes' key multiplier to sound
shaders. Client-side sound shaders will get proper shake duration matching
the sound sample length too. Fancy stuff you can try.
2020-12-12 06:24:48 +01:00
f38bf28b9e Go over the default.cfg's of all the example games. Make it so that
Skill_GetValue() requires a default value set.
2020-12-12 01:54:00 +01:00
fbc2aaeeec light: Make sure we're overriding patterns if switch_style is above 0 and
below 11. You also want to go update worldspawn/vmap...
2020-12-09 16:47:43 +01:00
2fa4fd159c Move CLASSEXPORT from server/defs.h to shared/defs.h 2020-12-01 12:32:42 +01:00
a6b192a2c7 Update doc file for building the source tree, as that's now changed. 2020-11-25 13:12:39 +01:00
6073f73979 Working around a compiler bug in fteqcc (presumably) where for some reason
it allows me to override some fields inside a class, but not PlayerUse().
2020-11-25 10:32:42 +01:00
a9d87aa590 Server: Minor scripted_sequence pathfinding improvements, add support
for m_flChaseSpeed for CBaseMonster...
2020-11-23 21:39:40 +01:00
11d52abec3 Server: Disable 'best-weapon' switch when sv_forceweapondraw is 1. 2020-11-19 10:46:09 +01:00
df1388f9fc Server: Add sv_forceweapondraw 0/1, which lets mods override whether or not
the first weapon the player picks up will be deployed automatically.
2020-11-18 13:17:43 +01:00
1cbd41f66b Documentation: Comment some of the prediction code more, as some may be
reading it as we speak
2020-11-08 04:45:52 +01:00
678d7bf124 Plugins: Change Plugin_ParseClientCommand to manipulate command strings
and passing them onto the next plugin. Also added a chatfilter plugin!
2020-11-06 13:04:22 +01:00
422741a295 GS-Entbase: Add Input/Output methods for func_conveyor, func_guntarget,
func_wall_toggle
2020-10-31 14:32:23 +01:00
69fa528822 Server: Move footstep precaches into Footsteps_Init 2020-10-30 13:29:37 +01:00
97d19c1b37 Add shared/include.src, so we touch gamename/include.src less for global
changes.
2020-10-30 12:21:00 +01:00
c100554dcc Gamerules: Make sure player is always passed as type 'base_player' via
parameters instead of just 'entity'.
2020-10-30 11:28:59 +01:00
6502eeddc0 Server: Added sv_levelexec, which when enabled reads a map-specific config
on boot.
2020-10-28 08:29:24 +01:00
8cbbeaae24 Platform: Add gl_stipplealpha support to models. 2020-10-25 11:50:15 +01:00
d9dababe65 Moved all possibly game-specific flags (such as FL_FLASHLIGHT) into gflags,
this affects mods. Please check the diff to see what you'll need to adjust.
2020-10-22 16:30:37 +02:00
6038c04591 Fix preset lightstyles for Q3BSP, added examples to test_lightstyles. 2020-10-18 15:19:56 +02:00
2afba74a86 Added test_areaportal, to debug openportal() 2020-10-18 01:10:21 +02:00
f4ade524fe Client: Fixed some warnings and some added some paranoid free() calls. 2020-10-16 02:26:45 +02:00
4208bd8c9a Server: added server command trigger_ent 2020-10-06 14:42:46 +02:00
57cc661c86 Menu/Client/Server: Background map support for menus. This should be handled differently in that SV_ShouldPause ought to control Singleplayer as well. Engine hardcodes suck 2020-09-27 14:25:10 +02:00
54f0c5d24c Half-Life: Add I/O ability to ITEM_LONGJUMP 2020-09-26 12:46:40 +02:00
8bde44b01c CBaseTrigger: Merge UseTargets and UseTargets_Delay... to be continued. 2020-09-21 18:10:31 +02:00
dc47146e99 CBaseTrigger: Added CBaseOutput, in preparation to support Source styled input/output mechanisms 2020-09-20 10:43:13 +02:00
868b9d1b04 Fix some misc warnings the new fteqcc brought up, along with some other tiny changes. 2020-09-13 19:14:28 +02:00
ac31455dd5 Nodes: Add fancy debug textures for nodes and sequences. 2020-09-13 19:11:41 +02:00
44b6a3d10a Sentences: Force them to be read in uppercased. 2020-09-10 19:28:36 +02:00
f4d4e86400 CBaseEntity/CBaseMonster: Add support for server-side model events. This enables models, as they sometimes do, to actually trigger entities in the world and much more. There's seperation between client-side and server-side events as well. 2020-09-10 10:34:14 +02:00
ca5a7feede Cleaned up misc warnings. 2020-09-09 08:05:34 +02:00