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 

Wii Remote D-Pad as FPS Mouse Camera?

 
Post new topic   Reply to topic    WiiLi.org Forum Index -> GlovePie
View previous topic :: View next topic  
Author Message
Wiitards-co-uk



Joined: 30 Jan 2007
Posts: 19

Digg It
PostPosted: Tue Jan 30, 2007 7:11 pm    Post subject: Wii Remote D-Pad as FPS Mouse Camera?

i can't get my head around the code to make the d-pad just operate the mouse camera.. when i have the wii remote as a camera is always way too sensitive and i end up having to hold it virtually still for it not to shake the camera all giddy.

i've seen some camera fps scripts in the glovepie zip file. but how would i do the above?

thanks for any tips
Back to top
View user's profile Send private message Visit poster's website
Vaughan14



Joined: 28 Jan 2007
Posts: 32
Location: Australia

Digg It
PostPosted: Wed Jan 31, 2007 5:16 am    Post subject:

I know what you mean, If you just changed your script to have it so instead of it saying:

wiimote.roll/smoothroll and wiimote.pitch/smoothpitch.

you could change it to wiimote.up/down/left/right.

If you could post the script i would be willing to change it for you!
_________________
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Wiitards-co-uk



Joined: 30 Jan 2007
Posts: 19

Digg It
PostPosted: Wed Jan 31, 2007 2:27 pm    Post subject:

i posted this in the Scripts forum after i realised this was the wrong forum and i got help from TylerK! but thanks a bunch for offering anyway! Very Happy

I got this working reasonably good.. what you think?

Code:
var.speed = 0.0009
if (Wiimote.Up) Mouse.y = Mouse.y - var.speed
if (Wiimote.Down) Mouse.y = Mouse.y + var.speed
if (Wiimote.Left) Mouse.x = Mouse.x - var.speed
if (Wiimote.Right) Mouse.x = Mouse.x + var.speed
Back to top
View user's profile Send private message Visit poster's website
Vaughan14



Joined: 28 Jan 2007
Posts: 32
Location: Australia

Digg It
PostPosted: Thu Feb 01, 2007 1:36 am    Post subject:

It looks good i will try it when i get home!
_________________
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Vaughan14



Joined: 28 Jan 2007
Posts: 32
Location: Australia

Digg It
PostPosted: Thu Feb 01, 2007 7:00 am    Post subject:

It works flawlessly Very Happy !
_________________
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    WiiLi.org Forum Index -> GlovePie All times are GMT
Page 1 of 1

 
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