r/tf2scripthelp • • Dec 22 '15

Question Is this script still good?

2 Upvotes

r/tf2scripthelp • • Dec 17 '15

Question Does this script still work

2 Upvotes

I went to the 'other' tf2 wiki and found this script, I'm currently having problems with my computer but does this script still work *It's probably really old).

----------------------------------------­----------------------------------------­--------------------------------------------
//Very fast build/destroy/move/upgrade script for the Engineer
//by Fede-lasse, with help from Icehawk, vincister, Metroid48, and [HvC]Terr

//Controls:
//Build and destroy with F1-4. After you've placed a building, keep holding the
//left mouse button to immediately speed up building time. Hold the right mouse 
//button to upgrade. Press the middle mouse button to pick up (move) a building.
//Press F to enable/disable these binds. When disabled, you can instantly rocket
//jump using the middle mouse button.

//Description:
//This script makes it fast to place and upgrade buildings by using the F1-4 buttons
//to bring up any building, and thereafter allow you to start hammer away without
//As a bonus, there's a "power jump" implemented into the
//middle mousebutton when you disable these Engineer binds, which makes it much
//eaiser to rocket jump or use the Force-a-Nature to fly around the place.

//Tip 1: Press F1-4 quickly to remove buildings before the enemy can destroy your
//       buildings before or after countdown reaches zero.
//Tip 2: If lag somehow causes you to repeatedly shoot, then press 1 to restart
//       the key binds.
//Tip 3: Use F1 to build a sentry outside your spawn, then pick it up using the
//       middle mouse button and move it to the frontlines.
//Tip 4: If you use the Gunslinger, then you can play hide-and-seek with the enemy
//       by constantly building, moving, and placing a Mini-Sentry to the annoyance
//       of the enemy. They'll eventually become so hurt that you or your teammates
//       will be able to take them down.

//Original upgrade script by Icehawk
//Fixed upgrade by vincister
//Lag-compensating auto-repair by Metroid48
//Toggle on the same button by [HvC]Terr
//Everything else by Fede-lasse



//Left mouse upgrade script
alias +upgrade1 "+attack2; slot3; -attack2; +attack"
alias -upgrade1 "-attack; lastinv; bind mouse1 +attack"

//Right mouse upgrade script
alias +upgrade2 "+attack2; slot3; -attack2; +attack"
alias -upgrade2 "-attack; lastinv; bind mouse1 +attack"



//Sentry building script
alias verify_sentry "+attack; complete_sentry" //2. verify it's on a valid point
alias complete_sentry "+attack; bind mouse1 +upgrade1; bind mouse2 +upgrade2" //3. start hammering away
alias build_sentry "destroy 2; build 2; bind mouse2 +attack2; bind mouse1 verify_sentry" //1. rotate/place sentry

//Dispenser building script
alias verify_dispenser "+attack; complete_dispenser"
alias complete_dispenser "+attack; bind mouse1 +upgrade1; bind mouse2 +upgrade2"
alias build_dispenser "bind mouse2 +attack2; bind mouse1 verify_dispenser"

//Entrance building script
alias verify_entrance "+attack; complete_entrance"
alias complete_entrance "+attack; bind mouse1 +upgrade1; bind mouse2 +upgrade2"
alias build_entrance "bind mouse2 +attack2; bind mouse1 verify_entrance"

//Exit building script
alias verify_exit "+attack; complete_exit"
alias complete_exit "+attack; bind mouse1 +upgrade1; bind mouse2 +upgrade2"
alias build_exit "bind mouse2 +attack2; bind mouse1 verify_exit"



//At this point you might think: why have 4 different alias when they do the same
//thing? Well, you can't bind a single alias to multiple keys. That's why.
alias sentry "destroy 2; build 2; build_sentry"
alias dispenser "destroy 0; build 0; build_dispenser"
alias entrance "destroy 1; build 1; build_entrance"
alias exit "destroy 3; build 3; build_exit"



//Bind fixer, in case lag causes script instability
alias fixBinds "-attack; -attack2; slot1; bind mouse2 +upgrade2; bind mouse1 +attack"

//Jumping high using Soldier/Scout
alias +powerJump "+jump; +duck; +attack"
alias -powerJump "-jump; -duck; -attack"

//Moving buildings using middle mouse button
alias complete_move "+attack; bind mouse1 +upgrade1; bind mouse2 +upgrade2"
alias +build_move "+attack2; bind mouse2 +attack2; bind mouse1 complete_move"
alias -build_move "-attack2"


//Engineer script toggle
alias engieEnable "bind mouse2 +upgrade2; bind mouse3 +build_move; bind f1 sentry; bind f2 dispenser; bind f3 entrance; bind f4 exit; bind 1 fixBinds; alias engieToggle engieDisable"
alias engieDisable "bind mouse1 +attack; bind mouse2 +attack2; bind mouse3 +powerJump; bind 1 slot1; unbind f1; unbind f2; unbind f3; unbind f4; alias engieToggle engieEnable"
alias engieToggle engieEnable

//Enable toggling on F key
bind f engieToggle
----------------------------------------­----------------------------------------­--------------------------------------------

r/tf2scripthelp • • Dec 12 '15

Question Spy Pseudorandom Disguise Script

2 Upvotes

Been trying to get this one script to work with my null move canceller, it won't work correctly.

alias "dscramble" "trashcan_diceroll_1"

alias "disguise1" "disguise 7 -1"
alias "disguise2" "disguise 4 -1"
alias "disguise3" "disguise 9 -1"
alias "disguise4" "disguise 5 -1"
alias "disguise5" "disguise 2 -1"
alias "disguise6" "disguise 8 -1"

alias "disguise_diceroll_1" "alias disguise_result disguise1;alias dscramble disguise_diceroll_2"
alias "disguise_diceroll_2" "alias disguise_result disguise2;alias dscramble disguise_diceroll_3"
alias "disguise_diceroll_3" "alias disguise_result disguise3;alias dscramble disguise_diceroll_4"
alias "disguise_diceroll_4" "alias disguise_result disguise4;alias dscramble disguise_diceroll_5"
alias "disguise_diceroll_5" "alias disguise_result disguise5;alias dscramble disguise_diceroll_6"
alias "disguise_diceroll_6" "alias disguise_result disguise6;alias dscramble disguise_diceroll_1"

 
bind "alt" "disguise_result;dscramble"  

My Null movement script is this one

alias xhaircolour xhaircolour_a
alias xhaircolour_a "cl_crosshair_red 0;cl_crosshair_green 255;cl_crosshair_blue 0;    alias xhaircolour xhaircolour_b"
alias xhaircolour_b "cl_crosshair_red 255;cl_crosshair_green 0;cl_crosshair_blue 255;    alias xhaircolour xhaircolour_c"
alias xhaircolour_c "cl_crosshair_red 255;cl_crosshair_green 255;cl_crosshair_blue 0;    alias xhaircolour xhaircolour_d"
alias xhaircolour_d "cl_crosshair_red 0;cl_crosshair_green 255;cl_crosshair_blue 255;    alias xhaircolour xhaircolour_a"

alias +mf_ar_0 "-back;+forward;    alias -mb -mb_cont;xhaircolour"
alias +mf_ar_1 "autorun_0;-back;+forward;    alias -mb -mb_cont;xhaircolour"
alias -mf_cont "-mf_n;+mb"
alias -mf_n "-forward;    alias -mb -mb_n"

alias +ml_ar_0 "-moveright;+moveleft;    alias -mr -mr_ar_0_cont;    alias +air_t +air_t_l;    alias -air_t -air_t_l;xhaircolour"
alias +air_l "-moveright;-right;+moveleft;+left;    alias -mr -mr_ar_1_cont;    alias +air_t +air_t_l;    alias -air_t -air_t_l;xhaircolour"
alias +turn_l "-moveright;-right;+left;    alias -mr -mr_ar_1_cont;    alias +air_t +air_t_l;    alias -air_t -air_t_l;xhaircolour"
alias -ml_ar_0_cont "-ml_n;+mr_ar_0"
alias -ml_ar_1_cont "-ml_n;+mr_ar_1"
alias -ml_n "-moveleft;-left;    alias -mr -mr_n;    alias +air_t +air_t_n;    alias -air_t -air_t_n"

alias +mb_ar_0 "-forward;+back;    alias -mf -mf_cont;xhaircolour"
alias +mb_ar_1 "autorun_0;-forward;+back;    alias -mf -mf_cont;xhaircolour"
alias -mb_cont "-mb_n;+mf"
alias -mb_n "-back;    alias -mf -mf_n"

alias +mr_ar_0 "-moveleft;+moveright;    alias -ml -ml_ar_0_cont;    alias +air_t +air_t_r;    alias -air_t -air_t_r;xhaircolour"
alias +air_r "-moveleft;-left;+moveright;+right;    alias -ml -ml_ar_1_cont;    alias +air_t +air_t_r;    alias -air_t -air_t_r;xhaircolour"
alias +turn_r "-moveleft;-left;+right;    alias -ml -ml_ar_1_cont;    alias +air_t +air_t_r;    alias -air_t -air_t_r;xhaircolour"
alias -mr_ar_0_cont "-mr_n;+ml_ar_0"
alias -mr_ar_1_cont "-mr_n;+ml_ar_1"
alias -mr_n "-moveright;-right;    alias -ml -ml_n;    alias +air_t +air_t_n;    alias -air_t -air_t_n"

alias +ar_t     alias +r_butt autorun_t
alias -ar_t     alias +r_butt +reload

alias +air_t_n "+duck;    alias +ml_ar_1 +air_l;    alias +mr_ar_1 +air_r"
alias -air_t_n "-duck;    alias +ml_ar_1 +turn_l;    alias +mr_ar_1 +turn_r"

alias +air_t_r "+duck;+air_r;    alias +ml_ar_1 +air_l;    alias +mr_ar_1 +air_r"
alias -air_t_r "-duck;+turn_r;    alias +ml_ar_1 +turn_l;    alias +mr_ar_1 +turn_r"

alias +air_t_l "+duck;+air_l;    alias +ml_ar_1 +air_l;    alias +mr_ar_1 +air_r"
alias -air_t_l "-duck;+turn_l;    alias +ml_ar_1 +turn_l;    alias +mr_ar_1 +turn_r"

alias autorun_t autorun_1
alias autorun_1 "cl_yawspeed 180;    alias autorun_t autorun_0;    alias +mf +mf_ar_1;    alias +ml +ml_ar_1;    alias +mb +mb_ar_1;    alias +mr +mr_ar_1;+forward;    alias -mf;    alias +ctrl_butt +air_t;    alias -ctrl_butt -air_t;-ctrl_butt"
alias autorun_0 "cl_yawspeed 180;    alias autorun_t autorun_1;    alias +mf +mf_ar_0;    alias +ml +ml_ar_0;    alias +mb +mb_ar_0;    alias +mr +mr_ar_0;-forward;    alias -mf -mf_n;    alias +ctrl_butt +duck;    alias -ctrl_butt -duck;-ctrl_butt"

    bind p autorun_t

    bind shift +ctrl_butt

    bind w +w_butt;scramble;dscramble
    bind a +a_butt;scramble;dscramble
    bind s +s_butt;scramble;dscramble
    bind d +d_butt;scramble;dscramble

    alias +w_butt +mf
    alias -w_butt -mf
    alias +a_butt +ml
    alias -a_butt -ml
    alias +s_butt +mb
    alias -s_butt -mb
    alias +d_butt +mr
    alias -d_butt -mr

autorun_0

-mf_n
-ml_n
-mb_n
-mr_n  

The scramble bit in the binds is for another script (that the spy one is actually based off of) that works, hence why I used it as a base.


r/tf2scripthelp • • Dec 11 '15

Issue Help with medic and spy scripts not working

2 Upvotes

I've followed all of the directions on the introduction page as far as I know.

In my medic.cfg:

exec reset
bind mouse2 say_team "*****UBER POPPED, GO GET EM CHAMPS*****"
alias autocall_initial "hud_medicautocallersthreshold 75" // normal percentage (without button press)
alias autocall_temp "hud_medicautocallersthreshold 150" // percentage when pressing button
alias +autocall_temp_hit "autocall_temp"
alias -autocall_temp_hit "autocall_initial"        
bind CAPSLOCK "+autocall_temp_hit"

I just got the medic radar script online, however that and the uber message script both dont work.

Also in my spy.cfg , a simple viewmodel script as I only want them for spy:

exec reset
r_drawviewmodel 1

In my reset.cfg , stuff that 'fixes' m2 and caps lock for other classes, along with my preferred viewmodel and weapon switching commands:

bind mouse2 +attack2
unbind CAPSLOCK
alias "weaponone" "slot1;r_drawviewmodel 0"
alias "weapontwo" "slot2;r_drawviewmodel 0"
alias "weaponthree" "slot3;r_drawviewmodel 1"
bind MWHEELUP weaponone
bind MWHEELDOWN weapontwo
bind MOUSE3 weaponthree
viewmodel_fov 90

All of my class.cfg's and my reset.cfg are in tf>custom>my_custom_stuff>cfg , along with my autoexec.cfg, which has an fps config.


r/tf2scripthelp • • Dec 08 '15

Resolved Scout.cfg keeps executing even after getting deleted

2 Upvotes

I tried rebindinding keys and it still runs the script when i play scout.

The script which i installed was supposed to execute a perfect double crouch jump which i bound to mouse2


r/tf2scripthelp • • Dec 05 '15

Question I need help with button hold scripts

2 Upvotes

Why does this script work:

alias 	bsentry "destroy 2;build 2"

alias 	bdispens "destroy 0;build 0"

alias 	bteleentr "destroy 1;build 1"

alias 	bteleexit "destroy 3;build 3"


alias 	basentry "bind mouse1 bsentry"

alias 	badispens  "bind mouse2 bdispens"

alias	bateleentr "bind mwheeldown bteleexit"

alias	bateleexit "bind mwheelup bteleentr"

alias	+startbuild "basentry; badispens; bateleentr; bateleexit"

alias 	-startbuild "bind mouse1 +attack; bind mouse2 +attack2; bind mwheeldown invnext; bind mwheelup invprev"

bind shift +startbuild

But the one I wrote doesn't?

alias enescout 	bind "KP_END" "disguise 1 -1"

alias enesoldier bind "KP_DOWNARROW" "disguise 3 -1"

alias enepyro   bind "KP_PGDN" "disguise 7 -1"

alias enedemoman bind "KP_LEFTARROW" "disguise 4 -1"

alias eneheavy bind "KP_5" "disguise 6 -1"

alias eneengineer bind "KP_RIGHTARROW" "disguise 9 -1"

alias enemedic bind "KP_HOME" "disguise 5 -1"

alias enesniper bind "KP_UPARROW" "disguise 2 -1"

alias enespy bind "KP_PGUP" "disguise 8 -1"

alias friendscout bind "KP_END" "disguise 1 -2"

alias friendsoldier bind "KP_DOWNARROW" "disguise 3 -2"

alias friendpyro bind "KP_PGDN" "disguise 7 -2"

alias frienddemoman bind "KP_LEFTARROW" "disguise 4 -2"

alias friendheavy bind "KP_5" "disguise 6 -2"

alias friendengineer bind "KP_RIGHTARROW" "disguise 9 -2"

alias friendmedic bind "KP_HOME" "disguise 5 -2"

alias friendsniper bind "KP_UPARROW" "disguise 2 -2"

alias friendspy bind "KP_PGUP" "disguise 8 -2"


alias "+disguise" "friendscout; friendsoldier; friendpyro; frienddemoman; friendheavy; friendengineer; friendmedic; friendsniper; friendspy"

alias "-disguise" "enescout; enesoldier; enepyro; enedemoman; eneheavy; eneengineer; enemedic; eneesniper; enespy"

bind shift +disguise

Edit: Formatting


r/tf2scripthelp • • Dec 05 '15

Answered How to make a constant crouching command?

2 Upvotes

I want to make a script for Scout that, while holding a key, he will start crouching and uncrouching repeatedly. I figure this would be good for throwing off snipers. Is it possible?


r/tf2scripthelp • • Nov 18 '15

Question Help with attack script

2 Upvotes

I was just wondering if it's possible to make a script where you shoot once, wait and loop it. The intended use is for an amby script where you justv have to aim and it shoots with headshot intervals for you. It's more of a proof of concept but it seems impossible from my perspective. I was hoping I might get some insight from someone who has scripting experience since I'm very new to it.


r/tf2scripthelp • • Oct 28 '15

Question Help with key combinations.

2 Upvotes

I'm trying to make a script that makes so when I hold down "f" and press 1, 2, 3, or 4, I switch to the corresponding loadout. I also have "+inspect" and "lastdisguise" bound to "f". I tried looking on the wiki, but I just can't figure it out. I've never understood the alias command very well. So, can one of you please help me out, and also possibly explain how it works, since I'm planning on making more key combos if I figure it out.

Edit: Welp, Scream Fortress is out. Guess I'll submit this post sometime later.


r/tf2scripthelp • • Oct 03 '15

Answered Would it be possible for my class configs to write to a seperate file when they are excecuted? So I could tell, outside of TF2, which class I'm currently playing?

2 Upvotes


r/tf2scripthelp • • Jul 02 '15

Resolved Why doesnt this script work?

2 Upvotes

alias "maskuber" "voicemenu 0 8"

bind "f1" "maskuber"


r/tf2scripthelp • • Jun 11 '15

Answered Guys, i seriously need your help. TF2 has become unplayable for the strangest reason, and i think it's likely something to do with my autoexec.cfg.

2 Upvotes

Ok, so the rundown is, I'm in a game, everything is fine and dandy, then suddenly (usually after i die), everyone else in the game starts stuttering except for me. As in, i can move around fine with great fps, but everyone else is stuttering and moving so weird that it makes the game unplayable, you literally cannot hit a target properly that is stutter/jittering, almost like mini porting.

Now this is most definitely on my side. everyone else in the game has normal ping, and i asked about it in multiple servers and they had no clue what i was talking about.

I've tested my connection using the netgraph, my connection is not the problem. I even ran a bunch of speed tests and i had extremely good ping.

So i also had this problem a week ago and made a thread about it earlier. Turns out, my problem was solved for then after my weird solution.

Well the only thing that has changed since then, is that i have been experimenting with different gfx cfgs to see what the right option for me would be.

At that particular time when it happened, i had the Comanglia FPS cfg. Before, i was using chris maxframes, but the Comanglia seems to be the best all around for me after slight modifications.

I then tried out one of the newer and less known ones, Rhapsody. It was very user friendly and went into a lot more detail than the other cfgs I've seen, unfortunately, it didn't work too well for me.

So i decided i would go back to Comanglia cfg and stick with it (thinking that weird problem would still be gone after my fix that didn't work as well as i thought it did.) It was also the one i liked the most and gave me what i wanted graphics wise and frame wise.

So i started setting up the Comanglia cfg after making sure to delete the other one, also to delete the old default cfg and then verifying integrity of game cache, which fixed my problem last time. (have no idea if that actually does anything, could someone clear that up for me?, i just did it to be safe, though I'm sure there is an easier way.). After that, i made sure to makes sure the new Comanglia graphics cfg was not actually in my custom cfg script folder at the time, removed my launch options and then went to the sidebar here and clicked runsafe and then put exec config_default into the console (not sure if that is redundant in my case?). I exited after that and then added my launch settings.

So, after all of that, i put the new Comanglia cfg in, and i made some very minor modifactions, and then started the game. It runs beautifully! Perfect fps and graphics that don't make it look like it's in the beta mode.

I played one game, and everything was fine. However, after the server changed, the same thing started happening again. And this time my old fix didn't work for it. I tried doing my old fix twice, restarting my laptop and all of that. I then ran the game and as soon as i join a server, it started happening straight away again.

Literally, my gameplay will be stellar, it's just every single other player has this weird jittery mini stutter movement. It really makes it impossible to play, you can't hit a thing. There is no exception on players too, my team, their team, it happens to every player.

Now i don't know for sure if it's my cfg, but i think it's likely. And I'm really hoping that there is a setting i can change to fix this.

I've googled thoroughly to see if others have had this problem but could not find an answer.

I will link the post to pastebin since it's too large for here.

I think the main part to look at is all the stuff below the gfx area, since that's where i think the problem is coming from. But i don't know as i am no expert so i posted the whole thing.

Here it is http://pastebin.com/stcUMViH

You guys are the best and have have solved basically every question I've ever asked here, so I'm really hoping someone notices something in the cfg that could be causing it, or if anyone knows anything separate that could be doing it.

I'd seriously appreciate any help, no matter how small.

I apologize for any typos/grammar mistakes, i am severely overtired.


r/tf2scripthelp • • Jun 11 '15

Impossible Disabling the capslock actual function just in game?

2 Upvotes

Hey everyone.

I was wondering if it is possible to disable what capslock does (making things into capital letters), so i could better use it as a key to bind to other things, such as crouch.

Is this possible to do only in game by writing something in my autoexec cfg? Or is it something only obtainable through windows?

Thanks


r/tf2scripthelp • • Jun 10 '15

Resolved Crosshair switcher (or transparent viewmodel settings) forces viewmodels to stay off

2 Upvotes

I recently got a new computer, and with it, means a whole new slew of configs.

In the new file, I've started to tinker around with transparent viewmodels (mainly for melee weapons). Also, with my new graphics card I don't need an fps config anymore, so I've switched off my "TFMATE" crosshair switcher to a FAR more elegant solution found here: http://tf2.gamebanana.com/scripts/8417

My custom settings are as follows: (Found in my autoexec, slightly changed per class)

alias cross1 "r_drawviewmodel 0;viewmodel_fov 0;cl_crosshair_red 255;cl_crosshair_green 255;cl_crosshair_blue 0;cl_crosshair_scale 30;cl_crosshair_file crosshair7" alias cross2 "r_drawviewmodel 0;viewmodel_fov 0;cl_crosshair_red 255;cl_crosshair_green 255;cl_crosshair_blue 0;cl_crosshair_scale 15;cl_crosshair_file crosshair5" alias cross3 "r_drawviewmodel 1;viewmodel_fov 110;cl_crosshair_red 0;cl_crosshair_green 255;cl_crosshair_blue 0;cl_crosshair_scale 10;cl_crosshair_file crosshair5"

however, for weapons in which the crosshair switcher settings has viewmodels turned off, I am unable to toggle them back on. Conversely, for weapons that DO have viewmodels turned on, I can turn them off and back on again.

Please let me know what I can do to be able to turn on/off viewmodels at whim, whilst still keeping my crosshair switcher settings.


r/tf2scripthelp • • Jun 09 '15

Answered Switching from slot 1 to slot x cause weapon to fire.

2 Upvotes

Hello all,

My spy script will change from slot 1, 2, or 4 to slot 3 just fine, but it fires the revolver as it switches to the knife. The script does the same in all other classes as well. Sniper shoots the rifle before switching to the shiv or the jarate. They are all of the format:

alias "+melee" "slot 3; +attack"
alias "-melee" "-attack; lastdisguise; lastinventory"
bind MOUSE3 "+melee"

Calling the "use tf_weapon_knife" doesn't help, either. I really would like to just call slot 3, because classes like scout have more than one weapon name in slot 3 and being overly specific kills the usefulness of the script for that class.

I want to be able to move around as spy with the revolver or sapper out, but the revolver gives me away to everyone else if I backstab using this script.

Is there a way around this, please? Thanks.

(BTW, first reddit post ever. Please forgive me if I've screwed up somewhere. Thx)


r/tf2scripthelp • • Jun 09 '15

Answered A few 'Not Bound' issues in game. I'm unsure of how to assign binds to some of these.

2 Upvotes

EDIT* I forgot to add to the title that i have two separate questions/issues.

Hey guys.

For some things in TF2, in game, sometimes it will show me that something is not bound, therefore i can't use it.

For example, the disguise menu for spy. When i open the disguise menu, i cannot cancel myself opening it like i could in the past. As in, if i don't pick a disguise, I'm stuck holding the disguise menu. It's more annoying with the taunt menu, sometimes i would accidentally click it at the most inconvinient times and the only way to cancel out would be to pick a taunt. With the spy, using q (which is bound to slot3;slot1) will cancel the menu, but it is still a little annoying. The taunt thing is more of an issue. I did check the taunt related issues link but i couldn't see a solution to cancel the menu.

I've noticed this a couple other times on different classes such as something not being bound to throw a sandvitch as a heavy. At least that's what it says in the tip things before the match starts, something like, "As a heavy, you can share your sandvitch with a teammate by throwing it at them using <NOT BOUND> to heal them."

I'm more concerned about the Taunt and spy issue though. So i'm wondering if any ones knows any quick fixes for this? Or things i can add to fix it? I had a look at the cvarlist, but I'm unsure of which one can fix the taunt and disguise menu.

My other question which might not be for this sub (sorry if it isn't).

I was wondering if it's possible in Notepad++ to mass delete, or mass add comments to lines of script. I did use google, but none of the methods suggested seemed to work. I'm wondering if it's because the language i have chosen is source? I use the syntax highlighting and it's extremely helpful and has made my scripts a lot more readable and has helped me quite a bit when i have had some problems. Thank you to /u/clovervidia for making that. That's when i put the language in notepad++ to source.

So I'm wondering if anyone here who also uses notepad++ knows how to do this.

Thanks.


r/tf2scripthelp • • Jun 07 '15

Resolved Is it possible to bind something to the start of the round?

2 Upvotes

Is it possible to bind a command to activate at the start of the round? I'm wanting to use an "sm" command to the very start of an arena round, and I'm wondering if this is possible. If not, how could I do this so it activates just after the start of the round, other than simply

bind key "sm;wait 2;sm;wait 2;sm;wait 2;sm;wait 2;"

Edit: ended up with this, just altered my bunnyhop script.

alias warden_bind "sm_warden;wait 2;warden_jump"
alias warden_alias "alias warden_jump warden_bind"
alias warden_stop "alias warden_jump"
alias +warden "warden_alias;warden_jump"
alias -warden "warden_stop"

Alias wardentoggle "wardentoggleon"
alias wardentoggleon "bind uparrow +warden; alias wardentoggle wardentoggleoff"
alias wardentoggleoff "bind uparrow sm_warden; alias wardentoggle wardentoggleon"
bind "uparrow" "wardentoggle"

r/tf2scripthelp • • Jun 06 '15

Resolved How do you bind a key to the taunt menu?

2 Upvotes

I used tf2mate to make a script, and i binded "g" to "taunt" , later on, when i pressed "g" i cou;dn't access the taunt menu.


r/tf2scripthelp • • May 28 '15

Answered Can you use con_filter_text_out with multiple strings?

2 Upvotes

I want to filter a few different strings using the "con_filter_text_out" command, but it seems to only take one at a time. Does anyone know the arguments for this, and if it's possible to filter more than one string at once?


r/tf2scripthelp • • Mar 02 '15

Resolved bind <KEY> impulse 101 not working in a longer line of code

2 Upvotes

well it works fine if i just type it in a single line with qoutes and all like:
bind "e" "impulse 101"

but when i put it in a longer line of code it doesnt work
bind 5 "sv_cheats 1; startLoop; bind 4 noclip; bind e impulse 101; mp_tournament 1; mp_tournament_restart"

anyone know how to fix this?


r/tf2scripthelp • • Feb 21 '15

Answered Requesting aid in regard to looping scripts

2 Upvotes

Recently I have been making a large collection of simple loop scripts for commands, using basic aliases. The problem is trying to stop them, after reading around for some time, I found a post explaining that it could be done, however, it didn't actually explain how to do it. Any help would be appreciated, I simply require a way to stop the loop, even if I have to use a different, more complicated format. Apologies if I'm wasting time and the answer is simple.

Tl;dr - Need a way to break a looping script (e.g: alias loop "voicemenu 0 1;wait 100;loop"), even if it means using a more complicated format.


r/tf2scripthelp • • Feb 19 '15

Resolved Why does binding something to +attack first, then something else make you attack once, but when you put +attack AFTER something it makes you attack forever?

2 Upvotes

So I am trying to make a script where when I press mouse1, I disguise as a friendly spy (thus removing my disguise) and then attack. This is basically to eliminate the enforcer's downside. However, when I tried the following:

bind mouse1 "disguise 8 -2; +attack"

it made me attack forever. However, when doing this:

bind mouse1 "+attack; disguise 8 -2"

I attack only once. Is there a way to get around this?

Thanks.


r/tf2scripthelp • • Feb 17 '15

Answered Chris' DX9 Frames help

2 Upvotes

Hey there, I use dx9 frames and I would switch on decals or signs or whatever it's called. Just those thing on walls. http://i.imgur.com/z1JVWr0.jpg


r/tf2scripthelp • • Feb 16 '15

Answered, kinda Command to get out of the changeclass/changeteam menus?

2 Upvotes

Is there a command for that? Because it's really annoying that escape doesn't get you out of those menus.