Commit Graph

98 Commits

Author SHA1 Message Date
Marco Cawthorne 94e9caf923
Base: call Textmenu_Draw() in hud.qc 2023-03-21 13:38:10 -07:00
Marco Cawthorne a52d7d3bbc
add test_cubemap to test maps for base/ 2023-03-16 16:41:03 -07:00
Marco Cawthorne be373d3116
Base: fix spawning and the gamerule switch. 2023-02-28 10:01:13 -08:00
Marco Cawthorne 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
Marco Cawthorne 5f011a28dd
Shared: Removal of Game_Input(). 2023-01-11 17:41:49 -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 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
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 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
Marco Cawthorne 45d58a8742
leave comment in base/mapcycle.txt 2022-10-03 14:43:52 -07:00
Marco Cawthorne 30a482e80e
NSVehicle: add two new overridable methods. (bool)PreventPlayerMovement and (bool)PreventPlayerFire 2022-09-08 13:59:18 -07:00
Marco Cawthorne 1bb1f03167
Tweak item_pickup/drop behaviour a little 2022-08-27 22:07:03 -07:00
Marco Cawthorne 2526751db1
Clean up some areas where float logic happens to prepare for the compiler flag 'assumeint' 2022-08-10 16:15:44 -07:00
Marco Cawthorne 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
Marco Cawthorne 878df0941e
Cleanup for some CGameRules method types. Moved some Util_ functions into their own file. 2022-07-16 15:11:33 -07:00
Marco Cawthorne 2f8b36c499
Get rid of pmove_water.qc and all that. 2022-07-14 21:29:53 -07:00
Marco Cawthorne 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
Marco Cawthorne 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
Marco Cawthorne 6982043380
Added NSInteractiveSurface. Make voting display which bindings to press for yes/no. 2022-06-04 14:09:50 -07:00
Marco Cawthorne 36da8995b6
Base: Fix item_pickup's Spawned() method not calling its parent 2022-06-02 12:39:26 -07:00
Marco Cawthorne a463498f60
Huge cleanup. Add initial code for the revamped material definition system. 2022-06-01 17:38:52 -07:00
Marco Cawthorne 25c54af62c
Spring cleaning part one. 2022-05-11 12:49:04 -07:00
Marco Cawthorne 92826b3e5a
Deprecate FL_NOATTACK, replace it with FL_FAKESPEC. 2022-04-28 16:25:51 -07:00
Marco Cawthorne 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
Marco Cawthorne 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
Marco Cawthorne 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
Marco Cawthorne 8037f2d58b
Base: use soundDefs for the use/use_denied sound. 2022-04-21 14:11:59 -07:00
Marco Cawthorne c24c8b2435
Fix a self assignment bug in Weapons_AddItem(), added userinfo spraycolor support, fix accidentally double-drawing p_ models and add cvar sv_friendlyFire 2022-04-19 21:58:13 -07:00
Marco Cawthorne 2c79071514
base_player: MakeTempSectator() will now make sure modelindex of the target
is set to 0.
2022-04-08 12:58:23 -07:00
Marco Cawthorne 4e62e833a3
CGameRules: Add method bool PlayerCanAttack(base_player) 2022-04-08 12:37:45 -07:00
Marco Cawthorne e08852284f
NSRenderableEntity: Add RenderFX RFX_GLOWSHELL2, which is the same as RFX_GLOWSHELL, but
the glow effect has a 'cull back' rendering flag.
2022-04-06 19:32:46 -07:00
Marco Cawthorne 9a6897c433
Extend FX_GibHuman with a dir (euler) and force parameter. 2022-04-05 20:39:30 -07:00
Marco Cawthorne 75a1c8ce6c
NSEntity: .touch being assigned is being deprecated in favor of our internal Touch(entity).
This is so we can support StartTouch(entity) as well as EndTouch(entity) which are implemented
with this commit. Update your entities touch() function overrides for NSEntity sub-classes!
2022-04-03 14:04:34 -07:00
Marco Cawthorne 143a00e94e
Fix light_dynamic (static) from not spawning in CSQC. Add r_skipDiffuse to rtlight.glsl,
add SURF_PENETRATE, which will make bullets pass right through them when
BULLETPENETRATION is set. Go over and refactor a lot of base_client, player
and spectator code to facilitate both permanent and temporary spectators
better. Add experimental env_glow lens flare code. Fix material ID detection
bug for Q3 based BSPs. A couple helper functions were added to src/client/utils.cpp
but they are not yet final.
2022-03-17 21:05:47 -07:00
Marco Cawthorne 96f3a1224a
This is a massive change. Check the full msg here:
https://icculus.org/~marco/txt/nuclide_may2022.txt
2022-03-15 19:33:11 -07:00
Marco Cawthorne 0557fc8b42
Base: add test_ai map by Xylemon (huge thanks!) 2022-03-14 10:16:31 -07:00
Marco Cawthorne bbfc8c945c
BotLib: Prematurely commit all this new nav-stuff because some people like
to compile their games.
2022-03-13 17:10:12 -07:00
Marco Cawthorne 6fb067eed3
My name has changed, so an update to the copyright to reflect it. 2022-03-11 11:40:43 -08:00
Marco Cawthorne d885e2e643
BotLib: lot of work done on recognizing weapon types, making proper use of
Weapons_IsEmpty() checks - more fixes for pathfinding; the ability to set
walk and movespeed externally via method overrides; several bugfixes in
relation to firing (and getting stuck on pressing other keys.
2022-03-08 21:50:30 -08:00
Marco Cawthorne 53f5780ac0
Improvements to console output to make debugging easier, simplified
entry.qc by pushing more code into external functions. Add support
for mods to override networked events (after we added support for
ent update overrides the other week).
2022-03-03 14:16:02 -08:00
Marco Cawthorne c8ea9f3e3f
Move platform/test_maps.pk3dir to base/test_maps.pk3dir 2022-02-23 01:56:43 -08:00
Marco Cawthorne d4de286086
Menu-FN: Add 'menumap' to the liblist.gam extended specification. 2022-02-23 01:41:43 -08:00
Marco Cawthorne 47a37af545
Client: Allow mods to override entity updates of gs-entbase.
prop_vehicle_drivable: Initial work towards suspension.
2022-02-11 17:09:08 -08:00
Marco Cawthorne bef8dfb117
Base: Some minor edits to facilitate the TW akimbo weapons (clean this later...) 2022-02-04 15:24:43 -08:00
Marco Cawthorne bcf9e2e758
Cleaning up some warnings. 2022-02-01 13:37:21 -08:00
Marco Cawthorne 1beb466b81
Base: .pitch reference fix. 2022-02-01 10:10:29 -08:00
Marco Cawthorne 419e89e861
Client: Some minor work towards making the textmenu/game_text code respect
actual font data handled by Nuclide via external fontdef files.
2022-01-31 13:57:30 -08:00
Marco Cawthorne 578da4a779
Add VGUI_Active() which returns whether or not we're drawing VGUI elements,
add SNDFL_ALERTS to sound shaders, which will alert enemy AI of suspicious
behaviour, fix a health-setting bug in NSSurfacePropEntity and remove
playerslot check in item_pickup from base/
2022-01-28 16:02:00 -08:00
Marco Cawthorne 06d07738b6
Clean up the base classes, get rid of having to manually include the entbase
defs.h for the respective progs.
2022-01-20 16:23:29 -08:00