Jump to content

Photo
- - - - -

sensitivityEar


  • Please log in to reply
7 replies to this topic
Thread Starter
5133p39
5133p39

    Sergeant Major

  • Members
  • 1423 posts

Posted 07 July 2007 - 15:05 #1

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?
Core i7-4820K @ 4.8GHz | 64GB DDR3 | ASUS GTX TITAN Black | OCZ Revo 120GB PCIe SSD | 2x OCZ Vertex 4 120GB |
Windows 7 64bit Professional | OFP, Arma, Arma 2, Arma 3

Free hug for everybody who reads first, and asks later! :286:

Suma
Suma

    BI Developer

  • 3707 posts

Posted 07 July 2007 - 15:55 #2

It sets how good certain unit hears other.

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

RN Malboeuf
RN Malboeuf

    Chief Warrant Officer

  • Members
  • 3458 posts

Posted 07 July 2007 - 16:07 #3

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's no explanation for this two Posted Image
<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

Thread Starter
5133p39
5133p39

    Sergeant Major

  • Members
  • 1423 posts

Posted 08 July 2007 - 03:21 #4

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.
Core i7-4820K @ 4.8GHz | 64GB DDR3 | ASUS GTX TITAN Black | OCZ Revo 120GB PCIe SSD | 2x OCZ Vertex 4 120GB |
Windows 7 64bit Professional | OFP, Arma, Arma 2, Arma 3

Free hug for everybody who reads first, and asks later! :286:

Malick
Malick

    Master Sergeant

  • Members
  • 733 posts

Posted 07 September 2007 - 14:58 #5

As regards to 'sensitivity' and 'sensitivityEar', are they related ? For example, if I increase the value for 'sentivity', will it have an influence on 'sentivityEar' ?

If not, does that mean that 'sensitivity' is in fact 'sensitivityEye' ?

Thanks !

Malick
Soldier Side

Help disabled people practice sport by helping Handi Hop!

madmedic
madmedic

    Gunnery Sergeant

  • Members
  • 584 posts

Posted 09 September 2007 - 14:30 #6

[quote name='(bdfy @ July 07 2007,18:07)']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's no explanation for this two Posted Image
<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!!!

.kju -PvPscene-
.kju -PvPscene-

    Brigadier General

  • Members
  • 12275 posts

Posted 09 September 2007 - 16:04 #7

well well. good old OFP forum. still useful to search in the right part Posted Image

(search item "irScanToEyeFactor")
Irscanrange
Whats up with irscanground
Getting Choppers to engage infantry






Current active projects: None :(

Maintained/assisted projects: IFA3, Blitzkrieg


Help: Got a crash? Report it! What is the RPT log file?


RN Malboeuf
RN Malboeuf

    Chief Warrant Officer

  • Members
  • 3458 posts

Posted 09 September 2007 - 18:20 #8

Q
great search Posted Image
http://www.flashpoin...-bin....eyefact

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.





[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