Commit graph

2647 commits

Author SHA1 Message Date
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
2a6571e33b
make_radiantshader.sh: mkdir if scripts doesn't exist 2024-03-10 16:47:19 -07:00
b99ec4b39b
make_radiantshader.sh: strip non program portion of a .mat if available 2024-03-10 16:32:40 -07:00
8533f6d228
add make_radiantshader.sh 2024-03-10 16:18:03 -07:00
48b76b8786
Bot_ExistsInServer: ddecolorize names before comparing. 2024-03-09 19:22:26 -08:00
ffa3645395
Menu-FN: Call cfg_save at certain points in case cfg_auto_save isn't on. 2024-03-08 09:27:57 -08:00
396910e587
env_muzzleflash: set it as MASK_GLOWS instead of MASK_ENGINE to ensure we attach
after the viewmodel position has updated.
2024-03-07 19:38:46 -08:00
ee60a09eed
infodecal: fix client-side ones always rendering.
Add some more icons for various NSPointTrigger entities.
2024-03-06 20:27:54 -08:00
d31a3b65fd
NSView: fix some warnings. 2024-03-06 19:38:39 -08:00
d697f53ca5
NSView: when we switch between dead/alive state, reset damage display/shake variables. 2024-03-06 19:31:26 -08:00
e9f9ae5829
NSMonster: add support for sequence key, used by some sitting NPCs. 2024-03-06 19:30:38 -08:00
bd74c588da
worldspawn: Set HDR values regardless of enabled state, in case the user wants to enable it. 2024-03-06 19:14:18 -08:00
dcb87039b1
NSPointTrigger: Save/Restore for the debug texture. 2024-03-06 19:13:48 -08:00
3d32e75e88
NSClientSpectator: add new method SpectatorDeathcam() 2024-03-06 19:13:11 -08:00