Commit Graph

1953 Commits

Author SHA1 Message Date
Marco Cawthorne 7d780118ae
func_tracktrain: Implement support for TRAIN_NOPITCH 2022-05-02 11:04:26 -07:00
Marco Cawthorne 978cf8e1fc
env_message: When spawnflags EMF_ALLPLAYERS isn't set and our activator is NOT a client then broadcast to all players anyway.
This is a hack to make the credits in c0a0 etc. work. Hack.
2022-05-02 10:50:10 -07:00
Marco Cawthorne 66e982b901
NSMonster: Go over the animation code to add timers that handle ACT-based sequences better. 2022-05-01 22:45:30 -07:00
Marco Cawthorne 17611b7d38
PMove: Move some things around a bit. 2022-05-01 22:04:40 -07:00
Marco Cawthorne 70c2b43ff3
PMove: check for infokey 'autojump'... 2022-05-01 19:44:22 -07:00
Marco Cawthorne 4716615a89
Menu-FN: run games_set after initial init to update the window details. 2022-05-01 15:57:37 -07:00
Marco Cawthorne 594261cf7a
PMove: change default view offset to [0,0,28] 2022-05-01 15:57:10 -07:00
Marco Cawthorne 32668196bc
Forgot to uncomment a line in the last commit. 2022-05-01 12:13:38 -07:00
Marco Cawthorne e64e72d155
env_bubbles: Implementation. Should be complete.
NSIO: Add methods ReadBool(), SaveBool(), and PREDICTED_BOOL macro.
2022-04-30 20:18:56 -07:00
Marco Cawthorne d562e4d742
func_tracktrain: Do avelocity rotation a bit better. Still need to figure out turning faster. 2022-04-30 15:26:46 -07:00
Marco Cawthorne cdfae26413
ambient_generic: Restructure and network more efficiently.
Client: add support for modelevent 1008 (CHAN_VOICE sound) and 1005 (plays Sentence)
2022-04-30 14:02:25 -07:00
Marco Cawthorne 59d46e1f63
New class: NSTraceAttack. Will make it much easier for games/mods to overrides parts of it. 2022-04-29 23:45:00 -07:00
Marco Cawthorne df589de04c
BotLib: Will now set a protected *bot infokey to signal clients as to who is a bot. 2022-04-29 15:20:04 -07:00
Marco Cawthorne 0acdadefb0
GameRules: IntermissionEnd() will now unset itself to avoid multiple calls. 2022-04-29 15:19:31 -07:00
Marco Cawthorne 92826b3e5a
Deprecate FL_NOATTACK, replace it with FL_FAKESPEC. 2022-04-28 16:25:51 -07:00
Marco Cawthorne ade1deb910
Revert "base_player: MakeTempSpectator() will now null think and nextthink."
This reverts commit 0c802295c3.
2022-04-28 14:52:38 -07:00
Marco Cawthorne 94679f3a3f
SprayLogo: Add "player.spraylogo" soundDef call instead of sound(). 2022-04-28 12:34:28 -07:00
Marco Cawthorne 0c802295c3
base_player: MakeTempSpectator() will now null think and nextthink. 2022-04-28 12:34:01 -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 70f32c97a4
NSVehicle: Add method CanDriverCrouch() to deal with player physics restrictions. 2022-04-27 15:03:00 -07:00
Marco Cawthorne 278d688159
Menu-FN: EAX and Aureal 3D audio options will now toggle reverb and HRTF respectively. Requires OpenAL. 2022-04-26 16:34:52 -07:00
Marco Cawthorne 2e43e671a4
Base_Player: Network movetype and solid together. 2022-04-26 14:10:17 -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 36b9661abd
Platform: Go over some of the RichPresence APIs I was working on. 2022-04-25 17:00:13 -07:00
Marco Cawthorne 2d403202b9
Avoid use of infokeys to communicate whether or not a client is spectating. 2022-04-25 15:25:35 -07:00
Marco Cawthorne 4c51ac7e79
build: bump BUILD_ENGINEREVISION to 6235. Go over the build scripts to be compliant with /bin/dash, a strictly POSIX shell. 2022-04-25 12:52:35 -07:00
Marco Cawthorne 1cd2f320dc
env_sprite: Fix clumsy return. 2022-04-25 10:51:29 -07:00
Marco Cawthorne b68a08bb98
Platform: Add textures/common/clipplayerdirt.mat 2022-04-25 10:20:19 -07:00
Marco Cawthorne 63b0b0a199
Platform: Add textures/sfx/smokevolume.mat 2022-04-25 10:19:50 -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 87d9614b23
GS-EntBase: Convert more entities to the new Touch() method. 2022-04-24 22:10:35 -07:00
Marco Cawthorne 659be3db46
TraceAttack: Add case for when a weapon with a penetrationpower of 2 might have a fall-off. 2022-04-24 17:24:49 -07:00
Marco Cawthorne e80cd05ef8
nuclide.sh: Small tweak for compatibility 2022-04-24 15:20:04 -07:00
Marco Cawthorne 8aee63968d
build_game.sh: Don't insist on using the local fteqcc 2022-04-24 14:11:56 -07:00
Marco Cawthorne 27308ff1f4
env_sprite: Fix predraw for modelindex based entities.
TraceAttack: Add TraceAttack_SetRangeModifier(). This will enable CS-like bullet penetration behaviour.
2022-04-24 00:23:38 -07:00
Marco Cawthorne 6ec35387ae
TraceAttack: GoldSrc its blood color is a bit darker. 2022-04-23 22:34:10 -07:00
Marco Cawthorne a28caedf40
trigger_one: Fix it up to bring it up to standards.
func_pushable: Ditto, simplify Touch()
2022-04-23 22:03:51 -07:00
Marco Cawthorne 767fdd0913
func_door_rotating: Apparently spawnflags 32 (TOGGLE) does not remove player touch. Odd. 2022-04-23 21:35:49 -07:00
Marco Cawthorne 0c89cd31ec
func_door_rotating: Redid the way how one-way-doors swing. This should avoid them swinging into your face constantly 2022-04-23 18:32:29 -07:00
Marco Cawthorne f83b6b6725
func_door_rotating: Go over the code that handles touching. Stop assigning the .touch field as it's off-limits now. 2022-04-23 17:34:22 -07:00
Marco Cawthorne 1d216918e1
Client: added cvar cl_chat_enabled, which supresses chat notifications.
Spraylogos: Fix blendFunc
VGUI: Add method Visible() for CUIWindow
2022-04-22 12:00:04 -07:00
Marco Cawthorne 7395b8d421
Gamerules: exception for friendlyfire when it comes to self
point_message: make messages appear through entities, as they may be translucent.
Fixed a minor warning.
2022-04-21 18:50:21 -07:00
Marco Cawthorne 8037f2d58b
Base: use soundDefs for the use/use_denied sound. 2022-04-21 14:11:59 -07:00
Marco Cawthorne 8814c66d1f
Merge pull request #3 from cyber-bridge/master
Fix bug where dropped items shouldn't be respawned.
2022-04-20 23:51:14 +02:00
Marco Cawthorne af6412e283
Networking improvements to NSEntity, NSRenderableEntity and NSSurfacePropEntity 2022-04-20 14:29:37 -07:00
Marco Cawthorne 8781494822
prop_physics_multiplayer: Actively check if players are clipping inside TouchThink() and apply some velocity to wake the entity up 2022-04-20 12:04:17 -07:00
Marco Cawthorne 8e15f04c38
prop_physics_multiplayer: Initial implementation. Developed with the ODE plugin in mind. 2022-04-20 10:44: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 1c58be4cdb
GLSL: Misc cleanups and fixes to deal with NVIDIAs stricter shader compiler 2022-04-18 21:12:04 -07:00
Marco Cawthorne bf00bfa60c
spectator: Several fixes to make spectating a bit more polished. Ignore fakespectators entirely, etc. 2022-04-18 15:53:15 -07:00