amars464 Posted March 19, 2010 Report Share Posted March 19, 2010 So I was using your server so I could test out playing Jedi Academy against people using two Wii Remotes instead of a keyboard and mouse, and one of your members requested that I post how to do it on the forums here. So first you need to have a computer that can have devices connect to it via Bluetooth. If you have that, then you should be able to connect the wii remotes to your computer. After that's done, you need to download a program called GlovePIE. Once you have that, copy and paste this script into it: //Lednerg's MotionMouseScript edited by MoreDread v0.1 if starting then // define deadzone, calibration and sensitivity var.calibrationGyro = [2.5, -1.5] // [Yaw, Pitch] var.deadzoneGyro = [5, 5] // [Yaw, Pitch] var.sensitivityGyro = [1, 1.10] // [Yaw, Pitch]; lower values result in slower movements, negative values will invert the corresponding mouse axis endif // hold B to move mouse with WiiMote if (WiiMote.A) then var.Gyro = [0, 0] if (Abs(WiiMote.MotionPlus.YawSpeed + var.calibrationGyro[1]) > var.deadzoneGyro[1]) then var.Gyro[1] = RemoveUnits(WiiMote.MotionPlus.YawSpeed + var.calibrationGyro[1]) - (Sign(WiiMote.MotionPlus.YawSpeed) * var.deadzoneGyro[1]) if (Abs(WiiMote.MotionPlus.PitchSpeed + var.calibrationGyro[2]) > var.deadzoneGyro[2]) then var.Gyro[2] = RemoveUnits(WiiMote.MotionPlus.PitchSpeed + var.calibrationGyro[2]) - (Sign(WiiMote.MotionPlus.PitchSpeed) * var.deadzoneGyro[2]) Mouse.DirectInputX = Mouse.DirectInputX + (var.Gyro[1] * var.sensitivityGyro[1]) Mouse.DirectInputY = Mouse.DirectInputY + (-1 * var.Gyro[2] * var.sensitivityGyro[2]) endif Key.W = Wiimote2.Up Key.S = Wiimote2.Down Key.A = Wiimote2.Left Key.D = Wiimote2.Right Key.Space = Wiimote2.B mouse.RightButton = Wiimote2.A mouse.LeftButton = Wiimote1.B Key.F = Wiimote2.Stabbing Key.LeftBracket = Wiimote2.Minus Key.RightBracket = Wiimote2.Plus Key.K = Wiimote1.Home Key.C = Wiimote1.Down Mouse.MiddleButton = Wiimote1.Home Mouse.WheelUp = Wiimote1.Plus Mouse.WheelDown = Wiimote1.Minus And that's it!Some notes: This script requires Wii Remote #1 to have a Wii Motion Plus attached to it. When you hold down the A button on that remote it causes the Motion+ to act as the mouse. If you wish to do stuff using the IR sensor instead, there's tons of scripts out there for that, you just have to modify what buttons do what so it will work right.I still need to do some tweaking and add in more gestures, so this is all mostly button pressing. When I work on it more, I'll post an update for you guys. Link to comment Share on other sites More sharing options...
Ordo Posted March 19, 2010 Report Share Posted March 19, 2010 Oh, wow. This is pretty nifty. How'd you come up with the idea? Link to comment Share on other sites More sharing options...
Zan Posted March 19, 2010 Report Share Posted March 19, 2010 Well, after playing for years with the keyboard i wouldn't change it for anything , but still is kinda neat. Link to comment Share on other sites More sharing options...
hagoo Posted March 19, 2010 Report Share Posted March 19, 2010 Two wii remotes?No nunchuk or whatever?Nice work anyhow, I'll give it a whirl sometime. Link to comment Share on other sites More sharing options...
Hardy Posted March 20, 2010 Report Share Posted March 20, 2010 wii is gayy. Link to comment Share on other sites More sharing options...
Sharp Posted March 20, 2010 Report Share Posted March 20, 2010 wii is gayy. i agree with this. Link to comment Share on other sites More sharing options...
Hexler4 Posted March 22, 2010 Report Share Posted March 22, 2010 wii is gayy. :sweat: :sweat: :sweat: i totally agree with this....... :yahoo: Link to comment Share on other sites More sharing options...
VoLTRoN Posted May 4, 2010 Report Share Posted May 4, 2010 :sweat: :sweat: :sweat: :fp: i totally agree with this....... :yahoo:I realy really agree to this as well but what a awsome job. #1 The thought#2 The thought :fp: Link to comment Share on other sites More sharing options...
§sabers§ Posted July 25, 2010 Report Share Posted July 25, 2010 well idk if this is important or not but this guy was good enough to make that script i give him props+1 Link to comment Share on other sites More sharing options...
starnpj14 Posted July 26, 2010 Report Share Posted July 26, 2010 Holy cow would i give to try that. This guy must be a smartass or something lol : Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.