Commit graph

32 commits

Author SHA1 Message Date
12bb472abc
add class NSPortal (initial work, plus custom pmove changes).
Work on NSProjectile expansion has begun.
Support for skill cvar referencing within entityDef values.
2023-05-27 11:58:34 -07:00
495b661b47
NSMoverEntity: Improvements so transformation and rotation is easier at the same time. 2023-03-14 00:06:19 -07:00
faaf67762f
Platform: minor cleanup, updated fonts/ 2023-03-12 16:00:31 -07:00
dcfdf531ce
Move the duties of hlmaterials.txt into surfaceproperties.txt, since Source has a 'gamematerial' keyword we should use instead. 2022-10-16 00:36:18 -07:00
f01e90ad2e
Merge material property definitions into the surfaceproperties system to streamline
everything more and to allow level designers custom properties without recompiling
the game-logic. This will also make it more Source Engine compatible.
2022-10-15 22:43:32 -07:00
db2d3b1730
Get rid of hlmaterials.qc by making the look-up happen fully within NSMaterial.qc as part of the newly unified material routines.
There's also a new file (hlmaterials.txt) that is subject to change which will allow you
to add many custom material definitions without hard-coding a thing. Which fixes conflicts between different GoldSrc games.
2022-10-15 20:32:40 -07:00
a463498f60
Huge cleanup. Add initial code for the revamped material definition system. 2022-06-01 17:38:52 -07:00
a469c06fc8
Add 'surfaceparm projectile' support, so non-solid surfaces can
still react to tracelines and projectiles.
2022-04-13 16:58:42 -07:00
143a00e94e
Fix light_dynamic (static) from not spawning in CSQC. Add r_skipDiffuse to rtlight.glsl,
add SURF_PENETRATE, which will make bullets pass right through them when
BULLETPENETRATION is set. Go over and refactor a lot of base_client, player
and spectator code to facilitate both permanent and temporary spectators
better. Add experimental env_glow lens flare code. Fix material ID detection
bug for Q3 based BSPs. A couple helper functions were added to src/client/utils.cpp
but they are not yet final.
2022-03-17 21:05:47 -07:00
1bd7d1a68c
Add platform/base_scripts.pk3dir/particles/burn.cfg. 2022-01-20 16:38:49 -08:00
f2e44b24fb
Add platform/base_sound.pk3, move base sound shaders in there. Add misc/null
and misc/missing PCM samples for fallback.
2021-12-18 15:06:37 -08:00
a48baff2d1
Menu-FN: Add a hack around drawtextfield(), wasting QC asm instructions in
the process for something as simple as specifying character size.
2021-11-06 11:17:54 +01:00
32ed57b4d7
Menu-FN: Add rendersize 11 to fonts/menu_label.font 2021-11-06 07:59:13 +01:00
c22b001f60
Cleanup: get rid of the ancient Font_LoadFont() wrapper, pipe _all_ text
font info through our internal font_s data structure.
2021-11-04 22:48:19 +01:00
aa0ccf4413
Add test_grenadeclip.
Add helper functions to convert RGB255 to ^x color codes.
Small fixes for fonts in vguilib.
2021-11-03 21:54:43 +01:00
70fe95e5a7
Add support for Source styled surfaceproperties.txt definitions, which
is incorporated into func_breakable/pushable already. Mods can now control
material/surface properties without code.
2021-10-15 19:01:36 +02:00
2b377fdd79
Document the various CONTENTBITS that are relevant to us and reserve
a GRENADECLIP content bit, so levels can be optimised for nade throws.
2021-09-24 10:48:05 +02:00
844c29bf23 Menu-FN: Off-load font definitions into external .font files, like cgame 2021-08-08 13:54:05 +02:00
9fb574d920 CBaseEntity: Fix error for when games are not compiled with GS_RENDERFX 2021-08-03 07:15:25 +02:00
09528c2944 Add support for top/bottom color on players and viewmodels.
Fix func_breakable's sound shader from precaching non existing sounds.
2021-05-20 16:01:07 +02:00
3b36834b93 Platform: HL doesn't have concrete4 and flesh4 debris sounds 2021-05-17 22:19:29 +02:00
f09f5833e0 Introduced the new OpenAL EFX handling subsystem. It's fully user-definable
via plain-text definitions and allows even legacy/GoldSrc content to take
advantage of it.
2021-04-22 11:33:48 +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
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
cec4872994 Add modelevent_shell sound shader definitions, so mods can set shell eject
sounds.
2021-03-27 07:47:56 +01:00
cd9dad472e func_door: define sound shaders for legacy move/stop sound 0 (nothing) 2021-03-17 11:58:00 +01:00
e4cb99dc02 Add player.sndshd to platform for convenience. 2021-03-15 11:31:44 +01:00
0fe863aabc Server: Add water stepping, wading and swimming sounds + script definitions 2021-02-13 23:06: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
0f50c46623 Platform: Added blood decal for non-Q3BSP.
GS-Entbase: Add mitigations for possible unwanted adddecal() calls, remove decals upon CSQC_Shutdown()
2020-10-23 05:15:59 +02:00
074e1cc120 Client/Platform: Added some base impact decal examples for non HL BSP...
this will change a bit more to include more material types. Patience!
2020-10-15 19:02:55 +02:00
b6e9aceb02 Platform: Restructure the directory, add example maps and sources. 2020-09-24 15:33:35 +02:00