pauk
Joined: 15 Dec 2007 Posts: 1
Digg It |
Posted: Sat Dec 15, 2007 10:59 pm Post subject: got my wii mode connected... and now |
|
|
ok so my wii mode is finally connected but now my question is how do i play games with it, because i got a script for FoF so that i can use my guitar hero guitar but how can i play with my wiimote because when i press a button that's in my script it aint working
here's the script
| Code: | // Guitar Hero 3 controller script
// By Honkey Kong
// Note: This commented-out block is what I used to test each button
// while I figured out how the guitar worked.
/* if wiimote.Classic.a then
Key.F = true
wait 250 ms
Key.F = false
endif
if wiimote.Classic.b then
Key.G = true
wait 250 ms
Key.G = false
endif
if wiimote.Classic.x then
Key.H = true
wait 250 ms
Key.H = false
endif
if wiimote.Classic.y then
Key.J = true
wait 250 ms
Key.J = false
endif
if wiimote.Classic.ZL then
Key.K = true
wait 250 ms
Key.K = false
endif
if Wiimote.Classic.Up then
Key.L = true
wait 250ms
Key.L = false
endif
if Wiimote.Classic.Down then
Key.A = true
wait 250ms
Key.A = false
endif
*/
F1 = Wiimote.Classic.a
F2 = Wiimote.Classic.b
F3 = Wiimote.Classic.x
F4 = Wiimote.Classic.y
F5 = Wiimote.Classic.ZL
RightShift = Wiimote.Classic.Up
Enter = Wiimote.Classic.Down
Wiimote.LED1 = 1
Escape = Wiimote.Classic.Plus
Down = -1 < Wiimote.Classic.Joy1Y < -0.25
Up = 1 > Wiimote.Classic.Joy1Y > 0.25
/* Really simple stuff, huh? I guess they just modeled their guitar
after the classic controller to make it easier to navigate the
Wii menu with, since the guitar blocks the pointer, and the
classic controller can control the menu with the analog stick.
Anyway, enjoy the script, and feel free to modify it if needed. */
|
|
|