Author Topic: Gow2 cao rate of fire.  (Read 1389 times)

Offline taylorclark

  • King of the Wii-tards
  • *
  • Posts: 163
  • Post quality +0/-0
  • Gender: Male
  • I feel like I'm taking crazy pills!
    • myspace
Gow2 cao rate of fire.
« on: August 07, 2009, 07:24:33 AM »
Hello,
I'm creating my own rapid fire, right now I'm using the arduino platform, but once the code is finished i plan on taking the chip out of the arduino and putting it into the controller by itself. I've got most of the bugs worked out of the code, notice it's only one trigger right now. I've still got to finish connecting things inside the controller, and add a few small things to the code, but the code proof of concept works quite well. To create the pulses, I'm actually using pwm, suppled by the arduino. So far, the rapid fire works very well in halo 3, but it doesn't do anything at all in gears. Does anyone know the cap rate of fire for gow2? Notice in the code there are three different modes right now, two are working, one is simply a placeholder for burst or whatever i want. Thanks for the help!

heres the code
Code: [Select]

int switchPin = 3;     
int rledPin = 13;
int rt = 0;
int val1;
int val;                 
int val2;                   
int buttonState;   
int rts = 10;

int lightMode = 0;       

void setup() {
  pinMode(switchPin, INPUT);
  pinMode(rt, INPUT);
  pinMode(rledPin, OUTPUT);
 
  Serial.begin(9600);       
  buttonState = digitalRead(switchPin); 
}

void loop(){
  val = digitalRead(switchPin);     
  delay(10);                         
  val2 = digitalRead(switchPin);     
  if (val == val2) {                 
    if (val != buttonState) {         
      if (val == LOW) {               
        if (lightMode == 0) {         
          lightMode = 1;             
        } else {
          if (lightMode == 1) {       
            lightMode = 2;             
          } else {
            if (lightMode == 2) {     
              lightMode = 3;         
            } else {
  if (lightMode == 3) {
                lightMode = 0;     
              }
}
          }
        }
      }
    }
    buttonState = val;           
  }

 
  if (lightMode == 0) {
    digitalWrite(rledPin, LOW);
  }

  if (lightMode == 1) {
    digitalWrite(rledPin, HIGH);
     val1 = analogRead(rt);
   if (val1 >= 230) {
     analogWrite(rts, 75);
     delay(10);
   }
  }

  if (lightMode == 2) {
    digitalWrite(rledPin, HIGH);
    delay(100);
    digitalWrite(rledPin, LOW);
    delay(100);
         val1 = analogRead(rt);
   if (val1 >= 230) {
     analogWrite(rts, 2);
     delay(10);
   }
  }
  if (lightMode == 3)  {
   Serial.println("mode 3");
  }   
}


 
Gamertag- titan501x

Offline KingMike_OS

  • Shop Owner - Products & Support
  • Acidmods Alumni
  • Acid Modder
  • *
  • Posts: 929
  • Post quality +14/-0
  • Gender: Male
  • R&D
    • Modding Shop At the end of the Universe
Re: Gow2 cao rate of fire.
« Reply #1 on: August 07, 2009, 09:54:01 AM »
Halo 3 speed is too fast for GOW 2 & 1 ..

need to be around 6 SPS no greater than 6.67 SPS

Offline Modded Matt

  • Site Owner
  • Administrator
  • Around the block
  • *
  • Posts: 4649
  • Post quality +65/-3
  • Gender: Male
Re: Gow2 cao rate of fire.
« Reply #2 on: August 07, 2009, 11:01:06 AM »
thanks mike, good to have you back

Offline taylorclark

  • King of the Wii-tards
  • *
  • Posts: 163
  • Post quality +0/-0
  • Gender: Male
  • I feel like I'm taking crazy pills!
    • myspace
Re: Gow2 cao rate of fire.
« Reply #3 on: August 07, 2009, 01:33:30 PM »
thanks! Ill let you know if i get it figured out

Post Merge: August 07, 2009, 09:07:24 PM
Sorry for the double post, but i got it working perfectly. It clears through a pistol clip on gears 2 in about 2 seconds! :D
« Last Edit: August 07, 2009, 09:07:24 PM by taylorclark »
Gamertag- titan501x

Offline mhawk134

  • ♪♪♪ Tone deff ♪♪♪
  • *
  • Posts: 66
  • Post quality +0/-0
Re: Gow2 cao rate of fire.
« Reply #4 on: August 09, 2009, 03:42:16 AM »
for this what hex value did you use?

Hawk

Offline spurgurgle

  • Acidmods Alumni
  • Millennium Poster
  • *
  • Posts: 1121
  • Post quality +17/-1
  • Gender: Male
  • call me spurg
    • my blog
Re: Gow2 cao rate of fire.
« Reply #5 on: August 09, 2009, 09:21:48 AM »
i find that i cna use my programmable speed kit set to 7.7 sps on gears 2

Sigs made by Ken and blazin from the AM Art team cheers guys.....
Spurgurgle d.t com
"I'm kinda like a typo, not quite right, but most people still understand me"

 

SMF spam blocked by CleanTalk
SimplePortal 2.3.5 © 2008-2012, SimplePortal