Page 1 of 1
About Vanilla BF2 Ai
Posted: 2016-03-29 10:40
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
Re: About Vanilla BF2 Ai
Posted: 2016-03-29 18:41
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"
Re: About Vanilla BF2 Ai
Posted: 2016-04-05 19:23
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.