Great glovepie script

duks3

Pwnage master
Jan 12, 2008
6
0
England
If you know how to use glovepie, here is a script that works perfectly with the emulator version of mario kart 64. Is is not like a steering wheel, you use the wii remote and nunchuck in a very similar way as you would on the n64. Anyway set your emulator controls to the ones mentioned in the scipt and start playing.

Here is the script:



//SCRIPT
//Set controls on emulator to:
//A:A
//B:B
//L:L
//R:R
//S:S
//Z:Z
//left:left
//right:right
//Up:up
//down:down
//C up:home
//c down:end
//C left:delete
//c right:page down

//Debug
debug = "X="+Wiimote.RelAccX+' Y='+Wiimote.RelAccY+' Z='+Wiimote.RelAccZ


//Nunchuk Movement
if 2 > Wiimote1.Nunchuk.JoyX > 0.5 then
Right = true
wait 60 ms
Right = false
endif
if -2 < Wiimote1.Nunchuk.JoyX < -0.5 then
left = true
wait 60 ms
left = false
endif
if 2 > Wiimote1.Nunchuk.JoyY > 0.5 then
down = true
wait 60 ms
down = false
endif
if -2 < Wiimote1.Nunchuk.JoyY < -0.5 then
up = true
wait 60 ms
up = false
endif






//Controller Mapping
Key.A = Wiimote1.A
Key.Z = Wiimote1.Nunchuk.ZButton
Key.R = Wiimote1.Nunchuk.CButton
Key.End = Wiimote1.Down
Key.Delete = Wiimote1.Left
Key.PageDown = Wiimote1.Right
Key.Home = Wiimote1.Up
Key.S = Wiimote1.Plus
Key.B = Wiimote1.B
Key.L = Wiimote1.1
//reversing
if (wiimote1.b)
Key.b = 1
Wiimote.Rumble = 0
wait 500 ms
Down = True

end if


//END
//----------------------------------------------------------------------------//
 
Last edited:
Back
Top