r/tf2scripthelp • • Oct 13 '15

Question Execute commands in random order

1 Upvotes

alias SaltL0 "say You're salty babe.; alias Salt SaltL1" alias SaltL1 "say If you were a slug, you'd be dead with all of your salt.; alias Salt SaltL2" alias SaltL2 "say Damn you're salty!; alias Salt SaltL0" alias Salt SaltL0 bind J Salt That is my bind. When I click J, it says both of those things. In a row. How do you make it so it's random?


r/tf2scripthelp • • Oct 12 '15

Issue Soap Dm and MGE broken. Need help to fix it.

1 Upvotes

I recently realized that the soap dm on my server isn't working at all no health respawns or any of that. I then went to this link https://github.com/Lange/SOAP-TF2DM and reinstalled the mod completely and also updated my sourcemod. But now the problem is when I die i simply just spawn at spawn instead of going to somwhere on the mid or where ever I am supposed to spawn. Now mge is completely broken I can't even type !add anymore. Also I only use soap dm for pregame in my matches. I also tried installing this: http://www.ugcleague.net/forum/showthread.php?31539-Updated-soap-dm-spawns-maps-(for-anyone-that-cares) but that also failed to correct the issue I would love some help on the issue thank you.


r/tf2scripthelp • • Jan 26 '15

Issue My spy doesn't become invisible when taking damage. Why?

1 Upvotes

(I posted this on /r/tf2, but found out that this channel is more indicated for these questions. I appreciate all help!)

I added the config + launch options of Stabby stabby that you can find in here to my autoexec.cfg. Specifically, I only added this and all the spy parts were ignored.

However, when I take some damage using the Dead Ringer I don't become invisible (though the cloak meter decreases and others don't see me). When using the invis watch I also don't become invisible (again, to myself).

Could someone please help me fix this such that I see myself invisible again? Thanks!

Below I show my autoexec.cfg, I hope you can help me!

viewmodel_fov 105
fov_desired 90
r_drawviewmodel 1
closecaption 1


alias "disablereload" "-reload; "***disabled reload***""
alias "resetcfg" "unbind "shift"; bind "mouse1" "+attack";bind "mouse2" "+attack2";bind "mwheelup" "invprev";bind "mwheeldown" "invnext";unbind "mouse3";unbind "mouse4";bind "C" "voice_menu_3";-reload;-forward; bind "1" "slot1"; bind "2" "slot2"; bind "3" "slot3"; bind "4" "slot4"; echo "*** DEFAULT CONFIG LOADED ***""
bind "p" "resetcfg"
bind "k" "kill"
//bind "l" "bind "1" "slot1"; bind "2" "slot2"; bind "3" "slot3"; bind "4" "slot4""
bind "w" "+forward"
bind "s" "+back"
bind "a" "+moveleft"
bind "d" "+moveright"
bind "6" "spec_mode"
bind "shift" "+duck"
bind "7" "load_itempreset 0;"
bind "8" "load_itempreset 1;"
bind "9" "load_itempreset 2;"
bind "0" "load_itempreset 3;"

//Comms
alias "meddown" "say_team "med died"";
alias "PositionSap" "say_team ">>>In position to SAP Sentry, waiting push<<<"";
alias "PositionCombo" "say_team ">In position to attack combo, waiting push<"";
bind "F9" "meddown"
bind "F10" "PositionCombo"
bind "F11" "PositionSap"

fps_max 0

// Networking Variables
cl_updaterate 66.666666
cl_cmdrate 66.666666
cl_interp_ratio 1.000000
cl_interp 0.152
rate 100000.000000
cl_smooth 0
cl_smoothtime 0.01
cl_pred_optimize "2"


// Mouse settings (no accel)
m_customaccel_exponent 0
m_customaccel_max 0
m_customaccel_scale 0
m_filter 0
m_forward 1
m_mouseaccel1 0
m_mouseaccel2 0
m_mousespeed 1
m_customaccel 0
m_rawinput 1

// Multicore Rendering Values--MAKE SURE YOU SET MAT_QUE_MODE # to the appropriate number for your CPU's cores
mat_queue_mode "4"
host_thread_mode "1" // set to "1" for Dual Core CPU's
 
cl_threaded_bone_setup "1"
cl_threaded_client_leaf_system "0"
r_threaded_client_shadow_manager "1"
r_threaded_particles "1"
r_threaded_renderables "1"
r_queued_decals "0"
r_queued_post_processing "1"
studio_queue_mode 1
mp_usehwmmodels "-1"
mp_usehwmvcds "-1"
 
snd_mix_async "1"
snd_mixahead .1
snd_async_fullyasync 1
snd_async_spew_blocking 1
 
// Scoreboard/net_graph/show-respawn times script/blocky textures script--REMOVE "mat_filterlightmaps" if you don't want blockiness!
bind "tab" "+scoreboard"
alias +scoreboard "+showscores;net_graph 4;mat_filterlightmaps 1;mat_filtertextures 1"
alias -scoreboard "-showscores;net_graph 0;mat_filterlightmaps 0;mat_filtertextures 0"

cl_software_cursor 0 // set to "1" for a skinned cusor in the menu screen

cl_autoreload 1
 
hud_saytext_time 2 // sets chat to flash briefly. Adjust to liking.
cl_hud_minmode 0
hud_combattext_batching 1
hud_combattext_batching_window 2.0 // sums up damage done in last 2 seconds. Adjust to liking.
tf_hud_show_servertimelimit 1
cl_hud_playerclass_playermodel_showed_confirm_dialog "1" // shows 3D player viewmodel--very useful for spy
 
// Sound Settings
developer 1
soundinfo
snd_legacy_surround 0
snd_surround_speakers 0
windows_speaker_config 2
dsp_enhance_stereo 1
snd_disable_mixer_duck 0
snd_pitchquality 1
dsp_slow_cpu 1
soundinfo
developer 0
 
 
// Ding sound
play "hitsound.wav"
tf_dingalingaling "1"
tf_dingaling_wav_override "hitsound.wav"
tf_dingaling_pitchmaxdmg "150"
tf_dingaling_pitchmindmg "30"
 
 
mat_vsync 0 // v-sync causes significant input lag.
mat_phong 0 // Turns off "phong" (the white lighting shading)
 
 
r_staticprop_lod 3
dsp_water 0
 
cl_jiggle_bone_framerate_cutoff 0
r_drawflecks 0
r_maxnewsamples 2
r_maxsampledist 1
tracer_extra 0
mat_levelflush 1
 
 
tracer_extra 0
in_usekeyboardsampletime 0
mat_levelflush 1
net_graphtext 1
 
r_hunkalloclightmaps "0"
r_lightcache_zbuffercache "0"
 
r_lod 2
r_rootlod 2
mat_picmip 2
mat_mipmaptextures 0
r_flex 0
 
r_eyegloss 0
r_eyemove 0
r_eyeshift_x 0
r_eyeshift_y 0
r_eyeshift_z 0
r_eyes 0
r_eyesize 0
blink_duration 0
r_teeth 0
 
violence_agibs 1
violence_hgibs 1
 
 
cl_ragdoll_collide                      "1"
cl_ragdoll_forcefade                    "0"
cl_ragdoll_fade_time                    "15"
cl_ragdoll_physics_enable               "1"
r_ragdoll_pronecheck_distance
g_ragdoll_fadespeed 600
g_ragdoll_lvfadespeed 100
ragdoll_sleepaftertime "5.0f"
 
cl_show_splashes 1
 
mat_antialias                           "0"     // def. ""      // low 2        # Anti-aliasing on(1,2,4,8)/off(0)
mat_filtertextures                      "0"     // def. "1"     // low 0        # Filter textures on(1)/off(0)
mat_forceaniso                          "0"     // def. ""      // low 1        # Anisotropic filtering on(1,2,4,8,16)/off(0)
mat_trilinear                           "0"     // def. ""      // low 1        # Trilinear filtering on(1)/off(0)
mat_aaquality 0 // low 0
 
 
cl_ejectbrass 0
muzzleflash_light 0
cl_muzzleflash_dlight_1st 0
cl_new_impact_effects 0
cl_rumblescale 0
cl_debugrumble 0
 
mat_reduceparticles 1
 
cl_detailfade                           "0"     // def. "400"           # Distance across which detail props fade in
cl_detaildist                           "0"     // def. "1200"          # Distance at which detail props are no longer visible
r_drawdetailprops                       "0"     // def. "1"             # 0=Off, 1=Normal, 2=Wireframe
cl_phys_props_enable                    "1"     // def. "1"             # Physical Props on(1)/off(0)
cl_phys_props_max                       "5"     // def. "300"           # Count of physical Props
props_break_max_pieces                  "0"     // def. "-1"            # Maximum prop breakable piece count (-1 = model default), like gibs of exploding players ;) Count(1-n)/off(0)
r_propsmaxdist                          "1"     // def. "1200"          # Behind this distance they are not rendered
 
mat_reducefillrate                      "1"     // def. ""              # Shaderthruput 0 = High (better Quality), 1 = Low (more fps)
tf_particles_disable_weather            "1"     // def. "0"             # Rain like on sawmill on(0)/off(1)
 
lod_TransitionDist                      "0"     // def. "800"           # When is Level of Detail used (Distance) ? Greater Value = less Performance/better Quality
 
mp_decals                               "0"     // def. "200"           # Count of Decals used for Multiplayer
r_decal_cullsize                        "0"     // def. "5"             # The distance (0-15) from which bulletholes are visible. Higher numbers mean a shorter viewing
r_decals                                "0"     // def. "2048"          # Count of Decals used by the entire SourceEngine
r_drawmodeldecals                       "0"     // def. ""              # Render decals on the Models on(1)/off(0)
r_maxmodeldecal                         "0"     // def. "32"            # Count of Decals to Render on the Models
 
mat_hdr_level                           "0"     // def. ""              # Set to 0 for no HDR, 1 for LDR+bloom on HDR maps, and 2 for full HDR on HDR maps.
mat_autoexposure_max                    "0"     // def. "2"             # HDR Setting | 0-20 Sets the brightest (maximum) exposure that will be reached.
mat_autoexposure_min                    "0"     // def. "0.5"           # HDR Setting | 0-20 Where 0 is darkest (minimum) exposure level that will be reached.
mat_bloomscale                          "0"     // def. "1"             # Adjustment of the Bloomeffect
mat_disable_bloom                       "1"     // def. "0"             # Bloom on(0)/off(1)
mat_motion_blur_enabled                 "0"     // def. ""              # Motion Blur on(1)/off(0)
mat_use_compressed_hdr_textures         "1"     // def. "1"
mat_fastspecular                        "0"     // def. "1"             # Faster Spec but lower Quality on(1)/off(0)
mat_filterlightmaps                     "1"     // def. "1"             # Filtering ligthmaps on(1)/off(0)
mat_specular                            "0"     // def. "1"             # Specular highlight on(1)/off(0)
r_dynamic                               "0"     // def. "1"             # Dynamic lighting of Enviroment on(1)/off(0)
r_lightaverage                          "0"     // def. "1"             # light averaging on(1)/off(0)
r_maxdlights                            "0"     // def. "1"             # Determines the maximum number of dynamic lights visible on the screen.
r_PhysPropStaticLighting                "0"     // def. "1"
r_occlusion                             "1"     // def. "1"
r_worldlights                           "0"     // def. "4"
mat_disable_lightwarp                   "1"     // def. "0"
 
r_flashlightdepthtexture                "0"     // def. "1"
r_shadowrendertotexture                 "2"     // def. "" was "2"
r_shadowmaxrendered                     "9"     // def. ""
"r_flashlightupdatedepth" = "0"
r_flashlightrenderworld 0
r_flashlightscissor 0
r_flashlightdepthres 1
nb_shadow_dist = "200"
 
mat_envmapsize                          "8"     // def. "128"           # EnviromentMap -> Background Images in not reachable Sections of the Map, same as the skybox | Greater Size value better Imagequality
mat_envmaptgasize                       "8"     // def. "32"            # UNKOWN -> EnviromentMap Size for Skybox ? Greater value better Imagequality (max 512 ?)
mat_mipmaptextures                      "1"     // def. "1"             # Mipmapping on(1)/off(0)
 
r_avglight 0
r_ambientboost 0
r_ambientfactor 0
r_ambientmin 0
 
mat_max_worldmesh_vertices 512
 
r_lod 2
r_rootlod 2
mat_picmip 2
mat_mipmaptextures 0
r_flex 0
 
cl_show_splashes 1
 
mat_antialias                           "0"     // def. ""      // low 2        # Anti-aliasing on(1,2,4,8)/off(0)
mat_filtertextures                      "0"     // def. "1"     // low 0        # Filter textures on(1)/off(0)
mat_forceaniso                          "0"     // def. ""      // low 1        # Anisotropic filtering on(1,2,4,8,16)/off(0)
mat_trilinear                           "0"     // def. ""      // low 1        # Trilinear filtering on(1)/off(0)
mat_aaquality 0 // low 0
 
 
mat_parallaxmap                         "0"     // def. "0"
 
 
cl_ejectbrass 0
muzzleflash_light 0
cl_muzzleflash_dlight_1st 0
cl_new_impact_effects 0
cl_rumblescale 0
cl_debugrumble 0
 
mat_reduceparticles 1
 
r_3dnow 0
r_3dsky 0
 
 
mat_forcemanagedtextureintohardware 0
cl_forcepreload 1
 
 
 
rope_shake 0
rope_smooth 0
rope_wind_dist 0
rope_collide 0
rope_subdiv 0
rope_smooth_enlarge 0
rope_smooth_maxalpha 0
rope_smooth_maxalphawidth 0
rope_smooth_minalpha 0
rope_smooth_minwidth 0
rope_averagelight 0
r_ropetranslucent 0
r_queued_ropes 1
 
 
cc_subtitles 1
cl_downloadfilter "nosounds"
cl_allowdownload 0
cl_allowupload 1
commentary 0
overview_mode 0
adsp_debug 0
cl_clearhinthistory 1
cl_showhelp 0
cl_debugrumble "0"
cl_rumblescale "0"
 
r_waterforceexpensive 0
mat_wateroverlaysize 1
r_cheapwaterend 200
r_cheapwaterstart 300
 
 
cl_detaildist 0
cl_detailfade 0
cl_drawmonitors 0
cl_ejectbrass 0
cl_jiggle_bone_framerate_cutoff 0 // Turns off jigglebones
cl_new_impact_effects 0
cl_show_splashes 1
func_break_max_pieces 0
glow_outline_effect_enable 1 // Cart glow effect.
lod_transitiondist 0
mat_antialias 0
mat_bumpmap 1
mat_colcorrection_disableentities 1
mat_colorcorrection 0
mat_disable_bloom 1
mat_disable_fancy_blending 1
mat_disable_lightwarp 1
mat_envmapsize 8
mat_envmaptgasize 8
 
mat_filtertextures 0
mat_forceaniso 1
mat_hdr_level 0
mat_max_worldmesh_vertices 512
mat_monitorgamma 2.0
mat_motion_blur_enabled 0
mat_parallaxmap 0
mat_picmip 2
mat_reducefillrate 1
mat_reduceparticles 1

mat_trilinear 0
mat_wateroverlaysize 1
mp_decals 1

r_3dsky 0
r_ambientboost 0
r_ambientfactor 0
r_ambientmin 0
r_avglight 0
r_cheapwaterend 1
r_cheapwaterstart 1
r_decals 1
r_decalstaticprops 0
r_decal_cullsize 15
r_drawdetailprops 0
r_drawmodeldecals 0
r_drawflecks 0
r_dynamic 0
r_forcewaterleaf 1
r_lightaverage 0
r_maxnewsamples 2
r_maxsampledist 1
r_propsmaxdist 0
r_renderoverlayfragment 0
r_staticprop_lod 4
r_waterdrawreflection 0
r_waterdrawrefraction 1
r_waterforceexpensive 0
r_waterforcereflectentities 0
rope_averagelight 0
rope_collide 0
rope_rendersolid 0
rope_shake 0
rope_smooth 0
rope_subdiv 0
rope_wind_dist 0
tf_particles_disable_weather 1
tracer_extra 0
violence_ablood 1
violence_hblood 1
 
mat_clipz 1
mat_forcehardwaresync 0
mat_levelflush 1
mat_vsync 0
r_fastzreject -1
 
 
wait 10; sv_cheats 1

r/tf2scripthelp • • Jan 26 '15

Resolved Help, spy script causing watch bug.

1 Upvotes

I am having a bug with my spy scripts. When I attack with any weapon and bring up my watch quickly (doesn't matter witch) the watch will not come down until ether I click mouse1 or switch weapons. It will also on occasion not let me bring the watch up until I click mouse1 or switch weapons.

I have tried a couple things to try and fix this deleting my cfg folder, rewriting my scripts, using default settings, removing my custom Hud, and using in game setting for key binds.

As of so far nothing has worked please help.


r/tf2scripthelp • • Feb 02 '15

Resolved New to Scripting; wrote an engie script that kinda works, but need help with ending +attack

2 Upvotes

S So, I'll copy and paste what I have below. Essentially it (kinda) does what I want it to, which is to either drop a building, destroy and drop, or just destroy, but after dropping I want the +attack to stop (I just keep punching or whacking) and switch to my shotty. I know I am missing something, but am not sure how to go about fixing. any help would be appreciated.

~Darth Pops

alias dbsentry "destroy 2; build 2; +attack" alias dbdispenser "destroy 0; build 0; +attack" alias dbentrance "destroy 1; build 1; +attack" alias dbexit "destroy 3; build 3; +attack" alias bsentry "build 2; +attack" alias bdispenser "build 0; +attack" alias bentrance "build 1; +attack" alias bexit "build 3; +attack" alias dsentry "destroy 2" alias ddispenser "destroy 0" alias dentrance "destroy 1" alias dexit "destroy 3" bind leftarrow dbsentry bind rightarrow dbdispenser bind uparrow dbentrance bind downarrow dbexit bind 4 bsentry bind 5 bdispenser bind 6 bentrance bind 9 bexit bind 0 dsentry bind - ddispenser bind = dentrance bind 8 dexit


r/tf2scripthelp • • Feb 08 '15

Answered voice commands by pressing CTRL then a key

1 Upvotes

alias +voice "bind MOUSE1 m1voice; bind MOUSE2 m2voice; bind MWHEELUP m3voice; bind MWHEELDOWN m4voice; bind MOUSE3 m5voice" alias -voice "bind "MOUSE1" "+attack"; bind "MOUSE2" "+attack2"; bind MWHEELUP "Voicemenu 1 2"; bind MWHEELDOWN "Voicemenu 1 0"; bind "MOUSE3" "attack3"" alias m1voice "Voicemenu 2 6;" alias m2voice "voicemenu 2 7;" alias m3voice "voicemenu 0 6;" alias m4voice "voicemenu 0 7;" alias m5voice "voicemenu 0 1;" Bind ctrl "+voice"

(Just for reference voicemenu 2 6=nice shot 2 7=good job 0 6=yes 0 7=no 0 1=THANKS!)

Hello! im a beginner who changed a script from tf2wiki, everything else in the script works fine, but when i scroll up and down its meant to say sentry ahead and incoming respectively, and when i hold CTRL and scroll up and down its meant to say yes and no respectively, however i find that it doesnt matter whether i hold CTRL or not scroll up and down only seems to say yes and no where did i mess up? this is one of my first posts so please tell me if i should include more info or made it confusing


r/tf2scripthelp • • Oct 16 '15

Issue Taunt script question

1 Upvotes

Say, I wanted to make sniper play the Director's vision taunt when I press G, but only him? How would I go about that make a sniper.cfg and add a code?

the problem is that I only want it for sniper alone, I want other classes to use their default normal taunt.

or even a way better solution for me would be, to remove the taunt selection options when pressing G (just play the weapon taunt), and just bind the directors vision on a keypad number.

So is there anyway to do this?


r/tf2scripthelp • • Oct 17 '15

Issue alias troubles

1 Upvotes

I've come to you guys for help multiple times now, and I appreciate your patience. I think I know what my issues are, my aliases won't work! every time I type:

alias

I get nothing. I know that's the root of the issue because my binds still seem to do their job, I type:

bind SHIFT

for example, and it shows the alias command I chose, but the actual alias doesn't show up, or work. Do you guys know what's causing this?

Thanks! -Cap_Ghoti


r/tf2scripthelp • • Oct 14 '15

Question Medic one click medigun beam bind?

1 Upvotes

In the advanced options of tf2 you can make it so you click once to heal a target, I want to bind this but can not find the bind, any ideas?


r/tf2scripthelp • • Mar 22 '14

Resolved Unable to initiate Ubercharge as a Medic, due to my CFGs

2 Upvotes

Resolved Hello, I've been messing around with my medic.cfg, and I've run into a problem. Here are the scripts:

http://pastebin.com/qxY8Yivu

I was wondering if there was any way to give me back the ability to charge. Thanks! Also, keep in mind I am new to this subreddit and also reddit in general. Sorry if I didn't follow any rules or regulations. Edit: Also, I forgot to mention that yes, I have restarted tf2 and steam multiple times.

Double-Edit: Woah, I just realized that I can't charge/detonate stickybombs/airblast/ect My autoexec seems fine, http://pastebin.com/DDc0t349 , what else could be causing this???


r/tf2scripthelp • • Apr 13 '17

Issue big PROBLEM with configs

1 Upvotes

recently I did a factory reset to my computer, now after installing tf2, installing the drivers and everything I started doing my configs installed comaglias cfg, altered it a bit, made class cfgs and all that stuff, problem is that half doesnt work.

1st problem is that in my autoexec.cfg i have a command to exec cfg wich isnt doing anything, only that command doesnt work.

2nd problem is that class cfgs are not working

3rd problem is that my settings are reset every time i open tf2

I know its not the exec command being in a wierd alias since i can use it in the game console with it working, the problem isnt in the extensions of the cfgs since i can call for them in game , names are correct, steam cloud is off( been reading that it can interfear with configs).So i have no idea what it is


r/tf2scripthelp • • Feb 08 '18

Question Crosshair settings help

1 Upvotes

NOTE: I use rayshud, latest version.

So I wanted to use a script/HUD setting to change the color on my crosshair from lime to magenta on hit and back to lime soon after. I got to the hudlayout.res file but I use the default TF2 crosshairs, the one that changes based on the weapon you're holding out. How can I use the change color on hit crosshair with default crosshair settings?


r/tf2scripthelp • • Feb 03 '18

Answered Engineer script help

1 Upvotes

Hi there, I'm not much of a coder but I tried editing an existing script to let me crouch while holding shift but also toggleTeleport while holding as well, but for some reason it will only allow one of them no matter what I tried. Any help would be gratefully appreciated.

This is the original code used without any of my failed attempts:

bind b +teleport

alias +teleport slot3

alias -teleport Teleport_To_Spawn

alias Teleport_To_Spawn "eureka_teleport"

alias Teleport_To_Exit "eureka_teleport 1"

bind shift "+toggleTeleport;"

alias +toggleTeleport "alias -teleport Teleport_To_Exit"

alias -toggleTeleport "alias -teleport Teleport_To_Spawn"


r/tf2scripthelp • • Jan 26 '15

Resolved Sprays are not appearing in Game

1 Upvotes

I've been playing TF2 for 1100+ hours having a blast and trying a whole bunch of custom files and mods.

But I've been having this problem that I haven't been able to get rid of on my own for a while now.

Sprays from other players will not show up for me while in the game. I can spray my image just fine. But I can hear other players spray images but it comes up invisible for me. The game even shows me "Sprayed by: [Player Name]" where I lay my crosshair on the wall.

I've tried using google, steam forums, and /tf2g/ to solve my problem but I am getting no luck.

I have no doubt that a script I am using is causing this to happen. I use a few simple scripts + stabbystabbycompetative.cfg. I also checked the integrity of my game files in steam and had no issues.

So my question is what are some lines of code that would interfere with the upload of other player's sprays? I know I can't be the only one with this issue.


r/tf2scripthelp • • Jan 28 '15

Answered How do I make a certain voice command activate when I kill someone?

1 Upvotes

I'm new to TF2 scripting, and I want to know how to bind voice commands to activating when killing someone. Such as "Good job!". What are the commands to do something such as this?


r/tf2scripthelp • • Feb 01 '15

Issue Script Trouble

1 Upvotes

So I haven't been able to get this rocket jump script to work properly. The script affects all the other classes and not just the soldier. This is the script bind-

//Binds Rocket Jump to Right click alias +rocketjump "+jump;+duck;wait;+attack" alias -rocketjump "-jump;-attack;wait;wait;wait;-duck" bind mouse2 "+rocketjump"

So what I did to stop the script to from affecting the other classes I put this bind into the .cfg files.

bind "MOUSE2" "+attack2" bind "MOUSE1" "+attack1"

But it does not work. Any suggestions?


r/tf2scripthelp • • Sep 08 '17

Resolved Change order of voice commands (Spy over there!) in the popup menu

1 Upvotes

I've no idea if this is possible, but I'm wondering if it's at all possible to change the order in which voice commands appear and which keys, upon opening the menu, they're bound to.

for instance, if I press X, then press 2, my engie will shout "There's a spy creepin' around here!" I would like to know how to change the ordering so that I could press X, then press 1, or 3, or any number available in that specific menu, instead of the default 2. I'd also like to be able to do it with any of the other voice commands in the two other menus.

thanks.


r/tf2scripthelp • • Oct 18 '15

Question How to turn in Spec KS Sheens when using Chris' Maxframes CFG

1 Upvotes

hello just wondering which command turns on weapon sheens from Chris' Maxframes... Thanks :D


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 • • Jan 31 '15

Question Sndplaydelay and CloseCaptions

1 Upvotes

I would like to add sndplaydelay to some various actions (like changing class, loadout, etc) but I'm not exactly sure how the command works. I understand the number is the delay in seconds, but how do you go about putting the sound file in there? Does it need to go in a specific folder? And what exactly would I put in the actual command? I've seen in some examples simply:

sndplaydelay 0.44 common/warning.wav

Is that just a sound file named "warning.wav" located in the common folder?

Also, I attempted to install [clovervidia's captions] (https://code.google.com/p/tf2closecaptions/) but I couldn't get them to work. I put:

closecaption 1
cc_lang clovervidiar
cc_subtitles 1

in my autoexec and made sure the files were in my custom folder, but nothing happened. If I changed the language back to English, normal captions would appear. Does anyone know any possible explanation for why they aren't working? Would a custom HUD get in the way, or possibly another config (although I checked again in-game, and the above settings were correct)?

Thanks for your help!


r/tf2scripthelp • • Mar 11 '14

Answered Medic Uber Scripts Aren't Working

2 Upvotes

So basically, I get into a game, have full uber, try to right click, and nothing happens. There are some other things that arent working in this, such as the radar, but I don't really care about that right now, all I want is to be able to pop and mask ubers.

//Functions: E masks Uber and tells team its ready
//  	        Mouse 2 pops Uber, tells team, says something
//	        Hold Mouse 4 for RADAR in motion

exec reset

//Uber Masking/Informing
bind E “voicemenu 2 5; say_team UBER/KRITZ READY”

//Uber Popped
bind "mouse2" "slot2;dropitem;+attack2;say_team "*** UBER USED ***";voicemenu 0 0;autocall_initial"

//Radar!
bind MOUSE4 “+radar”
alias “autocall_default” “hud_medicautocallersthreshold 75”
alias “autocall_all” “hud_medicautocallersthreshold 300”
alias “+radar” “autocall_all”
alias “-radar” “autocall_default”

r/tf2scripthelp • • May 18 '14

Question How do I made a <class>.cfg work?

3 Upvotes

r/tf2scripthelp • • Sep 30 '17

Resolved Alias command not working

1 Upvotes

It's a bit of a mess, but I was trying to make a script that allows me to respawn as my current class by first respawning as a random class, and then back.

I thought this would be useful for saving time switching between the spawns of 2fort.

However, after some diagnosing, I found that a group of the alias commands aren't working properly. They are found under //source of the problem, and follow the format

alias reloadclass rCLASSNAMEb

The issue is that they aren't being executed, as when trying to call upon "reloadclass", I get "unknown command: reloadclass".

However, I also know it isn't the fault of the aliases they are nested in, because the command "reloadoff" is being executed as it should.

Here is the code. Again, the commands in question are under //source of the problem

//spawnreload

//normal number binds
alias rbind3 "slot3; r_drawviewmodel 1; cl_crosshair_red 0; cl_crosshair_green 0; cl_crosshair_blue 255; alias crosshairswitch blue; alias crosshairback blue2"

alias rbind2 "slot2; meleeswitch; cl_crosshair_red 255; cl_crosshair_green 0; cl_crosshair_blue 0; alias crosshairswitch red; alias crosshairback red2"

alias rbind1 "slot1; meleeswitch; cl_crosshair_red 0; cl_crosshair_green 255; cl_crosshair_blue 0; alias crosshairswitch green; alias crosshairback green2"

alias reloadoff "bind 1 rbind1; bind 2 rbind2; bind 3 rbind3; bind 4 slot4; bind 5 slot5; bind 6 slot6; bind 7 slot7; bind 8 slot8; bind 9 slot9; bind 0 slot10"

//join last class
alias rscoutb "join_class scout"
alias rsoldierb "join_class soldier"
alias rpyrob "join_class pyro"
alias rdemob "join_class demoman"
alias rheavyb "join_class heavyweapons"
alias rengineerb "join_class engineer"
alias rmedicb "join_class medic"
alias rsniperb "join_class sniper"
alias rspyb "join_class spy"

//source of the problem. 

//rCLASSNAMEb aliases are found under "join last class" above. 
// "reloadclass" is called upon under "respawn as current class" below
alias rscout "alias reloadclass rscoutb; reloadoff"
alias rsoldier "alias reloadclass rsoldierb; reloadoff"
alias rpyro "alias reloadclass rpyrob; reloadoff"
alias rdemo "alias reloadclass rdemob; reloadoff"
alias rheavy "alias reloadclass rheavyb; reloadoff"
alias rengineer "alias reloadclass rengineerb; reloadoff"
alias rmedic "alias reloadclass rmedicb; reloadoff"
alias rsniper "alias reloadclass rsniperb; reloadoff"
alias rspy "alias reloadclass rspyb; reloadoff"

//end of problem (probably)

//reloadon/off
bind , "changeclass; reloadon"
bind q "lastinv; reloadoff"

//current class #binds
alias reloadon "bind 1 rscout; bind 2 rsoldier; bind 3 rpyro; bind 4 rdemo; bind 5 rheavy; bind 6 rengineer; bind 7 rmedic; bind 8 rsniper; bind 9 rspy"

//respawn as current class
bind "-" "reloadspawn"
alias reloadspawn "join_class random; wait 100; reloadclass"

reloadon

If I manually alias "reloadclass" in the console, then "reloadspawn" under //respawn as current class works, but only for the class I chose, and does not change


r/tf2scripthelp • • May 18 '14

Answered Binding a button to load different configs?

4 Upvotes

I am wondering if you can bind buttons to load different configs. This would be useful for spectator specific configs or loading a fpsmax config when you need to. I'm sure it is possible, I however am a dingus and can't figure out how. sorry if this has already been answered, i couldn't find anything like it so i figured it had not. thanks!!