OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: STGN on 20 Nov 2003, 11:48:24
-
Cand sombody tell me what these things excatly means fore my gun
........
class CfgAmmo
{
class Default{};
class BulletSingle : Default{};
class BulletSinglew : BulletSingle{};
class xxxxxxxxxxxSingle : BulletSinglew
{
hit=10;
indirectHit=3;
indirectHitRange=0.010000;
explosive=0;
cost=40;
maxSpeed=1000;
minRange=1;
minRangeProbab=0.000100;
midRange=1100;
midRangeProbab=0.0100000;
maxRange=4300;
maxRangeProbab=0.90000;
visibleFire=10;
audibleFire=5;
visibleFireTime=0.5;
};
//I have never totaly understod what max/mid/minrange and rangeprobab meant, is indirecthitrange mesured in meters? and what does VisibleFire=10 and AudiableFire=5 means, is VisibleFireTime in seconds?
.........
initspeed = 940;
//I have always counted this as meters pr second but is that right?
.........
dispersion=0.0002; //Here is what I am most looking for is this how meany meters the bullet goes to the side every meter or what?
soundContinuous=0; // is this mesured in seconds?
reloadTime=0.072; // this is in seconds right?
aiRateOfFire=2.000000;
aiRateOfFireDistance=950;
useAction=0; //what does that mean?
useActionTitle=""; //Same here
};
STGN
Ps. I would also like to know how I cero a weapon sight.
-
you should grab the commented config.cpp's from the Breathe site
and have a look at the cfgweapons.cpp
:cheers:
-
Some Info here:
http://www.ofpec.com/yabbse/index.php?board=13;action=display;threadid=4969
(look @ my reply, altough humorous, it's true. Check the attachment too.)
Now I go check the Breathe suggestion, && I would suggest people to put LINKS instead of vague directions.
...
...
...
15minutes later...
http://www.flashpoint1985.com/breathe/download/Commented_Config_191.zip
I'll keep posted just in case you have more questions after reading the usual help files
PeacePunk.
-
Some Info here:
http://www.ofpec.com/yabbse/index.php?board=13;action=display;threadid=4969
(look @ my reply, altough humorous, it's true. Check the attachment too.)
Now I go check the Breathe suggestion, && I would suggest people to put LINKS instead of vague directions.
...
...
...
15minutes later...
http://www.flashpoint1985.com/breathe/download/Commented_Config_191.zip
I'll keep posted just in case you have more questions after reading the usual help files
PeacePunk.
Thanks but what I am realy looking fore is the exact difinitions like Meters/second I do have the comented config but I don't think it helps that much on souch difinitions.
STGN
-
I agree ComConfig 1.91 is not that usefull.
But the Jester's stuff is pretty stuff, have you checked it at the bottom of the thread I suggested ?
SO:
MAXMIDMINRange are AI-Performance whilst using the addon against you or other ai units
I assume Init speed is M/S, but experiment is the best.
Dispersion :
if 1.000 is 1000 metres
then 0.100 is missing by 100 metres.
Look at other peoples work to figure some valid values.
This is a great tool to check your stuff:
http://www.ofpec.com/missions_depot/index.php?ID=780
SoundContinuous: 0 is NO & 1 is YES, LOOP-Play the firing sound
all Reload s are in secs
AI rate, AI Distance are values that decrease with the distance.
Set a distance & rythm for the ai to engage you, && the closest they are the more they shoot.
UseAction: I've never seen this used in anywhere.
Cheers.
Peacepunk.
-
If we say your asomtion on dispersion is right then a M16 would miss its taget whit 20 cm
1.00000=1km
0.10000=100m
0.01000=10m
0.00100=1m
0.00010=10cm
0.00001=1cm
A M16 is supose to hit a man on 400 meters whit a radius of ca. 20cm's(1 0r 2 cm more)
(http://dboy.cpgl.net/USA/M16/M4/m885_m16a2.gif)
a BIS M16 Dispersion is 0.0002 on singel shot so it would mean thatit is calculated in Km's pr.400m which I think is most unlikely
STGN
-
Over-accuracy is a common threat in all addons-forums, and I allready had the occasion to urge other people to pay attention to that detail: Over-accuracy just kills not the gameplayn but the pleasure of being imerged into a realistic simulator.
I've seen CPP files with settings like 0.0000000001...
Hence the link yo the "firing range" mission, with up to 1000m targetting & even triggered-voice tag to Know your hits...
...I've been told that FDF & ECP tuned accuracy down actually...
...Download the mision, put your gun in it && Begins the Fine-tweaking of your CPP.
Good work.
Peacepunk