Jump to content
Sign in to follow this  
5133p39

sensitivityEar

Recommended Posts

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?

Share this post


Link to post
Share on other sites

It sets how good certain unit hears other.

Higher value means given unit hears better.

Share this post


Link to post
Share on other sites

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;

But there's no explanation for this two sad_o.gif

<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;

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
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;

But there's no explanation for this two sad_o.gif

<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;

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.

Share this post


Link to post
Share on other sites

Q

great search wink_o.gif

http://www.flashpoint1985.com/cgi-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.

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  

×