[M2000C] profil warthog pour ravito

HotStick !!! Fais chauffer l'imprimante !!!
Répondre
Avatar de l’utilisateur
psycho
Site Admin
Messages : 1744
Inscription : 28 oct. 2011, 11:13
Localisation : Marseille

[M2000C] profil warthog pour ravito

Message par psycho »

J'ai personnalisé mon profil warthog et affecté un switch pour changer la courbe de réponse de mes axes à la volée.

Ce post vous explique comment transformer votre profil Target GUI en profil Target Script editor, et le fonctionnement des courbes de réponses :

http://www.checksix-forums.com/viewtopi ... 3&t=193201

Ensuite voila mon profil, ce qui peux vous intéresser c'est de récupérer les courbes que j'ai travaillé et testé :

Code : Tout sélectionner

include "target.tmh"
int listXC, listYC, listXR, listYR, listGC, listGR, main() 
{
	Configure(&HCougar, MODE_EXCLUDED);
	Configure(&T16000, MODE_EXCLUDED);
	Configure(&T16000L, MODE_EXCLUDED);
	Configure(&LMFD, MODE_EXCLUDED);
	Configure(&RMFD, MODE_EXCLUDED);
	Configure(&TFRPRudder, MODE_EXCLUDED);
	Configure(&TWCSThrottle, MODE_EXCLUDED);
	
	if(Init(&EventHandle)) return 1;
	
	listXC = LIST(0,0, 10,10, 20,20, 30,30, 40,40, 50,50, 60,60, 70,70, 80,80, 90,90, 100,100);
	listYC = LIST(0,0, 10,10, 20,20, 30,30, 40,40, 50,50, 60,60, 70,70, 80,80, 90,90, 100,100);
	listGC = LIST(0,0, 10,10, 20,20, 30,30, 40,40, 50,50, 60,60, 70,70, 80,80, 90,90, 100,100);
	listXR = LIST(0,25, 10,30, 20,35, 30,40, 40,45, 50,50, 60,55, 70,60, 80,65, 90,70, 100,75);
	listYR = LIST(0,25, 10,30, 20,35, 30,40, 40,45, 50,50, 60,55, 70,60, 80,65, 90,70, 100,75);
	listGR = LIST(0,0, 10,5, 20,10, 30,15, 40,20, 50,25, 60,30, 70,35, 80,40, 90,45, 100,50);
	
	SetKBRate(32, 50);
	SetKBLayout(KB_FR);
	MapKey(&Throttle, EFLOVER, CHAIN(PULSE+ EXEC("SetCustomCurve(&Joystick, JOYX, listXC);""SetCustomCurve(&Joystick, JOYY, listYC);""SetCustomCurve(&Throttle, THR_RIGHT, listGC);"),PULSE+L_ALT+'r'));
	MapKey(&Throttle, EFLNORM, CHAIN(PULSE+ EXEC("SetCustomCurve(&Joystick, JOYX, listXR);""SetCustomCurve(&Joystick, JOYY, listYR);""SetCustomCurve(&Throttle, THR_RIGHT, listGR);"),PULSE+'r'));
	MapKey(&Joystick, TG1, SPC);
	MapKey(&Joystick, S1, L_ALT+'q');
	MapKey(&Joystick, S2, SPC);
	MapKey(&Joystick, S3, PULSE+'s');
	MapKey(&Joystick, S4, PULSE+F12);
	MapKey(&Joystick, H2U, PULSE+ENT);
	MapKey(&Joystick, H2R, PULSE+'v');
	MapKey(&Joystick, H2D, PULSE+BSP);
	MapKey(&Joystick, H2L, PULSE+'d');
	MapKey(&Joystick, H3U, 'm');
	MapKey(&Joystick, H3R, '!');
	MapKey(&Joystick, H3D, ':');
	MapKey(&Joystick, H3L, ';');
	MapKey(&Joystick, H4U, PULSE+INS);
	MapKey(&Joystick, H4R, PULSE+R_SHIFT+'j');
	MapKey(&Joystick, H4D, PULSE+DEL);
	MapKey(&Joystick, H4L, PULSE+R_CTL+'j');
	MapKey(&Joystick, H4P, PULSE+'o');
	MapKey(&Joystick, H1U, R_CTL+'z');
	MapKey(&Joystick, H1D, R_CTL+'s');
	MapKey(&Joystick, H1L, R_CTL+'q');
	MapKey(&Joystick, H1R, R_CTL+'d');
	MapAxis(&Joystick, JOYX, DX_X_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
	SetSCurve(&Joystick, JOYX, 0, 0, 0, 0, 0);
	MapAxis(&Joystick, JOYY, DX_Y_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
	SetSCurve(&Joystick, JOYY, 0, 0, 0, 0, 0);
	MapKey(&Throttle, SC, PULSE+'l');
	MapKey(&Throttle, MSU, L_SHIFT+USB[87]);
	MapKey(&Throttle, MSR, PULSE+'=');
	MapKey(&Throttle, MSD, L_ALT+USB[86]);
	MapKey(&Throttle, MSL, PULSE+')');
	MapKey(&Throttle, SPDF, PULSE+L_SHIFT+'b');
	MapKey(&Throttle, SPDB, PULSE+L_SHIFT+'b');
	MapKey(&Throttle, BSF, L_CTL+'é'+256);
	MapKey(&Throttle, BSB, L_CTL+'&');
	MapKey(&Throttle, CHF, L_SHIFT+'d');
	MapKey(&Throttle, CHB, L_CTL+'d');
	MapKey(&Throttle, PSF, PULSE+R_CTL+'l');
	MapKey(&Throttle, PSB, PULSE+R_CTL+R_SHIFT+'l');
	MapKey(&Throttle, LTB, 'z');
	MapKey(&Throttle, EFRNORM, PULSE+'y');
	MapKey(&Throttle, FLAPU, L_SHIFT+'s');
	MapKey(&Throttle, FLAPD, L_SHIFT+L_ALT+'s');
	MapKey(&Throttle, EACON, PULSE+'à'+256);
	MapKey(&Throttle, RDRNRM, PULSE+L_CTL+L_SHIFT+'g');
	MapKey(&Throttle, APPAT, PULSE+L_SHIFT+'h');
	MapKey(&Throttle, APALT, PULSE+'h');
	MapKey(&Throttle, EOLIGN, PULSE+'p');
	MapKey(&Throttle, EORIGN, PULSE+R_ALT+'l');
	MapKey(&Throttle, EFROVER, PULSE+L_SHIFT+'y');
	MapKey(&Throttle, EACOFF, PULSE+'à'+256);
	MapKey(&Throttle, RDRDIS, PULSE+L_CTL+L_SHIFT+'g');
	MapKey(&Throttle, APDIS, PULSE+'q');
	MapKey(&Throttle, IDLERON, PULSE+R_SHIFT+END);
	MapKey(&Throttle, SPDM, PULSE+L_CTL+'b');
	MapKey(&Throttle, APAH, CHAIN( PULSE+'q', D(), PULSE+'q'));
	MapKey(&Throttle, CSU, PULSE+L_CTL+'u');
	MapKey(&Throttle, CSD, PULSE+'\"');
	MapKey(&Throttle, CSR, PULSE+L_SHIFT+'u');
	MapKey(&Throttle, CSL, PULSE+L_ALT+'u');
	KeyAxis(&Throttle, SCX, 0, AXMAP2( LIST( 0, 30, 70 ), ';', 0, '!' ));
	KeyAxis(&Throttle, SCY, 0, AXMAP2( LIST( 0, 20, 80 ), 'm', 0, ':' ));
	MapAxis(&Throttle, SCX, DX_XROT_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
	SetSCurve(&Throttle, SCX, 0, 0, 0, 0, 0);
	MapAxis(&Throttle, SCY, DX_YROT_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
	SetSCurve(&Throttle, SCY, 0, 0, 0, 0, 0);
	MapAxis(&Throttle, THR_RIGHT, DX_Z_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
	SetSCurve(&Throttle, THR_RIGHT, 0, 0, 0, 0, 0);
	MapAxis(&Throttle, THR_LEFT, DX_ZROT_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
	SetSCurve(&Throttle, THR_LEFT, 0, 0, 0, 0, 0);
	MapAxis(&Throttle, THR_FC, DX_SLIDER_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
	SetSCurve(&Throttle, THR_FC, 0, 0, 0, 0, 0);

}
int EventHandle(int type, alias o, int x)
{
	DefaultMapping(&o, x);
}
Dispo pour une explication pas à pas sur TS.
En tout cas maintenant je ravitaille une main dans le dos et un oeil fermé 8-)
Image
A vaincre sans Pastis, on triomphe sans boire !

Avatar de l’utilisateur
Snow
Messages : 508
Inscription : 11 août 2016, 09:48
Localisation : Aix en Provence

Re: [M2000C] profil warthog pour ravito

Message par Snow »

psycho a écrit :En tout cas maintenant je ravitaille une main dans le dos et un oeil fermé 8-)
Premier membre de la 51th à y arriver si je comprends bien... Du coup tu payes le champ' à la prochaine lan ??? :good:
:crazy:et comme dirait l'obstétricien à la jeune maman qui va accoucher d'un enfant obèse "ça va déchirer sa mère..." - :crazy:

Avatar de l’utilisateur
psycho
Site Admin
Messages : 1744
Inscription : 28 oct. 2011, 11:13
Localisation : Marseille

Re: [M2000C] profil warthog pour ravito

Message par psycho »

à ravitailler non.
Mardi dernier nous étions 7 en vol il me semble et 4 pilotes ont ravitaillé, Fox à prétexté une histoire de lag pour abandonner, Hotstick à essayé un moment puis renoncé et moi j'ai essayé un moment avant de partir au combat sur des contacts en approche du ravito.
Image
A vaincre sans Pastis, on triomphe sans boire !

Avatar de l’utilisateur
Polux
Site Admin
Messages : 2943
Inscription : 28 oct. 2011, 19:15

Re: [M2000C] profil warthog pour ravito

Message par Polux »

psycho a écrit :Fox à prétexté une histoire de lag pour abandonner.
C'est dans ces moments d'excuses honteuses qu'il aime sa connexion toute pourrie :-D
comment il va faire avec la fibre....
ImageImage
"On n'est pas assez nombreux pour faire tout et n'importe quoi!" Hotstick, Lan janvier 2015
Mais si on était plus...

Avatar de l’utilisateur
HotStick
Messages : 3778
Inscription : 28 oct. 2011, 10:59
Localisation : Marseille
Contact :

Re: [M2000C] profil warthog pour ravito

Message par HotStick »

Merci pour les courbes Psycho, je vais essayer ça :)

Avatar de l’utilisateur
Moos
Messages : 1901
Inscription : 31 oct. 2011, 18:17
Localisation : LFBO

Re: [M2000C] profil warthog pour ravito

Message par Moos »

Fox il vole tellement mal que même avec la fibre, on dirait qu'il lag :-D :ROFL:
Image Image
Image Image
J'aime me beurrer la biscotte

Avatar de l’utilisateur
HotStick
Messages : 3778
Inscription : 28 oct. 2011, 10:59
Localisation : Marseille
Contact :

Re: [M2000C] profil warthog pour ravito

Message par HotStick »

Psycho tu pourra mettre le petit complément concernant la touche pour la perche ?
Merci ;)

Déjà les axes c'est super, bon il me faut quand même encore 100 nautiques pour faire le plein mais ça va mieux :D

Avatar de l’utilisateur
psycho
Site Admin
Messages : 1744
Inscription : 28 oct. 2011, 11:13
Localisation : Marseille

Re: [M2000C] profil warthog pour ravito

Message par psycho »

c'est déjà fait, je l'ai mis hier soir après la mission.

le forum coupe mais il faut que ce soit sur la même ligne :

Code : Tout sélectionner

   MapKey(&Throttle, EFLOVER, CHAIN(PULSE+ EXEC("SetCustomCurve(&Joystick, JOYX, listXC);""SetCustomCurve(&Joystick, JOYY, listYC);""SetCustomCurve(&Throttle, THR_RIGHT, listGC);"),PULSE+L_ALT+'r'));
   MapKey(&Throttle, EFLNORM, CHAIN(PULSE+ EXEC("SetCustomCurve(&Joystick, JOYX, listXR);""SetCustomCurve(&Joystick, JOYY, listYR);""SetCustomCurve(&Throttle, THR_RIGHT, listGR);"),PULSE+'r'));
Il faut ajouter les touches dans DCS parce que les commandes ne sont pas attribuées par défaut.
C'est dans la rubrique engine&fuel, j'ai mis R pour ouvrir et AltG+R pour fermer.
Image
A vaincre sans Pastis, on triomphe sans boire !

Avatar de l’utilisateur
HotStick
Messages : 3778
Inscription : 28 oct. 2011, 10:59
Localisation : Marseille
Contact :

Re: [M2000C] profil warthog pour ravito

Message par HotStick »

Impec Psycho je vais vois ça :)

Avatar de l’utilisateur
Snow
Messages : 508
Inscription : 11 août 2016, 09:48
Localisation : Aix en Provence

Re: [M2000C] profil warthog pour ravito

Message par Snow »

Moos a écrit :Fox il vole tellement mal que même avec la fibre, on dirait qu'il lag :-D :ROFL:
:-D :-D :-D
:crazy:et comme dirait l'obstétricien à la jeune maman qui va accoucher d'un enfant obèse "ça va déchirer sa mère..." - :crazy:

Répondre