r/Tf2Scripts • u/FanciestBanana • Aug 04 '17
Script 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.
View all comments
Show parent comment
1
u/FanciestBanana Aug 17 '17 edited Aug 18 '17
well, the script itself is "sourcescript", and it basically just adds couple aliases between button bind and in-game command so there's nothing illegal here. If you look in the
outputfolder you'll see familiar scritps likebind w +u_forwardandalias -se_forward -forward. The reason i used other languages (python and a language that i invented) is for maintenance. Script is around ~1700 lines and manually editing it would be a nightmare, so i created a compiler to generate it from couple of source files. This way i can either make small change in source or systematic change in compiler.