Battlefield Modding Tutorials BFMODS
https://battlefieldmodding.com/ssm/phpBB3/

AI Problem !!
https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=3&t=4855
Page 1 of 1

Author:  luffy150892 [ Wed Apr 15, 2009 11:10 am ]
Post subject:  AI Problem !!

Hello , I have a problem when i want to Add Bots .
I use the battlefield 1942 Debugger and i have this probleme .

Image

anyone can help me solve this problem ?

Sorry for my english , i am French !

Author:  POTAmatt [ Wed Apr 15, 2009 11:26 pm ]
Post subject:  Re: AI Problem !!

This is a common problem with a simple solution. Bots are being ordered into the strategic area "insertion droite", yet 721.8/405.8 is an invalid position on the infantry pathmaps. That position is probably occupied by a flag pole or some other object and was rendered white (invalid) during the pathmapping process. In the AI/Strategicareas.con file where the strategic area "insertion droite" is defined, you should see something like this:
setorderposition infantry 721.8/405.8
Change the 721.8/405.8 to a valid X/Z pathfinding position within the capture radius. If it is a flagpole causing the obstruction, shift those coordinates by a meter or two and you should be okay. Otherwise, get into the console using the "~" key, type in "console.showstats 1", press enter, find a valid X/Z coordinate for that control point, and update your setorder position for infantry. There is no need to regenerate pathmaps. Just make the change and repack the map. If you've got a valid position, the debugger will no longer generate this error, and your bots will now be able to capture that flag.
Always review the logs for these issues after creating new pathmaps as this is the number one reason why bots will stand around - they're being told to report to a control point which is invalid on their pathmaps. This applies to vehicles as well.

Author:  luffy150892 [ Thu Apr 16, 2009 9:53 am ]
Post subject:  Re: AI Problem !!

Thank you for this explanation

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/