Jump to content
Sign in to follow this  
PFC Magician

Config Weapons

Recommended Posts

When make a replace weapon and some parameters missing in class and subclass , arma 2 complie no errors but replace no occurs.

I have alot of questions about all cfg weapons

i can look here http://community.bistudio.com/wiki/CfgWeapons_Config_Reference

But missing some parameters:

afmax =

htmax =

htmin =

mfact =

mfmax =

tbody =

converter "efective range=" to "dispersion ="?

is "muzzleflash" are dependent of weapon 3d model?

share some knowledge:

converter: "rate of fire" to "reloadtime"

use formule:

60seconds / rounds per minutes

example:

rate of fire:750 rounds/min == reloadtime = 0.08;

converter "Kilograms" to "dexterity"

use formule:

5,1072 / weight (kg)

example:

weapon weight: 3.5kg == dexterity = 1.4592

optics sights

0.28778 is the number for 1X optics

example

Sight: Schmidt Bender 1.1-4x20

....

class OpticsModes {

class ShortDot {

opticsZoomMin = "0.28778/4";

opticsZoomMax = "0.28778/1.1";

opticsZoomInit = "0.28778/1.1";

discretefov[] = {0.26161,0.071945};

discreteInitIndex = 0;

.....

};

};

...

Edited by PFC Magician

Share this post


Link to post
Share on other sites

afmax =

htmax =

htmin =

mfact =

mfmax =

tbody =

These are the Thermal Imaging values. Typical values for a weapon maybe something like...

htMin = 300;

htMax = 1800;

afMax = 0;

mfMax = 0;

mFact = 1;

tBody = 100;

or

htMin = 60;

htMax = 1800;

afMax = 200;

mfMax = 100;

mFact = 0;

tBody = 0;

Bare in mind the above values are just 'common' values used by 'some' weapons. You may vary them as you like. See Thermal Imaging for more info.

is "muzzleflash" are dependent of weapon 3d model?

The parameter for 'selectionFireAnim' in the config.cpp must match the 'selection' name for the polygons in the model or the 'selection' name of the 'proxy' in the model.

Not sure about the rest of your queries.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×