Page MenuHomeFeedback Tracker

AI are blinds when missing somes lines in mission.sqm
New, WishlistPublic

Description

Ai are totaly blind when missing somes lines in mission.sqm and move like unskilled units.

AI don't see players, and run away like couards.

I don t test all the lines, luckily check with a diff tools between one older version of the mission and the lastest one. Their was only tow relatives changes about fog parameters. {F22530}

Details

Legacy ID
2253494529
Severity
None
Resolution
Open
Reproducibility
Always
Category
AI Issues
Steps To Reproduce

remove thoses parameters of mission.sqm :

startFogDecay=0.0049999999;
forecastFogDecay=0.0049999999;

Additional Information

reproduce all times with the vanilla version and this part of the mission.sqm

randomSeed=7374927;
class Intel
{

		briefingName="HARDCORE INSURGENCY 1.30";
		resistanceWest=0;
		resistanceEast=1;
		startWeather=0;
		startWind=0;
		forecastWeather=0;
		forecastWind=0;
		forecastWaves=0;
		rainForced=1;
		lightningsForced=1;
		wavesForced=1;
		windForced=1;
		year=2013;
		month=10;
		day=20;
		hour=12;
		minute=0;
		startFogBase=0.001;
		forecastFogBase=0.001;
		startFogDecay=0.0049999999;
		forecastFogDecay=0.0049999999;

};

Event Timeline

code34 edited Steps To Reproduce. (Show Details)Oct 14 2013, 9:31 PM
code34 edited Additional Information. (Show Details)
code34 set Category to AI Issues.
code34 set Reproducibility to Always.
code34 set Severity to None.
code34 set Resolution to Open.
code34 set Legacy ID to 2253494529.May 7 2016, 5:08 PM
Gekkibi added a subscriber: Gekkibi.May 7 2016, 5:08 PM

I'm not sure if I understood this correctly... Are you saying you removed some lines from mission.sqm and expect the mission to work properly..?

Because the lines control fog, and fog controls the AI view distance, I'd say this is to be expected...

nope, all weather settings should not be dependant of mission.sqm as they can be overide by script.

0 setfog 0; 0 setovercast 0; don't solve the problem.

But the question is, why should you remove those lines in the first place..? A poor example would be to modify a pbo/dll and wonder afterwards why some parts of the game breaks down.

mission.sqm is a text editable file, not a binary file like pbo or dll (..) All parameters that are not explicity setted in this file, should have a defaut setting. This one seems to be max fog or 0 fog or other that have a bad effect on AI.

But I still don't understand why anyone should remove these 2 lines from mission.sqm, even when it's not possible to change them inside the editor...

The question is not why deleting 2 lines in editable file, the question is why the sync between fog runing in game and AI parameters is not working. Is it a default parameter problem, or other thing, i dont know.

If there is an issue here, it can happens at another place and affect AI skills. There is no way to detect this kind of bug.