@YaLTeR YaLTeR released this Dec 11, 2018

Assets 6

The changes are by @Jukspa.

The highlight of this release is .srctas script support for TASing, which is similar to .hltas from BXT. It is a much more convenient way of making TAS scripts. Additionally, .srctas scripts support automatic search to help finding the perfect tick to start moving or the perfect angles for a stucklaunch.

The .srctas documentation can be found here.

This release also adds support for TAS tests, which means it's now possible to verify that TAS scripts don't break over the course of SPT development and their execution remains the exact same. Currently the player position, velocity and angle vectors are compared across executions. One test for the 5135 Portal build was added.

You can find out how to run the test here.

New commands:

  • tas_script_load - Loads an .srctas script and executes it.
  • tas_script_search - Loads an .srctas script in search mode and executes it.
  • tas_script_result_success - Signals a successful result in search mode.
  • tas_script_result_fail - Signals an unsuccessful result in search mode.
  • _y_spt_findangle - Finds the yaw/pitch angle required to look at the given position from player's current position.
  • tas_test_validate - Runs tests from the given directory.
  • tas_test_generate - Generates test data.

New variables:

  • tas_strafe_vectorial - When set to 1, enables vectorial strafing. The camera twitching disappears and it becomes possible to look at arbitrary angles using _y_spt_setyaw/pitch while still strafing (provided that you do not jump).
  • tas_strafe_allow_jump_override - When you set this to 1, the jumping overrides any yaw/pitch input. By default this is off.
  • _y_spt_anglesetspeed - Determines how fast _y_spt_setyaw/pitch commands move your view. By default this is set to 360, which means instant snapping.
  • _y_spt_resetpitchyaw - Cancels any buffered _y_spt_setyaw/pitch commands. Primarily used for resetting the game state in TASes.

@YaLTeR YaLTeR released this Sep 28, 2018 · 7 commits to master since this release

Assets 6

The changes in this release are by @Jukspa:

  • Added vectorial strafing:
    • tas_strafe_vectorial
    • tas_strafe_vectorial_increment
    • tas_strafe_vectorial_offset
    • tas_strafe_vectorial_snap
  • Added y_spt_canjb which checks if a jumpbug is possible at a given height given the current player position and vertical speed.
  • Added an overlay functionality which can be used to draw either a rear view mirror or the save or angle glitch camera view in Portal (this probably only works in 5135):
    • _y_spt_overlay
    • _y_spt_overlay_type
    • _y_spt_overlay_portal
    • _y_spt_overlay_width
    • _y_spt_overlay_fov
    • _y_spt_overlay_swap

@YaLTeR YaLTeR released this Feb 6, 2018 · 11 commits to master since this release

Assets 6

@TheProJamer:

  • Added support for a bunch of different engines and extended support for already supported ones
  • Added tas_strafe_jumptype for toggling between ABH, forward bhop, glitchless
  • Re-enabled tas_strafe_lgagst

Me:

  • Added support for Dark Messiah of Might and Magic, including y_spt_on_slide_pause_for

@YaLTeR YaLTeR released this Aug 2, 2017 · 24 commits to master since this release

Assets 3
  • Added _y_spt_afterframes_wait (thanks @Ramalayha).
  • Added y_spt_cvar_random (thanks @Ramalayha).
  • Added tas_strafe_glitchless (thanks @TheProJamer).
  • Fixed y_spt_stucksave not working on 4104.

@YaLTeR YaLTeR released this Dec 31, 2016 · 32 commits to master since this release

Assets 5

The TAS stuff supports at least 5135 Portal and HL2 and 4104 Episode 2.

These only work on 5135 Portal and will uninstall system32 if you try them elsewhere:

  • y_spt_calc_relative_position
  • y_spt_find_seam_shot
Pre-release

@YaLTeR YaLTeR released this Oct 4, 2014 · 83 commits to master since this release

Assets 3

Added OE support, renamed some stuff into _stuff and setpitch/yaw/pitchspeed/yawspeed don't work in OE yet.

@YaLTeR YaLTeR released this Aug 13, 2014 · 105 commits to master since this release

Assets 3
  • Fixed a crash which occurred sometimes if SPT was loaded before certain libraries.
  • Changed the logging to messaging, this way the console output works in the most recent games.
  • Removed the CheckJumpButton client dll hook, it can be used only for multiplayer games' prediction and those are not supported yet.
  • Improved the start-up performance with the use of threading.
  • SPT now outputs how much time its loading process took.
  • Added y_spt_cvar for cvar manipulation (works on any cvars, including the hidden ones).
  • Added +y_spt_duckspam and -y_spt_duckspam, which, when activated, presses +duck every other frame.
  • Added _y_spt_setpitch and _y_spt_setyaw as well as _y_spt_pitchspeed and _y_spt_yawspeed.
  • Added _y_spt_getvel.
  • Renamed y_spt_afterframes to _y_spt_afterframes, y_spt_afterframes_reset_on_server_activate to _y_spt_afterframesreset_on_server_activate and added _y_spt_afterframes2.
  • Changed some warnings a little.
  • Added patterns for Estranged Act 1 (Beta).

@YaLTeR YaLTeR released this Jul 17, 2014 · 127 commits to master since this release

Assets 3
  • Black Mesa Source is now supported.
  • Added y_spt_additional_abh for ABH in Black Mesa!
  • Added y_spt_afterframes and y_spt_afterframes_reset_on_server_activate.

@YaLTeR YaLTeR released this Jun 15, 2014 · 137 commits to master since this release

Assets 3

Added patterns for the newest HL2 and HL: S.

The tag should be a couple of commits further because I'm good at git.

@YaLTeR YaLTeR released this Apr 25, 2014 · 143 commits to master since this release

Assets 3

Added legit autojump (y_spt_autojump and y_spt_autojump_ensure_legit) and motion blur fix (y_spt_motion_blur_fix). The motion blur fix makes the in-game motion blur obey host_framerate and host_tiemscale and such.

Major code redesign.