Page 1 of 1

[Help!] BF2 Editor max altitude of flight

Posted: 2009-09-16 18:43
by Joeziah
I've looked everywhere, in every .con file in my level and every setting in the editor, I cannot figure out how to raise the maximum flight altitude on my custom map :S

Its a 4km map, I even opened up kashan to see how you did it in there and all the settings were similar from what i could tell, with altitude and what not.

I hate to post a entire thread just for this issue but man I've searched google under every possible search perimeters I can think of and cannot figure it out :(

Ziah

Re: [Help!] BF2 Editor max altitude of flight

Posted: 2009-09-16 19:27
by Sniperdog
Go into:
C:\Program Files\EA GAMES\Battlefield 2\mods\<modname>\levels\<levelname>\server.zip\Init.con


The code is:

physics.airdensityzeroatheight n

n = stall altitude in meters



if its not there to begin with add it in here:

run ../../objects/common/spawners/spawners_common.con
run ../../objects/common/spawners/spawners_us.con
run ../../objects/common/spawners/spawners_ch.con
physics.airdensityzeroatheight n

endIf

rem ------------------------------- LevelSettings -------------------------------
rem -----------------------------------------------------------------------------

The reason you couldnt find it is because its normally defaulted for all levels in the mod and the code is only added in if you want it to be different. Hope that helped :)

Re: [Help!] BF2 Editor max altitude of flight

Posted: 2009-09-16 19:40
by Joeziah
Thanks!