Why do bots dont use stationary weapons!?

Making or wanting help making your own asset? Check in here
Post Reply
THE_PR_FAN
Posts: 56
Joined: 2015-09-14 11:37

Why do bots dont use stationary weapons!?

Post by THE_PR_FAN »

I am facing a huge issue.
My custom map(i made) is a very action packed map with loads of LMG's.
I placed a bot spawnpoint on every LMG and have checked :
"Enter on spawn" tickbox.
But when i play the game, bots just exit those LMG's and never use them in whole game!!!! Whats the issue?
I want them to use each of the LMG's!
Any fixes??
Outlawz7
Retired PR Developer
Posts: 17261
Joined: 2007-02-17 14:59

Re: Why do bots dont use stationary weapons!?

Post by Outlawz7 »

Check AI settings for LMGs.
Image
THE_PR_FAN
Posts: 56
Joined: 2015-09-14 11:37

Re: Why do bots dont use stationary weapons!?

Post by THE_PR_FAN »

[R-DEV]Outlawz7 wrote:Check AI settings for LMGs.

What to edit exactly?
Which line of code in which file?
MaxP
Posts: 117
Joined: 2008-09-08 19:18

Re: Why do bots dont use stationary weapons!?

Post by MaxP »

For the "vehicle" (bipod):
aiTemplatePlugIn.setStrategicStrength 0 *
aiTemplatePlugIn.setStrategicStrength 1 *
aiTemplate.basicTemp *
The highher number means the higher bot's desire to use it.
The first StrategicStrength is for attacking purposes, the second - for defending.

For the weapon itself:
weaponTemplate.setStrength Infantry *

Check the other strings if neeed.
Post Reply

Return to “PR:BF2 Community Modding”