Results 1 to 8 of 8

  Click here to go to the first Developer post in this thread.  

Thread: sensitivityEar

  1. #1
    Sergeant Major 5133p39's Avatar
    Join Date
    Feb 2 2004
    Location
    Czech Republic
    Posts
    1,410
    Does anybody know what exactly is sensitivityEar?

    Does it set how good the AI can hear certain unit,
    or does it set how good certain unit can hear others?

    Does higher value mean better hearing (or louder movement) or vice versa?
    MSI P55-GD65 | Core i5 750 @ 2.67GHz | 4GB DDR3 | ATI HD 5970 (Asus EAH5970​/G​/2DIS​/2GD5) | OCZ Revo 120GB PCIe SSD | 2x OCZ Vertex 4 120GB |
    Windows 7 64bit Home Premium | Catalysts 13.1 | ArmA2 OA 1.62.0.101480 (beta) +BAF +PMC +ACR | ArmA2 1.11.0.86734 | ArmA 1.18.0.5281 | OFP 1.0.0.96

    Be smart, use Sprocket!

  2.   This is the last Developer post in this thread.   #2
    BI Developer Suma's Avatar
    Join Date
    Jun 27 2001
    Location
    Czech Republic
    Posts
    3,707
    It sets how good certain unit hears other.

    Higher value means given unit hears better.
    Ondrej Spanel, BIS Lead Programmer

  3. #3
    Chief Warrant Officer
    Join Date
    Sep 6 2001
    Location
    British Columbia, Canada
    Posts
    3,458
    There' re several parameteres that seems to be defining unit ability to see/hear otheres
    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">sensitivity=1; // sensor sensitivity
    sensitivityEar=0.0075;
    irScanRangeMin=0;
    irScanRangeMax=0;
    gunnerCanSee = CanSeeEye+CanSeeEar;[/QUOTE]
    But there&#39;s no explanation for this two
    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">irScanToEyeFactor=1;
    irScanGround=true;[/QUOTE]



    [im]http://www.roughnecks.org/malboeuf/pissonTKC.gif[/img] >100kb
    Roughneck Whore House - rn1.roughnecks.org
    AMD 64x2 4400 2200@2450 Mhz- 2 gig dual DDR PC4000 - SATA HDs

  4. #4
    Sergeant Major 5133p39's Avatar
    Join Date
    Feb 2 2004
    Location
    Czech Republic
    Posts
    1,410
    Author of the Thread
    Quote Originally Posted by (Suma @ July 07 2007,17:55)
    It sets how good certain unit hears other.

    Higher value means given unit hears better.
    Thanks very much for the clarification.
    I know i could do some experiments and figure it out by myself, but i was really tired by performing some other experiments - sometimes its very time consuming.

  5. #5
    Master Sergeant
    Join Date
    Oct 12 2001
    Location
    France (Paris)
    Posts
    733
    As regards to &#39;sensitivity&#39; and &#39;sensitivityEar&#39;, are they related ? For example, if I increase the value for &#39;sentivity&#39;, will it have an influence on &#39;sentivityEar&#39; ?

    If not, does that mean that &#39;sensitivity&#39; is in fact &#39;sensitivityEye&#39; ?

    Thanks &#33;

    Malick

  6. #6
    Quote Originally Posted by (bdfy @ July 07 2007,18:07)
    There&#39; re several parameteres that seems to be defining unit ability to see/hear otheres
    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">sensitivity=1; // sensor sensitivity
    sensitivityEar=0.0075;
    irScanRangeMin=0;
    irScanRangeMax=0;
    gunnerCanSee = CanSeeEye+CanSeeEar;
    But there&#39;s no explanation for this two
    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">irScanToEyeFactor=1;
    irScanGround=true;[/QUOTE][/QUOTE]
    AFAIK, These are all the same as in OFP. (except for "irscanto eyefactor"...never seen that one)

    "Irscanground = true" means ground units will show up on the radar of a vehicle...."=false" means they will not.
    YOU must chop down the MIGHTIEST tree in the forest...WITH......a HERRING!!!

  7. #7

  8. #8
    Chief Warrant Officer
    Join Date
    Sep 6 2001
    Location
    British Columbia, Canada
    Posts
    3,458
    Q
    great search
    http://www.flashpoint1985.com/cgi-bin....eyefact
    Quote Originally Posted by [b
    Quote[/b] ]There are three settings working in together:

    irScanToEyeFactor
    irScanRangeMin
    irScanRangeMax

    Those settings can be used instead of irScanRange to make IR scan dange depend on the visibility distance. If there is irScanRange, fixed value is used. The same thing can also be acomplished by setting both irScanRangeMin and irScanRangeMax to the same value.

    If there is no irScanRange, IR scan range is calculated as:
    Code Sample
    scanRange = visibility_range*irScanToEyeFactor
    if (scanRange<irScanRangeMin) scanRange = irScanRangeMin;
    if (scanRange>irScanRangeMax) scanRange = irScanRangeMax;



    Where visiblity_range is basically a drawing distance, but may be shortenet by rain or fog.



Posting Permissions

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