Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: headdie on October 18, 2012, 07:14:44 am

Title: AI_Profile $Predict Position Delay: clarification
Post by: headdie on October 18, 2012, 07:14:44 am
http://www.hard-light.net/wiki/index.php/Ai_profiles.tbl#.24Predict_Position_Delay:
$Predict Position Delay: Sets the measure of time (in F1_0 units) after which the AI will recalculate the position of its target

what does the bold section mean?
Title: Re: AI_Profile $Predict Position Delay: clarification
Post by: Sushi on October 18, 2012, 11:31:23 am
I think this is just measured in seconds.

By the way, one important fact about this attribute:

IT DOES NOT APPLY TO THE AI'S AIM

It only applies to things like avoiding collisions and maneuvering at close range (and I guess in-range calculations). Generally, anything other than a 0 just allows the AI to do monumentally stupid things like try to turn to avoid ramming where it thought you were 2 seconds ago.

If you want to control how often the AI's aim gets updated, use $Max Aim Update Delay instead. That actually makes a difference in how good the AI is at tracking you in terms of aim.
Title: Re: AI_Profile $Predict Position Delay: clarification
Post by: headdie on October 18, 2012, 11:44:35 am
thanks for that

edit

added this part of Sushi's explanation to the wiki entry

It does not apply to the AI's aim, it only applies to things like avoiding collisions and maneuvering at close range. Generally, anything other than a 0 just allows the AI to do monumentally stupid things like try to turn to avoid ramming where it thought you were 2 seconds ago.