0.6.2-prealpha is another (relatively) small update that provides some new features, a preview of 0.7.0, and a bunch of fixes for bugs reported in 0.6.1.

You Got a Purdy Map

  • Saul Rennison's Dynamic RTT Shadows

Thanks to the very generous Saul Rennison, we were able to implement his Dynamic RTT Shadows code to make shadows casted by world lights be more accurate. A comparison can be shown below:

Before:

image

After:

image

These are applied to lights automatically, for every map in the mod, including old ones! One noticed map was one of Valve’s default CS:S maps, cs_assault.

  • Brian Charles' Parallax-Corrected Cubemaps
image

Similarly, thanks to the very generous Brian Charles, we have implemented his parallax-corrected cubemaps for the Source Engine. This allows for more accurate reflections for cubemaps on world geometry, as seen in his video. A tutorial will be available for mappers looking to implement this in the level-design repo, but it should be noted that since Valve does not allow modders to override base shaders found in the game, it will not apply to every map! These cubemaps only apply to any material using the SDK_LightmappedGeneric shader. If old maps want this functionality, either the map needs recompiled with the new shader on the materials in the map (annoying), or Valve must grant modders the power to override base shaders (unlikely).

You can see both of these new features working in the triggertests map!

Small Features Added

We’ve received a bunch of input along the way, leading to small features here and there, all of which don’t necessarily deserve their own major release, so we’ve bundled them with 0.6.2:

  • Disabled inputs - The keypress HUD element now shows disabled keys set by trigger_momentum_limitmovement
  • Invalid run start - A sound now plays if the run cannot be started (will be expanded upon in the future).
  • Checkpoint saving - Maps save which checkpoint you were on when you end the map.
  • mom_punchangle_enable - Landing punchangle has been disabled by default now, and can be scaled (if desired) by this convar.
  • mom_speedometer_colorize 2 - New colorization method suggested by Acta
  • mom_stage_tele - Teleport to the start of a specific stage number (1 = start)
  • showRuler - Shows a menu to measure distance in-game (in units)
  • sv_gravity - Allow players to change gravity in-game.
  • sv_tickrate - In-game tickrate changes force the level to reload now, allowing replays of different tickrate to be played.

RIP Tim, You Shall Be Missed

If a man has not discovered something that he will die for, he isn't fit to live.” – MLK, Jr.

  • .tim files are completely removed, in favor of reading replay files

As we get closer to Alpha, our file formats will start to be somewhat finalized. With this process, we remove our old skeleton/proof-of-concept code, and in this update, we’ve murdered Tim. Tim was a good friend of ours, allowing us to store times in a convenient manner, but as we began to finalize the replay files, we started to realize we didn’t really need Tim anymore.

So, with this update, you can delete all your old .tim and .momrec files, since the former is no longer used, and the latter was changed in this update.

Yet To Come

  • Overhauled Map Selector (0.7.0)

We’ve included a preview of what the new map selector is going to look like. The UI is nowhere near complete, since the majority of the work requires the companion web API for selecting/downloading online maps, as well as storing a bit more information about maps, like author and difficulty.

Fixes

Of course, this wouldn’t be considered a minor update without any bug fixes, and there’s quite a few that we found:

  • Fixed credits.bsp's invalid textures
  • Fixed crash when running mod in Offline mode on Steam (thanks .Enjoy!)
  • Fixed lots of minute bugs in Linux (fonts, layouts, etc) [more to come!]
  • Fixed bug with main menu buttons animating even when not in focus
  • Fixed sv_tickrate now updating when set by gamemode code
  • Fixed bug with start zone exit velocity
  • Fixed bug with mounted maps not properly loading sounds packed in the map when on a separate drive
  • Fixed bug with checkpoints saving out of order when the player had > 10 checkpoints
  • Fixed bug with timer layout with regards to stage time comparisons
  • Fixed various Valve slip-ups and optimized pristine 2004 code

And we’ve fixed a few things under the hood to make development/mapping a bit better:

  • Fixed smoothing groups not being applied to brushes (thanks tgnottingham!)
  • Fixed hammer not loading custom shaders (Thanks Biohazard!)

As always, you can find this release at our GitHub Releases page. Don’t forget that there’s a feedback button in-game, and that you can also join our Discord server for more immediate discussion! We hope to have 0.7.0 out eventually, if our work/university/life permits!

Happy surfing/hopping!

Team Momentum