WiiLi Wiki frontpage Include your post in the News Get links Hoteles Quito
WiiLi.org Forum Index WiiLi.org
a new revolution
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

GlovePIE Wii-Mote Scripts
Goto page Previous  1, 2, 3, ... 53, 54, 55  Next
 
Post new topic   Reply to topic    WiiLi.org Forum Index -> GlovePie
View previous topic :: View next topic  
Author Message
chipsdeluxe



Joined: 12 Dec 2006
Posts: 2
Location: Austin, TX

Digg It
PostPosted: Tue Dec 12, 2006 7:25 pm    Post subject: GlovePIE script for controlling Google Earth with Wiimote

Script for controlling Google Earth. You can download the script and see a video here.

Tilt to move around. Press B and tilt to rotate. Press Plus and Minus to control zoom. Press Home to return to an overhead view. Press One for a full-screen view.

Code:
// Google Earth Interface using Wii Remote
// by J.Coulston
//
//Instructions:
// Start the GlovePIE script, then calibrate your Wiimote (see next section).
// After calibrating, make sure Google Earth is the top window.
// Tilting up, down, left and right will simulate arrow keys.
// Holding B while tilting up and down will tilt the view up and down.
// Holding B while tilting left and right will rotate the view.
// Pressing + and - will zoom when the Wiimote is level.
// Pressing Home will center the view.
// Pressing 1 will toggle fullscreen.


//Calibrate your Wiimote!
//Place the Wiimote face up on a flat surface. Change these values until the
//debug line next to the run button shows zero for each axis.
var.xOffset = 8
var.yOffset = -32
var.zOffset = 8

//Set your Wiimote LEDs to your liking. Binary value, 1-15
var.leds = 1

var.xRot = Wiimote.RawForceX + var.xOffset
var.yRot = Wiimote.RawForceY + var.yOffset
var.zRot = Wiimote.RawForceZ + var.zOffset

// Debug window output
debug = "X=" + var.xRot + "   Y=" + var.yRot + "   Z=" + var.zRot

Wiimote.Leds = var.leds

//Key-press and tilt functions
if abs(var.zRot) > 10 then
   Shift = Wiimote.B
else
   Shift = false
endif

if var.zRot >10 then
   Up = true
elseif var.zRot < -10 then
   Down = true
else
   Up = false
   Down = false
endif

if abs(var.xRot) > 15 then
   Shift = Wiimote.B
else
   Shift = false
endif

if var.xRot > 15 then
   Left = true
elseif var.xRot < -15 then
   Right = true
else
   Left = false
   Right = false
endif

if Wiimote.minus then
   Ctrl+Down = not(abs(var.zRot)>10)
else
   Ctrl = false
endif

if Wiimote.plus then
   Ctrl+Up = not(abs(var.zRot)>10)
else
   Ctrl = false
endif

if Wiimote.home then
   r = true
else
   r = false
endif

if Wiimote.One then
   F11 = true
else
   F11 = false
endif
Back to top
View user's profile Send private message
deceased
Site Admin


Joined: 11 Dec 2006
Posts: 287
Location: Aurora, ON

Digg It
PostPosted: Wed Dec 13, 2006 1:16 am    Post subject:

so I made changes to the Wiibrator code...because it was lacking...

Code:
//Wiibrator v2.0
//By deceased

// Does not control mouse so feel free to surf ^^
// Leds let you know your speed

// pressing B turns it off
if wiimote.B then
  var.rmbl = false
  wiimote.Led1 = false
  wiimote.Led2 = false
  wiimote.Led3 = false
  wiimote.Led4 = false
endif

//rumble script
if var.rmbl then
   wiimote.Rumble = 1
   wait 1 ms
   wiimote.Rumble = 0
   wait var.time ms
endif

//choose speed with d-pad
//up = 1, left = 2, right =3, down = 4
if wiimote.Up then
   wiimote.Led1 = true
   wiimote.Led2 = false
   wiimote.Led3 = false
   wiimote.Led4 = false
   var.time = 50
   var.rmbl = true
elseif wiimote.Left then
   wiimote.Led1 = true
   wiimote.Led2 = true
   wiimote.Led3 = false
   wiimote.Led4 = false
   var.time = 40
   var.rmbl = true
elseif wiimote.Right then
   wiimote.Led1 = true
   wiimote.Led2 = true
   wiimote.Led3 = true
   wiimote.Led4 = false
   var.time = 25
   var.rmbl = true
elseif wiimote.Down then
   wiimote.Led1 = true
   wiimote.Led2 = true
   wiimote.Led3 = true
   wiimote.Led4 = true
   var.time = 0
   var.rmbl = true
endif


This isn't meant to be used to any specific purpose, more just something for me to do, but it also demonstrates different things you can do by adding controls (and how that varies different aspects of the Wiimote).
_________________
-deceased-

Wiili - a gnu revolution
Back to top
View user's profile Send private message
Mienaikage



Joined: 13 Dec 2006
Posts: 54
Location: London, UK

Digg It
PostPosted: Wed Dec 13, 2006 2:18 pm    Post subject:

A little ocarina script I made, you need to download Click MusicalKeys to use it. (Don't worry the program is free Razz)

Code:
// Mienaikage's ocarina script (for use with Click MusicalKEYS)
// When you download Click MusicalKEYS, open the program and press F9, type in 79 (for the ocarina)
// SCRIPT IS UNFINISHED!!!

Wiimote1.Leds = 0

Y = Wiimote1.Left and not (Wiimote1.up or Wiimote1.down or Wiimote1.right or Wiimote1.one or Wiimote1.two or Wiimote1.A or Wiimote1.b or Wiimote1.Plus or Wiimote1.Minus)
R = Wiimote1.Down and not (Wiimote1.up or Wiimote1.left or Wiimote1.right or Wiimote1.one or Wiimote1.two or Wiimote1.A or Wiimote1.b or Wiimote1.Plus or Wiimote1.Minus)
E = Wiimote1.Up and not (Wiimote1.left or Wiimote1.down or Wiimote1.right or Wiimote1.one or Wiimote1.two or Wiimote1.A or Wiimote1.b or Wiimote1.Plus or Wiimote1.Minus)
Q = Wiimote1.Right and not (Wiimote1.up or Wiimote1.down or Wiimote1.left or Wiimote1.one or Wiimote1.two or Wiimote1.A or Wiimote1.b or Wiimote1.Plus or Wiimote1.Minus)
Key.Dot = Wiimote1.A and not (Wiimote1.up or Wiimote1.down or Wiimote1.right or Wiimote1.one or Wiimote1.two or Wiimote1.left or Wiimote1.b or Wiimote1.Plus or Wiimote1.Minus)

Key.Seven = Wiimote1.Left + Wiimote1.B and not (Wiimote1.up or Wiimote1.down or Wiimote1.right or Wiimote1.one or Wiimote1.two or Wiimote1.A or Wiimote1.Plus or Wiimote1.Minus)
T = Wiimote1.Down + Wiimote1.B and not (Wiimote1.up or Wiimote1.Left or Wiimote1.right or Wiimote1.one or Wiimote1.two or Wiimote1.A or Wiimote1.Plus or Wiimote1.Minus)
Key.four = Wiimote1.up + Wiimote1.b and not (Wiimote1.Left or Wiimote1.down or Wiimote1.right or Wiimote1.one or Wiimote1.two or Wiimote1.A or Wiimote1.Plus or Wiimote1.Minus)
Key.two = Wiimote1.Right + Wiimote1.b and not (Wiimote1.up or Wiimote1.down or Wiimote1.Left or Wiimote1.one or Wiimote1.two or Wiimote1.A or Wiimote1.Plus or Wiimote1.Minus)
Key.Semicolon = Wiimote1.A + Wiimote1.b and not (Wiimote1.up or Wiimote1.down or Wiimote1.right or Wiimote1.one or Wiimote1.two or Wiimote1.Left or Wiimote1.Plus or Wiimote1.Minus)

Key.Seven = Wiimote1.Left + Wiimote1.plus and not (Wiimote1.up or Wiimote1.down or Wiimote1.right or Wiimote1.one or Wiimote1.two or Wiimote1.A or Wiimote1.B or Wiimote1.Minus)
T = Wiimote1.Down + Wiimote1.plus and not (Wiimote1.up or Wiimote1.Left or Wiimote1.right or Wiimote1.one or Wiimote1.two or Wiimote1.A or Wiimote1.B or Wiimote1.Minus)
Key.four = Wiimote1.up + Wiimote1.plus and not (Wiimote1.Left or Wiimote1.down or Wiimote1.right or Wiimote1.one or Wiimote1.two or Wiimote1.A or Wiimote1.B or Wiimote1.Minus)
Key.two = Wiimote1.Right + Wiimote1.plus and not (Wiimote1.up or Wiimote1.down or Wiimote1.Left or Wiimote1.one or Wiimote1.two or Wiimote1.A or Wiimote1.B or Wiimote1.Minus)
Key.Semicolon = Wiimote1.A + Wiimote1.plus and not (Wiimote1.up or Wiimote1.down or Wiimote1.right or Wiimote1.one or Wiimote1.two or Wiimote1.Left or Wiimote1.B or Wiimote1.Minus)

Key.six = Wiimote1.Left + Wiimote1.minus and not (Wiimote1.up or Wiimote1.down or Wiimote1.right or Wiimote1.one or Wiimote1.two or Wiimote1.A or Wiimote1.B or Wiimote1.plus)
Key.four = Wiimote1.Down + Wiimote1.minus and not (Wiimote1.up or Wiimote1.Left or Wiimote1.right or Wiimote1.one or Wiimote1.two or Wiimote1.A or Wiimote1.B or Wiimote1.plus)
Key.three = Wiimote1.up + Wiimote1.minus and not (Wiimote1.Left or Wiimote1.down or Wiimote1.right or Wiimote1.one or Wiimote1.two or Wiimote1.A or Wiimote1.B or Wiimote1.plus)
Key.Slash = Wiimote1.Right + Wiimote1.minus and not (Wiimote1.up or Wiimote1.down or Wiimote1.Left or Wiimote1.one or Wiimote1.two or Wiimote1.A or Wiimote1.B or Wiimote1.plus)
L = Wiimote1.A + Wiimote1.minus and not (Wiimote1.up or Wiimote1.down or Wiimote1.right or Wiimote1.one or Wiimote1.two or Wiimote1.Left or Wiimote1.B or Wiimote1.plus)

Y = Wiimote1.Left + Wiimote.Plus + Wiimote.Minus and not (Wiimote1.up or Wiimote1.down or Wiimote1.right or Wiimote1.one or Wiimote1.two or Wiimote1.A or Wiimote1.b)
R = Wiimote1.Down + Wiimote.Plus + Wiimote.Minus and not (Wiimote1.up or Wiimote1.left or Wiimote1.right or Wiimote1.one or Wiimote1.two or Wiimote1.A or Wiimote1.b)
E = Wiimote1.Up + Wiimote.Plus + Wiimote.Minus and not (Wiimote1.left or Wiimote1.down or Wiimote1.right or Wiimote1.one or Wiimote1.two or Wiimote1.A or Wiimote1.b)
Q = Wiimote1.Right + Wiimote.Plus + Wiimote.Minus and not (Wiimote1.up or Wiimote1.down or Wiimote1.left or Wiimote1.one or Wiimote1.two or Wiimote1.A or Wiimote1.b)
Key.Dot = Wiimote1.A + Wiimote.Plus + Wiimote.Minus and not (Wiimote1.up or Wiimote1.down or Wiimote1.right or Wiimote1.one or Wiimote1.two or Wiimote1.left or Wiimote1.b)

Key.Seven = Wiimote1.Left + Wiimote1.B + Wiimote.Plus + Wiimote.Minus and not (Wiimote1.up or Wiimote1.down or Wiimote1.right or Wiimote1.one or Wiimote1.two or Wiimote1.A)
T = Wiimote1.Down + Wiimote1.B + Wiimote.Plus + Wiimote.Minus and not (Wiimote1.up or Wiimote1.Left or Wiimote1.right or Wiimote1.one or Wiimote1.two or Wiimote1.A)
Key.four = Wiimote1.up + Wiimote1.b + Wiimote.Plus + Wiimote.Minus and not (Wiimote1.Left or Wiimote1.down or Wiimote1.right or Wiimote1.one or Wiimote1.two or Wiimote1.A)
Key.two = Wiimote1.Right + Wiimote1.b + Wiimote.Plus + Wiimote.Minus and not (Wiimote1.up or Wiimote1.down or Wiimote1.Left or Wiimote1.one or Wiimote1.two or Wiimote1.A)
Key.Semicolon = Wiimote1.A + Wiimote1.b + Wiimote.Plus + Wiimote.Minus and not (Wiimote1.up or Wiimote1.down or Wiimote1.right or Wiimote1.one or Wiimote1.two or Wiimote1.Left)

Y = Wiimote1.Left + Wiimote.b + Wiimote.Minus and not (Wiimote1.up or Wiimote1.down or Wiimote1.right or Wiimote1.one or Wiimote1.two or Wiimote1.A or Wiimote1.plus)
R = Wiimote1.Down + Wiimote.b + Wiimote.Minus and not (Wiimote1.up or Wiimote1.left or Wiimote1.right or Wiimote1.one or Wiimote1.two or Wiimote1.A or Wiimote1.plus)
E = Wiimote1.Up + Wiimote.b + Wiimote.Minus and not (Wiimote1.left or Wiimote1.down or Wiimote1.right or Wiimote1.one or Wiimote1.two or Wiimote1.A or Wiimote1.plus)
Q = Wiimote1.Right + Wiimote.b + Wiimote.Minus and not (Wiimote1.up or Wiimote1.down or Wiimote1.left or Wiimote1.one or Wiimote1.two or Wiimote1.A or Wiimote1.plus)
Key.Dot = Wiimote1.A + Wiimote.b + Wiimote.Minus and not (Wiimote1.up or Wiimote1.down or Wiimote1.right or Wiimote1.one or Wiimote1.two or Wiimote1.left or Wiimote1.plus)

U = Wiimote1.Left + Wiimote1.one and not (Wiimote1.up or Wiimote1.down or Wiimote1.right or Wiimote1.b or Wiimote1.two or Wiimote1.A or Wiimote1.Plus or Wiimote1.Minus)
Key.Six = Wiimote1.Down + Wiimote1.one and not (Wiimote1.up or Wiimote1.Left or Wiimote1.right or Wiimote1.b or Wiimote1.two or Wiimote1.A or Wiimote1.Plus or Wiimote1.Minus)
R = Wiimote1.up + Wiimote1.one and not (Wiimote1.Left or Wiimote1.down or Wiimote1.right or Wiimote1.b or Wiimote1.two or Wiimote1.A or Wiimote1.Plus or Wiimote1.Minus)
W = Wiimote1.Right + Wiimote1.one and not (Wiimote1.up or Wiimote1.down or Wiimote1.Left or Wiimote1.b or Wiimote1.two or Wiimote1.A or Wiimote1.Plus or Wiimote1.Minus)
Key.Slash = Wiimote1.A + Wiimote1.one and not (Wiimote1.up or Wiimote1.down or Wiimote1.right or Wiimote1.b or Wiimote1.two or Wiimote1.Left or Wiimote1.Plus or Wiimote1.Minus)

T = Wiimote1.Left + Wiimote1.two and not (Wiimote1.up or Wiimote1.down or Wiimote1.right or Wiimote1.b or Wiimote1.one or Wiimote1.A or Wiimote1.Plus or Wiimote1.Minus)
E = Wiimote1.Down + Wiimote1.two and not (Wiimote1.up or Wiimote1.Left or Wiimote1.right or Wiimote1.b or Wiimote1.one or Wiimote1.A or Wiimote1.Plus or Wiimote1.Minus)
W = Wiimote1.up + Wiimote1.two and not (Wiimote1.Left or Wiimote1.down or Wiimote1.right or Wiimote1.b or Wiimote1.one or Wiimote1.A or Wiimote1.Plus or Wiimote1.Minus)
key.Semicolon = Wiimote1.Right + Wiimote1.two and not (Wiimote1.up or Wiimote1.down or Wiimote1.Left or Wiimote1.b or Wiimote1.one or Wiimote1.A or Wiimote1.Plus or Wiimote1.Minus)
Key.Comma = Wiimote1.A + Wiimote1.two and not (Wiimote1.up or Wiimote1.down or Wiimote1.right or Wiimote1.b or Wiimote1.one or Wiimote1.Left or Wiimote1.Plus or Wiimote1.Minus)


I'll edit this post as soon as I'm finished with the last few notes, but for now have fun Smile
Back to top
View user's profile Send private message Visit poster's website
chipsdeluxe



Joined: 12 Dec 2006
Posts: 2
Location: Austin, TX

Digg It
PostPosted: Wed Dec 13, 2006 7:59 pm    Post subject: Wiimote Battery Meter

This one shows the battery level of your Wiimote using the four LEDs at the bottom. Battery level is displayed in four levels increasing to the right, like a cell phone battery gauge. As the battery gets close to the next level down, the LED for the current level will blink.

I can't quite get the wiimote to send the report 0x20 (which contains battery info) properly, so any help in cleaning up this script would be greatly appreciated. You can leave feedback at jcoulston.blogspot.com

Code:
//Wiimote Battery Display
//by J.Coulston

//Display the battery level of your wiimote using the four LEDs on the bottom.
//Battery level is displayed in four levels increasing to the right, like a cell
//phone battery gauge. As the battery gets close to the next level down, the LED
//for the current level will blink.

//Blink rate
var.Blink = 500ms
//This section first sends an instruction that sets the Wiimote output to
//report 0x20. Next it sends an instruction that tells the Wiimote to actually
//send the report.
//The problem is that the output keeps defaulting back to 0x30 before the proper
//report can be read. It seems there should be an easier way to get a single
//report from the Wiimote. Any input in this area would be greatly appreciated.
WiimoteSend(1,0x12,0,0x20)
WiimoteSend(1,0x15,0x80)

//The IF statement is to combat the problem of the output always defaulting back
//to report 0x30.
//A full battery gives 0xC0 (192)
if Wiimote.InReport = 32 then
   var.Batt = Wiimote.InByte6/48
endif

debug = "Battery level: " + 100*48*var.Batt/192 + "%"

if 0<=var.Batt<=0.25 then
   Wiimote.Leds = 1
   wait var.Blink
   Wiimote.Leds = 0
   wait var.Blink
elseif 0.25<var.Batt<=1 then
   Wiimote.Leds = 1
elseif 1<var.Batt<=1.25 then
   Wiimote.Leds = 3
   wait var.Blink
   Wiimote.Leds = 1
   wait var.Blink
elseif 1.25<var.Batt<=2 then
   Wiimote.Leds = 3
elseif 2<var.Batt<=2.25 then
   Wiimote.Leds = 7
   wait var.Blink
   Wiimote.Leds = 3
   wait var.Blink
elseif 2.25<var.Batt<=3 then
   Wiimote.Leds = 7
elseif 3<var.Batt<=3.25 then
   Wiimote.Leds = 15
   wait var.Blink
   Wiimote.Leds = 7
   wait var.Blink
elseif 3.25<var.Batt<=4 then
   Wiimote.Leds = 15
else
   Wiimote.Leds = 0
endif
Back to top
View user's profile Send private message
deceased
Site Admin


Joined: 11 Dec 2006
Posts: 287
Location: Aurora, ON

Digg It
PostPosted: Wed Dec 13, 2006 9:02 pm    Post subject:

Counter Strike (and Source) Wiimote script. Obviously, feel free to remap the buttons. I was trying to make Mouse.RightButton occur when you jab the controller forward (to zoom, silence, etc), but I'm still working on it. Haven't had a lot of time recently.

Also, I don't take credit for the IR, though I had a couple of issues with it. Still, it's the best I've used on Windows. One final note: make sure to turn your sensitivity down to 1 or less. Enjoy!

Code:
//Counter Strike: Source WiiMouse v1.0
//Written and arranged by deceased
//Uses WiiMouse IR by vkapadia

//IMPORTANT >> Press ~ (tilde) to go into the console when you're in game.
//Type in "sensitivity 0.1" This will allow you to actually aim.

var.rumble = true //"true" means that the Wiimote will rumble when
                  // you fire for realism. "false" turns it off.
                  // clicking your mouse left will make rumbles!!!

//WSAD is the D pad where up = W, down = S, left = A, and right = D
W = wiimote.Up
S = wiimote.Down
A = wiimote.Left
D = wiimote.Right

//B to shoot
Mouse.LeftButton = wiimote.B

if Mouse.LeftButton then
   wiimote.Rumble = true
   wait 10 ms
   wiimote.Rumble = false
endif

// to use secondary actions (zooming, auto/semi, silencing, etc)
// press A
Mouse.RightButton = wiimote.A

//press minus to reload
R = wiimote.Minus

//press Home to "use" (E)
E = wiimote.Home

// plus to cycle through weapons
Mouse.WheelUp = wiimote.Plus

//1 toggles crouching ; 2 toogles walking
//1 and 2 together makes you run again
//Led1 comes on when you're crouching; Led2 when you're walking
if wiimote.One and not wiimote.Two then
   Ctrl = true
   Shift = false
   var.crouch = false
   wiimote.Led1 = true
   wiimote.Led2 = false
endif

if wiimote.Two and not wiimote.One then
   Shift = true
   Ctrl = false
   wiimote.Led1 = false
   wiimote.Led2 = true
endif

if wiimote.One and wiimote.Two then
   Ctrl = false
   Shift = false
   wiimote.Led1 = false
   wiimote.Led2 = false
endif

//jump by flicking the wiimote up
if var.accy >= 30 then
   Space = true
else
   Space = false
endif

// ALL WORK BELOW HERE WAS NOT DONE BY ME (deceased)------------------------

//Mouse Control Script using IR
//by vkapadia with much assistance from inio
//vkapadia@vkapadia.com
//
//Calibration:
//To calibrate, run this program and put the Wiimote on a flat surface face-up.
//Then read the values in the debug line (next to the run button).
//Change these values until the debug line reads approx. all zeros.
var.xtrim = 4
var.ytrim = -30
var.ztrim = 6

var.accx = wiimote.RawForceX + var.xtrim
var.accy = wiimote.RawForceY + var.ytrim
var.accz = wiimote.RawForceZ + var.ztrim

if wiimote.dot1vis and wiimote.dot2vis then

  if var.accy > -7 then
    var.orientation = 0
  elseif var.accy > -45 then
    if var.accx < 0 then
      var.orientation = 3
    else
      var.orientation = 1
    endif
  else
    var.orientation = 2
  endif

  if var.leftpoint = 0 then
    if var.orientation = 0 then
      if wiimote.dot1x < wiimote.dot2x then
        var.leftpoint = 1
      else
        var.leftpoint = 2
      endif
    endif
    if var.orientation = 1 then
      if wiimote.dot1y > wiimote.dot2y then
        var.leftpoint = 1
      else
        var.leftpoint = 2
      endif
    endif
    if var.orientation = 2 then
      if wiimote.dot1x > wiimote.dot2x then
        var.leftpoint = 1
      else
        var.leftpoint = 2
      endif
    endif
    if var.orientation = 3 then
      if wiimote.dot1y < wiimote.dot2y then
        var.leftpoint = 1
      else
        var.leftpoint = 2
      endif
    endif
  endif

  if var.leftpoint = 1 then
    var.fix1x = wiimote.dot1x
    var.fix1y = wiimote.dot1y
    var.fix2x = wiimote.dot2x
    var.fix2y = wiimote.dot2y
  else
    var.fix1x = wiimote.dot2x
    var.fix1y = wiimote.dot2y
    var.fix2x = wiimote.dot1x
    var.fix2y = wiimote.dot1y
  endif

  var.dx = var.fix2x - var.fix1x
  var.dy = var.fix2y - var.fix1y
  var.cx = (var.fix1x+var.fix2x)/1024.0 - 1
  var.cy = (var.fix1y+var.fix2y)/1024.0 - .75

  var.d = sqrt(var.dx*var.dx+var.dy*var.dy)

  var.dx = var.dx / var.d
  var.dy = var.dy / var.d

  var.ox = -var.dy*var.cy-var.dx*var.cx;
  var.oy = -var.dx*var.cy+var.dy*var.cx;

  var.ax = (var.ox * screen.desktopwidth) + (screen.desktopwidth / 2)
  var.ay = (-var.oy * screen.desktopwidth) + (screen.desktopheight / 2)

  var.dx = var.ax - mouse.cursorposx
  var.dy = var.ay - mouse.cursorposy

  var.d = sqrt((var.dx*var.dx)+(var.dy*var.dy))

  var.a = 180 / (200 + var.d * var.d * var.d * .001)

  var.finalx = mouse.cursorposx * var.a + var.ax * (1 - var.a)
  var.finaly = mouse.cursorposy * var.a + var.ay * (1 - var.a)


  mouse.cursorposx = var.finalx
  mouse.cursorposy = var.finaly

else

  var.leftpoint = 0

endif

debug = var.accx + " " + var.accy + " " + var.accz

_________________
-deceased-

Wiili - a gnu revolution
Back to top
View user's profile Send private message
LOLobo



Joined: 20 Nov 2006
Posts: 49
Location: Los Angeles

Digg It
PostPosted: Wed Dec 13, 2006 10:17 pm    Post subject:

Thanks deceased. Will try this one tonight.
Back to top
View user's profile Send private message
deceased
Site Admin


Joined: 11 Dec 2006
Posts: 287
Location: Aurora, ON

Digg It
PostPosted: Wed Dec 13, 2006 10:18 pm    Post subject:

no problem....

this page is getting intensely huge, since phpBB starts new pages by post count and not space. Sad
_________________
-deceased-

Wiili - a gnu revolution


Last edited by deceased on Wed Dec 13, 2006 10:25 pm; edited 1 time in total
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    WiiLi.org Forum Index -> GlovePie All times are GMT
Goto page Previous  1, 2, 3, ... 53, 54, 55  Next
Page 2 of 55

 
Jump to:  
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