Commit Graph

850 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 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 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 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 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 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 32a36d8017
Server: show 'entered game' message once and only in MP. 2024-03-04 19:48:37 -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 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 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 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
Marco Cawthorne c60012b757
env_shooter: Add Input() method 2024-02-23 13:53:04 -08:00
Marco Cawthorne 8b2d484917
func_train: fix how we initially spawn, preventing the train from accidentally getting triggered on spawn 2024-02-23 13:50:52 -08:00
Marco Cawthorne 02551ed71b
env_shooter: Apparently 'scale' only works on sprites. So let's add some systems to detect that. 2024-02-23 13:41:04 -08:00
Marco Cawthorne ee58089a55
env_explosion: Get it up to Source Engine standards. 2024-02-23 13:23:19 -08:00
Marco Cawthorne 34884b68a3
ambient_generic: fix mix-up of small and medium radius.
also set s_nominaldistance to 1024.
2024-02-23 13:22:51 -08:00
Marco Cawthorne 2f56725160
func_plat: nudge the platform the way way when no height is defined and we make up a position 2024-02-21 16:41:52 -08:00
Marco Cawthorne 33e5038881
func_pushable: play the surfaceproperty specific scraping sound when being pushed around 2024-02-21 16:10:28 -08:00
Marco Cawthorne b2fc4d2918
env_muzzleflash: add cvar `cg_muzzleflashDLightColor` 2024-02-21 16:09:32 -08:00
Marco Cawthorne a9836563d1
trigger_teleport: add telefrag. 2024-02-21 13:43:43 -08:00
Marco Cawthorne 08259f5652
make_mapdef.sh/trigger_changetarget: Minor fixes. 2024-02-19 13:23:46 -08:00
Marco Cawthorne f950dcaabb
func_pushable: Respect 'size' and improve movement direction math a little. 2024-02-15 14:49:44 -08:00
Marco Cawthorne 9e68e24d2e
trigger_teleport: Add filter for func_pushable entities. Test chamber can now be triggered. 2024-02-15 13:35:42 -08:00
Marco Cawthorne 99f513efdb
func_pushable: Remove hitcontentsmaski override, else the cart won't move up in the test chamber. 2024-02-15 13:35:13 -08:00
Marco Cawthorne 06d959ef02
func_tracktrain: Lots of improvements across the board. Enjoy c0a0-c0a0e!
func_trackchange/autochange: Initial implementation.
2024-02-13 22:51:36 -08:00
Marco Cawthorne 7e8d1aacdb
Fix various warnings. 2024-01-30 00:42:10 -08:00
Marco Cawthorne 31b88f63f2
Fixes for DAMAGE_AIM, so we can respect the `sv_aim` cvar. 2024-01-29 23:47:36 -08:00
Marco Cawthorne 40aee258ce
NSClientSpectator: new mode: overview which is work in progress.
Various misc fixes to code routines that negatively affect splitscreen.
We also set frametime/clframetime to 0.0 after the first player view has been drawn as to not run
predraw math more than once per frame. This should not cause any issues but if you are experiencing issues let us know.
2024-01-08 14:58:45 -08:00
Marco Cawthorne 2891bc061e
func_breakable: precache particleeffectnum before first use 2024-01-04 14:34:37 -08:00
Marco Cawthorne 2034eb1d45
ambient_generic: better logging. 2024-01-04 14:33:25 -08:00
Marco Cawthorne 1b21a6cf46
ambient_generic/speaker: force spawnflag MSF_MULTIPLAYER within Spawned() instead of the constructor. 2024-01-02 15:26:29 -08:00
Xylemon dda946476f Add def for areaportalwindow 2024-01-02 12:40:40 -08:00
Marco Cawthorne 21c27969f6
env_shooter: Correct the implementation of variance and repeatability. 2024-01-02 12:00:50 -08:00
Marco Cawthorne 32f9d974bb
New commands: listClientSoundDef, listServerSoundDef
Merge various trigger fields from Source entities into NSTrigger
Rename default player related sounds to the Source Engine style for more parity with Half-Life 2 and later games
Various player physics code fixes, such as being unable to jump higher when pushing against solids and faster noclip speed
2023-11-17 18:54:46 -08:00
Marco Cawthorne bf705a9e31
speaker: now shared between client/server game
NSTalkMonster: Remove game specific PREDISASTER flag from the code, implement GAG instead
New entities: env_cascade_light (wip), logic_achievement, env_instructor_hint (wip)
2023-11-15 09:52:11 -08:00
Marco Cawthorne 038265dd64
trigger_teleport: Special offset rules for players when choosing their final teleport destination. 2023-11-14 23:45:43 -08:00
Marco Cawthorne 25cfc4938e
game_team_master/NSTrigger: GetValue() is now aware of who is querying for said information. Required for game_team_master. 2023-10-30 16:37:45 -07:00
Marco Cawthorne a6fb7767dc
Implement cycler_weapon, cycler_wreckage, game_end, game_player_hurt, game_score, game_team_master, game_team_set, game_player_team, game_zone_player 2023-10-25 00:46:04 -07:00
Marco Cawthorne 97c2fdd778
env_smoker: Initial implementation. 2023-10-24 00:30:42 -07:00
Marco Cawthorne 01ebb973f2
env_funnel: Initial implementation. 2023-10-23 21:36:58 -07:00