Hello again,
I promise this is the last question from me before I leave you guys in peace for at least a few months.
It's about bots in planes, in this case WW2 era fighters/bombers but that's maybe not important.
They get in in the plane, perhaps have a good few strafing runs and dogfights; but then sometimes, when I look at the minimap later to see how they're getting on, their plane icon is spinning round in circles. I fly to that position on the map to see in person but can't find them.
I'm guessing that this isn't something easily fixed, or at least not with my skill if it comes down to a problem with the map and editing that in third party software. But I'm wondering if there's a way of putting a time limit on the bots who get into planes, so they have maybe a few minutes to fly around and then forced to respawn. That would at least, in a long battle, prevent multiple planes from getting stuck like that and altering the flow of battle.
Many thanks again for any ideas here.
Kind regards,
Mark
Time limits on ai in planes
-
LangMaster
- PR:BF2 Contributor
- Posts: 176
- Joined: 2020-10-11 03:15
Re: Time limits on ai in planes
Would be great having a video of what is happening, perhaps a tracker of the game.

-
mft004
- Posts: 33
- Joined: 2017-12-14 17:37
Re: Time limits on ai in planes
Hi Lang,
thanks I recorded a session and uploaded to Youtube (https://www.youtube.com/watch?v=z1-HOpVqpwQ) but the quality there is pretty bad, granted original recording not much better as my PC's not the best. Anyhow Google Drive has made a better quality version if that's of any help (https://drive.google.com/file/d/1DFmtc6 ... ILyO3C_rn0). The plane problem can be seen from the 24 minute mark; prior to that the bots were doing fine but at that point in the game, 3 different planes sort of skid on the minimap then start spinning mid-air and they would be stuck that way til the end of the game.
EDIT: Solution found, thanks to a wizard called Clivewil : ) Had to re-add the line physics.airDensityZeroAtHeight to the init.con file of the map, something which I'd previously deleted in error from all maps. Apparently this prevents the plane from losing power at high altitudes, which was where they were all getting stuck - I just was too lazy to search up there!
thanks I recorded a session and uploaded to Youtube (https://www.youtube.com/watch?v=z1-HOpVqpwQ) but the quality there is pretty bad, granted original recording not much better as my PC's not the best. Anyhow Google Drive has made a better quality version if that's of any help (https://drive.google.com/file/d/1DFmtc6 ... ILyO3C_rn0). The plane problem can be seen from the 24 minute mark; prior to that the bots were doing fine but at that point in the game, 3 different planes sort of skid on the minimap then start spinning mid-air and they would be stuck that way til the end of the game.
EDIT: Solution found, thanks to a wizard called Clivewil : ) Had to re-add the line physics.airDensityZeroAtHeight to the init.con file of the map, something which I'd previously deleted in error from all maps. Apparently this prevents the plane from losing power at high altitudes, which was where they were all getting stuck - I just was too lazy to search up there!
Last edited by mft004 on 2022-09-02 00:15, edited 1 time in total.
