Forum
Help with a script please.
Created 29th May 2009 @ 22:01
Add A Reply Pages: 1
I’ve been having computer problems and have reverted back to windows xp from vista. I can’t get this script to work properly.
Basically I want the scroll wheel to toggle between slots 1 and 2. Currently it goes through 3 as well?
I realise it has wait commands but I’m not convinced thats why its not working. It worked fine on my vista install after the last update, but not on this xp install?
Any way here it is, am I missing a . or a ; or some thing? I know jack about these things but this is where I got it from and it looks the same?
http://tf2wiki.net/wiki/Weapon_scripts
thanks
alias primary “slot1; wait; bind MWHEELUP secondary”
alias secondary “slot2; wait; bind MWHEELUP primary”
bind “MWHEELUP” “primary”
alias primary2 “slot1; wait; bind MWHEELDOWN secondary2”
alias secondary2 “slot2; wait; bind MWHEELDOWN primary2”
bind “MWHEELUP” “primary”
bind “MWHEELDOWN” “primary2”
alias melee “slot3; bind MOUSE3”
bind “MOUSE3” “melee”
I think that overcomplicates it a little?
I wrote this one just now, not properly tested it, but I think it should work.
alias first “slot1; alias switch second”
alias second “slot2; alias switch first”
alias switch “second”
bind mwheelup “switch”
bind mwheeldown “switch”
Ok, after experimenting I realise that my autoexec.cfg isn’t being loaded.
edit – Just googled the problem and it worked
“in windows>my computer
go to tools>folder options>view> and remove the tick from “hide extentions for well known filetypes”
Thanks anyway inexistence :)
np <3
Thanks mate, but my old script works again it was my autoexec not loading. The script looks over complicated but I love it, I can’t play demo with out it. It means you can move the wheel up or down to change to slot 1 or 2 and mouse 3 is the bottle.
I suppose its what you learn with but I’d say any demo can benefit from this script. You change between pipe and sticky laucher so often you want it on your mouse and leave your left hand free for wasd. Mouse 4 for reload = sorted! :)
Add A Reply Pages: 1