Results 1 to 2 of 2

Thread: Config Weapons

  1. #1

    Config Weapons

    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/C...nfig_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;
    .....
    };
    };
    ...
    Last edited by PFC Magician; Mar 28 2012 at 15:58.

  2. #2
    Quote Originally Posted by PFC Magician View Post
    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.
    Hibernating (indefinitely/permanently/intermittently)... may respond to , possibly.

Similar Threads

  1. infantry weapons retrieved from config
    By d3nn16 in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 8
    Last Post: Aug 10 2011, 21:55
  2. How create a config for weapons
    By Thommy88 in forum ARMA 2 & OA : ADDONS - Configs & Scripting
    Replies: 5
    Last Post: Jun 11 2010, 16:34
  3. A10 weapons config
    By platonic in forum ARMA - MISSION EDITING & SCRIPTING
    Replies: 0
    Last Post: May 31 2007, 16:45
  4. Weapons Config Bug
    By Locke@Germany in forum ARMA - TROUBLESHOOTING
    Replies: 3
    Last Post: Jan 9 2007, 18:43
  5. Config.cpp for weapons?
    By ComradeJD in forum OFP : O2 MODELLING
    Replies: 1
    Last Post: Jul 14 2002, 01:01

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •