QUOTE(Dnamro @ Dec 4 2007, 10:33 AM)

QUOTE(Bizness @ Dec 4 2007, 07:58 AM)

Has anyone noticed how bots fly planes out of bounds too long and the pilot dies leaving the plane to free fall to its death? Is there any way to keep them from doing this? I tried to raise the time it takes to be killed in out of bounds areas for airplanes but it seems if your plane combat area is separate from the rest, it doesn't work. Maybe I did something wrong, any suggestions??
I assume you mean, other then removing the combat area limit? How did you set a special plane combat area?
I think Python code would be the best hope of finding a solution, The Python section of the BF2editor forums would be a good place to ask. I don't know if there is an event handler for 'Out of Combat area'.
Well...when you make a combat area you can select which vehicles you want it to affect. You can make one for all land which includes infantry and a separate one for air which will allow planes and helis to fly a little further out.
Example...
CODE
CombatArea.create CombatArea_72_64
CombatArea.min 0.000000/0.000000
CombatArea.max 0.000000/0.000000
CombatArea.addAreaPoint -956.106995/-646.766479
CombatArea.addAreaPoint -919.396606/-781.952698
CombatArea.addAreaPoint -844.337219/-869.701294
CombatArea.addAreaPoint -736.492188/-933.457397
CombatArea.addAreaPoint -565.843140/-959.647949
CombatArea.addAreaPoint 668.281860/-989.254089
CombatArea.addAreaPoint 727.287109/-972.665466
CombatArea.addAreaPoint 769.727173/-932.145447
CombatArea.addAreaPoint 789.675537/-879.614380
CombatArea.addAreaPoint 749.964355/814.986938
CombatArea.addAreaPoint 726.351196/874.076904
CombatArea.addAreaPoint 675.413086/915.407715
CombatArea.addAreaPoint 603.007202/933.216064
CombatArea.addAreaPoint -773.397766/938.422852
CombatArea.addAreaPoint -848.469421/929.361084
CombatArea.addAreaPoint -893.238403/902.653687
CombatArea.addAreaPoint -932.359802/851.211182
CombatArea.addAreaPoint -953.483276/780.743530
CombatArea.team 0
CombatArea.vehicles 2
CombatArea.layer 2
Where it says "CombatArea.vehicles 2" is the value you can change. I can't remember off the top of my head what vehicle is what number though I think 2 is air.