Michael-Z-Freeman / forgotten-hope-singleplayer

Automatically exported from code.google.com/p/forgotten-hope-singleplayer
0 stars 0 forks source link

Tanks race forward and quickly get destroyed #73

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I altered lines 98 and 99 in "aibehaviours.ai" from "mods\fh2\ai\".

aiSettings.setBehaviourModifier Avoid      8.0
aiSettings.setBehaviourModifier MoveTo      0.3

As well changing the default behaviour on line 264.

aiSettings.setVehicleDefaultBehaviour    Tank   Avoid

Initial testing shows tanks holding back more often although they still do some 
travelling ahead of infantry to objectives. There is also more manourvering 
going on and with some tanks firing from standstill at positions at a distance. 
I even saw a tank "panicking" and reversing quickly away from an enemy tank 
while firing (attached image, tank at right of image). Never seen that before. 
There appears to be avoidance of infantry as well. A good idea as many of them 
are usually antitank class.

Original issue reported on code.google.com by djbar...@djbarney.org on 2 Mar 2012 at 6:55