Team Fortress 2
jungobleagh 8. aug. 2014 kl. 17.10
Why am i such ♥♥♥♥ at scripting?
I can't even script the simplest things. For example here is what i wrote:

alias "+scatter” "slot1;+attack”
alias “-scatter” "-attack”
alias "+pistol” "slot2;+attack”
alias “-pistol” "-attack"
alias "+bat” "slot3;+attack”
alias “-bat” "-attack”
bind "mouse1" "+scatter”
bind "mouse2" "+pistol"
bind "mouse3" "+bat"
bind "mwheeldown" "+attack2"


this is a script for scout. pressing m1 will switch to scattergun and shoot.
pressing m2 will switch to pistol and shoot.
pressing m3 will switch to bat and melee attack.
scrolling down will do secondary attack, like hit the sandman.

but why doesnt it work?
< >
Viser 111 av 11 kommentarer
I believe you're overthinking this and assigning too many commands to a single button press. I don't see why this would be necessary in the first place.
jungobleagh 8. aug. 2014 kl. 17.15 
Opprinnelig skrevet av Umbrella Incorporated:
I believe you're overthinking this and assigning too many commands to a single button press. I don't see why this would be necessary in the first place.

it allows you to quick-switch between weapons
Fried Tofu With All the Frills (Utestengt) 8. aug. 2014 kl. 17.18 
really unneccesary, why dont you just learn how to learn how to switch weapons like everybody else.
jungobleagh 8. aug. 2014 kl. 17.21 
Opprinnelig skrevet av acommoncreeper:
really unneccesary, why dont you just learn how to learn how to switch weapons like everybody else.

thats just like, your opinion man.

and thats not the point. if you know whats wrong with the script, please help and your help will be greatly appreciated. otherwise, no need to condesending.
Flamebird 8. aug. 2014 kl. 17.27 
Im pretty sure you don't need the quotations around the names for the aliases or the names of the keys, so try this.

alias +scatter "slot1;+attack”
alias -scatter "-attack”
alias +pistol "slot2;+attack”
alias -pistol "-attack"
alias +bat "slot3;+attack”
alias -bat "-attack”
bind mouse1 "+scatter”
bind mouse2 "+pistol"
bind mouse3 "+bat"
bind mwheeldown "+attack2"

If that doesn't work, then I have no idea...
And if you already tried this, then sorry :l
jungobleagh 8. aug. 2014 kl. 17.31 
Opprinnelig skrevet av Flamebird6:
Im pretty sure you don't need the quotations around the names for the aliases or the names of the keys, so try this.

alias +scatter "slot1;+attack”
alias -scatter "-attack”
alias +pistol "slot2;+attack”
alias -pistol "-attack"
alias +bat "slot3;+attack”
alias -bat "-attack”
bind mouse1 "+scatter”
bind mouse2 "+pistol"
bind mouse3 "+bat"
bind mwheeldown "+attack2"

If that doesn't work, then I have no idea...
And if you already tried this, then sorry :l

i tried a lot of different combinations of quotes so i may have already tried it but ill try it again.

thanks for the help! +repping
jungobleagh 8. aug. 2014 kl. 18.33 
Opprinnelig skrevet av Lax:
You have the entire code all messed up.

please, enlighten me
The correct code is Up, Up, Down, Down, Left, Right, Left, Right, A, B, Start.

There! You happy now?
jungobleagh 8. aug. 2014 kl. 23.25 
Opprinnelig skrevet av Umbrella Incorporated:
The correct code is Up, Up, Down, Down, Left, Right, Left, Right, A, B, Start.

There! You happy now?

♥♥♥♥, of course. the konami code. thanks and +repping
⒭⌕◶▾ɛ 8. aug. 2014 kl. 23.56 
I assume you want to tap-and-forget because the script seems fine to me. Weapon switching delay prevents that without wait (disabled on most servers) or leaving +attack on until you input -attack. With -attack on release, you must time-release the keypress.
Igykyuu 8. aug. 2014 kl. 23.59 
Opprinnelig skrevet av Umbrella Incorporated:
The correct code is Up, Up, Down, Down, Left, Right, Left, Right, A, B, Start.

There! You happy now?
also A,B,B,A will bring you back to life instantly.
< >
Viser 111 av 11 kommentarer
Per side: 1530 50

Dato lagt ut: 8. aug. 2014 kl. 17.10
Innlegg: 11