Commit Graph

2603 Commits

Author SHA1 Message Date
Marco Cawthorne 3e182b3737
NSRenderableEntity: Ensure .skeletonindex is set to 0 after deleting the skeletal object 2024-02-21 14:50:44 -08:00
Marco Cawthorne 0e3eb491a6
NSClientPlayer: ensure pmodels have a shadow as well 2024-02-21 13:51:43 -08:00
Marco Cawthorne a9836563d1
trigger_teleport: add telefrag. 2024-02-21 13:43:43 -08:00
Marco Cawthorne 9847f3828e
NSGameRules: send a newly joined player to the intermission screen gently 2024-02-21 13:41:18 -08:00
Marco Cawthorne 08259f5652
make_mapdef.sh/trigger_changetarget: Minor fixes. 2024-02-19 13:23:46 -08:00
Marco Cawthorne 0df1e78cc3
Platform: Comment out debug strings. 2024-02-19 13:20:51 -08:00
Marco Cawthorne ea0b365037
SurfaceProperties: Insist on having a 'default' stage defined. Use that to initialize the various surface properties. 2024-02-19 13:20:08 -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 08cac51d5f
NSClient: add `void SetInfoKeyFloat(string, float)` and `float GetInfoKeyFloat(string)` methods 2024-01-29 16:10:16 -08:00
Marco Cawthorne 4a8f4a6082
Add a whole bunch of new bot features, including bot profiles.
Developers: the internal class `bot` is now `NSBot`, and an entityDef
of the old name will be instantiated instead.

Override defs/bot.def in your mod and make it use any custom spawnclass
you wish. Now games don't have to override `addbot` or `bot_add` inside
the multiplayer game rules.

There's also more console commands. Clients now have access to:
addBot, killAllBots, killClass [classname], killMovables, trigger [targetname], input [entnum] [input] [data], listBotProfiles, listTargets, teleport [targetname], teleportToClass [classname], respawnEntities, spawn
2024-01-26 19:27:50 -08:00
Marco Cawthorne ba4ddbd3f6
Math_FixDelta: Make recursive. Rename pending... 2024-01-26 19:10:57 -08:00
Marco Cawthorne 2332fdd45f
Add Documentation/Bots/BotOverview.md 2024-01-26 19:10:16 -08:00
Marco Cawthorne 30903f7683
VGUIView: add missing return 2024-01-15 16:34:09 -08:00
Marco Cawthorne da194e8eed
VGUIWindow: migrate non Window specific bits into its own class: VGUIView 2024-01-15 16:28:46 -08:00
Marco Cawthorne d66ebc4fd9
Documentation: add DedicatedServer.md, EntityGuide.md, merge EAX/EFX within doxygen generated docs. 2024-01-15 15:46:41 -08:00
Marco Cawthorne 05af28180e
Server: Fix typos in various sound precache calls. 2024-01-15 15:45:48 -08:00
Marco Cawthorne fea60cd435
Client: add return to exit early when skyPath isn't set, solely to avoid an unnecessary print. 2024-01-15 15:44:46 -08:00
Marco Cawthorne 7b09f7cbc4
Menu-FN: Init String-Table before most of the other inits. 2024-01-15 15:43:43 -08:00
Marco Cawthorne e9700b31b9
Sound_Init: Remove precaches for anything other than common/null.wav 2024-01-15 15:42:54 -08:00
Marco Cawthorne 5bdbe2cc47
NSNavAI: Add method RouteToPositionDenyFlags(). Same as RouteToPosition() but will accept a link-flag filter mask. 2024-01-11 15:56:41 -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 0c7fc9abc6
NSRadar: add method InitEmpty() 2024-01-02 15:41: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
Marco Cawthorne 177a1638f7
make_mapdef.sh: fix bashisms 2024-01-02 15:06:32 -08:00
Xylemon d662c12951 Test map for areaportalwindow 2024-01-02 13:15:39 -08:00
Xylemon dda946476f Add def for areaportalwindow 2024-01-02 12:40:40 -08:00
Marco Cawthorne eaee5f67a7
build_game.sh: fix entities.def not being generated when RADIANT_PATH is not set. 2024-01-02 12:38:10 -08:00
Marco Cawthorne 64a6a9007d
Add new cvar s_developer which prints sound related info from the game logic 2024-01-02 12:03:04 -08:00
Marco Cawthorne 21c27969f6
env_shooter: Correct the implementation of variance and repeatability. 2024-01-02 12:00:50 -08:00
Marco Cawthorne cca461effe
Platform/Menu: Migration of Server_IsLan() into the master-server related code 2024-01-02 11:59:16 -08:00
Marco Cawthorne 4600a03165
NSRadar: checking in initial work on the class 2024-01-01 21:23:09 -08:00
Marco Cawthorne bc05a07e50
NSRenderableEntity: rendermode RM_SOLID becomes invisible when renderamount is 0. 2024-01-01 21:21:31 -08:00
Marco Cawthorne d16e096306
Documentation improvements, cleaning up of misc files. 2024-01-01 21:20:02 -08:00
Marco Cawthorne 591d5821f9
NSMonster: document the various spawnflags more 2023-12-15 18:38:33 -08:00
Marco Cawthorne 6c1db1f4f6
Shared: add `bool FileExists(string filePath)` function 2023-12-15 17:00:13 -08:00
Marco Cawthorne 2530608b1f
NSInteractiveSurface: fix typo 2023-12-15 16:59:19 -08:00
Xylemon b8a56b3fb4 Documentation: Updated Building.md to have more explicit deps with Fedora/SUSE 2023-12-13 15:58:13 -08:00
Xylemon 89cb5e5139 AI Path Testmap
New base RGBY texlights
Static versions of base K texlights
2023-12-13 15:57:25 -08:00
Marco Cawthorne 65e491ce9c
base: make textures/measure/rail masked again 2023-12-13 15:37:17 -08:00
Marco Cawthorne 4b69949385
Server: Ensure r_meshpitch gets set to 1 on init. 2023-11-18 21:16:52 -08:00
Marco Cawthorne fa4f77aae0
NSMonster: SetOrigin() during Respawn at least once so monsters don't die in the same spot during multiplayer respawns, inside hurt triggers or whatever. 2023-11-18 20:30:10 -08:00
Marco Cawthorne 277b453c40
Server: when skill is invalid (0) then default to 2 (medium) 2023-11-18 19:58:29 -08:00
Marco Cawthorne faba64ad28
Menu-FN: Broadcast in Chat when a player is joining a server, and handle ACTION (/me) text output 2023-11-18 15:47:37 -08:00