voila une petite video pour farcry
http://www.dailymotion.com/video/x4edgj_farcry-a-la-wiimote_videogames
et le script
http://www.gigasize.com/get.php/3196586584/script_Farcry_16.02.08.rar
et vu que je suis gentil, le script pour crysis avant ma video
http://www.gigasize.com/get.php/3196585799/script_crysis_16.02.08.rar
ptain mais comment tu fais tout ca?
up!up!up!
Au fait j'ai une question, bon peut - être HS mais voila, j'ai pommé ma clé bluetooth, mais apparement mon téléphone a une fonction télécommande bluetooth et jle branche sur pc. Vous pensez que cette fonction correspond à une clée bluetooth lorsque je branche le portable sur mon ordi ?
Pour info j'ai un sony ericsson w580i
Et merci Jero38 pour toutes ces vidéos, il me manque juste une nouvelle carte graphique pour tester tout
mais je croi avoir lu qqpart que les scripts fourni avec glovepie sont assez amusant ( notament le truc de la batterie
)
ça coûte combien une clé Bluetooth ?
Et on la branche par USB sur notre ordi cette clé ?
Merci d'avance ![]()
15 euro pour la clef.
pour le telephone je ne pense pas. ils sont pas con les fabriquants il te font des appareils multifonction sans qu'on puissent utiliser toutes les fonctions comme l'on voudrait.
On veut la vidéo de crysis ![]()
desoler j'avais pas vue
http://www.stage6.com/user/Jero38380/video/2234253/crysis-with-wiimote-02-08
UP!
Alors personne n'a rien a dire, pour ce qui ont tester dite moi les boutons que je devraient changer.
pour ceux que ça intéressé, avec un collègue ont viens de faire un site ou il y a déjà mes anciens scripts (cod4, crysis, farcry, aeroflyprodeluxe) je vais y rajouter lostplanete, grow2, et gow (script fini mais pas en ligne) et faire medal of honor, sam and max (pas commencé) et j'attend assassin creed.
si vous êtes intéressé par ce site faites le moi savoir, comme ca je vous donnerais l'adresse dés qu'il sera rempli.
franchement ce serait bien que vous votiez pour moi https://www.jeuxvideo.com/forums/1-62-1134242-238-0-1-0-0.htm
mais ne vous forcez pas.
a bientot
si me force pas je vote pas pour toi
![]()
JERO38,
Que penses tu du mien:
//
//Script Call Of Duty 4
//
if pie.Frame == 1
HidePie = False
// Accélération du Nunchuk et de la Wiimote
var.nunchukAccX = 20
var.nunchukAccY = 20
var.wiimoteAcc = 40
var.xNunchukou = 0
pie.FrameRate = 120
pie.MouseDPI = 1600
Wiimote.Leds = 0
var.IRSmooth = 2
Wiimote.Led4 = True
endif
// Calibrage Wiimote
var.accx = wiimote.RawForceX - 1
var.accy = wiimote.RawForceY - 27
var.accz = wiimote.RawForceZ + 4
// Variable Joystik du Nunchuk
var.xNunchuk = Wiimote.Nunchuk.JoyX * 100
var.yNunchuk = Wiimote.Nunchuk.JoyY * 100
if wiimote.dot1vis and wiimote.dot2vis then var.dotsvisible = True else var.dotsvisible = False
// Bouttons du jeu
mouse.LeftButton + Wiimote.Rumble = Wiimote.B // Tire et vibre
mouse.MiddleButton = Wiimote.A // Zoom
Shift = Wiimote.Nunchuk.ZButton // Courir
if doubleclicked(wiimote.Nunchuk.ZButton)
F = true // Utiliser
F = false
endif
? = Wiimote.Left // ?
N = Wiimote.Right // Vision Nocturne
? = wiimote.Up // ?
V = Wiimote.Down // Corps à corps
// Rotation Horizontale du Nunchuk
q = Wiimote.Nunchuk.Roll + var.xNunchukou < -20 // Se pencher à gauche
e = Wiimote.Nunchuk.Roll + var.xNunchukou > 30 // Se pencher à droite
debug = 'Debug: xNunchukou: ' + (Wiimote.Nunchuk.Roll + var.xNunchukou)
Four = Wiimote.Home // Grenade Flash
G = Wiimote.Minus // Grenade Frag
One = Wiimote.Plus // Changer d'armes
Tab = Wiimote.One // Objectifs
if doubleclicked(wiimote.one)
Escape = true // Echap
Escape = false
endif
c = wiimote.Nunchuk.CButton // Accoupri
if doubleclicked(wiimote.Nunchuk.CButton)
Ctrl = true // Allonger
Ctrl = false
endif
// Mouvement Nunchuk vertical
if |Wiimote.Nunchuk.RawAccY| > var.nunchukAccY
Space = true // Saut
Space = false
wait 100ms
endif
// Mouvement Nunchuk Horizontal
if |Wiimote.Nunchuk.RawAccX| > var.nunchukAccX
R = true // Recharger
R = false
wait 100ms
endif
//use items, open doors etc.,if you move wiimote near to sensorbar
if var.dotsvisible
var.IRDist_dotx = (wiimote.dot1x - wiimote.dot1y) - (wiimote.dot2x - wiimote.dot2y)
var.IRDist_doty = (wiimote.dot1x + wiimote.dot1y) - (wiimote.dot2x + wiimote.dot2y)
var.IRDistance = 7.2 inches * 1320 / hypot(|var.IRDist_dotx|, |var.IRDist_doty|) //7.2 = distance in inches between middles of two sensor bar dots
endif
// Mouvements
if |nunchuk.joyx| >= 20% or |nunchuk.joyy| >= 20% //if nunchuck is not in neutral position
if var.accZ < -20 and (not var.dotsvisible) //if wiimote faces down - strafe l/r is deactivated, look l/r is activated
Left = nunchuk.joyx <= -20%
Right = nunchuk.joyx >= 20%
else //if wiimote faces to screen - strafing l/r is activated
A = nunchuk.joyx <= -20%
D = nunchuk.joyx >= 20%
endif
W = nunchuk.joyy <= -20%
S = nunchuk.joyy >= 20%
var.resetnunchuckjoy = True
else if var.resetnunchuckjoy
A = False
D = False
W = False
S = False
Left = False
Right = False
var.resetnunchuckjoy = False
endif
//switch between sensivities
if wiimote.two
if var.IRSmooth == 1
var.IRSmooth = 2
Wiimote.Led1 = False
Wiimote.Led4 = True
else
var.IRSmooth = 1
Wiimote.Led1 = True
Wiimote.Led4 = False
endif
wait 200ms
endif
// Display Battery - Full battery: 0xC0 (192)
if doubleclicked(Wiimote.Two)
if 0.25 < wiimote.Battery / 48 <=1
Wiimote.Leds = 1
else if 1 < wiimote.Battery / 48 <=2
Wiimote.Leds = 3
else if 2 < wiimote.Battery / 48 <=3
Wiimote.Leds = 7
else if 3 < wiimote.Battery / 48 <=4
Wiimote.Leds = 15
else
Wiimote.Leds = 0
endif
wait 2s
Wiimote.Leds = 0
if var.IRSmooth == 1 then Wiimote.Led1 = True else Wiimote.Led4 = True
endif
//------------------------------------------------
------------------------------
//MOUSE EMULATION FOR IR SENSOR BAR
if var.IRSmooth == 2
//acceleration adjust
var.cpower = 0.05 //0.02 std by Dr_Zoidberg
var.ipower = 1.0 //1.2 std by Dr_Zoidberg
var.0power = 1.2 //0.1 std by Dr_Zoidberg
var.scrmlt = 22 //16 std by Dr_Zoidberg
else
//acceleration adjust
var.cpower = 0.002
var.ipower = 0.03
var.0power = 0.05
var.scrmlt = 16
endif
//speed factors
var.cfactor = 1/30 //1 std by Dr_Zoidberg
var.ifactor = 1/30 //1/16 std by Dr_Zoidberg
var.0factor = 1/30 //1/40 std by Dr_Zoidberg
var.factory = 0.00002 //1/1.1 std by Dr_Zoidberg
//direct pointing area
var.czonex = (screen.Width/1.2)/ var.scrmlt //1.5 std by Dr_Zoidberg
var.czoney = (screen.Height/1.2)/ var.scrmlt
//faster direct pointing area
var.izonex = (screen.Width/4)/ var.scrmlt //3 std by Dr_Zoidberg
var.izoney = (screen.Height/4)/ var.scrmlt
//wiimoteroll convert
if var.onedot = 0
var.cos0 = var.cos
var.sin0 = var.sin
endif
var.roll = 0 - wiimote.roll
if var.roll < 0 then var.roll = var.roll + 360
var.cos = cos(var.roll)
var.sin = -sin(var.roll)
var.0cos = var.cos - var.cos0
var.0sin = var.sin - var.sin0
var.0cos = smooth(var.0cos,2)
var.0sin = smooth(var.0sin,2)
var.cos = smooth(var.cos,25)
var.sin = smooth(var.sin,25)
var.sinpitch = sin(wiimote.Pitch)
var.sinpitch = smooth(var.sinpitch,5)
if (wiimote.dot1vis or wiimote.dot2vis) and var.wmaccZtimer == 0 and var.AccZ < var.wiimoteAcc and |var.accY| < var.wiimoteAcc then
//phantomdot creation if only one dot is visible
if (not wiimote.dot1vis) or (not wiimote.dot2vis)
if var.onedot < pie.FrameRate
var.onedot ++
endif
//compensate for pitch
var.distf =
1+((abs(var.y)^1/640-1)*((abs(var.sinpitch)^1)*(va
r.dist-1))/(1024-1))*sign(var.sinpitch)*sign(var.y
) //768 - normal screen, 640 - widescreeen
var.px = var.cos*var.dist*var.distf
var.py = var.sin*var.dist*var.distf
if wiimote.dot1vis
var.d0x = (1024/2)- wiimote.dot1x
var.d0y = (640/2) - wiimote.dot1y //768 - normal screen, 640 - widescreeen
var.dot2f = 2
var.dot1f = 1
else
var.d0x = (1024/2)- wiimote.dot2x
var.d0y = (640/2) - wiimote.dot2y //768 - normal screen, 640 - widescreeen
var.dot1f = 2
var.dot2f = 1
endif
//check which dot is which
if
sqrt(sqr(var.d0x-var.d1x)+sqr(var.d0y-var.d1y))*va
r.dot1f >
sqrt(sqr(var.d0x-var.d2x)+sqr(var.d0y-var.d2y))*va
r.dot2f then
var.d3x = var.d1x
var.d3y = var.d1y
var.0d3x = var.d01x
var.0d3y = var.d01y
var.0d0x = var.d02x
var.0d0y = var.d02y
else
var.d3x = var.d2x
var.d3y = var.d2y
var.0d3x = var.d02x
var.0d3y = var.d02y
var.0d0x = var.d01x
var.0d0y = var.d01y
endif
//var.roll = var.roll - var.dr
if
sqrt(sqr(var.d0x+var.px-var.d3x)+sqr(var.d0y+var.p
y-var.d3y)) >
sqrt(sqr(var.d0x-var.px-var.d3x)+sqr(var.d0y-var.p
y-var.d3y)) then
var.px = var.px*(-1)
var.py = var.py*(-1)
endif
if var.onedot < 3 // set to +1 0sin / 0cos smooth value
//eliminte glitches at transition form 2 to 1 ir dots visible
var.0dx = var.px - var.0d3x + var.0d0x - var.0cos*var.dist
var.0dy = var.py - var.0d3y + var.0d0y - var.0sin*var.dist
endif
var.d2x = var.d0x + var.px - var.0dx
var.d2y = var.d0y + var.py - var.0dy
var.d1x = var.d0x
var.d1y = var.d0y
else
//read IR if both dots are visible
var.onedot = 0
var.d2x = (1024/2)- wiimote.dot2x
var.d2y = (640/2) - wiimote.dot2y //768 - normal screen, 640 - widescreeen
var.d1x = (1024/2)- wiimote.dot1x
var.d1y = (640/2) - wiimote.dot1y //768 - normal screen, 640 - widescreeen
var.dist = sqrt(sqr(var.d1x-var.d2x)+sqr(var.d1y-var.d2y))
endif
var.rotc =
acos((var.d1x-var.d2x)/sqrt(sqr(var.d1x-var.d2x)+s
qr(var.d1y-var.d2y)))
if
((var.d1y-var.d2y)/sqrt(sqr(var.d1x-var.d2x)+sqr(v
ar.d1y-var.d2y))) > 0
var.rotc = 360 - var.rotc
endif
var.rots = -
asin((var.d1y-var.d2y)/sqrt(sqr(var.d1x-var.d2x)+s
qr(var.d1y-var.d2y)))
if
((var.d1x-var.d2x)/sqrt(sqr(var.d1x-var.d2x)+sqr(v
ar.d1y-var.d2y))) < 0
var.rots = 180 - var.rots
endif
if var.rots < 0
var.rots = 360 + var.rots
endif
var.rot = var.rotc/2 + var.rots/2
//rotation neutralization
if (360 - 36) > abs(var.rot - var.roll) > (36) //36 = rotation deadzone
var.rot = var.rot - 180
if var.rot < 0 then var.rot = 360 + var.rot
var.d0x = var.d1x
var.d0y = var.d1y
var.d1x = var.d2x
var.d1y = var.d2y
var.d2x = var.d0x
var.d2y = var.d0y
endif
//store last dots
if var.onedot = 0
var.d01x = var.d1x
var.d01y = var.d1y
var.d02x = var.d2x
var.d02y = var.d2y
endif
//smooth movement
var.d1x = smooth(var.d1x,2)
var.d1y = smooth(var.d1y,2)
var.d2x = smooth(var.d2x,2)
var.d2y = smooth(var.d2y,2)
//store last coordinates
var.0x = var.x
var.0y = var.y
//coordinate calculation
var.y = ((var.d1y*var.d2x)-(var.d1x*var.d2y)) / (sqrt(sqr(var.d2x-var.d1x) + sqr(var.d2y-var.d1y)))/((640))*screen.height/ var.scrmlt //768 - normal screen, 640 - widescreeen
var.x =
(sqr(var.d1x)-sqr(var.d2x)+sqr(var.d1y)-sqr(var.d2
y)) / (2*(sqrt(sqr(var.d2x-var.d1x) + sqr(var.d2y-var.d1y))))/(1024)*screen.Width/ var.scrmlt
//NAN bug workaround
if var.x = NAN
var.x = 0
var.0x = 0
endif
if var.y = NAN
var.y = 0
var.0y = 0
endif
//softsmoothdeadzone
if abs(var.x-var.0x) < 1.0 //deadzone = 1.0
var.x = var.x -
((var.x-var.0x)*(1-((abs((var.deadzone-abs(var.x-v
ar.0x))/1.0)))^0.5)) //deadzone = 1.0
var.x = smooth(var.x,4)
endif
if abs(var.y-var.0y) < 1.0 //deadzone = 1.0
var.y = var.y -
((var.y-var.0y)*(1-((abs((var.deadzone-abs(var.y-v
ar.0y))/1.0)))^0.5)) //deadzone = 1.0
var.x = smooth(var.x,4)
endif
var.x = smooth(var.x,2)
var.y = smooth(var.y,2)
if abs(var.x) > var.czonex
var.x =
var.x*abs(1+(abs(abs(var.x)-var.czonex)/abs(var.x)
)*var.cpower)*var.cfactor
endif
if abs(var.y) > var.czoney
var.y =
var.y*abs(1+(abs(abs(var.y)-var.czoney)/abs(var.y)
)*var.cpower*var.factory)*var.cfactor
endif
//fps mouse movement
if abs(var.x) > var.izonex
var.inputx = var.inputx +
var.x*abs((abs((abs(var.x)-var.izonex)^var.ipower)
/abs(abs(var.x)^var.ipower)))*var.ifactor
endif
if abs(var.y) > var.izoney
var.inputy = var.inputy +
var.y*abs((abs((abs(var.y)-var.izoney)^var.ipower)
/abs(abs(var.y)^var.ipower)))*var.ifactor
endif
var.inputx = var.inputx + var.x - var.0x
var.inputy = var.inputy + var.y - var.0y
mouse.DirectInputX = var.inputx
mouse.DirectInputY = var.inputy
var.ipolcount = 0
else
//continue mouse movement for 2 sec if no IR visible
if var.ipolcount <= 2*pie.FrameRate and var.wmaccZtimer == 0 and var.AccZ < var.wiimoteAcc and |var.accY| < var.wiimoteAcc and (var.x <> 0 or var.y <> 0) then
if abs(var.x) > var.izonex
var.InputX = var.InputX +
var.x*abs((abs((abs(var.x)-var.izonex)^var.ipower)
/abs(abs(var.x)^var.ipower)))*var.ifactor
else
var.InputX = var.InputX + var.x*abs(1+abs(var.x)*var.0power)*var.0factor
endif
if abs(var.y) > var.izoney
var.InputY = var.InputY +
var.y*abs((abs(abs(abs(var.y)-var.izoney)^var.ipow
er)/abs(abs(var.y)^var.ipower)))*var.ifactor
else
var.InputY = var.InputY +
var.y*abs(1+abs(var.y)*var.0power*var.factory)*var
.0factor
endif
mouse.directinputX = var.inputx
mouse.directinputY = var.inputy
var.ipolcount = var.ipolcount + 1
else
var.x = 0
var.y = 0
endif
endif
Pourquoi aussi long alors que le script tiens en 20 lignes ??
Et la maniabilité est si bonne que ça ? Ca change des Red Steel ou autres FPS ? Tu joues toujours en Wiimote sur ton PC ?
"Et la maniabilité est si bonne que ça ? Ca change des Red Steel ou autres FPS ?"
Pas aussi efficace que Souris-Clavier, mais ça fait bouger les bras, et puis tout ça c'est pour la bidouille ;-)
salut
je up pour demander, comment fait-on cet explot, et aussi, est-ce que quelqu'un peut me donner tout le nécessaire
je n'aurai plus internet jeudi, donc je fait le maximum pour faire tout ce que je peut encore faire ^^
de m'aider !
j'ai oublier de préciser : je voudrais le faire sur Battlefield 2, 1er du nom ;-)
bon ba laissez tomber, je suis aller sur le forum PC, j'ai rechercher, et j'ai trouver le site
http://wiidows.fr
je sais pas si j'ai le bluetooth sur mon PC, et si je l'ai pas, j'ai pas très envie de me le procurer ^^
tanpis, merci quand même.
salut à tous
je ne suis pas chez moi, je n'ai toujours pas internet, mais j'ai acheter une clée bluetooth
donc ,est-ce que quelqu'un de très sympa peut me donner le script pour battlefield 2 sur pc ?
et aussi tous les autres logiciels à télécharger, avec la version précisé
à ceux qui m'aide ...
salut jéro
je viens juste pour éclaircire un truc :
sur Le Site Du Zero, dans un topic que tu as créé
tu te vante partout d'être le 1er à programmer la Wiimote pour jouer au PC....
mais regarde, bien avant toi, en 2006, y'a déjà quelqu'un qui a fait un tuto !
http://www.playeradvance.org/forum/showthread.php?t=5011
voilà, c'était mon ptit coup de geule, parceque je n'ai pas le temps de m'inscrire pour répondre à ton topic, et que hais les gens se vantent pour rien ![]()