Commit Graph

2618 Commits

Author SHA1 Message Date
Marco Cawthorne ff649187ee
env_sprite: Update QUAKED comment to mention 'material' key. 2024-03-24 20:12:10 -07:00
Marco Cawthorne a9ededfd1a
Menu-FN: when 'rate' is ridiculously low, set it to the engine default (30000) 2024-03-23 13:40:17 -07:00
Marco Cawthorne 4b35d47522
Menu-FN: Only run the drawfill() command when the engine requests an opaque loading screen. 2024-03-22 15:39:05 -07:00
Marco Cawthorne 33d7c3cc50
NSMonster: change error() to NSError() to aid debugging. 2024-03-21 18:57:31 -07:00
Marco Cawthorne 95b7c87ea3
Menu-FN: Init strings after game library init. 2024-03-20 12:33:26 -07:00
Marco Cawthorne 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
Marco Cawthorne 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
Marco Cawthorne 9b9988232f
VGUI3DView: only setproperty VF_DRAWWORLD when MENU is not defined. 2024-03-11 20:59:06 -07:00
Marco Cawthorne 2a6571e33b
make_radiantshader.sh: mkdir if scripts doesn't exist 2024-03-10 16:47:19 -07:00
Marco Cawthorne b99ec4b39b
make_radiantshader.sh: strip non program portion of a .mat if available 2024-03-10 16:32:40 -07:00
Marco Cawthorne 8533f6d228
add make_radiantshader.sh 2024-03-10 16:18:03 -07:00
Marco Cawthorne 48b76b8786
Bot_ExistsInServer: ddecolorize names before comparing. 2024-03-09 19:22:26 -08:00
Marco Cawthorne 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
Marco Cawthorne 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
Marco Cawthorne ee60a09eed
infodecal: fix client-side ones always rendering.
Add some more icons for various NSPointTrigger entities.
2024-03-06 20:27:54 -08:00
Marco Cawthorne d31a3b65fd
NSView: fix some warnings. 2024-03-06 19:38:39 -08:00
Marco Cawthorne d697f53ca5
NSView: when we switch between dead/alive state, reset damage display/shake variables. 2024-03-06 19:31:26 -08:00
Marco Cawthorne e9f9ae5829
NSMonster: add support for `sequence` key, used by some sitting NPCs. 2024-03-06 19:30:38 -08:00
Marco Cawthorne 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
Marco Cawthorne dcb87039b1
NSPointTrigger: Save/Restore for the debug texture. 2024-03-06 19:13:48 -08:00
Marco Cawthorne 3d32e75e88
NSClientSpectator: add new method SpectatorDeathcam() 2024-03-06 19:13:11 -08:00
Marco Cawthorne bd2705eed6
NSTalkMonster: m_flFollowSpeedChanged should be 1.0 instead of 5.0 (as comment suggests) 2024-03-06 19:12:05 -08:00
Marco Cawthorne 0bb88774a2
Add new class: NSSpawnPoint. 2024-03-06 19:11:37 -08:00
Marco Cawthorne 2838900a82
scripted_sentence: set m_iValue before UseTargets. Document '`duration` key. 2024-03-06 10:17:10 -08:00
Marco Cawthorne d9d579478a
monstermaker: Prevent monster DropToFloor().
NSMoverEntity: Remove eager MoveToPosition check that broke func_button's NOMOVE variants.
2024-03-05 23:27:26 -08:00
Marco Cawthorne 3a1a5d66f5
scripted_sentence: add support for `refire` key.
Add some more icons. Also NSPointTriggers should be SOLID_NOT now as to not
travel across levels.
2024-03-05 22:48:00 -08:00
Marco Cawthorne 09839aa198
multi_manager: Minor clean up. 2024-03-05 08:21:26 -08:00
Marco Cawthorne efe079bdf7
Updates: Strip version number from preview img url. 2024-03-05 08:20:50 -08:00
Marco Cawthorne f11a10d343
func_tracktrain: Save/Restore more fields, keep track of when to play the movement sounds. 2024-03-05 08:19:56 -08:00
Marco Cawthorne a3268ef65b
env_shake: active global shake entities can be stopped by removing them from the game now. 2024-03-05 00:33:37 -08:00
Marco Cawthorne a9b6f9a428
trigger_transition: filter out "players" in all transitioning modes. 2024-03-04 20:13:53 -08:00
Marco Cawthorne 0c2db7a23a
SV_PerformLoad: Saner check for if we can call Destroy()... 2024-03-04 19:55:30 -08:00
Marco Cawthorne 32a36d8017
Server: show 'entered game' message once and only in MP. 2024-03-04 19:48:37 -08:00
Marco Cawthorne f0034cb03a
SEND/READENTITY_ANGLE: use WriteAngle()/readangle() 2024-03-04 19:37:51 -08:00
Marco Cawthorne 9c66c2c5f9
func_door: Fix `targetClose` not getting triggered right when START_OPEN spawnflag is set 2024-03-04 19:34:13 -08:00
Marco Cawthorne c0b031ed9f
Nodes: Make the way nodes are generated a bit better. 2024-03-04 18:52:21 -08:00
Marco Cawthorne e2239a236f
Minor cleanups to some point entities and replace various usage of whichpack(). 2024-03-04 18:51:07 -08:00
Marco Cawthorne 50cc1b6198
phys_rope: Remove newline from print. 2024-03-04 18:49:22 -08:00
Marco Cawthorne 6c8b56c39f
env_explosion: Don't trigger when disabled (duh) 2024-03-04 18:48:54 -08:00
Marco Cawthorne 57b19425c1
NSIO: Give it an empty ParentUpdate() to work around StartFrame() calling a null function on them. 2024-03-04 18:45:06 -08:00
Marco Cawthorne 37ab385bcf
NSEntity: add empty DebugDraw method for listen servers. 2024-03-04 18:44:10 -08:00
Marco Cawthorne 0f96e635b0
NSTalkMonster: add anim event 1009. 2024-03-04 18:43:17 -08:00
Marco Cawthorne 86cfec6e6d
NSTrigger: ensure killtarget is transferred on delayed triggers. Also double check a target is specified before we attempt to search for entities to trigger. 2024-03-04 18:42:48 -08:00
Marco Cawthorne d405ff7e90
PropData: Change warning to a log. Not every model has to have PropData. 2024-03-04 18:42:05 -08:00
Marco Cawthorne 649ed825ad
Big commit, work over various triggers. Clean up debug prints and make
them more consistent. Warnings are in yellow, while errors are in red.

New cvar: g_developerTimestamp will display timestamps next to debug messages
originating from the game-logic. Set g_developer to 1 to see them.
A lot of useful into, such as which entity id messages originate from
should aid in debugging quite a bit.

SP level transitions should also be more reliable now in terms of
transferring entities and the like.

Some levels have awkward transition areas and you might find yourself
jumping between levels frequently. Workarounds are in the works.
2024-03-02 00:40:08 -08:00
Marco Cawthorne 0147278359
Client View: Ensure modelindex of the viewmodels get set to 0 when
we've got no valid weapon set.
2024-02-23 14:26:55 -08:00
Marco Cawthorne c44bf11e3b
View: helper function to prepare for weapon changes on the client-side 2024-02-23 14:01:43 -08:00
Marco Cawthorne 0792fbaee9
Server: add Skill_Init inside init() 2024-02-23 13:58:59 -08:00
Marco Cawthorne cb4ba0c201
env_spark: Fix spawnflag START_ON not implying TOGGLE, add Input() method and implement more stuff. 2024-02-23 13:57:28 -08:00
Marco Cawthorne ca318e29f9
button_target, trigger_changelevel, trigger_transition: doc improvements 2024-02-23 13:54:46 -08:00