[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4668: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4670: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
Battlefield Modding Tutorials BFMODS • View topic - Getting The Best Out Of Your Bots

Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Tue Apr 16, 2024 3:47 pm

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 
Author Message
PostPosted: Mon Oct 27, 2008 9:13 am 
Offline

Joined: Tue Apr 29, 2008 12:04 pm
Posts: 135
As most of you will of realised the game is dying and very few servers are populated so heres a little way for you to still have a good game while playing coop on your server.
Open the Game.rfa
Now select the Bf1942/Game/AIbehaviours.con
Under the first line which is remmed add this
aiSettings.setBotSkill 1

Now go to the bit under this
rem *** IMPORTANT !!! **************************
rem * NEVER ALLOW IDLE's urgency to become 0. *
rem * The AI will CRASH in that case. *
rem *** REMINDER *******************************
rem *** Construct unit weights ***
aiSettings.createBehaviourModifiers UnitWeights

and put the weights to something like this

aiSettings.setBehaviourModifier Avoid 0.001
aiSettings.setBehaviourModifier MoveTo 75
aiSettings.setBehaviourModifier Idle 0.00001
aiSettings.setBehaviourModifier Fire 99.999999
aiSettings.setBehaviourModifier Special 0.1
aiSettings.setBehaviourModifier Scout 40
aiSettings.setBehaviourModifier TakeCover 0.001
aiSettings.setBehaviourModifier Change 12.5

and then do the same for all other weights

This is what they all do

aiSettings.setBehaviour 0 Avoid (move out of the way of something)
aiSettings.setBehaviour 1 MoveTo (go some where)
aiSettings.setBehaviour 2 Idle (do nothing)
aiSettings.setBehaviour 3 Fire (Use a hand/vehicle weapon)
aiSettings.setBehaviour 4 Special (ignore this)
aiSettings.setBehaviour 5 Scout (search for the enemy)
aiSettings.setBehaviour 6 TakeCover (hide from the enemy)
aiSettings.setBehaviour 7 Change (Exit a vehicle )

The most important ones are Fire and Scout always set Fire to the max which is just below 100 but you can change scout the higher it is the more they will move before they shoot so if you set it very low they will stand still and shoot (idle can also help with this) and if you set it very high then they will run like mad men through your fire to the nearest flag that isnt theirs.

Hope this helps you post any other ideas on this topic below

_________________
My BF1942 Server's Homepage
BF1942 Servers Name Modded Omaha
BF1942 Servers IP 212.187.208.16


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Mon Oct 27, 2008 1:15 pm 
Offline

Joined: Mon Oct 25, 2004 12:00 am
Posts: 576
Location: 10 Missed Meals From Total Barbarism
Umm,..search....
aiSettings.setBotSkill 1
search.php
Values over 9?,...good luck getting that to work.
There are reason's winRFA doesn't accept certain values.

aiSettings.setBehaviourModifier Idle 0.0000000001 ?

http://www.youtube.com/watch?v=V3y3QoFnqZc

:lol:


Top
 Profile Send private message E-mail  
 
PostPosted: Mon Oct 27, 2008 2:19 pm 
Offline

Joined: Tue Apr 29, 2008 12:04 pm
Posts: 135
haha well it works fine and is running on 2 servers very nicely

_________________
My BF1942 Server's Homepage
BF1942 Servers Name Modded Omaha
BF1942 Servers IP 212.187.208.16


Top
 Profile Send private message E-mail  
 
 Post subject: whatever man
PostPosted: Mon Oct 27, 2008 4:47 pm 
Offline

Joined: Mon Oct 25, 2004 12:00 am
Posts: 576
Location: 10 Missed Meals From Total Barbarism
You're not even supposed to change anything in

aiSettings.createBehaviourModifiers UnitWeights.

The ones under it you can SOME.
Have fun with your dumbed down bots.

You're still

http://www.youtube.com/watch?v=V3y3QoFnqZc :lol:


Top
 Profile Send private message E-mail  
 
PostPosted: Mon Oct 27, 2008 5:38 pm 
Offline

Joined: Tue Jun 17, 2008 6:13 pm
Posts: 132
Location: Utah


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Mon Oct 27, 2008 10:48 pm 
Offline

Joined: Mon Oct 25, 2004 12:00 am
Posts: 576
Location: 10 Missed Meals From Total Barbarism
Ask anyone who mod's AI,..
The top one is baseline unit (YOU NO TOUCH) there's a reason it violates the no two values the same rule.
Which if you violate it,..causes bots to not know what to do because they can't find a strategy or weapon or vehicle to use which serves their (getting flags/killing you) purpose well.
If they are all the same in anything but that section they can't choose
because everything is equal.
I put those in and it was immediately obvious
previously wonderful map mods stopped working correctly.

Landing crafts on Omaha beach tried to move to alright,
onto the shore and straight up side OF MOUNTAIN plateau on either side of beach CP.
It's Ok I did same exact thing,...AGE'S ago.
Call it beginners misfortune or whatever.
The drivers wouldn't get out either,...Planes?
Fuhgedd about it,...broke the AI,...stopped sensing ALL enemies and changes
based on heat from the SAI.
translation :They got airborne ignored everything and flew in circles
Not shooting or trying to shoot any enemy presented to them.

Have a nice day,...:lol:


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.  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 11 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