31 Commits

Author SHA1 Message Date
Aaron Suen
d32a2c856c Build mod summary list automatically
Instead of maintaining the short description of each sub-mod
manually in a giant README file, distribute the short descriptions
into each relevant mod, and then build the README listings
automatically at deploy time.

This should:
- Make it harder to forget to add/remove mods in the list
- Prevent them from being out of alphabetical order
- Ensure each mod has a description for in-menu use
2023-06-20 07:30:35 -04:00
Aaron Suen
2be093014f Fix line wrapping 2023-06-20 06:27:36 -04:00
Aaron Suen
1a88d282b7 Support all games 2023-06-20 06:21:15 -04:00
Aaron Suen
b1e05064c1 Increase waypoint dedupe distance 2023-01-14 10:52:03 -05:00
Aaron Suen
dc22af9e61 Make cinecam idle waypoints runtime-manageable
Waypoints can be added/removed via chat
commands.  This makes it easier to adapt to
various "points of interest" that may evolve over
time with the world.
2023-01-14 10:43:53 -05:00
Aaron Suen
16fa1fc6df Hide status message for cinecams by default
By default, players joining the server who are
configured to act as cinematic cameras only
should not see the server status message ...
unless specifically configured to see it.
2022-11-05 16:37:40 -04:00
Aaron Suen
83ec874634 Clear up some todo items 2022-11-05 11:50:26 -04:00
Aaron Suen
8de5b84e20 Support multiple cinecam "dummy" foci
Instead of always centering on 0,0,0,
support custom waypoints and use of
static_spawn as a default.
2022-10-14 17:53:32 -04:00
Aaron Suen
12f4fc4f15 Move cinecam config into settings
Instead of using mod_storage and privs to control
cinecam, just use settings.  The priv checks every
globalstep per player, in particular, were expensive,
and using "/grantme all" with the mod installed
would cause the player to teleport as a camera
player.
2022-09-29 18:09:28 -04:00
Aaron Suen
64f28532f1 Fix and optimize line of sight checks
- Check destination medium against source, since it's possible
  to transition from a fluid to air and raycast will NOT collide
  with the air, causing from-fluid-to-air transitions not to be
  detected.
- Pre-cache fluid medium data for all node defs instead of running
  through logic at runtime.
2022-05-03 07:10:15 -04:00
Aaron Suen
0a9ba9c210 Delay setting watching HUD until set camera 2022-04-30 14:15:20 -04:00
Aaron Suen
9a4c3550b1 Fine tuning for bottom margin of watching HUD 2022-04-28 21:28:38 -04:00
Aaron Suen
8b9d42646a Re-show the "watching" HUD periodically 2022-04-27 15:43:29 -04:00
Aaron Suen
6c3a0d1859 Fix saving settings across restarts 2022-04-25 22:45:34 -04:00
Aaron Suen
586e592552 Separately configurable height 2022-04-25 22:43:39 -04:00
Aaron Suen
9de0f9ceec Prefer the camera over the shoulder
Bias camera to behind the player's looking dir
so we see things more from the player's
perspective so we can see what they're doing.
2022-04-25 22:40:16 -04:00
Aaron Suen
65a624096a Fix HUD, runtime-configurable settings 2022-04-25 22:36:45 -04:00
Aaron Suen
59af87466e Clearer, better-proportioned image 2022-04-24 21:09:07 -04:00
Aaron Suen
bafddf2bf6 Allow display dimming/vignette
Deeper dimming/vignette when server is empty
to make it a little more visually interesting, plus
add a clearer indication that the server is in
a different state than normal play.
2022-04-24 21:03:36 -04:00
Aaron Suen
65ad490837 Extract settings, narrow assumed FOV
Assume that the FOV might be as narrow as 72.
2022-04-22 21:32:06 -04:00
Aaron Suen
7ae04eb463 Show caption for longer
People aren't necessarily going to be expecting
it so may need more time to read it.
2022-04-22 00:47:47 -04:00
Aaron Suen
fd41bd6a52 Fix reshowing caption on same player
If only one player is online and they are idling in
darkness, it makes the "Watching: " caption show
up too frequently.  Instead, only show the caption
when we change to a different player.
2022-04-22 00:09:27 -04:00
Aaron Suen
32131b820d Explicitly allow ignores 2022-04-20 20:28:17 -04:00
Aaron Suen
23bfae11fd More cautious allow check that also allows water placement 2022-04-20 07:58:23 -04:00
Aaron Suen
3bc06c5118 Try moving player after setting lookdir
See if we can get rid of that one step worth of jank after
moving the player before their lookdir is set correctly, which
might be due to the delay involved in the work of moving the
player's position.
2022-04-20 07:35:01 -04:00
Aaron Suen
b001ce7b36 Standardize target cycling time 2022-04-20 07:33:31 -04:00
Aaron Suen
744be01ae0 Add dummycam, stay inside airlikes
If no player is connected, just show random views around "spawn"
(the origin for now, not actually testing to find the real spawn
location or honoring static_spawn setting yet) every ~10s.

Make sure the camera is never placed inside a solid; if it is,
then it needs to be moved immediately.
2022-04-20 07:29:26 -04:00
Aaron Suen
66df91ced7 Don't shuffle camera order
This leads to uneven times between cycling to
a particular player; it's probably best to just use
the naive order and let players rotate through
deterministically.

This was especially noticeable when a player
was last in the queue and then first in the next
queue, so you'd see a "Watching: ..." HUD
announcement but no actual change in perspective
and the player would just run twice as long.
2022-04-19 20:39:57 -04:00
Aaron Suen
a27fc1e13d Add a "watching:" HUD 2022-04-19 19:25:57 -04:00
Aaron Suen
8ad44fcd15 Fix wrong mod name 2022-04-18 23:52:03 -04:00
Aaron Suen
47f89855ed Add new WIP "cinematic camera" mod 2022-04-18 23:46:36 -04:00