Commit graph

279 commits

Author SHA1 Message Date
af139751e0 setmodel(): verify if model exists in PATH and set it to an error one if
it's not present.
2021-06-01 12:40:53 +02:00
2082f1355a Menu-FN: Parse liblist.gam files instead of relying on manifests outright. 2021-05-28 10:26:42 +02:00
03b16ff905 Add Vox_Sentence_Broadcast() and Vox_Sentence_Single 2021-05-25 10:25:20 +02:00
448b9bd20d Client: MakeStatic func_wall ents where we can do it on.
Shared: Bench PMove_Run using the engines builtin runstandardplayerphysics
2021-05-16 23:08:08 +02:00
c5cea7a162 Base: Weapons now track weight (for Weapons_SwitchBest)
BotLib: Add CreateObjective() method that can be overridden
2021-05-12 15:42:20 +02:00
1485544b91 Base: Get rid of g_eAttacker, which had been replaced by g_dmg_eAttacker.
Go over TraceAttack and make it combine multiple Damage_Apply calls into
one.
2021-05-10 11:33:31 +02:00
64745eb23c Overhaul prediction routines by boxing the generic client attributes away
from the game specific code. Add some helper macros... clean a whole bunch
up.
2021-05-08 17:44:16 +02:00
31ae020cba Plugins: Add example plugins.txt config, add support for inline comments,
move searchpath to gamedir/plugins/
2021-05-07 14:15:08 +02:00
96a748f189 Server: Flush 'skyname' serverinfo before setting the .bsp one, to prevent
it from bleeding to maps that don't define 'skyname' from old configs.
2021-04-22 12:14:56 +02:00
8ec9960264 Revert "Materials: Support for Opposing Force its SNOW identifer for surfaces in"
This reverts commit b0bc59a49c.
2021-04-19 11:30:50 +02:00
b0bc59a49c Materials: Support for Opposing Force its SNOW identifer for surfaces in
materials.txt
2021-04-19 11:23:30 +02:00
27b5b59f0d Server: Precache step_sand.left/right, add to footsteps.sndshd.
Fix some botlib waypointing strings.
2021-04-18 08:24:55 +02:00
25f657532c Server: Limit hitbody sound in traceattacks to entities that can actually bleed, not just take damage 2021-04-10 22:49:30 +02:00
fca8620cba Server: Physics variables are now controlled via sv_ cvars like they
usually are in idTech, however we're now checking them every frame and
updating the networked infokeys in question
2021-04-06 12:22:32 +02:00
6e38bac564 Server: add support for more ways of loading HLBSP material definitions.
Explanation is provided under docs/hlmaterials, about the ways you can go
about this and which methods provided by the community are supported
2021-04-06 10:43:38 +02:00
b043b57ed5 Get rid of the View_EjectShell* functions I added last week and replace it
with the much cooler View_AddEvent() which allows for much more.
2021-03-29 21:52:53 +02:00
9c4487b2e9 Weapons_AddItem: Don't assign bitflag to inventory if pickup() returns 0 2021-03-28 12:16:31 +02:00
5b07ee41a9 Add damage_bullet sound shader definitions. Those are played when a bullet
successfully hits a hurtable body.
2021-03-27 09:09:10 +01:00
95739c7a20 Basic spectator implementation for all games. 2021-03-24 07:50:30 +01:00
b49815872c Sound Shaders: Exit out when we attempt to play a shader that hasn't been
precached.
2021-03-13 04:24:53 +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
20a67bf418 Client/Server: Make the server control the sky. 2021-02-22 17:29:34 +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
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