Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: P2TAS language improvements #200

Merged
merged 11 commits into from
Mar 28, 2024
Merged

Conversation

Krzyhau
Copy link
Member

@Krzyhau Krzyhau commented Nov 7, 2023

Adds a bunch of new automation tools to P2TAS lang. The changes are addative, meaning there's no need to increase the version number of P2TAS lang.

  • Added new tools which serve as a tool-based alternative for other parts of a framebulk:
    • shoot blue/orange tool, which can be used to shoot portals, but also can automate spamming with spam property, which will automatically detect portal gun's cooldown (yes, even the weird 12/13 ticks... presumably)
    • zoom in/out tool, which can be used for zooming in and out, and it also detects whether to press an input based on whether you're zooming or not
    • cmd tool, which is an alternative to typing 0>|||command (instead you can type 0>>cmd command)
    • duck tool, which does basically the same thing as D. Can take a number parameter for a duration.
    • look tool, which can be used to control view analog. It also accepts additional parameters, like word-based directions or time.
    • move tool, which can be used to control movement analog. Similarly to look tool, it also accepts word-based parameters (like up, or right) but also a scale factor, similarly to how absmov works.
    • use tool, which you can use for +useing. It also has an option for spamming, which will spam +use every other tick.
  • autojump now takes a ducked parameter, which will automatically hold duck button when autojumping
  • added new stop tool, which stops every tool activated prior to given tick.

On top of that, several new additions that aren't strictly related to P2TAS itself:

  • added a P2TAS documentation markdown file
  • added Sloped Step Boost glitch debugging tool

Krzyhau and others added 11 commits March 28, 2024 12:32
also make autojump parameter more strict
and instead tie to `sv_maxvelocity`.
using the cvar in the constructor won't work, so i changed it to current instead (to remove a nonsensical 10000, constructor value isn't used anyway)
It isn't really intuitive that looking "ahead"
actually just stops look tool. Instead, we should
make `setang ahead` or similar, which looks
straight at velang direction. It doesn't make
sense for that to be part of the look tool.
@ThisAMJ ThisAMJ merged commit 9d99445 into master Mar 28, 2024
7 checks passed
@ThisAMJ ThisAMJ deleted the feat/tas-lang-improvements branch March 31, 2024 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants