if v_arg1 == BF2Editor
terrain.create TerrainEditable
terrain.patchSize 128
terrain.subdividePatches 1
terrain.primaryWorldScale 2/0.00152588/2
terrain.secondaryWorldScale 4/0.390625/4
terrain.patchColormapSize 512
terrain.lowDetailmapSize 512
terrain.detailmapBaseName "Levels/juneau/Detailmaps/tx"
terrain.lowDetailmapBaseName "Levels/juneau/LowDetailmaps/tx"
terrain.colormapBaseName "Levels/juneau/Colormaps/tx"
terrain.lightmapBaseName "Levels/juneau/Lightmaps/tx"
terrain.farSideTiling 2/2
terrain.farTopTilingHi 16
terrain.farTopTilingLow 32
terrain.farYOffset 0
terrain.terrainWaterColor 0/0/0
terrain.init

else
terrain.create Terrain
terrain.load Levels/juneau/terraindata.raw
endIf

