Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Mon Apr 29, 2024 10:28 am

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: AI Problem !!
PostPosted: Wed Apr 15, 2009 11:10 am 
Offline

Joined: Sun Jul 20, 2008 4:23 am
Posts: 3
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 !


Top
 Profile Send private message E-mail  
 
 Post subject: Re: AI Problem !!
PostPosted: Wed Apr 15, 2009 11:26 pm 
Offline

Joined: Wed Oct 10, 2007 10:01 pm
Posts: 43
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.


Top
 Profile Send private message E-mail  
 
 Post subject: Re: AI Problem !!
PostPosted: Thu Apr 16, 2009 9:53 am 
Offline

Joined: Sun Jul 20, 2008 4:23 am
Posts: 3
Thank you for this explanation


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 313 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Group