Home   Help Search Login Register  

Author Topic: Varying rates of fire  (Read 1118 times)

0 Members and 1 Guest are viewing this topic.

Pasha_V

  • Guest
Varying rates of fire
« on: 12 Mar 2004, 14:59:28 »
I am currently working on a model of an AN-94 assault rifle. In real life, this gun features a delayed blowback system so that it can fire off a 2-round burst (at 1800rpm) before the user feels any recoil, allowing for excellent accuracy. It can't maintain this rate of fire, though, and when in fully automatic mode, it switches to 600rpm. I know I can code the recoil to work reallistically, but I don't know if I can set different rates of fire for different firing modes. Is there any way I could write this in the cpp file?

Offline DesertFox

  • Members
  • *
    • Bloody Days Mod Homepage
Re:Varying rates of fire
« Reply #1 on: 13 Mar 2004, 14:29:23 »
Hello
I'm not sure for now, but you could se in other weapon-configs how it's done, or you could try writing the line which describes the rate of fire (don't know now) in the "class Single" or "class Burst"-stuff....#
Just try, mate
I'll see what I can do

Cheers
DesertFox, Texturer of Bloody Days Mod

Offline SelectThis

  • Former Staff
  • ****
  • .
Re:Varying rates of fire
« Reply #2 on: 14 Mar 2004, 01:39:24 »
I attempted to replicate the AN-94 features in JAM, feel free to take a look at the coding there.

JAM_EAN94_30SBAmag <--standard dispersion version

JAM_EAN94_30SBAHDmag <--HD version

SelectThis
« Last Edit: 14 Mar 2004, 01:46:41 by SelectThis »

Pasha_V

  • Guest
Re:Varying rates of fire
« Reply #3 on: 14 Mar 2004, 17:51:12 »
I looked at the an94 coding in JAM, but the reload time and the recoil does not even change there. Do I not have the latest version?