Home   Help Search Login Register  

Author Topic: Class CfgAmmo??  (Read 1915 times)

0 Members and 1 Guest are viewing this topic.

Maximus-Sniper

  • Guest
Class CfgAmmo??
« on: 02 Aug 2004, 00:52:07 »
Hei!
Can someone please tell me what this line means??

                  minRange=5;
         minRangeProbab=0.100000;
         midRange=1000;
         midRangeProbab=0.100000;
         maxRange=1800;
         maxRangeProbab=0.100000;

What's Probab are??

Nulear_Man

  • Guest
Re:Class CfgAmmo??
« Reply #1 on: 02 Aug 2004, 07:20:17 »
the probs are ai Hit probs, 1 Is always a hit, 0 is never able to hit

Maximus-Sniper

  • Guest
Re:Class CfgAmmo??
« Reply #2 on: 02 Aug 2004, 11:37:19 »
Hei!
Thanks :)
So that meen this settings are the best for AI to hit the target?:

 minRange=5;
        minRangeProbab=1.0;
        midRange=1000;
        midRangeProbab=1.0;
        maxRange=1800;
        maxRangeProbab=1.0;

or 0.1 in Probab ??

And can somebody tell me what this line is good for??:

aiRateOfFire=0.9;
aiRateOfFireDistance=1800;
« Last Edit: 02 Aug 2004, 17:55:16 by Maximus-Sniper »

Nulear_Man

  • Guest
Re:Class CfgAmmo??
« Reply #3 on: 03 Aug 2004, 04:55:45 »
aiRateOfFire=100; ai rate of fire (close to Opf Definiton)
aiRateOfFireDistance=1200; ai Rate Of Fire Distance at lower distances it goes linary to zero (close to Opf Definiton)

Nulear_Man

  • Guest
Re:Class CfgAmmo??
« Reply #4 on: 03 Aug 2004, 04:59:33 »
o yeah forgot
minRange=5; // min firing distance ai
minRangeProbab=1.0;//1.0 means never misses(unless something in the way)
midRange=1000; // med firing distance ai
midRangeProbab=1.0;
maxRange=1800; //Max firing distance ai
maxRangeProbab=1.0;

Nulear_Man

  • Guest
Re:Class CfgAmmo??
« Reply #5 on: 03 Aug 2004, 05:00:53 »
any more Questions?

Maximus-Sniper

  • Guest
Re:Class CfgAmmo??
« Reply #6 on: 03 Aug 2004, 05:28:14 »
Thanks alot Nucler_Man :)

But i don't realy understand the

aiRateOfFire=100; ai rate of fire (close to Opf Definiton)
aiRateOfFireDistance=1200; ai Rate Of Fire Distance at lower distances it goes linary to zero (close to Opf Definiton)

My max range in the cfgAmmo is 1800 so maybe i have to change the aiRateOfFireDistance=1200 to 1800 or not, i like the AI Sniper to shoot one bullet, one kill :)
And what about the aiRateOfFire=100; should i change this to lower ot to highter??

Here is my setting now under cfgWeapons:
.
.
.
.
aiRateOfFire=0.10;
aiRateOfFireDistance=1800;
//useAction=0;
//useActionTitle="";
.
.
.
Do you think that look OK? :)
« Last Edit: 03 Aug 2004, 05:31:49 by Maximus-Sniper »

Offline Roni

  • Members
  • *
  • Play the Game !
Re:Class CfgAmmo??
« Reply #7 on: 12 Aug 2004, 01:18:29 »
Hi MS -

No, you've got it backwards.   :P

aiRateOfFire refers to the maximum delay between shots and aiRateOfFireDistance refers to the distance for this delay.  The actual delay between shots by AI troops is equal to aiRateOfFire times the actual distance divided by the aiRateOfFireDistance.

So for exampe, if you had settings of -

aiRateOfFire=0.10;
aiRateOfFireDistance=1800;

then this means that if your sniper's target was at 1800m then he would try to fire every 0.10 of a second.  If his target was at 900m then he would try to fire every 0.05 of a second etc all the way down to continuous fire at 0m.

This might be too fast.

For snipers I'd suggest maybe 15-20 seconds at 1800m.  This means that at standard engagement ranges of 200-300m the delay would be around 2-3 seconds.

That's my two cents worth.

Cheers



Roni

Maximus-Sniper

  • Guest
Re:Class CfgAmmo??
« Reply #8 on: 12 Aug 2004, 01:42:36 »
Thx alot man :)
Iam going to try now

Thx for the help