Commit Graph

27 Commits

Author SHA1 Message Date
Marco Cawthorne 299b2eed72
scripted_sequence & multi_manager: Mark both their return values as positive once they've triggered their targets only. 2022-05-04 13:59:10 -07:00
Marco Cawthorne 66e982b901
NSMonster: Go over the animation code to add timers that handle ACT-based sequences better. 2022-05-01 22:45:30 -07:00
Marco Cawthorne 6a658c5268
NSVehicle: Add the following methods - HidePlayermodel (for the self-driver) and DriverAnimation. The latter is a gentle request and the mod doesn't have to respect it, but should be used as a fallback. 2022-04-15 10:19:22 -07:00
Marco Cawthorne e79a2e9c2e
NSMonster: Add method bool CanCrouch(). Monsters will then attempt to crouch.
SoundDefs: Add support for distshader on Sound_PlayAt() calls.
2022-04-10 07:01:14 -07:00
Marco Cawthorne 6b1af093bb
NSMonster: use PMoveCustom_RunStandardPlayerPhysics instead of the engine, as it overrides
our hitcontentsmask. This is required for monster/bot clips.
Client: If an entity gets removed, ensure the .skeletonindex gets deleted.
2022-04-09 19:21:00 -07:00
Marco Cawthorne e827c51e4b
Client: Make sure glow effects are rendered after other entities and camera manipulation. 2022-04-08 18:15:18 -07:00
Marco Cawthorne 9a6897c433
Extend FX_GibHuman with a dir (euler) and force parameter. 2022-04-05 20:39:30 -07:00
Marco Cawthorne e45987d65c
NSEntity: Added new methods based on GMod's API. More to follow. 2022-04-02 00:10:25 -07:00
Marco Cawthorne 88a1984d09
NSRenderableEntity: Add RFX_GLOWSHELL effect. Note that .fatness doesn't
currently work on HL MDL.
2022-03-15 00:01:20 -07:00
Marco Cawthorne 0fc52f726d
BotLib now responds to 'alert' flagged sounds as well. Also added a cooldown
timer so we don't call alerts too often.
2022-03-11 14:00:44 -08:00
Marco Cawthorne 6fb067eed3
My name has changed, so an update to the copyright to reflect it. 2022-03-11 11:40:43 -08:00
Marco Cawthorne bcf9e2e758
Cleaning up some warnings. 2022-02-01 13:37:21 -08:00
Marco Cawthorne 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
Marco Cawthorne 7ce222007c
NSMonster: Fix oversight where targets would get overriden by AlertNearby()
Make it so Pain() has a random chance to change targets.
2022-01-31 10:12:41 -08:00
Marco Cawthorne 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
Marco Cawthorne abdce0b61d
NSMonster: Improve 'seeing', don't target just anything with takedamage set to YES.
Add 'AlertNearby()' which is called when a monster sees a new enemy,
gets hit or dies.
2022-01-28 12:31:24 -08:00
Marco Cawthorne 92bb821ad9
NSMonster: Add GetWalk/Run/ChaseSpeed methods to override movement speeds
of each monster class that's based upon it.
2022-01-25 20:07:25 -08:00
Marco Cawthorne 63d7b04852
NSMonster: Do some basic interpolation between new/old frames. HLMDL are
currently not supported however (engine needs a fix)
2022-01-24 17:29:58 -08:00
Marco Cawthorne 7963b11a7d
NSMonster: Add MeleeMaxDistance() and MeleeCondition(), so classes can
easily override condition and distance of their melee attacks.
2022-01-24 12:29:06 -08:00
Marco Cawthorne 709f0a2297
scripted_sequence: More work to make c1a3 and t0a0a work properly 2022-01-21 17:24:39 -08:00
Marco Cawthorne 82b1cb68fa
Improvements to some GoldSrc rendermode code, better teleporting behaviour
for scripted_sequences.
2022-01-21 12:24:25 -08:00
Marco Cawthorne 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
Marco Cawthorne 11c37f789d
NSMonster: Add TriggerCondition for death of an NSMonster. 2022-01-10 13:18:25 -08:00
Marco Cawthorne 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
Marco Cawthorne 08c3a4a576
SurfData: Goodbye to DAMAGE_MATERIAL. We streamline that process now so
that all entities will use surfaceParm defined info by default unless
overriden by an entity. + Set up sane defaults for surface properties.
2021-11-13 01:38:20 +01:00
Marco Cawthorne fa5cdd5a80
Initial commit of the Save/Restore system, this is the first reference
implementation of QuakeC controlled save-files and SV_PerformLoad() and
SV_PerformSave that Spoike added into FTEQW for Nuclide.
2021-10-22 20:51:51 +02:00
Marco Cawthorne 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
Renamed from src/gs-entbase/server/basemonster.qc (Browse further)