Jump to content
Sign in to follow this  
jawk2

Knowsabout command

Recommended Posts

i tried to use it in a script and i dont think it work very well (maybe 50% of the time it work)

?(Rus1 KnowsAbout chopper >2): Titletext ["DCA locking in","plain down",0.2]

This command is said to have 4 degree of answer so what it means?:

0: undetected by it

1: he didnt know (the famous "man 100' ")

2: he know that it's a friend/ennemy

3: maybe he know the duty guy/vehicule (soldier/officer)

4: ? no idea

So did u got any clue for me, and how did really work this command?

Share this post


Link to post
Share on other sites

I got it 1 time to work, so you still got a better percentage over me  sad.gif

I would like to know too, cause i m having probs with it too.

BTW 4 = he knows exactly who and where he is !

Maybe the value is too narrow to react, seeing it is a script for an AA soldier locking/shooting a plane !

Put equal or bigger ( so he knows he s friend or foe or he knows more about that unit )

?(rus1 knowsabout chopper >= 2 ) ... blablabla

Share this post


Link to post
Share on other sites

hmm i tried =, >=; != and it seems the > is the best to use in the situation i got *i give me better result*...

the only problem i got it s that very at random... so i m actually figuring out other thing as threat detector *but first i was amaze that such a commmand exist*.

The other pb i got it's because the command is very new to OPF community i got very few info on it *hope BIS ll help a bit by cleaning the dark cloud on it*

Share this post


Link to post
Share on other sites

*just tried a test*

i place me as West soldier with in init field that [] exec "distance.sqs"

I place one East soldier with 2 triggers:

-one is this one: expCond="Behaviour Rus1 == ""COMBAT""";

expActiv="[] exec ""test.sqs""";

class Effects {sound="Alarm";

rem: this trigger detect if AI get into combat mode so got detect u

-the second is a trigger that setacctime 0.2 with a range 300)

rem: useful thing to slow down the time and see what u can miss in the realtime.

distance.sqs contain this:

#loop

_dist = [Rus1 KnowsAbout Player]

Hint format ["distance : %1 meter",_dist]

~1

goto "loop"

------> well i tried to use a chopper... the AI seems never to knowsabout me and instead fire me ? so this command dont work in the air

second thing: the AI when i m on earth identify me at near 200meters (for a normal quality soldier) and the Knowsabout command show me that the AI ll only shoot u when it's over 0.7

--->I never got value>1

The only time i got 1 as value was when i killed the AI and paradrop to him.... the little second the russian agonize he clearly Id me as a terrible threat that merit 1.0 smile.gif

*note: i ll mail the guy that did the unofficial ref manual to speak about the command i hope i ll help him*

Share this post


Link to post
Share on other sites

AFAIK, values that are critical are these

0: enemy doesn't know you

0.5: enemy suspects something and goes prone.

4. he definitely knows that you are there

the knowsabout value seems to go down lik 0.5 every second if you ar enot seen.

Share this post


Link to post
Share on other sites

hmm ralph the russian never get me as air ...but id me as a threat and shoot me(knowsabout=0 all the time); i tried as gunner as pilot result nothing.

i tried on foot and confirm that the russian did shoot me when i m at 0.7 *i begin to think that theese value are up to 0->1.0... a percentile?*

like a guy said in another forum the AI seems detect the vehicule not the unit (so i tried with AH64, with (vehicule player and so on).

Well i m mad to search about this command or not ? *2 day brainstorming with alot of coffee smile.gif *

**edit part***

another guy help me in OPEDcenter... i just see what missed me:

BIS use "vehicle" instead of "vehicule".... well maybe a only-french problem/trap *or should i buy glasses?*

here s the correct use of this command when u use vehicules:

variable = [unitA KnowsAbout (Vehicle unitB)]

return a number 0->4

but with a normal soldier that got a threat variable *check your config.cpp* of 1.0: he identify u at 0.5 and know u are ennemy at 0.7....

so the command dont use all the degree *i ll use it by multiply it by 10 to have a very precize identification*

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  

×