I've been using GlovePIE for a few days now and I've found that using a delta interface with a hold button sometimes allows better aiming-- I have a script that plays Morrowind and I use the following for aiming:
if !Wiimote.A then
Mouse.DirectInputX += Smooth(Delta(Wiimote.PointerX),5)*Screen.Width pixels
Mouse.DirectInputY += Smooth(Delta(Wiimote.PointerY),5)*Screen.Height pixels
endif
It allows a 1:1 relationship between movement and aim, and you can hold the A button to recenter the wiimote when your aim is too far from the sensor bar. The downside is that when you open your inventory, it doesn't always point to the same spot that the wii pointer would be. This doesn't really matter too much though, I just like the fact that it doesn't require constant adjustment to keep your view from spinning out of control.
Nice script though, I didn't know you could use "but not" instead of "and not", that's pretty cool. GlovePIE never ceases to amaze me, lol. I was going to make my own Minecraft script in a day or so, probably with optional motion controls for mining and placing just for fun, lol.
Rollback Post to RevisionRollBack
My ankle's uncle is my uncle's ankle. It's true! My Server Mods: Runecraft SMP Server Mod - java class replacer for SMP which adds magic runes. Llamacraft SMP Server Mod - bucket fix, lava nerf, etc.
Is the code java based? Or is it a different language? Im just curious, because I asked my teacher if I could code mods for minecraft in Computer Math!
I've been using GlovePIE for a few days now and I've found that using a delta interface with a hold button sometimes allows better aiming-- I have a script that plays Morrowind and I use the following for aiming:
if !Wiimote.A then
Mouse.DirectInputX += Smooth(Delta(Wiimote.PointerX),5)*Screen.Width pixels
Mouse.DirectInputY += Smooth(Delta(Wiimote.PointerY),5)*Screen.Height pixels
endif
It allows a 1:1 relationship between movement and aim, and you can hold the A button to recenter the wiimote when your aim is too far from the sensor bar. The downside is that when you open your inventory, it doesn't always point to the same spot that the wii pointer would be. This doesn't really matter too much though, I just like the fact that it doesn't require constant adjustment to keep your view from spinning out of control.
Nice script though, I didn't know you could use "but not" instead of "and not", that's pretty cool. GlovePIE never ceases to amaze me, lol. I was going to make my own Minecraft script in a day or so, probably with optional motion controls for mining and placing just for fun, lol.
Haha like swinging the wiimote to swing your pickaxe? Maybe I'll try that. :biggrin.gif:
In case you hadn't seen it:
I just simplified and optimized a few things here:
//Turn the sensitivity down!!
// Z jumps C crouches
// A mines B Places
// D-pad picks block Up is 1 Down is 9
// 1 Drops the block 2 Chats
// Home Pauses Minus is Inventory
WASD = nunchuck1.Joy
Space = nunchuck1.Z
LeftShift = nunchuck1.C
I = wiimote1.Minus
ESC = wiimote1.Home
T = wiimote1.Two
Q = wiimote1.One
One = Wiimote1.Up
Nine = Wiimote1.Down
Mouse.WheelUp = Wiimote1.Left
Mouse.WheelDown = Wiimote1.Right
mouse.RightButton = wiimote1.B
mouse.LeftButton = wiimote1.A
mouse.RightButton = wiimote1.Plus
var.Speed = 75 // 0 to 100
PIE.FrameRate = 100hz
if wiimote.PointerVisible but not var.PointerBump then
mouse.x = wiimote.PointerX
mouse.y = wiimote.PointerY
end if
I haven't really used this that much anymore, I'll be sure to revisit it tomorrow, seeing as how it's really late were I live...
On that topic, does anyone know of a script to play oblivion or skyrim with a wiimote?
can someone pm me or post here a walkthrough of how to set up, and get this working, and i would like to know if i can use my wiimote plus (normal sized wiimote with wii motion plus built in) to do this, how to sync and unsync it from my computer
annnd whether i should use the sensor bar controls he made or the wiimote plus ones he made (and i would like (if you could) an explaination of how both work) thanks for reading this, i hope for your reply.
It's simple
You pair your wiimote with your computer via bluetooth. (Some computers have it built in, you can get a bluetooth dongle for cheap.) I use software that cam with my bluetooth dongle which you can find here : Bluesoleil with this you basically just pair it. Then you right click on the wiimote which appears as something like NINTENDO-RVL-CNT and select connect Human Interface Device.
Then run the script in GlovePIE.
For the IR one you need a sensor bar. You can buy wireless ones that run on batteries, but what I do is I pair my wiimote with my computer, then I turn on my wii so my sensor bar is activated, and put it in front of my computer screen.
The Wiimote plus one doesn't need a sensor bar. When you hold down the B button your movements control the mouse movement.
I prefer the sensor bar one.
Hope I helped!
Haha
It's quite easy actually
if !Wiimote.A then
Mouse.DirectInputX += Smooth(Delta(Wiimote.PointerX),5)*Screen.Width pixels
Mouse.DirectInputY += Smooth(Delta(Wiimote.PointerY),5)*Screen.Height pixels
endif
It allows a 1:1 relationship between movement and aim, and you can hold the A button to recenter the wiimote when your aim is too far from the sensor bar. The downside is that when you open your inventory, it doesn't always point to the same spot that the wii pointer would be. This doesn't really matter too much though, I just like the fact that it doesn't require constant adjustment to keep your view from spinning out of control.
Nice script though, I didn't know you could use "but not" instead of "and not", that's pretty cool. GlovePIE never ceases to amaze me, lol. I was going to make my own Minecraft script in a day or so, probably with optional motion controls for mining and placing just for fun, lol.
My Server Mods:
Runecraft SMP Server Mod - java class replacer for SMP which adds magic runes.
Llamacraft SMP Server Mod - bucket fix, lava nerf, etc.
I'll update this sig when I do!
Haha like swinging the wiimote to swing your pickaxe? Maybe I'll try that. :biggrin.gif:
Yeah, I must admit my wiimotes were gathering dust xD
Help us at soartex.net!
I just simplified and optimized a few things here:
On that topic, does anyone know of a script to play oblivion or skyrim with a wiimote?
annnd whether i should use the sensor bar controls he made or the wiimote plus ones he made (and i would like (if you could) an explaination of how both work) thanks for reading this, i hope for your reply.
You pair your wiimote with your computer via bluetooth. (Some computers have it built in, you can get a bluetooth dongle for cheap.) I use software that cam with my bluetooth dongle which you can find here : Bluesoleil with this you basically just pair it. Then you right click on the wiimote which appears as something like NINTENDO-RVL-CNT and select connect Human Interface Device.
Then run the script in GlovePIE.
For the IR one you need a sensor bar. You can buy wireless ones that run on batteries, but what I do is I pair my wiimote with my computer, then I turn on my wii so my sensor bar is activated, and put it in front of my computer screen.
The Wiimote plus one doesn't need a sensor bar. When you hold down the B button your movements control the mouse movement.
I prefer the sensor bar one.
Hope I helped!
GlovePIE.