r/tf2scripthelp • • Feb 01 '21

Issue Viewmodel toggle bind (and hUD?) messing with my graphics

3 Upvotes

I'm using FlawHUD from the installer, MasterComfig medium from the site, and I've got a bindToggle mouse5 r_drawviewmodels script. Whenever I have the toggle set to 1, the game looks fine and whatnot, but when I use my bind to set it to 0, the entire game darkens and it messes me up (photos included here when I asked about this issue to CriticalFlaw in his group).

The only time that this effect doesn't happen is when I'm playing 3rd party competitive, on like serveme for RGL or tf2center or something.

Is there anything that I can change to make sure this doesn't happen? I've already tried mat_monitorgamma and mat_monitorgamma_tv_enabled, but maybe I didn't use them properly somehow.


r/tf2scripthelp • • Dec 29 '20

Answered Need help on engineer

3 Upvotes

How I change my metal count on engineer to be under the crosshair like Uncle Dane's ? (Just thought it would be useful)


r/tf2scripthelp • • Nov 30 '20

Resolved [spy]is there a way to uncloak when i try to primary attack

3 Upvotes

i use the cloak and dagger sometimes and one of the problems are that it doesnt uncloak after running out of cloak , instead it makes me slightly transparent until i stand still and wait for recharge or decloak, so instead i like to automatically switch to my weapons and decloak instead of decloaking and not have my revolver or knife ready, but i cant find anything in the scripting besides +cloak function but it doesnt tell if im cloaked or not

but i did found out about sequences and would like to know how to relate it to this

thanks in advance

this is my current spy.cfg if it helps

(btw im new to scripting)

exec reset

alias "+sap" "slot2; +attack"

alias "-sap" "-attack; lastinv"

bind "MOUSE3" "+sap"

alias "+gottagofast" disguise 1 -1

bind "f" "+gottagofast"


r/tf2scripthelp • • Nov 05 '20

Question Script for spy ambassador

3 Upvotes

I used to have a script that took forever for me to figure out but i havent touched scripts in years now. The script went from primary, to secondary, then back to primary Super fast. Anyone know how to make a script like that for me? If i could also get some incorporation with it where when i shoot my primary it switches to secondary then back all together that would be dope asf!


r/tf2scripthelp • • Oct 21 '20

Resolved Shift+# for loadout binds

3 Upvotes

EDIT 2: thanks pdatumoj for his rework of my stuff

// Loadout Slots binds
alias "lip7"    "load_itempreset 0"
alias "lip8"    "load_itempreset 1"
alias "lip9"    "load_itempreset 2"
alias "lip0"    "load_itempreset 3"

alias "+flip70" "alias key7 lip7; alias key8 lip8; alias key9 lip9; alias key0 lip0"
alias "-flip70" "alias key7 slot7; alias key8 slot8; alias key9 slot9; alias key0 slot0"

bind 7          "key7"
bind 8          "key8"
bind 9          "key9"
bind 0          "key0"

bind shift      "+flip70"

EDIT: I GOT IT WORKING just needed aliases, if there is some better optimization i can do please tell

// Loadout Slots binds
alias set1 "load_itempreset 0";
alias set2 "load_itempreset 1";
alias set3 "load_itempreset 2";
alias set4 "load_itempreset 3";

alias +Loadout1 "bind 7 set1";
alias -Loadout1 "bind 7 slot7";
alias +Loadout2 "bind 8 set2";
alias -Loadout2 "bind 8 slot8";
alias +Loadout3 "bind 9 set3";
alias -Loadout3 "bind 9 slot9";
alias +Loadout4 "bind 0 set4";
alias -Loadout4 "bind 0 slot10";

bind shift "+Loadout1; +Loadout2; +Loadout3; +Loadout4";
alias +Loadout1 "bind 7 'load_itempreset 0'";
alias -Loadout1 "bind 7 slot7";
alias +Loadout2 "bind 8 'load_itempreset 1'";
alias -Loadout2 "bind 8 slot8";
alias +Loadout3 "bind 9 'load_itempreset 2'";
alias -Loadout3 "bind 9 slot9";
alias +Loadout4 "bind 0 'load_itempreset 3'";
alias -Loadout4 "bind 0 slot10";
bind shift "+Loadout1;+Loadout2;+Loadout3;+Loadout4";

This is what i have, its just in my autoexec, not really super into scripting so idk whats wrong. I have mastercomfig if it matters.


r/tf2scripthelp • • Sep 08 '20

Issue Reduced explosion effects not working

3 Upvotes

I got a new config and reduced explosion effects vpk form cfg.tf but for some reason it doesn't work at all. Also a friend made me a new vpk but that doesn't work either. The game reads it but just does nothing with it.


r/tf2scripthelp • • Jul 25 '20

Question Crosshair size command?

3 Upvotes

Does anyone here know the command to change the crosshair size? Thanks.


r/tf2scripthelp • • Jul 22 '20

Issue Problem with binding load_itempreset 0 to a key

3 Upvotes

Hello fellow scripters. Hope you all are having a good day.

First of all, I am not used to TF2 scripts and binds, sometimes I would edit some of the binds so that it would make my life easier and comfortable. And on that note, I was on the internet looking for some tips on how to play engineer better. As I was scrolling through this one page, I found this one command called load_itempreset 0, I could quickly respawn with full metal and continue building.

So I tried to use it in a Casual match, and it worked as I intended it to be. But it took such a long time to type in load_itempreset 0 in the console every single time I had to build something in spawn. So I typed in the console "bind ; load_itempreset 0" but it didn't work. I tried and tried and tried again but still, it didn't work. And so i realized, it was a command and not an action. I felt inefficient and I couldn't really do anything about it.

And so, I came here as a last resort hoping that somebody would help me with binding the command that helped me a little bit in Casual matches. Hopefully, you guys could help me with this.


r/tf2scripthelp • • Jul 18 '20

Issue Please help

3 Upvotes

I don’t know why it happened but I can’t use the chat System when I press y,u,e it says “text communication is not available for this account” If anybody can fix this problem please and thank you


r/tf2scripthelp • • Jul 07 '20

Resolved Issue with "load_itempreset" command

3 Upvotes

Hi all.

First, I'm not at all experienced in tf2 scripts and binds, I just use stuff that seem like a quality of life improvement (like re-binding engineer stuff to quick build etc), and I usually just copy other people's cfgs. So it's entirely possible my issue comes from my inexperience and I somehow screwed something up.

But, with all that said, here's the problem I'm having: I've seen people stating that the load_itempreset command is supposed to not only switch your loadouts quickly, but also respawn you with your new loadout choice if you're standing inside the spawn area. However, for me, it only switches my loadout and I have to walk to a resupply locker for it to take effect.

The whole reason I wanted to use this command was to quickly respawn to switch between spawn points in maps like 2fort, to get out of a spawn that is being camped, or to quickly get to where I need to be. But the respawn part definitely does not work for me.

So, my question is: does the command actually respawn you when it's working properly? If so, is there something wrong with my specific autoexec file?

I'll paste it below just in case. Thanks in advance!

sv_allow_point_servercommand always

fov_desired 90

tf_use_min_viewmodels 1

viewmodel_fov 70

bind "L" "incrementvar r_drawviewmodel 0 1 1"

bind "K" dropitem

hud_combattext_batching 1

hud_combattext_batching_window 2.5

cl_updaterate 66

cl_cmdrate 66

cl_interp .0325

cl_interp_ratio 1

rate 97000

bind f1 "load_itempreset 0"

bind f2 "load_itempreset 1"

bind f3 "load_itempreset 2"

bind f4 "load_itempreset 3"

bind kp_end "taunt 1"

bind kp_downarrow "taunt 2"

bind kp_pgdn "taunt 3"

bind kp_leftarrow "taunt 4"

bind kp_5 "taunt 5"

bind kp_rightarrow "taunt 6"

bind kp_home "taunt 7"

bind kp_uparrow "taunt 8"

bind kp_del "kill"

bind kp_ins "explode"

r/tf2scripthelp • • Jul 06 '20

Question Does <sameline> work?

3 Upvotes

I've tried using this tag in the past to no avail. I tried emitting 2 captions, one regular and the other has <sameline>, and both at the same time and with a delay, but there would always be a new line. Today, with the source code leak from April 2020, I found out how to use <sameline>; To supposedly use it, place it at the beginning of a caption. e.g "<sameline>This shouldn't be on a new line." However, I still couldn't get <sameline> to work. I'm wondering if it's a bug or just being misused.

EDIT: Increase elaboration of the problem.


r/tf2scripthelp • • Jun 30 '20

I need help with my config

3 Upvotes

So I have installed masterconfig and I decided to put a cfg for soldier for crouch mouse2 and I can't use it even if I see a lot of videos or search a lot of websites I need help please https://youtu.be/U-n7wcrVDMI


r/tf2scripthelp • • Jun 25 '20

Issue modify text in existing alias or binds

3 Upvotes

Looking for a way to toggle appending of my trading binds to add or remove "LAST CALL" from the end. Is there an elegant way to do this other than simply manually adding in an alias to change it back?

current idea is something like

bind kp_end "say BUYING STUFF ETC"
alias yesLastCall "bind kp_end say BUYING STUFF ETC LAST CALL;bind kp_minus noLastCall"
alias noLastCall "bind kp_end say BUYING STUFF ETC;bind kp_minus yesLastCall"
bind kp_minus "yesLastCall"

but naturally i would have to manually update that every time i changed my trading offers, for all of my trading offers (usually 3 or 4 at any given time)

is there a way to do some thing like

bind kp_minus "append bind kp_end LAST CALL"

r/tf2scripthelp • • Jun 07 '20

Issue Scripts straight up not working.

3 Upvotes

I have null movement and transparent ViewModels on, either on or the other works. A picture of the 2 is here: https://imgur.com/482ACiT


r/tf2scripthelp • • May 23 '20

Issue Help me with medic scripts!

Thumbnail self.tf2scripts
3 Upvotes

r/tf2scripthelp • • Feb 27 '20

Resolved 'user/soldier' not present; not executing.

3 Upvotes

how can i fix this https://www21.zippyshare.com/v/sl5FXCi4/file.html here is the link of my cfg file itself if you want to take look at it yourself. i want to execute my class cfgs but none of them are working


r/tf2scripthelp • • Feb 27 '20

Issue Aim switcher works slow

3 Upvotes

Hi

I've made a script that draws slot1, change fov to 54, remove viewmodels, shoot and reverts everything back.

I'm shooting faster with manual change+shoot.

Can someone throw a light on it? Is there a way to shoot my primary at least at normal speed (normal as manually change and shoot as fast as my hand can)

Thanks in advance

Alias "+prizoom" "slot1; fov_desired 54; viewmodel_fov 0; r_drawviewmodel 0; sensitivity 2; +attack"
Alias "-prizoom" "-attack; lastinv; fov_desired 90; viewmodel_fov 75; r_drawviewmodel 1; sensitivity 3"

Edit: writing errors


r/tf2scripthelp • • Nov 08 '19

Resolved I need help with the Scout Null Movement script

3 Upvotes

Hello, i am a tf2 player using mastercomfig, and i have inserted the null movement script into my autoexec file and its not working. Could i get some help?

This is the script:

unbind w

unbind s

unbind a

unbind d

bind w +mfwd

bind s +mback

bind a +mleft

bind d +mright

alias checkfwd; alias checkback; alias checkleft; alias checkright

alias +mfwd "-back; +forward; alias checkfwd +forward"

alias +mback "-forward; +back; alias checkback +back"

alias +mleft "-moveright; +moveleft; alias checkleft +moveleft"

alias +mright "-moveleft; +moveright; alias checkright +moveright"

alias -mfwd "-forward; checkback; alias checkfwd"

alias -mback "-back; checkfwd; alias checkback"

alias -mleft "-moveleft; checkright; alias checkleft"

alias -mright "-moveright; checkleft; alias checkright"


r/tf2scripthelp • • Sep 01 '19

Answered Is there a way to Switch from Weapon A, to B, then back to A again?

3 Upvotes

Hi. I've been setting up my configs, and I was thinking in a way that I can press "Q" to switch from Primary, to Secondary, and I press "Q" again, it goes back to Primary.

Is there a script that can do that, or am I out of luck? At the moment, I have "Q" as "invnext" and "E" as "invprev". It feels pretty good to play, but I wish that pressing "Q" would go to the Secondary, and go back to Primary again by another press.

As well, I would prefer having "E" to go from Primary to Melee, and Melee to Primary, just like "Q".

Thanks.


r/tf2scripthelp • • Jul 29 '19

Resolved MasterConfig very low presets breaks my private servers

3 Upvotes

Hey all, annoying problem here

When I launch tr_walkway (or any private server for that matter) my game bugs out

Basically, I cannot move (well, slightly but I always auto-snap back to my spawn position whenever I move a light amount), and every single weapon fires at mini-gun firing rate without running through any ammo.

So:
Cannot move
Weapons break

This is annoying, and I cannot fathom what's causing the issue. Maybe you brain boyz can help me out.

ty


r/tf2scripthelp • • Apr 17 '19

Tutorial [Script guide] A basic guide to hiding TF2 viewmodels

Thumbnail
self.tf2scripts
3 Upvotes

r/tf2scripthelp • • Apr 03 '19

Issue Voice lines not working.

3 Upvotes

Now I have no idea what I'm talking about or what I'm doing, so Im just gonna make this quick. the voice lines are not working, everyone has gone mute. I went into the console and it says that the cfg files are missing, so I'm just wondering how to reset those.


r/tf2scripthelp • • Nov 10 '18

Answered any way to change toggle my viewmodel_fov along with my minmode?

3 Upvotes

so say i have mouse4 is my bindtoggle to change minmode viewmodels (bindtoggle mouse4 "tf_use_minviewmodels" is the command i currently use).

so heres my question, is there a way to also change my viewmodel fov whenever i toggle the bind? like for example when min viewmodels are off i want my viewmodel fov to be 57, but when min viewmodel is toggled on it changes to 75, any way to do that? ty in advance


r/tf2scripthelp • • Nov 07 '18

Answered Grapchics setting in config

3 Upvotes

I want to know the things i must type in my gfx section of my cfg folder for each graphical setting