Quantcast
Channel: Project Reality Forums - PR:BF2 Community Modding
Viewing all articles
Browse latest Browse all 924

Help: Can't get AI to attack after PRv1.3.9.0

$
0
0
Before the new PR release a month ago or so I had modded the kits and weapons for an offline scenario on Al Basrah.

But now there is a problem with the bots attacking.

When I fire up the infantry only Al Basrah, with the condensed map, the INS bots attack me like they should, trying to stab the crap out of me and running after me.

But, when I fire up the standard Al Basarah map they do not attack, or even move to the objective. And they stand around doing yoga, and I can walk right up to them and they do not react.

So, I adjusted a few things to have INS on Al Basrah only have knives. I also modified the Brit kits to make my own, and tweaked some of the mags and damages of the weapons.

I also for the Ins, I increased the "knife range" and optimal percentage so the INS would attack me:

weaponTemplate.create knife_ai
weaponTemplate.indirect 0
weaponTemplate.minRange 0.0
weaponTemplate.maxRange 9999
weaponTemplate.optimalRangePercentage .0001
weaponTemplate.setFiringPose Standing
weaponTemplate.setStrength Infantry 12.0
weaponTemplate.setStrength LightArmour 0.0
weaponTemplate.setStrength HeavyArmour 0.0
weaponTemplate.setStrength NavalArmour 0.0
weaponTemplate.setStrength Helicopter 0.0
weaponTemplate.setStrength AirPlane 0.0
weaponTemplate.setSoundSphereRadius 0.0

I did all this before the new big PR release, and it all worked fine. Then I had to redo all my modifications after the PR release, and I've been trying to get it right since.

There is something going on with the AI on Standard Al Basarah, and I'm not sure what changed.

THANKS!

Viewing all articles
Browse latest Browse all 924

Trending Articles