About Vanilla BF2 Ai

Discussion on PR:BF2 community factions.
Post Reply
THE_PR_FAN
Posts: 56
Joined: 2015-09-14 11:37

About Vanilla BF2 Ai

Post by THE_PR_FAN »

i want some help regarding ai in bf2
i made a omaha beach/similar map
but the problem is that the Bots wont grab the stationary machine guns!!!
is there any script to make bots grab the machine guns quickly?? or

will using ESAI work??
help please
thanks
Spyker2041
Posts: 1076
Joined: 2010-03-18 16:25

Re: About Vanilla BF2 Ai

Post by Spyker2041 »

put a spawn point right next to the each of the static MGs and select "Only for AI" and "AI Enter on Spawn"
Image
Take a look at my custom PRSP Maps --> Click Here
Take a look at my gameplay vids --> Click Here
Fastjack
PR:BF2 Contributor
Posts: 525
Joined: 2011-09-04 19:47

Re: About Vanilla BF2 Ai

Post by Fastjack »

THE_PR_FAN wrote:i want some help regarding ai in bf2
i made a omaha beach/similar map
but the problem is that the Bots wont grab the stationary machine guns!!!
is there any script to make bots grab the machine guns quickly?? or

will using ESAI work??
help please
thanks
Are these stationary machine guns the vanilla ones or custom ones and is it for your mod or vanillabf2?
Are those machineguns custom ones than check for ai.templates if they have one.
If they have working ai.templates you can increase the temperature of a weapon or you can increase (EXCAMPLE):

Code: Select all

aiTemplatePlugIn.setStrategicStrength 0 3 
aiTemplatePlugIn.setStrategicStrength 1 3
Here you can get more information about this : objects.ai - setStrategicStrength - Battlefield SinglePlayer Forum

About ESAI :

Yes, ESAI can improve that bots prefer static machineguns but the strategicareas of the map need also some extra ObjectTypeFlaggs added like

Code: Select all

aiStrategicArea.addObjectTypeFlag Base
ESAI runs strategies like protectbase and there is a modifier for fixed weapons like machineguns that increase the temperature and bots start to like machineguns.
Post Reply

Return to “PR:BF2 Community Factions”