Every (other) Tuesday, Mike Sylvester brings you REVOLUTIONARY, a look at the wide world of Wii possibilities.
So you've tuned in to Revolutionary expecting to see the dramatic conclusion of the Controller Showdown. Well, as I was evaluating games to use in the matchup, I found myself revisiting old scripts I'd put aside, and building new scripts for games which wouldn't be fit to judge the motion sensing capabilities of the Wii Remote and SIXAXIS. I realized that because of the recently updated build of GlovePIE, my passion for scripting has been re-ignited!
You see, the latest version of GlovePIE supports the SIXAXIS, Xbox 360 control pad, and standard PC control pads, on top the already robust support for Wii Remotes and attachments. There's also a new function which allows you to easily write scripts for any and all of these controllers universally. So, before we commence with Round 2, let's take a look at the GlovePIE update that will figure heavily in the big battle.
Reading through the preliminary documentation that comes with GlovePIE, I was reminded of some old features I'd forgotten about, and discovered some nifty new ones, too. With the Any device, multiple controllers can be scripted for without writing their names specifically. It's a catch-all that doesn't quite cover everything at this point (accelerometer control is in the works), but it does make for simpler scripts.
Street Fighter 3: Third Strike
Back in '99, I plunked a mint's worth of quarters into this arcade stand-up between classes, and almost ended up late to class on more than a few occasions. I honed what meager Third-Striking skills I have in the arcades and on a 3rd party Dreamcast pad with six face buttons, so I don't find either the Classic Controller or the SIXAXIS to be particularly well-suited to playing Street Fighter games. But like Alien Hominid, any use of a controller could be considered an improvement over the default keyboard layout, and as a Third Strike junkie (in recovery), GlovePIE helps take the edge off when my Dreamcast is out of reach.
A lightning-quick fighting game needs fast reactions, and both the USB-wired SIXAXIS and the Bluetooth-paired Classic Controller are up to the job with no noticeable lag. I'm not doing many of my favored combos because the shoulder buttons don't get much consideration in the heat of a fight. However, I was surprised that I could pull off Akuma's super fireball in the air, which requires inputting a jump, two fireball motions, and a button press in less than half a second.
With GlovePIE, I can also write macros to mimic a sequence of button presses with just one. In other words, "Instant fireballs, just add punch!"
Up = Any.Up
Down = Any.Down
Left = Any.Left
Right = Any.Right
A = Any.Square
S = Any.Triangle
D = Any.R1
Z = Any.Cross
X = Any.Circle
C = Any.L1
Key.1 = Any.Start
Key.5 = Any.Select
Shift + P + I + E = Any.Home //Quit running script
/*Left-facing fireball motion mapped to Sixaxis.L2 or Classic.L*/
Down = True
Left = True
Down = False
Left = False
/*Right-facing fireball motion mapped to Sixaxis.R2 or Classic.R*/
And in the spirit of good will, I thought I'd have the Wiimote and SIXAXIS LEDs blink in unison. This only works when the Classic Controller is plugged in, because I needed to contain this code in an If loop with an "always true" condition so it wouldn't affect the timing of the controls.
Sixaxis.LEDs = 1
Wiimote.LEDs = 8
Sixaxis.LEDs = 8
Wiimote.LEDs = 1
I've fallen victim to Portal-mania. Like so many others, I didn't know what to think of the game before its release. The artistically sterile environments, the seeming lack of enemies, and the anti-weapon which is your primary tool for interaction and defense just doesn't do much to stir up anticipation. After the game received numerous awards and acclaim from reviewers and gamers alike, the hype machine kicked into gear and I bought into that hype. To the uninitiated, Companion Cube plushes seem like a bit too much falderal, but for Portal-jumpers, the "character" quickly becomes as endearing as Yoshi.
Portal is more of a puzzle/platform game than a traditional first person shooter, and as such, it plays perfectly well on consoles with traditional controllers, and by extension, the Wii Classic Controller. I had always wanted to make a FPS script for the Classic Controller, but got a little tripped up on the code for emulating the mouse pointer. I put the script on the back burner for a while until I found the snippet I needed (thanks SuperTrunksZ!), and it was just in time for me to try the Portal: First Slice demo with my SIXAXIS and Classic Controller. Bear in mind, this is a puzzle game, and the enjoyment is all in figuring it out on your own. If you haven't played Portal before, this video may contain spoilers. Also note, just prior to shooting this video, I accidentally broke the bit of code that gives the left stick pseudo-analog control, and I had to resort to using the D-pads on the respective controllers. Rest assured, the left stick works in the final version of the script.