• Using a Nintendo Wii Classic Controller for TF2 via GlovePIE!
    30 replies, posted
[release][B][highlight]Using a Nintendo Wii Classic Controller for TF2 via GlovePIE![/highlight][/B][/release] [I]This is my first tutorial for anything of this sort, and because I found little documentation elsewhere for this topic, I thought I’d start my own. I know little of GlovePIE outside of simple key binds and math within Windows XP, but I’ll try to answer any questions that are asked! As well, this post is not to advocate the use of gamepads over mouse/keyboard, but only to provide alternatives for the savvy gamer![/I] Hello! This tutorial is going to (hopefully) explain how to play a competent game of Team Fortress 2 using a Bluetooth Adapter, GlovePIE, some simple scripting, and a couple of game-option tweaks! This is a relatively easy procedure that should be completed within 30 minutes with the right materials and provided know-how. Obviously the first thing you will need is a Wii Remote, Classic Controller (preferably the PRO version), and a Bluetooth enabled computer. [B]Step 1: Pairing the Wii Remote up to your computer by Bluetooth[/B] Open your installed Bluetooth software (be it using the Toshiba or WIDCOMM Bluetooth stack). Use your “Add a new Bluetooth Device” option (or some similar option). When your software says it is searching for new devices, press the red “Sync” button in the back of the Wii Remote, or simultaneously press the 1 and 2 buttons together. This allows your remote to be discoverable to your software. After adding your Wii Remote, you may be asked to enter a validation/pairing PIN for the remote and the software. Skip this step if possible. However, if you are using a WIDCOMM Bluetooth stack and find yourself unable to skip this part, try pressing [del]“Control”[/del] "Alt" and “S” (or sometimes “H”) on your keyboard together simultaneously. You should now be able to have your Wii Remote paired to your computer. [B]Step 2: Downloading GlovePIE and running the supplied script[/B] [I]Quick note: This script assumes you are running the default control scheme for TF2[/I] GlovePIE is a great program used to emulate a variety of inputs into program-recognizable outputs (this script was used by version 0.43). The program can be downloaded here ([url]http://glovepie.org/poiuytrewq.php[/url]). After extracting the program files, open GlovePIE and paste in the following script: [CODE]//Right Stick Wii Classic Controller (Aiming input) if classic1.rightstickx > .1 Mouse.x = mouse.x + classic1.rightstickx/40 end if if classic1.rightstickx < -.1 Mouse.x = mouse.x + classic1.rightstickx/40 end if if classic1.rightsticky > .1 mouse.y = mouse.y + classic1.rightsticky/40 end if if classic1.rightsticky < -.1 mouse.y = mouse.y + classic1.rightsticky/40 end if //Button Mappings Wii Classic Controller Mouse.RightButton = Classic1.ZR Mouse.LeftButton = Classic1.ZL Mouse.WheelDown = Classic1.X Mouse.WheelUp = Classic1.A Key.One = Pressed(Classic1.LeftStickY <= -0.5) Key.Two = Pressed(Classic1.LeftStickX >= 0.5) Key.Three = Pressed(Classic1.LeftStickY >= 0.5) Key.Four = Pressed(Classic1.LeftStickX <= -0.5) Key.A = Classic1.Left Key.D = Classic1.Right Key.S = Classic1.Down Key.W = Classic1.Up Key.G = DoubleClicked(Classic1.R and Classic1.Y) Key.V = Classic1.L Key.B = Pressed(Classic1.R and Classic1.B) Key.E = Classic1.Home Key.R = Classic1.Y Key.Tab = Classic1.Minus Key.Escape = DoubleClicked(Classic1.Minus) Key.Comma = Classic1.Plus Key.Dot = Pressed(Classic1.Plus + Classic1.Minus) Key.LeftControl = Classic1.R Key.Space = Classic1.B[/CODE] Save this script as whatever you wish, or simply “Team Fortress 2 Classic Controller.” By pressing “Run” within GlovePIE, this script will use the Classic Controller as an input, and emulate it as a keyboard and mouse output for TF2. The diagram below shows stick, Dpad, and button outputs and inputs using the above script: [IMG]http://i.imgur.com/SABcI.jpg[/IMG] [I]Please feel free to adjust your script to suit your preferred playing style and button-combos. This setup was made with quick Rocket-Jumping and UI-integration in mind, with an in-game mouse sensitivity of “3.00”.[/I] [B]Step 3: Configuring TF2 game options for optimal controller usage[/B] To properly use this control scheme for Team Fortress 2 as it is written above, revert your keyboard bindings to default under “Options” > “Keyboard” > “Use Defaults” within your in-game menu. Now go to “Options” > “Multiplayer” > “Advanced…” and check the “SPY: Enable Concise Disguise Menu” checkbox. This will allow you to change disguises using only the left control stick on the Classic Controller. [B]Step 4: Play a match of TF2 using offline bots[/B] A bit of a joke, but in all seriousness, it would be wise to cut your teeth on some offline practice before you try to wrestle with a gamepad online. [B]And that is it![/B] Hopefully this tutorial has helped you with playing Team Fortress 2 using a Bluetooth Adapter, GlovePIE, and a Classic Controller! Again, if there are any questions or issues with setup, please shoot them off below for additional discussion. Thanks for reading! [editline] Now go give it a shot! [/editline][IMG]http://i.imgur.com/0gOmd.png[/IMG] [release][highlight][B]TL;DR 1. Pair Wiimote with Classic Controller to computer using Bluetooth software (press [del]Ctrl[/del] Alt + S/H when prompted with pairing screen) 2. Download GlovePIE and run the above script 3. Reset keyboard defaults and enable “Concise Disguise Menu” 4. Play TF2 with Classic Controller [/B][/highlight][/release]
save $120 on a Hydra!
I don't really think anyone on the board is going to attempt the use of a gamepad over keyboard and mouse. And if they even did, it seems like it would be much simpler to use a 360 contoller.
Well, I'm sure this is useful to someone somewhere. V:v:V Good job.
I'd love to see a video of someone playing it with it.
Hah! very nice, I was looking for something like this yesterday
I used to enjoy messing around with GlovePIE to see what I could do in games with a Wiimote, though I only had the remote and Nunchuck, so controlling things was a bit limited :v: And without a sensor bar I had to rely on tilt aiming. Yeah, don't rely on tilt aiming, ever.
tf2 on wii please
goodbye sniper class
[QUOTE=Priori;32650446]I don't really think anyone on the board is going to attempt the use of a gamepad over keyboard and mouse. And if they even did, it seems like it would be much simpler to use a 360 contoller.[/QUOTE] I was thinking the same thing as you while I wrote this up, actually. Personally I prefer keyboard and mouse for its versatility and accuracy, even if that means it can be a little un-comfy. However, after playing a couple of other steam games with the CCP, I wanted to experience TF2 on a gamepad, sans "exec 360controller" (I lack a 360 controller, and you are probably right about it being simplier :v:). [editline][/editline] [QUOTE=CakeMaster7;32655522]I'd love to see a video of someone playing it with it.[/QUOTE] You got it.
oh my fucking god i have the outdated controller so i wouldn't even be able to shoot if i used this damn butts
Does this make demoknighting easier?
If I had a way to connect bluetooth devices to my computer, I'd do this. Does it work with the Classic Controller Pro?
[QUOTE=biodude94566;32658155]If I had a way to connect bluetooth devices to my computer, I'd do this. Does it work with the Classic Controller Pro?[/QUOTE] It certainly does. To my knowledge the Wii Remote doesn't distinguish between the Pro and the older version, meaning this script is good for all Classic Controllers. If you are looking for Bluetooth adapters, I'd suggest a [url=http://www.kensington.com/kensington/us/us/p/1422/K33902US/bluetooth%C2%AE-usb-micro-adapter.aspx]Kensington USB Micro Adapter[/url]. It uses a Toshiba Bluetooth Stack, and the MSRP is relatively cheap to-boot. But there are plenty of other cheaper adapters as well. Also, that video demonstration previously mentioned will be posted later tonight (9-ish hours from now).
[QUOTE=LaughingStock;32657445]Does this make demoknighting easier?[/QUOTE] I was not aware Demoknighting could [b]be[/b] any easier.
[QUOTE=Suttles;32656827]tf2 on wiiU please[/QUOTE] fixed it would be nice to play TF2 with a Wii motion+, but since it's only for the classic controller I'll pass. I can't aim with controllers :C
Why go to the trouble of getting a bluetooth adapter when you can just plug a ps3 controller in or buy a gamepad for cheaper?
[QUOTE=Izumo199;32662665]Why go to the trouble of getting a bluetooth adapter when you can just plug a ps3 controller in or buy a gamepad for cheaper?[/QUOTE] Checkmate. I've had access to a DualShock3 controller for nearly a year, and not once did this thought cross my mind. Definitely could have saved me more than a few bones. I'm not going to advocate using [I]plainly inferior or expensive[/I] input methods for PC gaming when a mouse and keyboard work just fine. Instead, I maintain that there is use in having this control scheme explained and documented, if only to provide properly equipped individuals with the choice of using a Classic Controller for gaming.
[QUOTE=Slambot6;32662855]Checkmate. I've had access to a DualShock3 controller for nearly a year, and not once did this thought cross my mind. Definitely could have saved me more than a few bones. I'm not going to advocate using [I]plainly inferior or expensive[/I] input methods for PC gaming when a mouse and keyboard work just fine. Instead, I maintain that there is use in having this control scheme explained and documented, if only to provide properly equipped individuals with the choice of using a Classic Controller for gaming.[/QUOTE] I guess your right, Its good to have the choice but I too would never pick a controller over a mouse and keyboard. Not for TF2 anyway.
Well said and well met. Thank you very much for understanding. [B]A couple of notes here back on the subject[/B]: -The original Classic Controller used 2 analog triggers and 2 digital triggers, compared to the Pro version's 4 digital triggers. I'm not completely certain if the script can accommodate both controllers, but it probably does. -I have no experience with making TF2 videos from demos, so the demonstration I mentioned earlier is going to be postponed until further notice. I will add a video sooner or later, I'll guarantee that :downs:. In the meantime, accept this small picture I made to make up for this loss (added to the OP).
Done it before, so bad.
Reminds me of that HL2 mod using the wiimote.
[media]http://www.youtube.com/watch?v=yj4-fvgkxiE[/media]
[QUOTE=XplodingNoggin;32664619][media]http://www.youtube.com/watch?v=yj4-fvgkxiE[/media][/QUOTE]That's wildly inaccurate. I don't see motion control prompts popping up every few seconds.
[QUOTE=Priori;32650446]I don't really think anyone on the board is going to attempt the use of a gamepad over keyboard and mouse. And if they even did, it seems like it would be much simpler to use a 360 contoller.[/QUOTE] Classic controller > 360 controller
[QUOTE=Y'all.;32665345]Classic controller > 360 controller[/QUOTE] Hipster.
[QUOTE=XplodingNoggin;32664619][media]http://www.youtube.com/watch?v=yj4-fvgkxiE[/media][/QUOTE] Looks more PS1 than Wii
I made a script to play FPSes with my wiimote + nunchuck. I lost a lot.
I've wondered what TF2 on the Wii would be like and I came to the conclusion that it would be extremely melee-centric. TF2 already has a large melee focus compared to other FPS games so maybe the Demoknight would actually be useful in this version.
[QUOTE=Colour;32666209]Hipster.[/QUOTE] I prefer it. I don't like the placement of the analog sticks on the 360 controller.
Sorry, you need to Log In to post a reply to this thread.