| View previous topic :: View next topic |
| Author |
Message |
mdvalenz
Joined: 21 Nov 2006 Posts: 42
Digg It |
Posted: Sat Nov 17, 2007 7:56 pm Post subject: |
|
|
I will add it to the things I am trying to get working It seams like it would be straight forward to do. |
|
| Back to top |
|
 |
hackmiester
Joined: 06 Jan 2007 Posts: 6 Location: Alabama
Digg It |
Posted: Sat Nov 24, 2007 5:01 am Post subject: |
|
|
Hey guys. I have a working script. This does whammy using the mouse, you should like it. Thank you honkeykong and also mdvalenz.
The only necessary setup is to rebind the keys and to change the value I marked with "CHANGE THIS VALUE" to the horizontal resolution you run GH at.
PLEASE READ THIS: The Stop button is impossible to hit in GlovePIE with this running... To stop the script you can do Shift+P+I+E. OR!! You can hold down the home key on the Wii remote to turn off my mouse code.
Changelog
Added instructions on how to update this to your screen resolution for whammy.
OK, here is the code.
| Code: |
' hackmiester's Wii Guitar Hero 3 controller script 1.1
' originally based on Honkey Kong's script at http://www.honkeykong.org/?p=83
' thank you mdvalenz for figuring out which button is the whammy... parts of my whammy code from mdvalenz' script at http://www.wiili.org/forum/guitar-hero-3-controller-t2911-s14.html
' The only necessary setup is to rebind the keys and to change the value I marked with "CHANGE THIS VALUE" to the horizontal resolution you run GH at.
' PLEASE READ THIS: The Stop button is impossible to hit in GlovePIE with this running... To stop the script you can do Shift+P+I+E. OR!! You can hold down the home key on the Wii remote to turn off my mouse code.
' bind your keys like this
' asdfg for frets
' mouse left button for strum down
' mouse right button for strum up
' space for star power
' right alt for whammy
' leave mouse whammy on the X axis (on my box it's unmodifiable anyway)
' star power works with the minus key or lifting the guitar
' whammy works although it's a bit glitchy, works well enough for me though
a = Wiimote.Classic.a
s = Wiimote.Classic.b
d = Wiimote.Classic.x
f = Wiimote.Classic.y
g = Wiimote.Classic.ZL
Up = Wiimote.Classic.Up
Down = Wiimote.Classic.Down
Wiimote.LED1 = 1
Escape = Wiimote.Classic.Plus
Mouse.LeftButton = -1 < Wiimote.Classic.Joy1Y < -0.25
Mouse.RightButton = 1 > Wiimote.Classic.Joy1Y > 0.25
debug = Wiimote.Classic.R
'mouse.CursorPosX = Wiimote.Classic.R * 800
'mouse.DirectInputX = Wiimote.Classic.R * 800
if Wiimote.Home = 0
' CHANGE THIS VALUE to whatever horizontal resolution you run GH at... I run at 800x600 so this is 800...
Mouse.DirectInputX = Wiimote.Classic.R * 800
if WIimote.Classic.R > .70
Keyboard.RightAlt = 1
else
Keyboard.RIghtAlt= 0
endif
endif
'mouse.DirectiNputX = 5
Space = Wiimote.Classic.Minus
var.xOffset = 8
var.yOffset = -37
var.zOffset = 12
var.xRot = Wiimote.RawForceX + var.xOffset
var.yRot = Wiimote.RawForceY + var.yOffset
var.zRot = Wiimote.RawForceZ + var.zOffset
'debug = "X=" + var.xRot + " Y=" + var.yRot + " Z=" + var.zRot
if var.zRot > 30 then
Space = 1
wait .25s
Space = 0
endif
|
Enjoy. _________________ --hackmiester
Last edited by hackmiester on Mon Nov 26, 2007 4:02 pm; edited 2 times in total |
|
| Back to top |
|
 |
mdvalenz
Joined: 21 Nov 2006 Posts: 42
Digg It |
Posted: Sat Nov 24, 2007 4:22 pm Post subject: |
|
|
| Thanks for the script. I will give it a try. |
|
| Back to top |
|
 |
mdvalenz
Joined: 21 Nov 2006 Posts: 42
Digg It |
Posted: Mon Nov 26, 2007 8:57 pm Post subject: |
|
|
I'll admit I have been distracted the last week so I haven't gotten very far with the jam sessions like playing using the wiiguitar. Someone else has made it using just a wiimote and I will try to edit it to work with the wiiguitar and the buttons.
http://www.nintendowiifanboy.com/2007/11/26/new-wiimote-hack-for-the-air-guitarist-in-all-of-us/
edit: The program is an installer and there is no way to change the control scheme. I emailed the person and asked if he would add it so maybe in a later release. Also, I couldn't get the program to see my wiimote so I don't know how it works.
I am looking at a different script that could work but it might not work very well. I will post when I have something.
Edit2: Just heard back from the programmer that did the above installer and he said he will try to add WiiGuitar support for the next release. |
|
| Back to top |
|
 |
beastlord
Joined: 21 Dec 2007 Posts: 1
Digg It |
Posted: Fri Dec 21, 2007 6:08 pm Post subject: |
|
|
hi,
I´m from spain, so I don´t understand everything.
From what I read, the wiimote works perfect with GH III (pc version) unless the whammy bar, that could have some problems, and not be configured exactly??
Is this right??
Thanks for your time. |
|
| Back to top |
|
 |
Stacks
Joined: 01 Jan 2008 Posts: 2
Digg It |
Posted: Tue Jan 01, 2008 8:33 pm Post subject: |
|
|
| I apologize if this has already been mentioned, but I am trying to get my Wii Guitar working with Guitar Hero 3. Everything works great so far, except when I need to create my band and enter the name, I can't figure out what the start button is mapped to, either on the guitar or keyboard. |
|
| Back to top |
|
 |
CarlKenner Site Admin
Joined: 29 Nov 2006 Posts: 614
Digg It |
Posted: Tue Jan 01, 2008 11:28 pm Post subject: |
|
|
GlovePIE 0.30 now supports the Wii Guitar (and in theory the Balance Board).
So in version 0.30 you can say things like:
Key.F1 = WiiGuitar.Fret1
Enter = WiiGuitar.StrumDown
etc. |
|
| Back to top |
|
 |
|