Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Drawde

Pages: 1 [2]
16
As other posters have mentioned, there appears to be a problem with the bot AI in FH2 2.25 causing them to not aim and rotate fixed AT and artillery guns. Bots will often man the guns when enemy tanks are near, but will not actually aim the guns and will only fire when enemies are right in front of them. Bots manning anti-aircraft guns do NOT have this problem and will aim at and track enemy planes very effectively - and if you set the AI strength values of the AA gun to allow it to be fired at ground targets, they'll aim at infantry and tanks just as well.

Any clues as to what could be causing this problem? I've looked at the object.ai files for the various AT, AA and artillery guns and there don't appear to be any significant differences in the data which could be causing the problem. A few gun types have very limited max/min rotation values, but altering these doesn't change the AI's behaviour.
Reading older posts from previous versions of FH2 seems to suggest that this problem wasn't present in previous versions - am I correct?

17
Modding / SP/bot AI modding: help/advice needed
« on: 25-01-2010, 10:01:11 »
I used to do a lot of modding with BF1 and BF:V, both AI tweaks and weapon/vehicle "realism" mods - though I don't think I ever got anything complete and polished enough to release, I had a lot of fun! However, I never really got into BF2 modding, and in any case my BF modding skills are very "rusty" as I haven't played the game for a couple of years. Recently I decided to reinstall BF2 and try out some of the mods available, including FH2.

Anyway, after playing some offline games on various maps, and reading the threads in the single-player feedback section of this forum, I've had a look through the AI files to see if there's anything that can be tweaked to improve/fix the AI a bit, and it seems like there are a lot of inconsistent and odd values in the weapon ai.con files which could be contributing to the AI's erratic behaviour. For example, a lot of weapons have extremely high minimum range values - notably HE rounds for tank guns. Values for "deviation" (I think this controls how (in)accurate the AI is allowed to be when firing the gun) are also very inconsistent for weapons of the same type.

I've been attempting to modify this data to see if it makes any difference to the AI's behaviour, but haven't so far managed to get BF2/FH2 to load my modified data. I've tried the following:
- Created a new mod with its own folder, loading the data files from the FH2 folder via serverarchives.con - result: FH2 levels/maps don't show up on the map list, though the menu uses FH2's text colours and music (but the background movies are the default BF2 ones)
- Created separate ZIP files with the modified files, and modify FH2's serverarchives.con to load these as well as the original files - result: BF2 crashes almost immediately when loading a map. Unfortunately there doesn't seem to be an error/crash log stored anywhere to give me a clue as to what specifically could be causing the crash.
- Unzipped, modified and repacked the FH2 objects_weapons_server and objects_vehicles_server ZIP files - result: BF2 crashes when the map is about 75% loaded (regardless of whether or not I modify anything).

Any clues as to what I could be doing wrong?

Pages: 1 [2]