Commit Graph

2117 Commits

Author SHA1 Message Date
Marco Cawthorne 77c3cf4e10 Further fixes for OpenXR 2022-05-08 11:28:33 -07:00
Marco Cawthorne a474b820e2
momentary_rot_button: Fix DOORHACK, it's spawnflag is apparently set by the affected and not the ent controlling it. 2022-05-07 21:02:49 -07:00
Marco Cawthorne 9e0f93c796
Initial support for OpenXR. Remember to side-load the openxr plugin and set _pext_vrinputs to 1. 2022-05-07 17:58:22 -07:00
Marco Cawthorne 5e70290017
ambient_generic: Make sure speech sentences use the attenuation as defined by the radius. 2022-05-05 19:18:26 -07:00
Marco Cawthorne 665572543f
prop_static: Support for the 'body' key. 2022-05-05 19:14:17 -07:00
Marco Cawthorne 74b40fc244
build.cfg: Bump BUILD_ENGINEREVISION to 6236 2022-05-05 16:31:41 -07:00
Marco Cawthorne 10adaaff54
build scripts: shuffle things around so that we override FTE's makefile properly in regards to CC 2022-05-05 15:28:37 -07:00
Marco Cawthorne 32ae91d54f
build.cfg: Add BUILD_CLANG option. Set this to 1 if you're having issues with WS/VMAP and recent versionf of GCC. 2022-05-05 09:13:16 -07:00
Marco Cawthorne c5b2107abf
ambient_generic: Implement support for playing back Sentences. 2022-05-04 21:31:37 -07:00
Marco Cawthorne 4d33098716
prop_vehicle_driveable: change dmg and velocity calculation for when you collide with an object that feels pain. 2022-05-04 17:22:43 -07:00
Marco Cawthorne c4c84dbdf3
worldspawn: Unbreak client-side values not being read. 2022-05-04 15:47:25 -07:00
Marco Cawthorne 299b2eed72
scripted_sequence & multi_manager: Mark both their return values as positive once they've triggered their targets only. 2022-05-04 13:59:10 -07:00
Marco Cawthorne f9c7807c1f
NSTalkMonster: comment the last commit a bit more for prosperity. 2022-05-04 11:19:19 -07:00
Marco Cawthorne ef6c200751
NSTalkMonster: pause CHAN_VOICE and resume when unpaused. 2022-05-04 10:59:42 -07:00
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