Commit Graph

2331 Commits

Author SHA1 Message Date
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 7350bf98d4
cvars.cfg: document com_showTracers 2023-07-06 16:34:26 -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 9b526ecbd5
TestWeapon is no longer needed in base. This stuff will all be replaced. 2023-06-15 11:39:32 -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 3e8cf479c9
Unbreak base/src. 2023-06-01 18:45:01 -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 3bbeea3343
make_mapdef.sh: small caching fix for when you deal with larger mapdefs and multiple invalid entries. 2023-05-27 16:23:34 -07:00
Marco Cawthorne dbe394fa28
make_mapdef.sh: parse entityDef files in the game directory 2023-05-27 15:57:43 -07:00
Marco Cawthorne bd8351db58
build_game.sh: When RADIANT_PATH is set, copy entities.def, radiant.game and radiant.xml (build parms) into the users Radiant gamepack directory. 2023-05-27 12:00:50 -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
Marco Cawthorne 09a0e2de52
func_breakable: Fix entities not playing break sounds/models when no 'material' key is set. 2023-05-01 06:16:28 -07:00
Marco Cawthorne 3419c0df31
func_breakable: ensure the 'break' sound is played when present. also ensure we precache the break sound ahead of time. 2023-05-01 05:52:20 -07:00
Marco Cawthorne d45d2f1dc4
Introducing a copy of the id Tech 4 EntityDef system into Nuclide. 2023-04-30 18:01:26 -07:00
Marco Cawthorne 054e703177
env_fog: default color values should be 255,255,255 and not normalized. 2023-04-30 18:00:11 -07:00
Marco Cawthorne 89e3b961e8
trigger_teleport: more sound customization options 2023-04-30 17:59:49 -07:00
Marco Cawthorne f606efcbf7
NSClientPlayer: start networking rendermodes (needs to be optimised for network transfer) 2023-04-30 11:23:56 -07:00
Marco Cawthorne cd3023eeba
Server: add MapTweaks. A new feature that allows tinkerers to rewrite entity classnames under certain conditions (RFC) 2023-04-22 02:45:58 -07:00
Marco Cawthorne c5626ce347
NSEntity: DropToFloor() should return a boolean akin to the original builtin. 2023-04-22 01:05:56 -07:00
Marco Cawthorne 3a755aaba7
NSSurfacePropEntity: add SetCanBleed() and CanBleed() methods to abstract the old iBleeds field. 2023-04-22 01:05:27 -07:00