Skip to Content

remappage sur un cronusmax


1 post / 0 nouveau(x)
Portrait de samybzh
Hors ligne
A rejoint: 2 septembre 2018
Contributions: 11
remappage sur un cronusmax

bonjour,

ayant chercher partout (peut etre mal) j ai rien trouver pour m aider a remapper mes sticks sur mon cronusmax, je sais que le cronus est tres mal vus car on peut tricher avec mais moi ce qui m'interesse c'estr le remappage.

il y a bien le forum du cronus mais ils mettent 8h a accepter que votre message soit publier :/

voici la p^remiere reponce qu ils m ont donner.

//Posted by LEX LOST, a member of the community in the CronusMAX Forums - http://cronusmax.com/forums

//Posted : Tuesday 9th of October, 2018 10:30 UTC


/***********************************************************************************************

SWAP LEFT ANALOG STICK WITH DPAD

System: MULTI
Controller: MULTI
Author: LEX LOST member of the community in the CronusMAX Forums - <a href="http://www.cronusmax.com/forums" target="_blank">http://www.cronusmax.com/forums</a>

INSTRUCTIONS:
DPAD UP = move forward; DPAD DOWN = move backward; DPAD RIGHT = strafe right; DPAD LEFT = strafe left;
Left analog UP = DPAD UP; Left analog DOWN = DPAD DOWN; Left analog RIGHT = DPAD RIGHT; Left analog LEFT = DPAD LEFT;


************************************************************************************************/

define AimSens = 80; // (range 0-100) increase or decrease for more or less sens while aiming
define MoveSens = 100; // (range 0-100) increase or decrease for more or less sens while moving

main {

set_val(11, 0);
set_val(12, 0);
set_val(13, 0);
set_val(14, 0);
set_val(15, 0);
set_val(16, 0);

if(get_lval(13)){set_val(12,-MoveSens);}
if(get_lval(14)){set_val(12, MoveSens);}
if(get_lval(16)){set_val(11, MoveSens);}
if(get_lval(15)){set_val(11,-MoveSens);}

if(get_lval(12) <-80){set_val(13, 100);}
if(get_lval(12) > 80){set_val(14, 100);}
if(get_lval(11) <-80){set_val(15, 100);}
if(get_lval(11) > 80){set_val(16, 100);}

} // end

c' est juste pour changer le stick analog gauche avec le dpad.

j'ai essayer de comprendre et de refaire le code par moi meme.

je voudrai savoir si mon code est bon ? je voudrai que :

dpad soit sur l analog droit
l analog droit soit sur l analog gauche
l analog gauche soit sur le dpad

//Posted by LEX LOST, a member of the community in the CronusMAX Forums - http://cronusmax.com/forums

//Posted : Tuesday 9th of October, 2018 10:30 UTC

/***********************************************************************************************

SWAP LEFT ANALOG STICK WITH DPAD

System: MULTI
Controller: MULTI
Author: LEX LOST member of the community in the CronusMAX Forums - <a href="http://www.cronusmax.com/forums" target="_blank">http://www.cronusmax.com/forums</a>

INSTRUCTIONS:
DPAD UP = move forward; DPAD DOWN = move backward; DPAD RIGHT = strafe right; DPAD LEFT = strafe left;
Left analog UP = RIGHT analog UP; Left analog DOWN = RIGHT analog DOWN; Left analog RIGHT = RIGHT analog RIGHT; Left analog LEFT = RIGHT analog LEFT;
RIGHT analog UP = DPAD UP; RIGHT analog DOWN = DPAD DOWN; RIGHT analog RIGHT = DPAD RIGHT; RIGHT analog LEFT = DPAD LEFT;

************************************************************************************************/

define AimSens = 80; // (range 0-100) increase or decrease for more or less sens while aiming
define MoveSens = 100; // (range 0-100) increase or decrease for more or less sens while moving

main {

set_val(11, 0);
set_val(12, 0);
set_val(13, 0);
set_val(14, 0);
set_val(15, 0);
set_val(16, 0);
set_val(?, 0);
set_val(?, 0);

if(get_lval(13)){set_val(12,-MoveSens);}
if(get_lval(14)){set_val(12, MoveSens);}
if(get_lval(16)){set_val(11, MoveSens);}
if(get_lval(15)){set_val(11,-MoveSens);}

if(get_lval(?) <-80){set_val(13, 100);}
if(get_lval(?) > 80){set_val(14, 100);}
if(get_lval(?) <-80){set_val(15, 100);}
if(get_lval(?) > 80){set_val(16, 100);}

if(get_lval(12) <-80){set_val(?,-MoveSens);}
if(get_lval(12) > 80){set_val(?, MoveSens);}
if(get_lval(11) <-80){set_val(?, MoveSens);}
if(get_lval(11) > 80){set_val(?,-MoveSens);}
} // end

ha ! et je ne connai pas la valeur de l analog droit je l ai remplacer par un ? si vous pouviez m'eclairer svp

merci d'avance.

Edité par samybzh le 12/10/2018 - 11:36