Cyclops
Joined: 28 Jan 2007 Posts: 1
Digg It |
Posted: Sun Jan 28, 2007 9:04 pm Post subject: PES6 script |
|
|
Et voilĂ ! Nothing more simple... Now you can use Wiimote+Nunchuk combination for playing Pro Evolution Soccer 6.
| Code: | // Pro Evolution Soccer 6 GlovePie Script by Cyclops
// Thx to Lotti for the idea and the original script (Virtua Tennis)
// Change the key.X (where X is a generic key) to set your own keys (as
the PES6 settings file)
// X/Y offsets for Analog. If it's too sensitive then make the numbers
larger.
var.xOff = .07
var.yOff = .07
//Switch off the leds
Wiimote.leds = 0
//
// Game buttons.
//
key.Space = Wiimote.Home
key.x = Wiimote.Plus
key.a = Wiimote.B
key.q = Wiimote.Nunchuk.ZButton
key.e = Wiimote.Nunchuk.CButton
key.w = Wiimote.Minus
key.d = Wiimote.A
key.Space = Wiimote.Two
//
// Analog Movements
//
if Wiimote.Nunchuk.JoyX < -var.xOff then
key.Left = true
else key.Left = false
endif
if Wiimote.Nunchuk.JoyX > var.xOff then
key.Right = true
else key.Right = false
endif
if Wiimote.Nunchuk.JoyY < -var.yOff then
key.Up = true
else key.Up = false
endif
if Wiimote.Nunchuk.JoyY > var.yOff then
key.Down = true
else key.Down = false
endif |
|
|