r/tf2scripthelp • • Dec 11 '14

Resolved crouch and zoom scripts will not work, halp

bind w +mfwd bind s +mback bind a +mleft bind d +mright

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 none" alias -mback "-back;checkfwd;alias checkback none" alias -mleft "-moveleft;checkright;alias checkleft none" alias -mright "-moveright;checkleft;alias checkright none" alias checkfwd none alias checkback none alias checkleft none alias checkright none alias none ""

alias "+zoomer" "fov_desired 75; r_drawviewmodel 0" alias "-zoomer" "fov_desired 90; viewmodel_fov 110; r_drawviewmodel 1" bind “’” "+zoomer"

alias +crouchjump "+jump; +duck" alias -crouchjump "-duck; -jump" bind "space" "+crouchjump"

this is my autoexec (the important parts) what I want is the null movement, crouch, and zoom scripts to work, I also have the crouch and null movement scripts put into each of my class.cfgs (ex. pyro.cfg etc.) but the scripts dont work unless I type in console "exec autoexec.cfg" this is very annoying to do and typing this in messes up a bit of my other scripts for my classes. Please halp me guys, my goal is to get the crouch, zoom, and null movement to work automattically for all classes without messesing up my other scripts in them

0 Upvotes

126 comments sorted by

View all comments

Show parent comment

1

u/DeltaTroopa Dec 11 '14
bind 1 "slot1; r_drawviewmodel 0"
bind 2 "slot2; r_drawviewmodel 1"
bind 3 "slot3; r_drawviewmodel 1"

however if you use quickswitch or mousewheel in combination with the number keys to switch weapons it becomes quite a bit more complicated.

1

u/[deleted] Dec 12 '14

Ty, everything worked <3

1

u/[deleted] Dec 12 '14

Can you give me a script that binds m1 to the line battle cry? Im planning to just use this line for sniper

1

u/[deleted] Dec 12 '14

with m1 still working as +attack

1

u/DeltaTroopa Dec 12 '14

Looks like /u/clovervidia has you covered in the new post you made.

Just an FYI I get a notification when you reply to one of my posts, but not if you reply to your own, just for future reference.

1

u/[deleted] Dec 12 '14

Ok, thanks <3 iv never used reddit in my life but got desperate and decided I had no one else to ask for all my scripting problems but thankfully all were solved (literally iv never even visited the reddit website until yesterday)

1

u/[deleted] Dec 12 '14

Got any reccommendactions for a good sniper crosshair to use? Which one do u use? iv been trying to find a good one for a while

1

u/DeltaTroopa Dec 12 '14

I just use crosshair3 (the little o one) for just about everything, and set it to green so it doesn't get lost, but its really just preference.

1

u/[deleted] Dec 12 '14

thanks <3

1

u/[deleted] Dec 14 '14
zoom_sensitivity_ratio .3

This is my sens for sniepr when scoped in, I know its goes up to 1.0, but can I make it more "precise" than .1,.2,.3 etc For example .34 or .39, would that work in game?

1

u/DeltaTroopa Dec 14 '14

Try it, see what happens :)

1

u/[deleted] Dec 14 '14

I think it effects it, but I don't know if i'm just imagining it

→ More replies