SOLVED: wiimote cod charlie layout

Wiimote tutorials, configurations and GPC scripts (FPS like in Nintendo Wii/WiiU).

Moderator: OFC-Giorgio

Re: wiimote cod charlie layout

Postby OFC-Giorgio » Tue Dec 15, 2015 5:00 pm

The default setting is bravo setting:

Code: Select all
define BRAVO_SETTING       = TRUE; // BRAVO settings
//define BRAVO_SETTING       = FALSE; // ALPHA settings


To activate alpha setting put two slashes in front of the first line and remove the two slashes from the second line:
Code: Select all
//define BRAVO_SETTING       = TRUE; // BRAVO settings
define BRAVO_SETTING       = FALSE; // ALPHA settings


The slashes are used for comment so if you put them in front of a command the command is ignored i.e. considered a comment.
User avatar
OFC-Giorgio
Lieutenant
Lieutenant
 
Posts: 344
Joined: Mon Sep 15, 2014 4:26 pm

Re: wiimote cod charlie layout

Postby WorldBreaker78 » Wed Dec 16, 2015 5:52 pm

OFC-Giorgio wrote:The default setting is bravo setting:

Code: Select all
define BRAVO_SETTING       = TRUE; // BRAVO settings
//define BRAVO_SETTING       = FALSE; // ALPHA settings


To activate alpha setting put two slashes in front of the first line and remove the two slashes from the second line:
Code: Select all
//define BRAVO_SETTING       = TRUE; // BRAVO settings
define BRAVO_SETTING       = FALSE; // ALPHA settings


The slashes are used for comment so if you put them in front of a command the command is ignored i.e. considered a comment.


Hey man your a genius thank for all your help truly appreciated just one more thing is their a way to increase or decrease the deadzone is it safe to do so
User avatar
WorldBreaker78
Master Sergeant
Master Sergeant
 
Posts: 35
Joined: Sun Dec 13, 2015 5:26 pm

Re: wiimote cod charlie layout

Postby OFC-Giorgio » Wed Dec 16, 2015 8:20 pm

Your are welcome. I will repost your deadzone question and see if J2KBr can shine some light on it.
User avatar
OFC-Giorgio
Lieutenant
Lieutenant
 
Posts: 344
Joined: Mon Sep 15, 2014 4:26 pm

Re: wiimote cod charlie layout

Postby WorldBreaker78 » Sun Dec 20, 2015 7:49 am

OFC-Giorgio wrote:Your are welcome. I will repost your deadzone question and see if J2KBr can shine some light on it.

ok thanks alot for all your help J2KBr didnt anwser the question thats ok.
one thing though is their a anti recoil script that works with the wiimote and if so how do i get it to work with the current script
User avatar
WorldBreaker78
Master Sergeant
Master Sergeant
 
Posts: 35
Joined: Sun Dec 13, 2015 5:26 pm

Re: SOLVED: wiimote cod charlie layout

Postby OFC-Giorgio » Sun Dec 20, 2015 9:14 pm

See his short answer at viewtopic.php?f=14&t=2836
and feel free to ask for more details.

I am a pure old school fair play wiimote player without cheats i.e. I don't use gamepacks/cheats. IMO I think they are lame.

However, You can ask your gamepack/scripting questions in:

viewforum.php?f=6
User avatar
OFC-Giorgio
Lieutenant
Lieutenant
 
Posts: 344
Joined: Mon Sep 15, 2014 4:26 pm

Re: SOLVED: wiimote cod charlie layout

Postby WorldBreaker78 » Sat Dec 26, 2015 9:43 pm

OFC-Giorgio wrote:See his short answer at viewtopic.php?f=14&t=2836
and feel free to ask for more details.

I am a pure old school fair play wiimote player without cheats i.e. I don't use gamepacks/cheats. IMO I think they are lame.

However, You can ask your gamepack/scripting questions in:

viewforum.php?f=6


Hey dude your advice has been great i dont use the anti recoil scripts but just a question how do i pick up items like guns and so forth i dont have a action button to pick up guns or my land mines in the game could you help me with this.
User avatar
WorldBreaker78
Master Sergeant
Master Sergeant
 
Posts: 35
Joined: Sun Dec 13, 2015 5:26 pm

Re: SOLVED: wiimote cod charlie layout

Postby OFC-Giorgio » Sun Dec 27, 2015 11:02 am

You could make it by mapping a double tap of an existing button.

For an example see the cod script: activate Specialist weapon by double tapping the lethal grenade button:


Code: Select all
int TimerSpecialistWeaponOrSkip;

      // activate Specialist weapon or skill by double tapping the lethal grenade button
      // TimerSpecialistWeaponOrSkip - Countdown function
      if (TimerSpecialistWeaponOrSkip > 0) { TimerSpecialistWeaponOrSkip = TimerSpecialistWeaponOrSkip - get_rtime(); }   // Reduce the timer value by the elapsed run time
      // Timer - Detection of the release
      if (event_release(LETHAL_GRENADE)) { TimerSpecialistWeaponOrSkip = 300; }   // 300 ms timer (starting the timer)
      // Timer - Detection of the press
      if (event_press(LETHAL_GRENADE) && TimerSpecialistWeaponOrSkip > 0)
      {
        TimerSpecialistWeaponOrSkip = 0;
        combo_run(ComboSpecialistWeaponOrSkip);
      } 
   }   



combo ComboSpecialistWeaponOrSkip
{
   set_val(LETHAL_GRENADE,   100);
   set_val(TACTICAL_GRENADE, 100);
   set_led(LED_3, 1);
   wait(500);
   set_val(LETHAL_GRENADE,   0);
   set_val(TACTICAL_GRENADE, 0);
   set_led(LED_3, 0);
}

User avatar
OFC-Giorgio
Lieutenant
Lieutenant
 
Posts: 344
Joined: Mon Sep 15, 2014 4:26 pm

Re: SOLVED: wiimote cod charlie layout

Postby WorldBreaker78 » Mon Dec 28, 2015 7:29 pm

OFC-Giorgio wrote:You could make it by mapping a double tap of an existing button.

For an example see the cod script: activate Specialist weapon by double tapping the lethal grenade button:




Thanks again, I tried the script that you gave me but couldn't get it working it still can't pick up weapons but i just gave up i will just have to play without being able to pick up weapons
User avatar
WorldBreaker78
Master Sergeant
Master Sergeant
 
Posts: 35
Joined: Sun Dec 13, 2015 5:26 pm

Re: SOLVED: wiimote cod charlie layout

Postby OFC-Giorgio » Tue Dec 29, 2015 12:12 pm

My reply was just an pointer how to program double tap.

Please post your script in this forum:

viewforum.php?f=6

and ask how to add another double tap button.
User avatar
OFC-Giorgio
Lieutenant
Lieutenant
 
Posts: 344
Joined: Mon Sep 15, 2014 4:26 pm

Previous

Return to Wiimote, Nunchuk and Sensorbar

Who is online

Users browsing this forum: No registered users and 54 guests