OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Maximus-Sniper 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??
-
the probs are ai Hit probs, 1 Is always a hit, 0 is never able to hit
-
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;
-
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)
-
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;
-
any more Questions?
-
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? :)
-
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
-
Thx alot man :)
Iam going to try now
Thx for the help