r/tf2 • • Aug 04 '17

Suggestion Bringing scripts to mainstream: TF2-EasyScript

I come here to share with you a stupidly complex script API to address all your scripting needs:
GitHub link
GitLab link

If you ever wrote script, you know that they require a lot of ground work. Well, I've done it for you, all of it, I mean it. Everything you ever wanted is just a few lines of code. Weapon specific FOV, quickbuild, trahstalking? Anything has become easier with TF2-EasyScriptTM (former ultimate framework).

I will stop fanfares here since i already did that in readme. My idea behind this script is to provides lots of utlities for scrpting like stable frontend and short-hand aliases for every in-game function. This means sharing your scripts is also easier, since very little modification should be ever required.

PS. Even if you don't really need or understand it, just please appreciate that a dude on the internet spent moths on creating a programming language and a compiler to create 94kb script to make writing other scripts easier for a videogame. I need some validation.

110 Upvotes

17 comments sorted by

View all comments

Show parent comment

1

u/FanciestBanana Jan 22 '18

Also i forrgot about modifiers. There are:

  • mod_pa modifies while pressed
  • mod_pb
  • mod_ta modifies by toggling. press once to set, press second time to reset
  • mod_tb

Baiscally every single alias that exists in my framework can be mod-shifted. When a modifier is activated, instead of standart aliases those with corresponding suffix(pa,pb,ta,tb) is used

bind alt +u_mod_pa
alias +se_callmed_pa "v_medic; say_team '### DOCTOR NEEDS A SANDVICH';"

This snippet lets you 'call for sandvich' when you press both alt and e(standard medic call button)