Commit graph

121 commits

Author SHA1 Message Date
5cf55b8271 Server: load singleplayer.dat or deathmatch.dat when appropriate in RuleC_Init 2025-01-02 19:24:48 -08:00
d41b90c081 Base: Give some love to base/
VGUI-Menu: friendList, chat backend, textview class proto
SurfaceProps: Flesh impacts recognition
PropData: BreakModels now use a bodyque to limit possible physics overhead
PMove: falldamage, liquids can now be configured via external decl
NSWeapon: added alternative punchangle based on springs, 'punchSpring X Y Z' in decl
API: Team class management APIS
NSPhysicsEntity: Optimised, optimised, optimised. New cvar: phys_lowspec. Scraping, impact effects etc have been added.
More polish everywhere else
2025-01-02 18:53:55 -08:00
45b2f300f8 Menu-VGUI: Title support. 2024-10-18 02:40:35 -07:00
81d61ac3da multiprogs additions, decl integration, more of everything really 2024-10-16 22:52:27 -07:00
e27e2a85ec
* fix dirFromTarget() logic
* passing of extra damageDecl values from radiusDamage() calls

* add fun cg_modelSpin/Bob cvars

* NSActor::MaxAmmo(int) added

* NSItem::ItemPickUpCheck(entity) added

* base/ cleanup
2024-09-20 09:38:02 -07:00
b60d420692 Push all the latest commits from this week's worklog, changes for RT2 2024-09-01 23:57:51 -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
760bc4a8fa
NSWeapon: fix punchangle, add cvar g_infiniteAmmo 2024-07-26 11:44:51 -07:00
c829d0453e
Fixes in base/, move hud weapon selection references out 2024-07-23 18:08: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
822a7221b2
WIP pmove, AI, etc. changes 2024-04-22 15:11:12 -07:00
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
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
d662c12951 Test map for areaportalwindow 2024-01-02 13:15:39 -08:00
89cb5e5139 AI Path Testmap
New base RGBY texlights
Static versions of base K texlights
2023-12-13 15:57:25 -08:00
65e491ce9c
base: make textures/measure/rail masked again 2023-12-13 15:37:17 -08:00
8566a9a5a7
Base: build menu with base/src/progs.src as well 2023-11-17 18:55:07 -08:00
8cd6d3967d
Shared: sanity check for when decalgroups are attempted to be placed, but not available. 2023-10-18 07:47:24 -07:00
900cf43bd0
!!! Mods/games should now remove modelevent.qc and view.qc from their csprogs !!!
env_muzzleflash: Initial implementation of this Half-Life 2 entity
Client: model events are for viewmodels are now handled by NSRenderableEntity.
2023-10-12 14:45:27 -07:00
baa22e732c
Base: small cleanups of old unused code. 2023-10-11 01:05:38 -07:00
9b526ecbd5
TestWeapon is no longer needed in base. This stuff will all be replaced. 2023-06-15 11:39:32 -07:00
3e8cf479c9
Unbreak base/src. 2023-06-01 18:45:01 -07:00
94e9caf923
Base: call Textmenu_Draw() in hud.qc 2023-03-21 13:38:10 -07:00
a52d7d3bbc
add test_cubemap to test maps for base/ 2023-03-16 16:41:03 -07:00
be373d3116
Base: fix spawning and the gamerule switch. 2023-02-28 10:01:13 -08:00
daf8512aa2
NSTalkMonster: Don't greet non-friendly players.
NSMonster: Improvements to alerting, turning and what to do when they lose their target.
NSInteractiveSurface: Unbreak it by allowing it to spawn in CSQC
Server: Spawn AI nodes for info_player_{start,deathmatch} when no real nodes are present
2023-02-06 16:41:19 -08:00
5f011a28dd
Shared: Removal of Game_Input(). 2023-01-11 17:41:49 -08:00
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
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
Preston Thompson
9c7ac3636a Fix cstrike invisible weapons issue when zoomed in 2022-12-30 16:50:48 -08:00
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
e2f708138d
build_engine.sh: We're gonna migrate to git, whether some people want to or not. 2022-11-25 16:54:36 -08:00
45d58a8742
leave comment in base/mapcycle.txt 2022-10-03 14:43:52 -07:00
30a482e80e
NSVehicle: add two new overridable methods. (bool)PreventPlayerMovement and (bool)PreventPlayerFire 2022-09-08 13:59:18 -07:00
1bb1f03167
Tweak item_pickup/drop behaviour a little 2022-08-27 22:07:03 -07:00
2526751db1
Clean up some areas where float logic happens to prepare for the compiler flag 'assumeint' 2022-08-10 16:15:44 -07:00
ff17dea01f
Initial work towards the NSWeapon class. Testing will happen in base/ under the NEW_INVENTORY define.
Comitting this early to ensure nothing breaks and it'll co-exist.
2022-07-25 09:31:37 -07:00
878df0941e
Cleanup for some CGameRules method types. Moved some Util_ functions into their own file. 2022-07-16 15:11:33 -07:00
2f8b36c499
Get rid of pmove_water.qc and all that. 2022-07-14 21:29:53 -07:00
220b424e33
Fix some misc Damage_Apply calls in really old parts of the code. Add more useful PlayerConnect/PlayerDisconnect methods into the base gamerules. 2022-07-14 18:04:11 -07:00
66b09de431
Big commit fixing many regressions since crunch hit. env_sprite has been reworked.
multi_manager entities now behave correctly when calling themselves in MULTITHREADED mode.
Remove GS_RENDERFX option. Too many entities rely on its functionality anyway.
Fixed some rendermode behaviour - ladders will no longer be visible.
You can now see the playermodel (and no longer the viewmodel) in mirrors.
Fixed a lot of warnings.
2022-07-07 09:10:14 -07:00
6982043380
Added NSInteractiveSurface. Make voting display which bindings to press for yes/no. 2022-06-04 14:09:50 -07:00
36da8995b6
Base: Fix item_pickup's Spawned() method not calling its parent 2022-06-02 12:39:26 -07:00
a463498f60
Huge cleanup. Add initial code for the revamped material definition system. 2022-06-01 17:38:52 -07:00
25c54af62c
Spring cleaning part one. 2022-05-11 12:49:04 -07:00
92826b3e5a
Deprecate FL_NOATTACK, replace it with FL_FAKESPEC. 2022-04-28 16:25:51 -07:00
9969be8d27
Base: stop item_pickups when toucher is in a vehicle.
Also auto-call Weapons_Release() when we're without health.
2022-04-28 12:33:32 -07:00
9030ad82d9
Base_Player: Make sure disconnected clients get removed from other clients.
Menu-FN: Clear Rich-presence when no longer in a game.
2022-04-26 11:22:12 -07:00
607194957e
Player: Move UseUp/Down into the base_player class. Should now universally handle un-presses for all games. 2022-04-25 10:19:17 -07:00