Commit graph

2687 commits

Author SHA1 Message Date
fd90be879c Rename a bunch of old names. 2025-01-13 14:29:09 -08:00
8503cad633 Initial merge of the new NPC schedule/task system. 2025-01-13 13:36:48 -08:00
ee8428d8b5 add some progs 2025-01-08 22:59:04 -08:00
31ed19cb47 env_muzzleflash: add a hack to force additive rendering (HL1...) 2025-01-03 04:12:24 -08:00
ba6f788ab8 Server StartFrame: externset frametime for ruleC/mapC because that won't happen itself through the engine? 2025-01-03 01:56:25 -08:00
dffc9dc832 ncProjectile: added callback method HasExploded(void) 2025-01-03 01:55:36 -08:00
ca316277e7 NSEntity: remove parenting hack, do our own parenting as the engine won't do it for entities using .SendEntity (virtually every single one in Nuclide) 2025-01-03 01:55:03 -08:00
5cf55b8271 Server: load singleplayer.dat or deathmatch.dat when appropriate in RuleC_Init 2025-01-02 19:24:48 -08:00
d41b90c081 Base: Give some love to base/
VGUI-Menu: friendList, chat backend, textview class proto
SurfaceProps: Flesh impacts recognition
PropData: BreakModels now use a bodyque to limit possible physics overhead
PMove: falldamage, liquids can now be configured via external decl
NSWeapon: added alternative punchangle based on springs, 'punchSpring X Y Z' in decl
API: Team class management APIS
NSPhysicsEntity: Optimised, optimised, optimised. New cvar: phys_lowspec. Scraping, impact effects etc have been added.
More polish everywhere else
2025-01-02 18:53:55 -08:00
2db52608b1 Server: streamline gamerule progs interface 2024-11-05 20:36:15 -08:00
967ac0145b Client: add init() 2024-11-04 01:13:04 -08:00
5c6f405872 Client: add vv_flag VFL_VIDREMOVE, for client-side entities needing deletion on renderer restart. 2024-11-04 01:12:09 -08:00
70d6302808 Server: new command: listMapTweaks 2024-11-02 02:56:33 -07:00
26f81235c8 NSAttack: add 'drop' key 2024-11-02 02:53:18 -07:00
9d4bd4d90c NSTrigger: add explicit "UseTargets" input to be used by model events and stuff. 2024-11-01 03:59:12 -07:00
0d6d881437 NSRenderableEntity: RM_ADDITIVE ignores rendercolor 0 0 0 it appears. (zpo_contingency) 2024-11-01 03:58:25 -07:00
dcb17255a3 func_ladder: duplicate self to act as a collision entity you cannot pass through, won't fight CONTENT_LADDER 2024-11-01 03:03:20 -07:00
aa4b96f68c NSRagdoll: some minor optimisations.
Platform: Background handler will look for assets in current game-dir for prioritisation
Server: add server command `setLightStyle` (two args, style num + pattern)
Bunch more tiny fixes for various classes.
2024-10-31 04:11:30 -07:00
b891015423 NSGameRules:: add NPCDeath callback method. 2024-10-31 04:00:23 -07:00
a8e4893f2a env_beam: add additional Inputs and keys to make them useful for monsters 2024-10-31 03:58:12 -07:00
b8b0ddcb1b Makefile: don't remove fteqw binaries when cleaning game binaries. 2024-10-31 03:55:45 -07:00
45b2f300f8 Menu-VGUI: Title support. 2024-10-18 02:40:35 -07:00
af708c1e90 Makefile: add vacuum target.
Util_ChangeExtension: will handle a sensible fallback case now
NSItem: query MaxHealth, MaxArmor properly.
2024-10-17 02:15:35 -07:00
81d61ac3da multiprogs additions, decl integration, more of everything really 2024-10-16 22:52:27 -07:00
e27e2a85ec
* fix dirFromTarget() logic
* passing of extra damageDecl values from radiusDamage() calls

* add fun cg_modelSpin/Bob cvars

* NSActor::MaxAmmo(int) added

* NSItem::ItemPickUpCheck(entity) added

* base/ cleanup
2024-09-20 09:38:02 -07:00
0909b91703 last weeks work, read plan 2024-09-17 12:46:31 -07:00
a7edfdf5d0 NSSurfacePropEntity: load surfacedata from propdata when not set 2024-09-09 22:05:09 -07:00
9b1b536363 SurfaceProp: load _manifest.txt file (optional) 2024-09-09 22:04:09 -07:00
b0548e6390
Menu-VGUI: fix modelviewer background path. 2024-09-06 09:27:46 -07:00
74bc920c60
unpackStringCommand: support "cvar:[cvar_name]" query syntax 2024-09-06 09:27:03 -07:00
9bb8dcab7c
PropData: load more property values from Source Engine binary model format. 2024-09-06 09:26:36 -07:00
a82c978026
SurfaceProp: load Source Engine _manifest file. 2024-09-06 09:25:43 -07:00
ab755faaf5
Makefile: read required plugins from file, build alongside dist-engine target, compile shader tools 2024-09-06 09:25:01 -07:00
bf567da9ba
* spawn/speed optimisation for NSPhysicsEntity
* pick a better dmgDir for hitscan NSProjectiles so physics ent feedback is accurate

* fix NSPhysicsEntities not becoming invulnerable after breaking
2024-09-03 12:15:16 -07:00
b60d420692 Push all the latest commits from this week's worklog, changes for RT2 2024-09-01 23:57:51 -07:00
8ab066ffe1
NSProjectile: allow projectiles without models to still have trails etc. 2024-08-14 18:09:18 -07:00
02301994ce
- add GetNextWeapon(), GetPreviousWeapon(), GetLastWeapon() to NSActor
- allow weapon sorting in overridable NSActor::SortWeaponChain() method
- add isClient() as isPlayer() doesn't take spectators into account
- fix various CS specific zone
- ungodly amount of documentation improvements
- worldspawn ent work delegated to separate ent slot
- NSClientPlayer::MakePlayer no longer wipes the inventory.
- fix team selection race condition exploit in FreeCS
2024-08-14 16:10:57 -07:00
e4ab1bd671
document 'Physics' group, related to external-simulator physics
def > decls/def
sound/*.sndshd > decls/sound/*.sndshd
efx/ > decls/efx
NSWeapon: add "snd_fireStart", "snd_fireStop", "snd_fireLoop"
NSWeapon: add "view_geomset" to FireInfo
NSWeapon: add "knockbackRelease" to FireInfo
NSWeapon: add "altMode" toggle
NSWeapon: "actLoop" decoupled from "actFireStart"
NSWeapon: fireRate inherited from model if not set
NSWeapon: query all sequences from FireInfo
NSWeapon privatize weapon state
solidify more def documentation across the board
NSWeapon add "chargeTime" key
rework state machine in NSWeapon
reload timing separation in NSWeapon
add overheatLength, overheatPerShot to NSWeapon
2024-08-11 13:39:51 -07:00
21b68d1938
NSWeapon: - add "chargeTime" key
rework state machine in NSWeapon
reload timing separation in NSWeapon
2024-08-05 18:06:18 -07:00
c3f527d5e5
NSActor: add SwitchToBestWeapon(bool ignoreCurrent) 2024-07-31 17:28:35 -07:00
0adf97e2de
NSWeapon: reloadTime also needs to affect shotgun reloads. 2024-07-31 00:43:02 -07:00
792c764c2e
NSWeapon: add 'reloadTime' key override 2024-07-31 00:21:09 -07:00
7c68a0317e
NSWeapon: add method WeaponIsFiring() 2024-07-30 20:45:04 -07:00
caac73bec9
NSProjectile: don't spawn debris on monsters.
NSIO: change EntWarning to EntLog for unknown spawn data keys.
2024-07-30 20:20:07 -07:00
4a636693bc
NSClientPlayer::Physics_Fall: fix falldamage 2024-07-30 20:16:05 -07:00
37f5c907b4
NSWeapon: rename some methods to be more verbose, add WeaponStartedFiring(), WeaponStoppedFiring()
NSDict: add InitWithSpawnData(string)
2024-07-30 20:15:43 -07:00
4315e92ef5
Client/Server: unset input_cursor_entitynumber because the engine wouldn't 2024-07-30 14:43:03 -07:00
c27ab5dd5a
NSItem: play pickup noise on player instead of self 2024-07-26 14:51:30 -07:00
d936e57aa5
Rename NSNavAI to NSActor. 2024-07-26 14:32:49 -07:00
935c0fd543
NSItem: handle health/armor/ammo drops outside Touch.
New cmds: giveInventoryItem, removeInventoryItem, removeAllInventoryItems
2024-07-26 12:53:57 -07:00