r/tf2scripthelp • u/ZeEngiSenpai • Aug 15 '15
Issue I'm making a Keypad engineer PDA and I need some help with it.
My script as it is:
//Keypad PDA:
bind KP_END “build 2 0” // builds a sentry
bind KP_DOWNARROW “build 0 0” // builds a dispenser
bind KP_PGDN “build 1 0” // builds a tp entrance
bind KP_ENTER “build 1 1” // builds a tp exit
bind KP_LEFTARROW “destroy 2 0” // Destroy Sentry
bind KP_5 “destroy 0 0” // Destroy dispenser
bind KP_RIGHTARROW “destroy 1 0” // Destroy tp entrance
bind KP_PLUS “destroy 1 1” // Destroy tp exit
=========================
As it is, I have no idea, but it won't do anything and I'd like some help on disabling the construction and destruction pda's when i scroll through my weapons. Thanks!
1
u/ZeEngiSenpai Aug 15 '15 edited Aug 15 '15
Ahhh thanks! Yes I'm on a Mac OS system. I normally use my 1 2 3 keys for switching weapons because my scroll wheel is a little finicky. I've tried binding 1 2 & 3 to these:
bind 1 “slot1;r_drawviewmodel 0”
bind 2 “slot2;r_drawviewmodel 1”
bind 3 “slot3;r_drawviewmodel 1”
I wanted no view models for primary but view models for secondary and melee because I play sniper the most and I hate the reload animation how it blocks the crosshair so my only solution is to turn off view models. but I like them for timing the "Piss" and melee swings Was wondering why they were not working but you explained in your post why
Thanks genemilder for your help!
P.S. I replaced the smart quotes with " and everything works! I just need the construction and destruction PDA's eliminated
1
u/genemilder Scripter Aug 15 '15
It doesn't work because TF2 doesn't recognize smart quotes. You need to have the standard
"quotes. I'm guessing you have a Mac.I'm happy to help with disabling the PDAs, but I need you to tell me which keys you use to switch weapons, exactly what those keys do, and whether you have any other scripts on those keys.