You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/p2tas.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ The virtual controller has effectively instant response time, allowing different
34
34
SAR's TAS environment includes a set of automation tools (like autojump, autoaim or autostrafer) that calculate complex input sequences based on real-time state of the game. In order for them to work, SAR injects into additional game functions to read player's state properly, as they're not yet available at the input fetching stage.
35
35
36
36
Because of that, two distinct playback modes exist:
37
-
-**Tools playback** - scripts are processed with all tools specified in the script. This is a default playback mode and should be used in a creation process of a TAS script. It is not guaranteed to procude fully legitimate gameplay. By default, tools playback should produce a raw script, automatically saved as a file with `_raw.p2tas` suffix.
37
+
-**Tools playback** - scripts are processed with all tools specified in the script. This is a default playback mode and should be used in a creation process of a TAS script. It is not guaranteed to produce fully legitimate gameplay. By default, tools playback should produce a raw script, automatically saved as a file with `_raw.p2tas` suffix.
38
38
39
39
-**Raw playback** - only pre-calculated inputs are interpreted with no tools processing. Every script with `_raw.p2tas` suffix is expected to be a raw script and will be played as such. Raw scripts are guaranteed to produce legitimate gameplay, as they're not using any other extra input injection methods other than the virtual controller, so they should be used for final verification and demo recording.
40
40
@@ -215,7 +215,7 @@ Strafe tool accepts any non-zero number of parameters in unspecified order. Here
215
215
**Movement input manipulation** - For more advanced usage, it is sometimes necessary to make a tiny adjustment of the movement input vector, even if it means sacrificing strafe accuracy. These parameters can be used for that:
216
216
-`<number>usdeg`, `<number>osdeg` - sets an offset, in degrees, for a calculated movement direction. `usdeg` will understrafe, bringing movement vector closer to velocity vector and causing weaker turn, while `osdeg` will overstrafe, bringing movement vector further away from velocity vector and causing bigger turn.
217
217
-`<number>us`, `<number>os` - controls understrafing and overstrafing, similarly to `usdeg` and `osdeg`, however, these accept scalar values, where unit value for both (`1us` and `1os`) are equivalent of bringing movement direction yielding most acceleration to the closest direction yielding no acceleration in both ways.
218
-
-`<number>` - using suffix-less number parameter is treated as an input strenght - movement input vector will be scaled by that number.
218
+
-`<number>` - using suffix-less number parameter is treated as an input strength - movement input vector will be scaled by that number.
219
219
220
220
221
221
Additional notes:
@@ -229,7 +229,7 @@ Examples of usage:
229
229
-`strafe right` - vectorial-strafes with the greatest possible acceleration clockwise.
230
230
-`strafe ang forwardvel` - angular-strafes with the greatest possible acceleration towards the current velocity direction.
231
231
-`strafe 30deg max nopitchlock` - vectorial-strafes with the greatest possible acceleration towards 30 degrees without locking pitch angle between -30 and 30 degrees.
232
-
-`strafe 255ups 0.1os` - vectorial-strafes to reach velocity of 255ups
232
+
-`strafe 255ups 0.1osdeg` - vectorial-strafes towards current looking direction to reach velocity of 255ups, while doing an overstrafe of 0.1 degrees.
This tool allows to move in an absolute direction defined by an angle in degrees (which corresponds to a look direction for a given yaw angle).
255
255
256
-
It takes at most two parameters. First parameter is expected to be a number defining an angle of movement as described above. The second parameter is an optional input strenght, between 0.0 and 1.0 (default).
256
+
It takes at most two parameters. First parameter is expected to be a number defining an angle of movement as described above. The second parameter is an optional input strength, between 0.0 and 1.0 (default).
257
257
258
258
The tool is continuous can be disabled by passing `off` as a parameter.
0 commit comments