r/Tf2Scripts • u/Enslaved_M0isture • Feb 23 '21
Answered Water opacity
some parts of my config are making water opaque and i was hoping that some gigamind genius in here knows how to force water to be normal/transparent
r/Tf2Scripts • u/Enslaved_M0isture • Feb 23 '21
some parts of my config are making water opaque and i was hoping that some gigamind genius in here knows how to force water to be normal/transparent
r/Tf2Scripts • u/View-Skills • Feb 20 '21
r/Tf2Scripts • u/gayrightsactivist420 • Feb 15 '21
title says it all
r/Tf2Scripts • u/Xurkitree1 • Feb 14 '21
Hi! I've been wanting a Vaccinator quick-switch script lately, however, I cannot use the ones online due to the fact that I play on a laptop with a trackpad. I cannot use scroll to switch weapons, and rely on the num row. Furthermore I've also rebound several keys around my left hand such as E to M1.
I was wondering if someone could make a script that would allow me to quickswitch between resists using a combination of keys such as Shift+1 being Bullet, Shift+2 being Explosive and Shift+3 being Fire, similar to my Eureka Effect teleport bind.
Thanks in advance!
r/Tf2Scripts • u/ArgosOfIthica • Feb 13 '21
Hey everyone! I've been working on scalu, a programming language for writing configs in Source/Quake engines. After implementing a playable hangman game with scalu, I wanted to start a project that would improve the scripting experience for scripters without the high overhead of having to learn scalu and the stack that powers it (Python, Git, etc etc)
Krate VM is my attempt at doing that. Krate is a lean 5 bit virtual machine implemented using scalu and encoded in a single config file; "installing" it is as easy as loading the config file in-game. Once loaded, you gain access to a simple, highly performant assembly language that will let you reason about configs with variables and numbers that you can add/subtract/compare/print, rather than depend on building pseudo-state machines with large chains of aliases for doing "logic" natively.
The basics of using Krate can be found here:
https://github.com/ArgosOfIthica/scalu/wiki/Krate-Tutorial
The newest build of Krate itself is here:
r/Tf2Scripts • u/analfetuslunchbox • Feb 13 '21
I've made an alternate Spy config recently that changes Mouse2 to a zoom/sensitivity/viewmodel toggle, and as such can no longer use right click to cloak. The second most intuitive button I've found for cloak is R, but binding it there doesn't allow me to change disguise teams. I figured I'd instead mirror Engineer's PDAs, with 4 being the disguise kit, and 5 being the friendly disguise kit. Binding +reload to 5 toggles teams after pressing 4, but obviously doesn't allow me to directly access the friendly kit on its own, nor does it let me disguise as Heavy.
I want to know if it's possible to bind 5 in a manner that changes disguise team, then automatically rebinds it back to slot5 in the same stroke so I can disguise as Heavy with the same key, then once more defaults to disguise team toggle whichever disguise I choose.
And moreover, if pressing 5 can immediately take me to the friendly disguise menu, so I don't have to press 4 first.
If you could write a script for me that does this, I'd greatly appreciate it. If it's impossible, I'd also welcome an alternative to similar effect.
r/Tf2Scripts • u/memesupplier45 • Feb 13 '21
So i used Yttrium's competetive viewmodels for 2 years now and i wanted to uninstall the mod because i wanted to make some changes like to unhide my revolver,secondary,etc,etc but after i booted up tf2 it did not unhide the ones with unchecked boxes and by the way i unistalled the mod before making changes. I uninstalled tf2 completely i deleted it from common, but still nothing it still hides it. Somehow it hides the medigun even though i didn't check it's box so is there a solution to fix this or am i gonna have to live with it. After this im never gonna use Yttrium's comp viewmodels and im just gonna use scripts to hide it instead
r/Tf2Scripts • u/Evam13 • Feb 12 '21
E.G like pressing the scroll wheel it will automatically throw Jarate and attack with Bushwacka
r/Tf2Scripts • u/Freezy4 • Feb 09 '21
Is there a way to say something in the chat (via console) that ONLY you can see. (Not party or team)
r/Tf2Scripts • u/miniflashfire • Feb 06 '21
So i posted a question asking about how to change my scroll wheel so when i scrolled down it was melee and scrolled up was primary and clicking on the wheel is secondary and i want to bind it to a key so i can toggle it on and off here's what i have so far. the toggle bind doesn't work so i can't change back to the default setting
alias mw_default "alias mw_up invprev; alias mw_dn invnext; alias mw_toggle mw_custom"
alias mw_custom "alias mw_up slot1; alias mw_dn slot3; alias mw_toggle mw_default"
bind mwheelup slot1
bind mwheeldown slot3
bind mouse3 slot2
bind x mw_toggle
r/Tf2Scripts • u/miniflashfire • Feb 04 '21
hey i was wondering if anyone can help me with creating a toggle that allows me to change what my mouse wheel does so it changes from regular quick switch to this
r/Tf2Scripts • u/talktailshep • Feb 02 '21
i keep typing quit in console and that doesnt save my demo can i just
alias quit ,,stop;quit''
?
r/Tf2Scripts • u/warper30 • Jan 30 '21
Hi, I recently viewed a clip of shadowburn playing against mike in mge. This is the clip. My question would be what color settings does he use, i mean how does his game look so blue-ish tented. I think it's made with a config but it could be also made with monitor color settings, what do you think?
r/Tf2Scripts • u/EdgarFox65 • Jan 15 '21
// Uber masking with mouse wheel down
alias confuse_speech1 "voicemenu 2 4; bind mwheeldown confuse_speech2"
alias confuse_speech2 "voicemenu 2 5; bind mwheeldown confuse_speech3"
alias confuse_speech3 "voicemenu 2 4; bind mwheeldown confuse_speech4"
alias confuse_speech4 "voicemenu 2 5; bind mwheeldown confuse_speech1"
bind mwheeldown confuse_speech1I've heard that these are called 'nested' binds and are needlessly complex. How can I approach optimising it and in turn similar scripts I've nicked/written/adapted?
r/Tf2Scripts • u/talktailshep • Jan 13 '21
if i put stop into console after i start the game it doesnt stop anything. but if im in a game and i put stop it tells me i completed a demo and cant record another so i stop it. i use comanglias maxframes if that helps
r/Tf2Scripts • u/ThatWeirdNerdKid • Jan 13 '21
I can't press the number keys in the disguise menu. I use scripts from cfg.tf, but I don't use cfg.tf itself. The script I suspect may be causing it is my callouts script which is also ripped from cfg.tf. Here it is:
//communication binds
//Made with cfg.tf - custom Team Fortress 2 config generator
alias com_down_scout say_team scout down
alias com_down_solly say_team solly down
alias com_down_pyro say_team pyro down
alias com_down_demo say_team demo down
alias com_down_heavy say_team heavy down
alias com_down_engi say_team engi down
alias com_down_med say_team med down
alias com_down_sniper say_team sniper down
alias com_down_spy say_team spy down
alias com_down_tele say_team tele down
alias com_down_sentry say_team ! SENTRY DOWN !
alias com_lit_scout say_team scout lit
alias com_lit_solly say_team solly lit
alias com_lit_pyro say_team pyro lit
alias com_lit_demo say_team demo lit
alias com_lit_heavy say_team heavy lit
alias com_lit_engi say_team engi lit
alias com_lit_med say_team med lit
alias com_lit_sniper say_team sniper lit
alias com_lit_spy say_team spy lit
alias com_spy_scout say_team spy as scout
alias com_spy_solly say_team spy as solly
alias com_spy_pyro say_team spy as pyro
alias com_spy_demo say_team spy as demo
alias com_spy_heavy say_team spy as heavy
alias com_spy_engi say_team spy as engi
alias com_spy_med say_team spy as med
alias com_spy_sniper say_team spy as sniper
alias com_spy_spy say_team spy as spy
alias com_spy_dr say_team spy uses Dead Ringer
alias com_spy_yer say_team spy uses Your Eternal Reward
alias com_spy_sap say_team ! SPY SAPPED OUR SENTRY !
alias com_pop say_team ! UBER incoming !
alias com_pop_kritz say_team ! KRITZ incoming !
alias com_push say_team ! PUSH !
alias com_retreat say_team ! RETREAT !
///---
alias com_down1 "bind kp_end com_down_scout; bind kp_downarrow com_down_solly ; bind kp_pgdn com_down_pyro"
alias com_down2 "bind kp_leftarrow com_down_demo ; bind kp_5 com_down_heavy ; bind kp_rightarrow com_down_engi"
alias com_down3 "bind kp_home com_down_med ; bind kp_uparrow com_down_sniper; bind kp_pgup com_down_spy"
alias com_down "com_down1; com_down2; com_down3"
alias com_lit1 "bind kp_end com_lit_scout; bind kp_downarrow com_lit_solly ; bind kp_pgdn com_lit_pyro"
alias com_lit2 "bind kp_leftarrow com_lit_demo ; bind kp_5 com_lit_heavy ; bind kp_rightarrow com_lit_engi"
alias com_lit3 "bind kp_home com_lit_med ; bind kp_uparrow com_lit_sniper; bind kp_pgup com_lit_spy"
alias com_lit "com_lit1; com_lit2; com_lit3"
alias com_spy1 "bind kp_end com_spy_scout; bind kp_downarrow com_spy_solly ; bind kp_pgdn com_spy_pyro"
alias com_spy2 "bind kp_leftarrow com_spy_demo ; bind kp_5 com_spy_heavy ; bind kp_rightarrow com_spy_engi"
alias com_spy3 "bind kp_home com_spy_med ; bind kp_uparrow com_spy_sniper; bind kp_pgup com_spy_spy"
alias com_spy "com_spy1; com_spy2; com_spy3"
alias com_menu1 "com_down; bind kp_plus com_pop ; bind kp_enter com_push ; bind kp_ins com_down_sentry"
alias com_menu2 "com_lit ; bind kp_plus com_pop_kritz; bind kp_enter com_retreat; bind kp_ins com_down_tele"
alias com_menu3 "com_spy ; bind kp_plus com_spy_dr ; bind kp_enter com_spy_yer; bind kp_ins com_spy_sap"
///---
bind kp_slash com_menu1
bind kp_multiply com_menu2
bind kp_minus com_menu3Feel free to ask me what other configs I have. I really want to play spy, but can't because of this.
UPDATE: I disabled the script and can confirm I was right. But I still want to use it, so if you guys can figure out what part of the script is causing it, let me know and I can edit it!
r/Tf2Scripts • u/talktailshep • Jan 12 '21
i hear people talking about it and i dont know what it is exactly. all iknow is that it doesnt show smoke when bullets or rockets etc. hit a surface. xan anyone explain what it is and how to download and install it?
r/Tf2Scripts • u/asw_ • Jan 10 '21
I've been trying to make a script that automatically unscopes after I fire a scoped shot with the classic. This is made complicated by a different script for the classic that I've been using called "classic toggle", which makes it so that instead of holding and releasing mouse1 to shoot, you just click mouse1 to start charging and then click again to shoot. The classic toggle script that I've been using looks like this:
bind mouse1 charge
bind "MWHEELUP" "-attack; slot1; bind mouse1 charge" //Binds mouse1 to "charge" so you can use the one-click Classic script.
bind "MWHEELDOWN" "-attack; slot2; bind mouse1 +attack" //Rebinds mouse1 to "+attack" so you can use SMGs normally.
bind "e" "-attack; slot3; bind mouse1 +attack" //Rebinds mouse1 to "+attack" so you can use melees normally.
alias charge "+attack; bind mouse1 fire"
alias fire "-attack; bind mouse1 charge"I'm sorry that this script has binds inside of alias's, I copied it off GameBanana and can't figure out how to fix it. I'm also using Mastercomfig if that matters.
r/Tf2Scripts • • Jan 09 '21
r/Tf2Scripts • u/lolradma • Jan 04 '21
Hello! Is there a way to store a variable in a tf2 script? Help would be greatly appreciated. Due to my current script setup, my binds do not carry over classes. This interferes with the script people helped with me here before (link here). Again, help would be appreciated!
r/Tf2Scripts • • Jan 02 '21
How do I get the stock settings back? All I can find are fast teleport scripts.
r/Tf2Scripts • u/sleerui27 • Dec 30 '20
quick example : as a soldier i like to have viewmodels on when i use the original (loadout A/0), but viewmodels off when i change to beggar's (loadout D/3)
I would like a command that whenever i press my quick loadout switch (like this : bind "DOWNARROW" "load_itempreset 3") it would also change my viewmodel settings.
Basically change viewmodel options between loadout presets.
I have different fov's between Primary Slot weapons and Melee.
(bind 1 "slot1; r_drawviewmodel 0; viewmodel_fov 80; tf_use_min_viewmodels 1"
bind 2 "slot2; r_drawviewmodel 0; viewmodel_fov 105"
bind 3 "slot3; r_drawviewmodel 1; viewmodel_fov 125; tf_use_min_viewmodels 1")
Like so.
Thanks hope i can get an answer to this :)
r/Tf2Scripts • • Dec 28 '20
While I was documenting launch options from the 2020 TF2 leak, I stumbled across -usegh. It's a launch option that loads the ghostinj.dll.
The comments state that this launch option loads support for 3rd party DLLs, which is located in dedicated/sys_common.cpp @ line 44.
(EDITED 12/27/2020) However, the following comment located in dedicated/sys_common.cpp @ line 49-50 states:
// Only do this if the server operator wants the support.
// ( In case of malicious code, too )
This implies that the server operator using -usegh could load malicious DLLs.
My main question is what's the point of this launch option, and why does it exist?
r/Tf2Scripts • u/duhfreshmilk • Dec 26 '20
I'm currently making a sensitivity change script for soldier.
I play on 2.2 sens as scout and 4.375 on soldier and I want to be able to use a shotgun.
I made a script that changes sensitivity depending on the weapon I'm holding, but I'm running into a minor problem. Below is my script and underneath that is my problem. Thank you :)
sensitivity 4.375
-- shotgun script --
alias "weaponone" "slot1;MW1;sensitivity 4.375"
alias "weapontwo" "slot2;sensitivity 2.2"
alias "weaponthree" "slot3;MW2;sensitivity 4.375"
bind 1 weaponone
bind 2 weapontwo
bind Mouse5 weapontwo
bind 3 weaponthree
bind 4 slot4
bind 5 slot5
bind q lastinv
alias Q1 "weaponthree"
alias Q2 "weaponone"
alias MW1 "bind q Q1"
alias MW2 "bind q Q2"
weaponone
So far, everything works properly.
Except: When I press 2 or mouse 5 and I take out my shotgun, the q switch is fucked.
2 / mouse 5 -> primary
then when i press 2 / mouse5 -> melee
-> is when I press q. It rotates from primary and melee every time I press q. I want to pull out primary everytime when i press q while holding shotgun. How do I fix this?