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 

Request For Star Wars Episode 1 Racer Script

 
Post new topic   Reply to topic    WiiLi.org Forum Index -> Wii Scripts
View previous topic :: View next topic  
Author Message
guitarist331



Joined: 18 Aug 2008
Posts: 4

Digg It
PostPosted: Mon Aug 18, 2008 2:54 pm    Post subject: Request For Star Wars Episode 1 Racer Script

I have the project 64 emulator and was wondering if anyone would write a wii remote script for the nintendo 64 game Star Wars Episode 1 Racer. I used to play this game all the time with my friends and it would even be more fun with the wii remote. Thanks in advanced.
Back to top
View user's profile Send private message
guitarist331



Joined: 18 Aug 2008
Posts: 4

Digg It
PostPosted: Mon Aug 18, 2008 4:05 pm    Post subject:

I was able to use the mario kart 64 script that came with glovepie, but i don't think you can use boost with that script. Other than that it works great. Maybe someone could modify that script a little to get the boost working. Thanks again.
Code:
//Mario Kart N64 controls
//By petergriffin and TweaK

var.zCutoff1 = 6/30
var.zCutoff2 = 12/30
var.zCutoff3 = 23/30
// Hold the controller sideways like you do in Exite Truck 1 is A, 2 is B
// And Right (or Up if held sideways) is use item. Steering is as simple as
// Turning the Wiimote right or left. Home is Start. Plus is up and minus is  //down
// A is R and B is L
// Set the Emulator so that A=A B=B Z=Z Start=S R=R L=L And the Directions set to the arrow keys
var.xRot =Wiimote.gx
var.yRot =Wiimote.gy
var.zRot =Wiimote.gz

debug = 'X:' + var.xRot + ', ' + 'Y:' + var.yRot + ', ' + 'Z:' + var.zRot

if var.zRot > var.zCutoff3 then
  key.right = true
  key.left = true
  key.left = false
  wait 20ms
  key.right = false
else if var.zRot < -var.zCutoff3 then
  key.left = true
  key.right = true
  key.right = false
  wait 20ms
  key.left = false
else if var.zRot > var.zCutoff2 then
  key.right = true
  key.left = true
  key.left = false
  wait 12ms
  key.right = false
else if var.zRot < -var.zCutoff2 then
  key.left = true
  key.right = true
  key.right = false
  wait 12ms
  key.left = false
else if var.zRot > var.zCutoff1 then
  key.right = true
  key.left = true
  key.left = false
  wait 2ms
  key.right = false
else if var.zRot < -var.zCutoff1 then
  key.left = true
  key.right = true
  key.right = false
  wait 2ms
  key.left = false
else
  key.left = True
  key.right = True
  key.left = false
  key.right = false
endif


key.a = Wiimote.One
key.b = Wiimote.Two
key.z = Wiimote.Right
key.s = Wiimote.Home
key.up = Wiimote.Plus
key.down = Wiimote.Minus
key.r = Wiimote.A
key.l = Wiimote.B
Wiimote.leds = 9

// The Wiimote will rumble as you press 1 (or accelerate)
Wiimote.Rumble = Wiimote.One
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    WiiLi.org Forum Index -> Wii Scripts 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