| View previous topic :: View next topic |
| Author |
Message |
slayer080
Joined: 29 Jan 2007 Posts: 26
Digg It |
Posted: Wed Jan 31, 2007 4:00 am Post subject: REQUEST: Counterstrike and bbk fighter - classic control |
|
|
could someone plz make me 2 scripts, the first 1 is for boy better know fighter which is the best street fighter mod i have ever played i would like to use the classic control for this, d-pad to move and the rest of the buttons normal for street fighter u can get this @ http://files.filefront.com/Boy_Better_Know_Fighterrar/;6418767;;/fileinfo.html
also i would like to use the classic control for counter strike with good controls and both of the analogs working
i would really appreciate it if someone did this. thanx |
|
| Back to top |
|
 |
TylerK

Joined: 18 Dec 2006 Posts: 384 Location: Springfield, IL
Digg It |
Posted: Wed Jan 31, 2007 4:11 am Post subject: |
|
|
Never played either one and don't intend to, but using the power of Google I was able to find the default keyboard controls for that fighting game, so here's an attempt at scripting it.
| Code: |
/*
Boy Better Know Fighter
by TylerK
This script requires the Classic Controller.
*/
A = Wiimote.Classic.L
S = Wiimote.Classic.y
D = Wiimote.Classic.x
Z = Wiimote.Classic.R
X = Wiimote.Classic.b
C = Wiimote.Classic.a
Up = Wiimote.Classic.Up
Down = Wiimote.Classic.Down
Left = Wiimote.Classic.Left
Right = Wiimote.Classic.Right
Escape = Wiimote.Classic.Home
|
|
|
| Back to top |
|
 |
slayer080
Joined: 29 Jan 2007 Posts: 26
Digg It |
Posted: Wed Jan 31, 2007 4:23 am Post subject: |
|
|
| thanx for replying so quick im gonna test it now |
|
| Back to top |
|
 |
slayer080
Joined: 29 Jan 2007 Posts: 26
Digg It |
Posted: Wed Jan 31, 2007 4:36 am Post subject: |
|
|
| it works kinda good the diagonals are wierd on the classic control i swear, thank you for the quick reply and the script. thanx again |
|
| Back to top |
|
 |
slayer080
Joined: 29 Jan 2007 Posts: 26
Digg It |
Posted: Wed Jan 31, 2007 6:26 am Post subject: |
|
|
suddenly i cant get the wiimote to respond now its stupid im using the counterstrike non ir script, i was just playing like a min ago literally, then it started going slow so i stopped the script and started it again as i normally do and have been doing all night and now it wont respond it just goes straight to the top left corner everytime, all the buttons will respond tho, if u dont know what script im talkin bout here it is:
//Button Assignments by tjfear
//Mouse Movement by vkapadia
//Nunchuk Movement by deceased
//
//
//Counter-Strike/Half-Life 2 Script - No Sensor Bar Required
// Uses Nunchuk
//
//Key Assignments
/*
Z = Walk
C = Croutch
Z + C = Quit
Home = Buy Menu
Minus = Reload
Pus = Alt-Fire
One = Last Weapon Used
Two = Drop Current Weapon
One + Two = Flashlight
B = Shoot
A = Use
B + A = Jump
DPad Down = Weapon Scroll Down
DPad Up = Weapon Scroll Up
DPad Left = Speak //NOTE: MiddleMouse is not the default speak button
DPad Right = Team Chat (Nothing Else to Put)
*/
//
//Assignments on Keyboard
Keyboard.B = Wiimote.Home
Keyboard.R = Wiimote.Minus
Keyboard.T = Wiimote.Right
if Wiimote.Nunchuk.ZButton and not Wiimote.Nunchuk.CButton then
Keyboard.Shift = true
Keyboard.Ctrl = false
Keyboard.Escape = false
endif
if Wiimote.Nunchuk.CButton and not Wiimote.Nunchuk.ZButton then
Keyboard.Shift = false
Keyboard.Ctrl = true
Keyboard.Escape = false
endif
if Wiimote.Nunchuk.ZButton and Wiimote.Nunchuk.CButton then
Keyboard.Shift = false
Keyboard.Ctrl = false
Keyboard.Escape = true
endif
if Wiimote.One and not Wiimote.Two then
Keyboard.Q = true
Keyboard.G = false
Keyboard.F = false
endif
if Wiimote.Two and not Wiimote.One then
Keyboard.Q = false
Keyboard.G = true
Keyboard.F = false
endif
if Wiimote.One and Wiimote.Two then
Keyboard.Q = false
Keyboard.G = false
Keyboard.F = true
endif
if Wiimote.B and not Wiimote.A then
Mouse.LeftButton = true
Keyboard.E = false
Keyboard.Space = false
wait 1 ms
Mouse.LeftButton = false
Wiimote.Rumble = true
wait 10 ms
Wiimote.Rumble = false
endif
if Wiimote.A and not Wiimote.B then
Mouse.LeftButton = false
Keyboard.E = true
Keyboard.Space = false
endif
if Wiimote.A and Wiimote.B then
Mouse.LeftButton = false
Keyboard.E = false
Keyboard.Space = true
endif
//Assignments on Mouse
Mouse.RightButton = Wiimote.Plus
Mouse.WheelDown = Wiimote.Down
Mouse.WheelUp = Wiimote.Up
Mouse.MiddleButton = Wiimote.Left
//
//Everything Passed Here Deals With Movement
//==========================================
//Nunchuck
if Wiimote.nunchuk.joyy > .2
Keyboard.S = 1
else if Wiimote.nunchuk.joyy < -.2
Keyboard.W = 1
else
Keyboard.S = 0
Keyboard.W = 0
endif
if wiimote.nunchuk.joyx > .2
Keyboard.D = 1
else if wiimote.nunchuk.joyx < -.2
Keyboard.A = 1
else
Keyboard.D = 0
Keyboard.A = 0
endif
//Wiimote
//Trim to Zero
var.trimx = 7
var.trimy = -30
var.trimz = 11
var.x = Wiimote.RawForceX + var.trimx
var.y = Wiimote.RawForceY + var.trimy
var.z = Wiimote.RawForceZ + var.trimz
//Precision
var.sense0 = 500
var.thresh0x = 5
var.thresh0y = 2
var.sense = 300
var.threshx = 10
var.threshy = 5
var.sense2 = 100
var.thresh2x = 15
var.thresh2y = 8
var.sense3 = 50
var.thresh3x = 20
var.thresh3y = 12
//First Sensitivity Setting
//X-axis
if var.x > var.thresh0x
mouse.x = mouse.x - 1/var.sense0
endif
if var.x < -var.thresh0x
mouse.x = mouse.x + 1/var.sense0
endif
//Y-axis
if var.z > var.thresh0y
mouse.y = mouse.y - 1/var.sense0
endif
if var.z < -var.thresh0y
mouse.y = mouse.y + 1/var.sense0
endif
//Second Sensitivity Setting
//X-axis
if var.x > var.threshx
mouse.x = mouse.x - 1/var.sense
endif
if var.x < -var.threshx
mouse.x = mouse.x + 1/var.sense
endif
//Y-axis
if var.z > var.threshy
mouse.y = mouse.y - 1/var.sense
endif
if var.z < -var.threshy
mouse.y = mouse.y + 1/var.sense
endif
//Third Sensitivity Setting
//X-axis
if var.x > var.thresh2x
mouse.x = mouse.x - 1/var.sense2
endif
if var.x < -var.thresh2x
mouse.x = mouse.x + 1/var.sense2
endif
//Y-axis
if var.z > var.thresh2y
mouse.y = mouse.y - 1/var.sense2
endif
if var.z < -var.thresh2y
mouse.y = mouse.y + 1/var.sense2
endif
//Fourth Sensitivity Setting
//X-axis
if var.x > var.thresh3x
mouse.x = mouse.x - 1/var.sense3
endif
if var.x < -var.thresh3x
mouse.x = mouse.x + 1/var.sense3
endif
//Y-axis
if var.z > var.thresh3y
mouse.y = mouse.y - 1/var.sense3
endif
if var.z < -var.thresh3y
mouse.y = mouse.y + 1/var.sense3
endif
//Debug
debug = var.x + " " + var.y + " " + var.z
it was just workin like a min ago, i dunno what even happened, i dint do anything different to what i have been doing all night, but still this script i dont like very much anyway coz u cant play counterstrike with the wiimote u dont get no time to aim or nuffin so you just get shot...repeatedly, so could someone please please make a classic control script for this, with the left analog for moving forward, backwards, right and left sidestep, and the right analog for turning left and right and looking up and down, and maybe R to shoot i dont really care bout the other buttons too much as long as i could configure the rest myself, but that analog system would be perfect for counter strike, i love that game and i only just got it like 4 hours ago and i really wanna play it, i cant even play it normally with a mouse or anythin coz i have a toughbook laptop which uses a touchpad and my up, down, left and right arrow keys are not the same as a normal desktop, i have to use two hands just for the arrow keys so i am relying on my wii controls for pc gaming as i have no gamepad and i just broke my psp the otha day so now i cant use dat either if someone could do this for me i would really really appreciate it more than anythin else. thanx |
|
| Back to top |
|
 |
slayer080
Joined: 29 Jan 2007 Posts: 26
Digg It |
Posted: Thu Feb 01, 2007 1:40 am Post subject: |
|
|
| ok i actually cant connect my wii remote to glovepie anymore for some reason,this is what happens. i connect my wiimote to my bluetooth succesfully then i start glovepie (the debug screen comes up here if i have the classic control in), my wiimote is still flashing then i start a script and the lights are still flashing then once i stop the script the wiimote stops flashing and it still wont run and none of the controls work i dont know whats going on i havent changed a thing. can anyone help |
|
| Back to top |
|
 |
slayer080
Joined: 29 Jan 2007 Posts: 26
Digg It |
Posted: Thu Feb 01, 2007 4:27 pm Post subject: |
|
|
| ok ive been trying to learn how to make my own scripts and ive been pretty succesful but could someone do me one favour please, all i need now is the analogs working the controls in game for lookin left and right and up and down are controlled by the mouse and walking forward and backwards are the arrows on the keyboard i would like the left analog to control walking forward and backwards and sidestep and the right analog to control turning left and right and looking up and down,i know this is simple stuff for some people so could u plz take a couple minutes to make this for me or at least teach me how to do it. thanx |
|
| Back to top |
|
 |
|