75a1c8ce6c
NSEntity: .touch being assigned is being deprecated in favor of our internal Touch(entity).
...
This is so we can support StartTouch(entity) as well as EndTouch(entity) which are implemented
with this commit. Update your entities touch() function overrides for NSEntity sub-classes!
2022-04-03 14:04:34 -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
96f3a1224a
This is a massive change. Check the full msg here:
...
https://icculus.org/~marco/txt/nuclide_may2022.txt
2022-03-15 19:33:11 -07:00
bbfc8c945c
BotLib: Prematurely commit all this new nav-stuff because some people like
...
to compile their games.
2022-03-13 17:10:12 -07:00
6fb067eed3
My name has changed, so an update to the copyright to reflect it.
2022-03-11 11:40:43 -08:00
d885e2e643
BotLib: lot of work done on recognizing weapon types, making proper use of
...
Weapons_IsEmpty() checks - more fixes for pathfinding; the ability to set
walk and movespeed externally via method overrides; several bugfixes in
relation to firing (and getting stuck on pressing other keys.
2022-03-08 21:50:30 -08:00
53f5780ac0
Improvements to console output to make debugging easier, simplified
...
entry.qc by pushing more code into external functions. Add support
for mods to override networked events (after we added support for
ent update overrides the other week).
2022-03-03 14:16:02 -08:00
47a37af545
Client: Allow mods to override entity updates of gs-entbase.
...
prop_vehicle_drivable: Initial work towards suspension.
2022-02-11 17:09:08 -08:00
bef8dfb117
Base: Some minor edits to facilitate the TW akimbo weapons (clean this later...)
2022-02-04 15:24:43 -08:00
bcf9e2e758
Cleaning up some warnings.
2022-02-01 13:37:21 -08:00
1beb466b81
Base: .pitch reference fix.
2022-02-01 10:10:29 -08:00
419e89e861
Client: Some minor work towards making the textmenu/game_text code respect
...
actual font data handled by Nuclide via external fontdef files.
2022-01-31 13:57:30 -08:00
578da4a779
Add VGUI_Active() which returns whether or not we're drawing VGUI elements,
...
add SNDFL_ALERTS to sound shaders, which will alert enemy AI of suspicious
behaviour, fix a health-setting bug in NSSurfacePropEntity and remove
playerslot check in item_pickup from base/
2022-01-28 16:02:00 -08:00
06d07738b6
Clean up the base classes, get rid of having to manually include the entbase
...
defs.h for the respective progs.
2022-01-20 16:23:29 -08:00
749424aa84
NSMonster: Add support for actions (used in e.g. HLMDL) to query which seq
...
to play. This will be expanded shortly in-engine to support more formats...
2022-01-06 19:27:08 -08:00
799f21305d
Base: item_pickup should re-setsize() after updating the pickup's model.
2022-01-06 15:02:52 -08:00
9d4d7afdcd
Big overhaul of momentary_door, momentary_rot_button... now onto the last
...
entity until Hazard Course is fully functional from beginning to end.
2022-01-04 21:54:42 -08:00
840a4e32bd
Server: Fix bug where holding down +use will make you pass through player
...
clips.
2021-12-14 10:36:39 -08:00
5ea389dc71
Change FX_Corpse_Spawn's header to work around a possible compiler bug that
...
gets triggered in cstrike.
2021-12-13 12:56:01 -08:00
7bfea15dd0
Add base/shared/fx_corpse.qc, change set to seta in masters.lst
2021-12-13 11:47:55 -08: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
249e4bc612
Massive revamp of the Nuclide system classes, more efficient networking
...
and memory usage thanks to intelligent boxing of fields.
Added Util_TimeToString, removed old VOX code, added lots of new helper
classes...
2021-10-20 01:19:10 +02:00
736ecb61f8
TraceAttack: check surfaceflags on world traces, m_iMaterial on anything
...
else.
2021-10-15 09:37:51 +02:00
147969e8a8
Client: Add Weapons_EnableModel() and Weapons_DisableModel() so weapons can
...
manually control the visibility regardless of viewzoom setting
2021-10-08 21:50:04 +02:00
574980bb1d
CGameRules: Now incorporates DamageApply and DamageRadius, thus making you
...
able to have gamerule specific logic for inflicting damage to entities.
2021-10-07 23:30:21 +02:00
7acdd8a2d6
Base: Weapons_SetModel; make sure the viewmodel's bbox gets set to point
...
size every time the model changes, in case the sv_gameplayfix for setmodel
sizes hack is enabled.
2021-10-04 22:47:52 +02:00
251713121c
PropData: Add support for the BreakModel info parsing. Any CBaseEntity can
...
now be augmented. prop_physics entities can already make use of them.
2021-09-21 20:33:09 +02:00
cba54d3e2b
Added crossprint, changed input_sequence from int to float as
...
it's now integrated into the engine, however as a float (blame DP)
2021-09-15 22:44:31 +02:00
2a86794d67
Add precache_cubemap() to src/client/defs.h
2021-09-02 21:11:54 +02:00
527318bd65
Deprecate CBaseFX, introduce .predraw for weapon functions.
2021-09-02 09:39:37 +02:00
9fb574d920
CBaseEntity: Fix error for when games are not compiled with GS_RENDERFX
2021-08-03 07:15:25 +02:00
1ec3cf2e8e
Decouple Camera/Viewmodel effects from src/ into base/src/
2021-08-01 08:53:21 +02:00
971b76f938
Menu-FN: Added support for parsing gameinfo.txt from Source Engine games
2021-06-13 09:04:29 +02:00
243c875a3f
CBaseTrigger: Add support for Source Engine's FireUser/OnUser 1-4 trigger
...
inputs/outputs.
2021-05-29 10:52:47 +02:00
19065e4810
Base Game: Adding some base weapon helper functions, will make dealing with
...
multi-state weapons like shotguns during reloads easier.
2021-05-25 08:33:35 +02:00
148c5f0e86
Base: Unset think() of the player if they're alive and switching weapons.
2021-05-22 20:37:53 +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
8072ba2872
Add Weapons_Sound() back, because now it'll be useful
2021-05-17 20:18:25 +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
aef65b5749
Shared: Add frametime parameter to Animation_TimerUpdate().
2021-05-10 12:22:12 +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
a3ecd78f17
CBaseMonster: support for spawnflag MSF_IGNOREPLAYER (64).
2021-05-10 08:14:10 +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
76507b3e9e
Client: Handle EFX_Shutdown() for OpenAL Environmental FX
2021-05-07 16:29:24 +02:00
7a9d50b4c9
Strip Weapons_PlaySound() from base
2021-05-07 13:30:44 +02:00
54be70da80
fx_spark: make it use our sound shader definitions
2021-04-07 12:57:23 +02:00
44ab18793c
Rearrange how we execute and time our player animation logic
2021-04-06 09:18:17 +02:00
e5ba0406fd
Added pSeatLocal, which is like pSeat but games no longer break if upstream
...
Nuclide expects new fields. You might have to migrate some fields over.
2021-03-31 13:40:27 +02:00
9319e63619
View_AddEvent: Add hack to cache and verify we're playing the event only on our frame of choice
2021-03-30 07:30:33 +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