Marco Cawthorne
993c2a6ebc
Shared: Expose INPUT_BUTTON6 and INPUT_BUTTON7 so mods can define some extra movement/weapon inputs for clients.
2023-01-22 20:06:06 -08:00
Marco Cawthorne
46f6bfc1d3
Client: add r_showTexts to aid debugging of env_message and game_text entities
2023-01-22 20:03:22 -08:00
Marco Cawthorne
66b773508d
Client: add console command 'listTitles' to aid debugging of titles.txt entries
2023-01-22 20:02:46 -08:00
Marco Cawthorne
441079b30c
NSRenderableEntity: take RenderFX setting into account before culling some networked info
2023-01-22 20:01:52 -08:00
Marco Cawthorne
638825af56
NSEntity: add GetSpawnAge() and GetSpawnTime() methods, which communicate when an instance of an entity was brought into the world.
2023-01-22 20:01:24 -08:00
Marco Cawthorne
baadd35ffd
NSTimer: add method StopTimer() and invalidate any thinks during OnRemoveEntity()
2023-01-22 20:00:36 -08:00
Marco Cawthorne
0078d83d80
Add platform/cvars.cfg
2023-01-18 21:50:32 -08:00
Marco Cawthorne
5617000f77
NSClientPlayer: allow player to hold down Secondary attack after holding down Primary.
2023-01-18 21:31:36 -08:00
Marco Cawthorne
94564e0697
Minor script changes to change from GH to our own VCS.
2023-01-18 21:30:04 -08:00
Xylemon
9accdcb68a
func_physbox: Use Disappear API call
2023-01-18 19:37:10 -08:00
Marco Cawthorne
655b5fa33e
NSEntity: add method IsFacing() which should make some common sneakish tasks easier.
2023-01-18 19:01:56 -08:00
Marco Cawthorne
fae4bc09e5
NSProjectile: some touchups in regards to the Spawned() method.
2023-01-18 17:33:09 -08:00
Marco Cawthorne
d562533111
NSProjectile: add AnimateOnce() method
2023-01-17 20:23:18 -08:00
Marco Cawthorne
fea5ed574f
Shared: add crandom() implementation into defs.h
2023-01-17 16:39:57 -08:00
Xylemon
19d7f30cc4
Replace some Hide calls with Disappear and we don't need this check in TalkMonster anymore
2023-01-17 13:37:03 -08:00
Xylemon
06d3721547
Add documentation for Arch Linux and remove SVN from the list as it's going bye bye
2023-01-15 14:41:11 -08:00
Marco Cawthorne
018b9c16b4
Platform: defaultskin.glsl: Add fallback for the chrome effect in case the GLSL cannot access skeletal information.
2023-01-12 18:50:56 -08:00
Marco Cawthorne
c26f7ab2c4
Platform: Make changes to defaultskin.glsl that were contributed by dear Slartibarty. <3
2023-01-12 18:43:19 -08:00
Marco Cawthorne
5f011a28dd
Shared: Removal of Game_Input().
2023-01-11 17:41:49 -08:00
Marco Cawthorne
179a95088f
NSGameRules: Add overridable methods ImpulseCommand(NSClient, float) and PlayerRequestRespawn(NSClientPlayer).
...
Game_Input, the game specific function every game had to implement will be
deprecated to streamline the overall codebase. Migrate custom impulses into your gamerule overrides.
This will make it much easier to separate cheat impulse from the multiplayer game too.
2023-01-11 17:12:20 -08:00
Marco Cawthorne
fa8e335564
Base: Doing more cleanup work here, more to be done for sure. Specifically finish a working NSWeapon class example.
2023-01-08 13:19:56 -08:00
Marco Cawthorne
1069468be1
Client: add cvar net_debugUpdates, to show which entity updates.
...
NSSurfacePropEntity: Add method: TimeSinceDeath()
Also further improvements to consistency of cvars, etc.
2023-01-08 13:18:57 -08:00
Marco Cawthorne
9c3622f59b
nuclide, nuclide-ds: set fs_game post setting sv_gamedir to ensure we save into sane locations.
2023-01-06 13:24:13 -08:00
Marco Cawthorne
0ac1bc4b68
NSEntity: Add method CanSpawn(bool) which will be used to determine mainly if an entity is to be spawned on the client or server module (but it can also let a class handle under which other conditions it spawns)
...
NSEntity: move RestoreComplete() into NSIO because NSGameRules needs this.
2023-01-06 13:23:48 -08:00
Marco Cawthorne
b2925d46e4
Lots of small clean ups and microoptimisations. ambient_generic has also been fixed in multiplayer and made to save more bandwidth.
...
Rename a bunch of cvars to be more in a more consitent style similar to later id Tech games.
2023-01-05 23:41:48 -08:00
Marco Cawthorne
6ee21bc0ea
NSEntity: add attribute m_bIsBrush, which will be set if the entity is using a brush model.
2023-01-05 22:30:49 -08:00
Marco Cawthorne
dbf511dfb9
NSClientPlayer: add extrapolation of other clients, should be a lot smoother players all around now.
2023-01-05 15:31:25 -08:00
Marco Cawthorne
d7012bff5b
Remove debug print that is no longer needed.
2023-01-05 11:36:31 -08:00
Marco Cawthorne
2c5bf43c58
Fixed spectator inputs getting stuck and physics being run twice, due to the recent changes to SV_RunClientCommand.
2023-01-02 18:10:20 -08:00
Marco Cawthorne
534b249ac4
Client: Call Weapons_PreDraw() inside NSClientPlayer's predraw.
2022-12-31 17:49:15 -08:00
Marco Cawthorne
46eae742cb
VGUI: Make sure defaults are filled into the attributes inside Spawned() for inherited ones.
2022-12-30 18:01:47 -08:00
Marco Cawthorne
324cbeb073
Merge pull request #7 from preston-thompson/master
...
Fix cstrike invisible weapons issue when zoomed in
2022-12-30 16:58:30 -08:00
Preston Thompson
9c7ac3636a
Fix cstrike invisible weapons issue when zoomed in
2022-12-30 16:50:48 -08:00
Marco Cawthorne
b356994beb
NSTrigger: SetTeam() will now assign an InfoKey to the target, if it's a client.
2022-12-30 13:54:28 -08:00
Marco Cawthorne
4322f1fd93
GS-EntBase: prevent light entities from overriding the first built-in lightstyles.
...
worldspawn: Assign two more lightstyles that Half-Life registers.
2022-12-30 13:53:42 -08:00
Marco Cawthorne
1bd9a5ea01
Menu-FN: Respect gameinfo_chatroom if it was set from a manifest override.
2022-12-30 12:09:23 -08:00
Marco Cawthorne
7fe51a3fa5
Platform: Fix missing return value change for Achievement_RequestStarts
2022-12-30 11:54:07 -08:00
Marco Cawthorne
27b0c26a12
Documentation improvements for platform, vgui etc. headers and files.
2022-12-30 00:15:10 -08:00
Marco Cawthorne
88131dbb9a
NSClient: add {Set,Get}InfoKey() methods.
2022-12-30 00:12:36 -08:00
Marco Cawthorne
3c71b49b49
Client: Add Cross_ helper functions. This will take care of common crosshair specific rendering tasks, as well as handle third-person and XR versions of crosshairs.
2022-12-28 16:48:57 -08:00
Marco Cawthorne
633046d28e
NSClient: Rename ClientInput() method in NSClient to ProcessInput(), as well as add SharedInputFrame() that can be overriden by the game.
2022-12-28 16:47:44 -08:00
Marco Cawthorne
ce7cf4519f
Server: Set cvar s_nominaldistance to 1000 upon init. Dedicated server needs this to play sounds properly.
2022-12-28 15:15:30 -08:00
Marco Cawthorne
fcd72d259f
nuclide/nuclide-ds: Improvements to manifest loading. Read Documentation/Launching.md for details.
2022-12-28 12:11:13 -08:00
Marco Cawthorne
81ad389668
cycler: Set the bbox to be that of standing player
2022-12-22 22:48:52 -08:00
Marco Cawthorne
4f37e31677
Client: Fix /n to \n replacement mapping in fun-strings, used by game_text
...
and titles.txt type text overlays.
2022-12-22 17:29:05 -08:00
Marco Cawthorne
142d69b66a
Remove Game_RunClientCommand() entirely, as it will be replaced by a game-mode equivalent.
2022-12-22 16:54:11 -08:00
Marco Cawthorne
466787b3ff
env_shooter: set skin on the gib entity.
2022-12-22 16:53:41 -08:00
Marco Cawthorne
ff7ce15399
SV_ParseClientCommand: Forgot to pass the default case over to clientcommand(). That is now fixed.
2022-12-22 16:29:02 -08:00
Marco Cawthorne
6c8d785ce2
env_shooter: Respect rendering modes, also add support for the 'shootsounds' key. snark_pit will be more complete now.
2022-12-22 13:02:45 -08:00
Marco Cawthorne
1acbd8a34d
Remove calls to Game_ParseClientCommand with per-gamemode overridable ClientCommand() method within NSGameRules.
...
Also redo the way chat messages are handled, so mods don't have to implement it themselves all the time.
2022-12-22 11:53:15 -08:00