Commit graph

2660 commits

Author SHA1 Message Date
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
760bc4a8fa
NSWeapon: fix punchangle, add cvar g_infiniteAmmo 2024-07-26 11:44:51 -07:00
52af82b985
NSProjectile: made hitscans overridable
NSWeapon: Allow override of Weapon Fire/Release events with FiredWeapon(fireInfo), ReleasedWeapon(string)
2024-07-24 18:50:46 -07:00
ff1681901f
Update .gitignore with comments (thanks Xylemon) 2024-07-24 17:38:51 -07:00
1282bc42dd
NSNavAI: add methods GetCurrentWeapon(), SwitchToWeapon(string), SwitchToExactWeapon(NSWeapon) 2024-07-24 14:26:20 -07:00
24a9ef71ac
NSWeapon: add "speed_mod" key for manipulating the player speed. 2024-07-24 14:25:41 -07:00
5bb9fbf3af
NSMonster: only respect "sequence" on monsters when they're flagged as dead. 2024-07-24 10:10:53 -07:00
c829d0453e
Fixes in base/, move hud weapon selection references out 2024-07-23 18:08:33 -07:00
f9dd7362b4
NSSurfacePropEntity: change string damageDef to NSDict damageDecl in Damage() 2024-07-18 16:32:05 -07:00
8b4b7f0a26
Reserve the id keyword, fix some struct members to comply 2024-07-18 13:44:52 -07:00
ac037bb887
Use NSDict instead of sprintfing strings and sending them over Damage() 2024-07-18 13:33:36 -07:00
e9145091fd
Clear warnings. 2024-07-18 13:04:42 -07:00
965d9e96d6
NSEntity: add SetOriginUnstick(), SetBotTag()
NSWeapon: basic inventory management functions
2024-07-17 14:21:44 -07:00
a852f887e2
More fixes. 2024-07-11 15:24:33 -07:00
8ace54224c
The mother of experimental commits. 2024-06-22 00:24:13 -07:00
bab74ba6fd
Change the inheritance graph of NSBot, NSClient etc. 2024-04-22 22:47:54 -07:00
bd7e78ab94
NSNavAI: Inventory management functions. 2024-04-22 21:47:02 -07:00
822a7221b2
WIP pmove, AI, etc. changes 2024-04-22 15:11:12 -07:00
d5053299dc
func_rot_button: Fix spawnflag 32. Mistakenly thought to be 'toggle'. 2024-03-26 16:14:07 -07:00
53bab46f7d
func_button: if "lip" isn't set, set it to be 4. 2024-03-26 12:45:38 -07:00
ff649187ee
env_sprite: Update QUAKED comment to mention 'material' key. 2024-03-24 20:12:10 -07:00
a9ededfd1a
Menu-FN: when 'rate' is ridiculously low, set it to the engine default (30000) 2024-03-23 13:40:17 -07:00
4b35d47522
Menu-FN: Only run the drawfill() command when the engine requests an opaque loading screen. 2024-03-22 15:39:05 -07:00
33d7c3cc50
NSMonster: change error() to NSError() to aid debugging. 2024-03-21 18:57:31 -07:00
95b7c87ea3
Menu-FN: Init strings after game library init. 2024-03-20 12:33:26 -07:00
1514c977e9
NSNavAI: set _m_flRouteGiveUp to something valid, and change our pathskip tracebox to work like the nodegraph one. 2024-03-18 23:50:14 -07:00
c1eb4bcb99
func_tracktrain: if no globalname is defined, and/or relation target is unset, don't attempt to reposition 2024-03-17 22:56:36 -07:00
9b9988232f
VGUI3DView: only setproperty VF_DRAWWORLD when MENU is not defined. 2024-03-11 20:59:06 -07:00