Commit Graph

1556 Commits

Author SHA1 Message Date
Marco Cawthorne bd470605a3
Exterminate FX_Explosion, FX_Spark and FX_Impact references. 2023-07-24 14:14:20 -07:00
Marco Cawthorne 159756889f
New PropData API function: BreakModel_Entity(NSSurfacePropEntity target, vector dir, float speed); 2023-07-17 11:33:44 -07:00
Marco Cawthorne a8f454dd2c
Clean up some warnings 2023-07-16 22:46:26 -07:00
Marco Cawthorne 7400694e81
Add new cvar: r_drawGLQuakeShadow 2023-07-16 13:28:41 -07:00
Marco Cawthorne d84ef55b78
Get rid of a debug print 2023-07-16 13:06:38 -07:00
Marco Cawthorne fc3884ee9b
NSEntity: involve animation frames in the EntityDef event lookup, add new Input 'AddVelocity' (which applies velocity to the entity according to forward,right,up) 2023-07-16 13:05:15 -07:00
Marco Cawthorne c65c33ef13
Client: add new command 'listFramegroups [model path]' 2023-07-16 13:04:23 -07:00
Marco Cawthorne f877b1620f
Add the constants loader, to allow entityDefs and other scripts to reference constants defined within scripts/constants.txt 2023-07-15 11:34:58 -07:00
Marco Cawthorne b847316ec0
DecalGroups: precache decal groups up front to avoid loading and frames where decals are white/invisible. 2023-07-14 18:08:29 -07:00
Marco Cawthorne f2c41e3def
NSRenderableEntity: Respect the .traileffectnum field 2023-07-10 08:55:30 -07:00
Marco Cawthorne 775e210a06
Menu-FN: Fix includes as a result from an unfinished commit (startup videos) 2023-07-10 08:54:40 -07:00
Marco Cawthorne e27518b672
NSSurfacePropEntity: network 'axialscale' rendering tweak 2023-07-08 23:37:34 -07:00
Marco Cawthorne 9fd087d7bc
NSProjectile: add spawn keys for projectile_debris, stick_to_world, stick_to_actor, mins/maxs (override) 2023-07-08 18:56:23 -07:00
Marco Cawthorne 4104c3e16f
NSRenderableEntity: add SpawnKey 'modelstretch'/'axialscale'. 2023-07-08 00:16:20 -07:00
Marco Cawthorne a8c4075ff9
Server: Handle savegames restoring with entityDef awareness 2023-07-07 23:43:12 -07:00
Marco Cawthorne 9e6a203a02
Shared: Go over the various base classes and bring Save/Restore methods up to date. 2023-07-07 23:34:58 -07:00
Marco Cawthorne bc67e0ab47
NSRenderableEntity: add new methods SetAxialScale() and GetAxialScale(). These can be used in combination with the isotropic scaler which uses SetScale(). 2023-07-07 17:05:30 -07:00
Marco Cawthorne dd492c7822
Add new cvar `com_showTracers` to aid in debugging tracelines. 2023-07-04 08:42:32 -07:00
Marco Cawthorne a79ffd77b0
NSMonster: change entity spawn key 'body_on_draw' to support a group prefix (e.g. 1:2 for group 1, model 2) 2023-06-28 14:29:33 -07:00
Marco Cawthorne d5bb5f933d
NSRenderableEntity: Increase network precision of body field, add new methods 'SetBodyInGroup(int, int)' and 'GetBodyInGroup(int)' 2023-06-28 14:19:47 -07:00
Marco Cawthorne 3cda024a33
NSTrigger: change team touch filter to new field team_no 2023-06-28 14:18:51 -07:00
Marco Cawthorne 31774ce3f1
EntityDef work on NSMonster, NSTalkMonster, NSProjectile etc. 2023-06-20 21:19:00 -07:00
Marco Cawthorne 69d1498c8b
EntityDef: support 'events' group, so developers can tie animation events to Inputs (Source Base I/O system) 2023-06-19 10:35:24 -07:00
Marco Cawthorne 34e722a012
Add and track new player entity field '.score'. Used to trag score points separate from frags. 2023-06-15 11:42:01 -07:00
Marco Cawthorne 373e844305
Client: add new Util_ functons Util_GetTime, Util_GetTimeLeft and Util_GetAddress for the current server. 2023-06-15 11:40:46 -07:00
Marco Cawthorne 3b99cf7419
XR: rename cvar debug_fakevr to xr_debug_fakeinputs 2023-06-15 11:39:55 -07:00
Marco Cawthorne 0dc8f4ec75
entityDef: add support for condition based tweaks 2023-06-14 06:44:37 -07:00
Marco Cawthorne 3eb2ec1b37
entityDef: call spawn() in case an empty entity ref was passed 2023-06-07 16:50:40 -07:00
Marco Cawthorne 66745985d4
Initial implementation of NSSquadMonster, squad management for NSTalkMonster based classes 2023-06-02 19:27:16 -07:00
Marco Cawthorne 40dc1267fa
NSMonster: Add FramegroupForAct() and ActPlay() methods, deprecate Anim* methods. 2023-06-02 19:25:49 -07:00
Marco Cawthorne d0838eab60
NSMonster: turning animation support, with new overridable methods AnimTurnLeft/AnimTurnRight 2023-06-01 16:17:11 -07:00
Marco Cawthorne 1bb1fe705d
NSSurfacePropEntity: add SetBloodColor/GetBloodColor methods 2023-06-01 10:30:51 -07:00
Marco Cawthorne b4fbab80c5
NSMonster: cache idle animation in case it differs (between ACT events, in case of HL MDL) 2023-05-31 11:57:01 -07:00
Marco Cawthorne 055988da77
fix typo in NSMonster. 2023-05-31 11:47:19 -07:00
Marco Cawthorne e880bf764a
NSMonster: get movement speed from animations by default, add cvar ai_stepSize to configure distance 2023-05-31 11:44:31 -07:00
Marco Cawthorne 41465b7c9e
NSTalkMonster: network view_ofs[2] to fix r_showViewCone 2023-05-31 11:24:23 -07:00
Marco Cawthorne 7ad89b9cb2
NSMonster: new method: GetYawSpeed, which controls the turning speed in eueler angles per second. 2023-05-31 11:18:34 -07:00
Marco Cawthorne 5eae288cb9
NSMonster: Four new callback methods that developers can hook into. HasBeenKilled(), HasBeenHit(), HasBeenGibbed() and HasBeenAlerted() 2023-05-31 10:09:21 -07:00
Marco Cawthorne 9e4bba1f0e
NSEntity: new method DistanceFromYaw 2023-05-31 10:08:00 -07:00
Marco Cawthorne bd7cb44784
AI: add ai_debugNav, and ai_debugLogic cvars. Add cooldown timer for targets 2023-05-30 12:06:16 -07:00
Marco Cawthorne 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
Marco Cawthorne 6078d31f12
NSMonster: add methods SetEyePos, and cvar r_showViewCone. 2023-05-17 08:59:26 -07:00
Marco Cawthorne dad5071379
trigger_push: Support for the 'target' spawn key. 2023-05-10 16:13:28 -07:00
Marco Cawthorne ff78e34c16
Move Route_GetJumpVelocity() into shared/defs.h for now. 2023-05-10 16:12:59 -07:00
Marco Cawthorne f8a3e227d4
NSItem: new entity class, designed to use with entityDefs. Subject to change (a lot). 2023-05-08 11:17:03 -07:00
Marco Cawthorne 20415c7ebc
NSClientPlayer: Inherit player rendermode/fx/color/amt before calling UpdatePlayerAttachments() 2023-05-04 08:25:46 -07:00
Marco Cawthorne 40c4d95a2b
entityDef: Fix 'spawnclass' not working when referencing other entitydefs 2023-05-04 08:23:24 -07:00
Marco Cawthorne 49d44bb21f
Server: remove rogue DOS newline characters that managed to get inside entry.qc 2023-05-01 07:15:22 -07:00
Marco Cawthorne b3b22045f3
Server: force set sv_nqplayerphysics to 0, so the engine shuts up about its prediction not working on map start 2023-05-01 06:58:54 -07:00
Marco Cawthorne aa573ebec5
func_breakable: will now alert when a `break` or `bulletimpact` is not set on a used surfaceproperty 2023-05-01 06:48:25 -07:00