 |
WiiLi.org a new revolution
|
| View previous topic :: View next topic |
| Author |
Message |
chaemelion
Joined: 10 Jul 2008 Posts: 6
Digg It |
Posted: Tue Jul 15, 2008 5:56 am Post subject: Simple script for playing WOW with wiimote |
|
|
Movement:
Move: Nunchuck Joystick
Jump: Flick Nunchuck Up
View:
Rotate View: Wiimote A or B and Rotate Wiimote
Zoom: Wiimote +/-
Curser:
Up/Down: Tilt Wiimote Up/Down
Left/Right: Rotate Wiimote Left/Right
Left Click: Wiimote A
Right Click: Wiimote B
Actions:
Select Enemy Target: Nunchuck Z
Select Attack (Position 1-4): Wiimote Up/Down/Left/Right
Perform Attack: Nunchuck C
Notes:
*I had to remap one or two buttons in WOW itself, but I forgot which ones
*displays battery level in debug window
*wiimote leds display currently selected attack
* does not require sensor bar
*wiimote 1 and 2 are unmapped, use however you want
*I recomend you dont modify mouse controls except for trim unless you understand it
| Code: |
//WOW Wiimote Script by Chaemelion, Wiimote curser part by vkapadia
//Please have some respect and leave this here, don't claim you wrote it
keyboard.RepeatFakeKeys = false
var.trimx = -3.9
var.trimy = -18.5
var.trimz = -3
key.D = wiimote.Nunchuk.JoyX > 0.5
key.A = wiimote.Nunchuk.JoyX < -0.5
key.S = wiimote.Nunchuk.JoyY > 0.5
key.W = wiimote.Nunchuk.JoyY < -0.5
if wiimote.Up
var.attack = 4
endif
if wiimote.Down
var.attack = 2
endif
if wiimote.Left
var.attack = 3
endif
if wiimote.Right
var.attack = 1
endif
Key.Space = Wiimote.Nunchuk.RawForceY > 100
Key.Tab = Wiimote.Nunchuk.ZButton
if wiimote.Nunchuk.CButton = true
if var.attack = 1
Key.One = true
Key.One = false
endif
if var.attack = 2
Key.Two = true
Key.Two = false
endif
if var.attack = 3
Key.Three = true
Key.Three = false
endif
if var.attack = 4
Key.Four = true
Key.Four = false
endif
endif
//Mouse Buttons
Mouse.RightButton = Wiimote.B
Mouse.LeftButton = Wiimote.A
Shift + M = wiimote.Home
Mouse.WheelUp = wiimote.Plus
Mouse.WheelDown = wiimote.Minus
if var.attack = 1 then
wiimote.Led1 = true
else
wiimote.Led1 = false
endif
if var.attack = 2 then
wiimote.Led2 = true
else
wiimote.Led2 = false
endif
if var.attack = 3 then
wiimote.Led3 = true
else
wiimote.Led3 = false
endif
if var.attack = 4 then
wiimote.Led4 = true
else
wiimote.Led4 = false
endif
if mouse.x = 0 or mouse.x = 1 or mouse.y = 0 or mouse.y = 1 then
if var.rmbl = false
wiimote.Rumble = 1
wait 200 ms
wiimote.Rumble = 0
endif
var.rmbl = true
else
var.rmbl = false
endif
var.x = Wiimote.RawForceX + var.trimx //trim to 0
var.y = Wiimote.RawForceY + var.trimy // trim to 0
var.z = Wiimote.RawForceZ + var.trimz //trim to 0
var.sense0 = 500
var.thresh0x = 5
var.thresh0y = 2
var.sense = 300
var.threshx = 10
var.threshy = 5
var.sense2 = 100
var.thresh2x = 15
var.thresh2y = 8
var.sense3 = 50
var.thresh3x = 20
var.thresh3y = 12
if var.x > var.thresh0x
mouse.x = mouse.x - 1/var.sense0
endif
if var.x < -var.thresh0x
mouse.x = mouse.x + 1/var.sense0
endif
if var.z > var.thresh0y
mouse.y = mouse.y - 1/var.sense0
endif
if var.z < -var.thresh0y
mouse.y = mouse.y + 1/var.sense0
endif
if var.x > var.threshx
mouse.x = mouse.x - 1/var.sense
endif
if var.x < -var.threshx
mouse.x = mouse.x + 1/var.sense
endif
if var.z > var.threshy
mouse.y = mouse.y - 1/var.sense
endif
if var.z < -var.threshy
mouse.y = mouse.y + 1/var.sense
endif
if var.x > var.thresh2x
mouse.x = mouse.x - 1/var.sense2
endif
if var.x < -var.thresh2x
mouse.x = mouse.x + 1/var.sense2
endif
if var.z > var.thresh2y
mouse.y = mouse.y - 1/var.sense2
endif
if var.z < -var.thresh2y
mouse.y = mouse.y + 1/var.sense2
endif
if var.x > var.thresh3x
mouse.x = mouse.x - 1/var.sense3
endif
if var.x < -var.thresh3x
mouse.x = mouse.x + 1/var.sense3
endif
if var.z > var.thresh3y
mouse.y = mouse.y - 1/var.sense3
endif
if var.z < -var.thresh3y
mouse.y = mouse.y + 1/var.sense3
endif
var.Batt = wiimote.Battery / 48
debug = var.x + " " + var.y + " " + var.z + "Battery:" + 100*48*var.Batt/192 + "%"
|
|
|
| Back to top |
|
 |
luisfhb
Joined: 24 Jul 2008 Posts: 1
Digg It |
Posted: Thu Jul 24, 2008 11:44 am Post subject: WiiGuitar w/ Guitar Hero III |
|
|
A script I made for myself and it looked good so I decided to share. Enjoy!
Why would someone want to play in the computer if he can play w/o lag?
Well... I heard about custom songs...
| Code: |
// Guitar Hero III w/ WiiGuitar
/*
-Use "Default Keyboard/Mouse" config in the game, I said "DEFAULT KEYBOARD/MOUSE"
or you won't be able to use the whammy bar
-As the whammy bar usage could cause problems in windows mouse navigation, it can be turned
ON and OFF with the HOME BUTTON.
notes: -created using brazilian keyboard(ABNT) any problems try to solve(EASY), sorry...
-created using my WiiGuitar Whammy bar calibration, the game may recognize
the motion of the your whammy bar even when is not beeing used, try to calibrate(EXPERT) by
changing the values down there...
-This Whammy bar method is the best i could do, if you know any other method,
let me know.
-The leds on the Wiimote indicates if the Whammy Bar is ON/OFF.
Lights randomly chosen.
Have fun!
by luisfhb
*/
Key.v = Wiimote1.Guitar.Fret1
Key.c = Wiimote1.Guitar.Fret2
Key.x = Wiimote1.Guitar.Fret3
Key.z = Wiimote1.Guitar.Fret4
Key.LeftShift = Wiimote1.Guitar.Fret5
mouse.MiddleButton = Wiimote1.Guitar.Minus
Key.BackSpace = Wiimote1.Guitar.Plus
mouse.RightButton = Wiimote1.Guitar.StrumUp
mouse.LeftButton = Wiimote1.Guitar.StrumDown
//whammy
if wiimote1.Home = 1 and var.whammy = 0 and var.home = 0
var.whammy = 1
var.home = 1
wiimote1.Leds = random(15)+1
endif
if wiimote1.Home = 0 and var.home = 1
var.home = 0
endif
if wiimote1.Home = 1 and var.whammy = 1 and var.home = 0
var.whammy = 0
var.home = 1
wiimote1.Leds = 0
endif
if var.whammy = 1
mouse.DirectInputX = mouse.DirectInputX+ (160*wiimote1.Guitar.WhammyBar-88)/0.32 //if you're wanting to calibrate the whammy bar here you should be changing. "88" is 160*(Whammy bar fully extended) and "0.32" is (Whammy bar fully pressed)-(Whammy bar fully extended)
endif
//starpower
if (Wiimote1.smoothPitch > 40) and var.apertou = 0
mouse.MiddleButton = 1
var.apertou = 1
wait 100ms
mouse.MiddleButton = 0
endif
if wiimote1.smoothpitch < 40
var.apertou = 0
endif
debug = "Whammy bar value: " + wiimote1.Guitar.WhammyBar + " | Use this value to calibrate the Whammy bar. Instructions down in the script"
|
|
|
| Back to top |
|
 |
Toscman
Joined: 26 Jul 2008 Posts: 1
Digg It |
Posted: Sat Jul 26, 2008 1:14 pm Post subject: Wiiremote + Nunchuk + Balance |
|
|
Hi,
i have testet many scripts from here and then i have take one thing of these script, and a little bit from this,...
So, and then i have modified some things with the balanceboard. I use it for Games like 4story or something else, where you con go with WASD.
Take the Code and start it. Go on the Balance and find your center ,-). Then press the right-control to config the board.
now you can go with your board. the constants have to change manuel, but i think, i make an check an get them by the way. but this is future.
Stop talking, see the Script.
Have Fun and modified it. Make it better for all...
The Wii Balance Board is wiimote2 !!! Perhaps you have to change it...
Toscman
PS.:
| Code: |
/* WiiMote */
var.xOffset = 0
var.yOffset = 0
var.zOffset = 0
// Mausspeed - erhöhen--> schneller
var.speed = 1
// change these to a higher number if your hands are not steady or lower if they are
var.xCutoff = 4
var.zCutoff = 4
var.xRot = Wiimote1.RawForceX + var.xOffset
var.yRot = Wiimote1.RawForceY + var.yOffset
var.zRot = Wiimote1.RawForceZ + var.zOffset
// Mousebewegung
If var.xRot > var.xCutoff Then Mouse.x = Mouse.x - 0.001 * var.speed * (var.xRot - var.xCutoff)
If var.xRot < -var.xCutoff Then Mouse.x = Mouse.x - 0.001 * var.speed * (var.xRot + var.xCutoff)
If var.zRot > var.zCutoff Then Mouse.y = Mouse.y - 0.001 * var.speed * (var.zRot - var.zCutoff)
If var.zRot < -var.zCutoff Then Mouse.y = Mouse.y - 0.001 * var.speed * (var.zRot + var.zCutoff)
//Keyboard.Numpad8 = Wiimote1.up
//Keyboard.Numpad2 = Wiimote1.down
Keyboard.Delete = Wiimote1.left
Keyboard.End = Wiimote1.right
Keyboard.X = Wiimote1.one
Keyboard.0 = Wiimote1.two
Keyboard.1 = Wiimote1.B
Keyboard.Tab = Wiimote1.A
Keyboard.Y = Wiimote1.Plus
Keyboard.2 = Wiimote1.Minus
Keyboard.3 = Wiimote1.Home
//Schnelle auf und runter-Bewegung
If var.yRot >= 100 Then space = True Else space = False
/* Nunchuck */
If Wiimote1.HasNunChuck Then
Keyboard.Numpad6 = (-1.0 < wiimote1.Nunchuk.JoyX < -0.5)
Keyboard.Numpad4 = (0.5 < wiimote1.Nunchuk.JoyX < 1.0)
Keyboard.Numpad8 = (-1.0 < wiimote1.Nunchuk.JoyY < -0.5)
Keyboard.Numpad2 = (0.5 < wiimote1.Nunchuk.JoyY < 1.0 )
Mouse.LeftButton = Wiimote1.Nunchuk.ZButton
Mouse.RightButton = Wiimote1.Nunchuk.CButton
Endif
Wiimote1.Led1 = 1
// My Wiimote.BalanceBoard is on Wiimote2. Perhaps, you have to change it
//I have modified a script from Author: Enixharme
// Change the numbers on the next four lines to increase or decrease the sensitivity of that direction.
var.forward = 1.5
var.back = 1.75
var.left = 1.5
var.right = 1
/* Change the numbers on the next four lines to manage the limits for keyaction. You can test these limits
with the debug-Mode. Only calibrate to zero with RightControl and then test the limits for example forward.
*/
var.wk = 2
var.sk = -1
var.ak = 1
var.dk = -1.5
Wiimote2.BalanceBoard.Led = True
If (Wiimote1.One = True && Wiimote1.Two = True)
var.Winit = Wiimote2.BalanceBoard.Weight
var.FLinit = (Wiimote2.BalanceBoard.RawFrontLeft)
var.BLinit = (Wiimote2.BalanceBoard.RawFrontRight)
var.FRinit = (Wiimote2.BalanceBoard.RawBackleft)
var.BRinit = (Wiimote2.BalanceBoard.RawBackRight)
//Else
//Keyboard.RightControl = False
End If
var.W = (Wiimote2.BalanceBoard.Weight - var.Winit)
var.FL = ((Wiimote2.BalanceBoard.RawFrontLeft - var.FLinit) / 1000)
var.BL = ((Wiimote2.BalanceBoard.RawFrontRight - var.BLinit) / 1000)
var.FR = ((Wiimote2.BalanceBoard.RawBackleft - var.FRinit) / 1000)
var.BR = ((Wiimote2.BalanceBoard.RawBackRight - var.BRinit) / 1000)
// Forward
If (var.FL + var.FR) > (var.BL + var.BR)
var.Yinit = ((((var.FL + var.FR) / 2) * -1) *var.Forward)
Endif
// Back
If (var.BL + var.BR) > (var.FL + var.FR)
var.Yinit = (((var.BL + var.BR) / 2) *var.Back)
Endif
// Left
If (var.FL + var.BL) > (var.FR + var.BR)
var.Xinit = ((((Var.FL + var.BL) / 2) * -1) *var.left)
Endif
// Right
If (var.FR + var.BR) > (var.FL + var.BL)
var.Xinit = (((var.FR + var.BR) /2) *var.right)
Endif
If (var.Yinit > var.wk && var.Xinit > (var.dk/2) && var.Xinit < (var.ak/2))
Keyboard.W = True
Keyboard.A = False
Keyboard.S = False
Keyboard.D = False
Else If (var.Yinit < var.sk && var.Xinit > (var.dk/2) && var.Xinit < (var.ak/2))
Keyboard.S = True
Keyboard.A = False
Keyboard.W = False
Keyboard.D = False
Else If (var.Xinit > var.ak && var.Yinit > (var.sk/2) && var.Yinit < (var.wk/2))
Keyboard.A = True
Keyboard.W = False
Keyboard.S = False
Keyboard.D = False
Else If (var.Xinit < var.dk && var.Yinit > (var.sk/2) && var.Yinit < (var.wk/2))
Keyboard.D = True
Keyboard.A = False
Keyboard.S = False
Keyboard.W = False
Else If (var.Yinit > var.wk && var.Xinit > var.ak)
Keyboard.W = True
Keyboard.A = True
Keyboard.S = False
Keyboard.D = False
Else If (var.Yinit > var.wk && var.Xinit < var.dk)
Keyboard.W = True
Keyboard.D = True
Keyboard.S = False
Keyboard.A = False
Else If (var.Yinit < var.sk && var.Xinit > var.ak)
Keyboard.S = True
Keyboard.A = True
Keyboard.W = False
Keyboard.D = False
Else If (var.Yinit < var.sk && var.Xinit < var.dk)
Keyboard.S = True
Keyboard.D = True
Keyboard.W = False
Keyboard.A = False
Else
Keyboard.W = False
Keyboard.A = False
Keyboard.S = False
Keyboard.D = False
Endif
debug = "X: "+ var.Xinit +" Y: "+ var.Yinit +" -> NunJoy: "+wiimote1.Nunchuk.JoyY
|
|
|
| Back to top |
|
 |
kiddo7
Joined: 05 Feb 2007 Posts: 42
Digg It |
Posted: Sat Jul 26, 2008 9:46 pm Post subject: |
|
|
I made my first script
it is For AirRivals and was inspired my Maxadam5's script on page 49. it has no IR capabilities though.
Let me know what you think.
| Code: | /*
Air rivals script
Inspired by Maxadam5
Rewritten by kiddo7
Script to controll the MMORPG "AirRivals" with a wiimote and nunchuck.
Instructions:
Fly using the analog stick as your mouse replacement and keep in mind that
I inverted the y axis, and bank by tilting the nunchuk. You can easily preform
barrelrolls with the d-pad left and right.
Slow down by pulling back on the wiimote untill it is pointing straight up,
airstop by doing the same with the nunchuck.
Land with d-pad down and boost with nunchuck Z.
Fire primary with the b trigger, advanced with the A button and switch targets
by fliping the wiimote on it's side or shaking it a little.
I also assigned rear view to d-pad up, the mouse wheel to the plus and minus
buttons enter to nunchuk c and escape to home.
I decided to leave the 1 & 2 buttons without assignment because they are hard
to reach. You might be a little confused by this explanation but try it in game
and most of it should become clear.
Also if you get stuck, I tried to leave enough comment in my code so that you
can at least search for key words and find the snippet of code tha pretains to
it. One last thing, I have left the original script that I started out from in
a comment at the end. I do not have a sensor bar so my script has no IR
functionality, but the original apparently does. You can try it out by
uncommenting Maxadam5's script and putting mine into comments. Or you can try
to splice the IR parts to my script and toggle between the two modes using the
1 and 2 buttons.
*/
/*
Mouse controls:
I used the "+=" operator to increment a value of "Nunchuk.Joy"
then added a multiplier(in my case 55 & 35. I added the negative sign to
invert the Y axis) to get it to a usable speed
(change this value if the mouse feels sluggish or too fast),
finnaly I added a deadzone to keep the cursor from drifting
*/
Mouse.DirectInputX += (55 * DeadZone(Nunchuk1.JoyX, 0.025))
Mouse.DirectInputY += -(35 * DeadZone(Nunchuk1.JoyY, 0.025))
//I use the plus and minus keys to SCROLL (ZOOM IN & OUT)
if Wiimote1.Plus then
Mouse.Wheelup = true
endif
if Wiimote1.Minus then
Mouse.Wheeldown = true
endif
//the B-triger is my PRIMARY weapon and the A-button fires my SECONDARY,
//while the d-pad up activates the REAR VIEW
Mouse.LeftButton = Wiimote1.B
Mouse.RightButton = Wiimote1.A
Mouse.MiddleButton = Wiimote1.up
//Remaining flight controls:
//BARRELROLLS...
if pressed(wiimote1.left) then
DoubleClicked(a)=true
wait 2s
elseif pressed(wiimote1.right) then
DoubleClicked(d)=true
wait 2s
endif
//...and BANKing(you might have to adjust the threshold values)
if nunchuk.gX > 0.50 then
a = true
endif
if nunchuk.gX < -0.50 then
d = true
endif
//SLOWing DOWN(same as with banking)...
if pressed(nunchuk.gZ) > 0.50 then
s = true
endif
//...AIRSTOPping(you guessed it)...
if pressed(wiimote1.gZ) > 0.50 then
b = true
endif
//...BOOSTing...
if nunchuk.ZButton then
space = true
endif
//...and LANDING
if pressed(wiimote1.down) then
c = true
endif
//SWITCH TARTEG
if pressed(wiimote1.gX) > |0.5| then
tab = true
endif
//confirm
if pressed(nunchuk.CButton) then
pressed(enter) = true
wait 5s
endif
//back off
if pressed(wiimote1.home) then
pressed(esc) = true
endif
//Thank you for cheking out my script.
//////////////////////////////////////////////////////////////////////////////
/*
if var.irpointer = false then
Mouse.x = MapRange(Wiimote1.Pitch, -90 degrees,90 degrees, 0,1)
Mouse.y = MapRange(Wiimote1.Roll, 90 degrees,-90 degrees, 0,1)
endif
if var.A = true then
mouse.x = wiimote.PointerX
mouse.Y = wiimote.PointerY
endif
var.A = Wiimote1.A
var.B = Wiimote1.B
var.home = Wiimote1.Home
var.plus = Wiimote1.Plus
var.minus = Wiimote1.Minus
var.Cbutton = wiimote.Nunchuk.CButton
var.Zbutton = wiimote.Nunchuk.ZButton
var.one = wiimote.One
var.two = wiimote.Two
var.up = wiimote.Up
var.down = wiimote.Down
var.left = wiimote.Left
var.right = wiimote.right
var.nunchukswing = (wiimote.Nunchuk.RawAccX > 25 or < -25) or (wiimote.Nunchuk.RawAccY > 25 or < -25) or (wiimote.Nunchuk.RawAccZ > 25 or < -25)
var.nunchukx = (wiimote.Nunchuk.RawAccX > 25 or < -25)
var.nunchuky = (wiimote.Nunchuk.RawAccY > 25 or < -25)
var.nunchukz = (wiimote.Nunchuk.RawAccZ > 25 or < -25)
var.wiimoteswing = (wiimote.RawAccX > 25 or < -25) or (wiimote.RawAccY > 25 or < -25) or (wiimote.RawAccZ > 25 or < -25)
var.wiimoteX = (wiimote.RawAccX > 25 or < -25)
var.wiimoteY = (wiimote.RawAccY > 25 or < -25)
var.wiimoteZ = (wiimote.RawAccZ > 25 or < -25)
var.wiimoteXforward = (wiimote.rawaccX > 10)
/////////////////////////////////////
if pressed(var.wiimoteXforward) then
key.Space = true
wait 3 seconds
key.space = false
endif
if var.irpointer = false
mouse.LeftButton = var.two
mouse.rightbutton = var.one
key.B = var.b
key.shift = var.A
key.Escape = var.home
key.W = var.right
key.S = var.left
key.A = var.up
key.D = var.down
key.C = var.minus
endif
if var.plus = true then
var.irpointer = true
mouse.x = wiimote.PointerX
mouse.Y = wiimote.PointerY
else
var.irpointer = false
endif
if var.irpointer = true then
mouse.LeftButton = var.B
mouse.RightButton = var.A
endif
*/
// COMPILED CODE, PLEASE DELETE BEFORE COMPILING! |
|
|
| Back to top |
|
 |
Maxadam5

Joined: 23 May 2008 Posts: 39
Digg It |
Posted: Sun Jul 27, 2008 10:05 pm Post subject: Idea |
|
|
Ok i have an idea but I cannot but I cant do it alone, here I go:
What if there was an fps script unlike any other living breathing fps script. One far better, a glovepie script that would make the creator and all associates famous, (ok now do i have your attention?)
Lets make an FPS script that uses a bounding box but not a normal fps bounding box. One that almost uses the same system as metroid prime: corruption, so the screen keeps rotating until the pointer goes back into the area that isn't the bounding box. Almost like a Metroid prime and ultimate fps script hybrid. I ask you, the most experienced glovepie script writers who view this post, to help me change my (almost a) dream, into an awesome, reality. I don't want any credit i just want the script. |
|
| Back to top |
|
 |
ZeroFusion
Joined: 29 Jul 2008 Posts: 15
Digg It |
Posted: Tue Jul 29, 2008 1:49 am Post subject: Script confusion |
|
|
Hey im trying to make a script for the classic controler joystick 1 is arrow keys joystick 2 is mouse control i check the script for errors but everytime i start it the mouse goes crazy and it goes in the corner and it keeps going there if i try to use the real mouse none of the other buttons work but i thought i did it right can someone help me
here is the script
Up = Wiimote.classic.Joy1Y < -20%
Down = Wiimote.classic.Joy1Y > 20%
Left = Wiimote.classic.Joy1X < -20%
Right = Wiimote.classic.Joy1X > 20%
Mouse.DirectInputx - 8 = wiimote.Classic.Joy2X < -20%
Mouse.DirectInputY + 8 = wiimote.Classic.Joy2Y < -20%
Mouse.Directinputy - 8 = wiimote.Classic.Joy2Y > 20%
mouse.DirectInputx + 8 = wiimote.classic.joy2y > 20%
Key.VolumeUp = Wiimote.Classic.Plus
Key.VolumeDown = Wiimote.Classic.Minus
Key.Slash = wiimote.Classic.Home
key.X = wiimote.Classic.x
key.Y = wiimote.Classic.y
mouse.LeftButton = wiimote.Classic.R
Mouse.RightButton = wiimote.Classic.L
key.F = wiimote.Classic.Up
key.B = wiimote.Classic.Right
key.Space = wiimote.Classic.a |
|
| Back to top |
|
 |
Maxadam5

Joined: 23 May 2008 Posts: 39
Digg It |
Posted: Tue Jul 29, 2008 6:01 pm Post subject: Re: Script confusion |
|
|
| ZeroFusion wrote: | Hey im trying to make a script for the classic controler joystick 1 is arrow keys joystick 2 is mouse control i check the script for errors but everytime i start it the mouse goes crazy and it goes in the corner and it keeps going there if i try to use the real mouse none of the other buttons work but i thought i did it right can someone help me
here is the script
Up = Wiimote.classic.Joy1Y < -20%
Down = Wiimote.classic.Joy1Y > 20%
Left = Wiimote.classic.Joy1X < -20%
Right = Wiimote.classic.Joy1X > 20%
Mouse.DirectInputx - 8 = wiimote.Classic.Joy2X < -20%
Mouse.DirectInputY + 8 = wiimote.Classic.Joy2Y < -20%
Mouse.Directinputy - 8 = wiimote.Classic.Joy2Y > 20%
mouse.DirectInputx + 8 = wiimote.classic.joy2y > 20%
Key.VolumeUp = Wiimote.Classic.Plus
Key.VolumeDown = Wiimote.Classic.Minus
Key.Slash = wiimote.Classic.Home
key.X = wiimote.Classic.x
key.Y = wiimote.Classic.y
mouse.LeftButton = wiimote.Classic.R
Mouse.RightButton = wiimote.Classic.L
key.F = wiimote.Classic.Up
key.B = wiimote.Classic.Right
key.Space = wiimote.Classic.a |
um try this
| Code: | key.up = Wiimote.classic.Joy1Y < 20%
key.Down = Wiimote.classic.Joy1Y > -20%
key.Left = Wiimote.classic.Joy1X < -20%
key.Right = Wiimote.classic.Joy1X > 20%
Mouse.x - -5 = wiimote.Classic.Joy2X > -20%
Mouse.x - 5 = wiimote.Classic.Joy2X < 20%
Mouse.y - -5 = wiimote.Classic.Joy2Y > -20%
mouse.y - 5= wiimote.classic.joy2Y < 20%
Key.VolumeUp = Wiimote.Classic.Plus
Key.VolumeDown = Wiimote.Classic.Minus
Key.Slash = wiimote.Classic.Home
key.X = wiimote.Classic.x
key.Y = wiimote.Classic.y
mouse.LeftButton = wiimote.Classic.R
Mouse.RightButton = wiimote.Classic.L
key.F = wiimote.Classic.Up
key.B = wiimote.Classic.Right
key.Space = wiimote.Classic.a |
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|