[Help!] BF2 Editor max altitude of flight

Making or wanting help making your own asset? Check in here
Post Reply
Joeziah
Posts: 81
Joined: 2009-09-01 02:46

[Help!] BF2 Editor max altitude of flight

Post 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
Sniperdog
Retired PR Developer
Posts: 1177
Joined: 2009-02-27 00:06

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

Post 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 :)
Last edited by Sniperdog on 2009-09-16 21:33, edited 2 times in total.
Image

Image

Will Stahl aka "Merlin" in the Squad community
Joeziah
Posts: 81
Joined: 2009-09-01 02:46

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

Post by Joeziah »

Thanks!
Post Reply

Return to “PR:BF2 Community Modding”