Page 4 of 5
Re: [Map] Torgan Valley (2km) [WIP]
Posted: 2013-08-29 18:00
by Amok@ndy
[R-DEV]Rudd wrote:looks like your OG atlas hasn't formed right?
Recommend deleting your overgrowthatlas.tai and .dds and regening them.
dont delete the overgrowthatlas.tai, just make it empty
if you delete it, it wont rebuild anything
Re: [Map] Torgan Valley (2km) [WIP]
Posted: 2014-05-29 08:02
by Rhino
Resaving your complied terrain in the terrain editor may help.
Re: [Map] Torgan Valley (2km) [WIP]
Posted: 2014-05-29 16:47
by Amok@ndy
your secondary terrain seems to be 1025 x 1025 which the editor can not handle.
Re: [Map] Torgan Valley (2km) [WIP]
Posted: 2014-05-29 18:24
by Amok@ndy
Code: Select all
heightmapcluster.create HeighmapCluster
heightmapcluster.setClusterSize 3
heightmapcluster.setHeightmapSize 2048
rem --- primary ---
heightmapcluster.addHeightmap Heightmap 0 0
heightmap.setSize 102[color=Red]5[/color] 102[color=Red]5[/color]
heightmap.setScale 2/0.00335693/2
heightmap.setBitResolution 16
heightmap.setModified 1
heightmap.loadHeightData Levels/torgan_valley/HeightmapPrimary.raw
heightmap.setMaterialScale 1
heightmap.loadMaterialData Levels/torgan_valley/HeightmapPrimary.mat
rem --- secondary ---
heightmapcluster.addHeightmap Heightmap -1 -1
heightmap.setSize [color=Red]257 257[/color]
heightmap.setScale 2/0.859375/2
heightmap.setBitResolution 8
heightmap.setModified 0
heightmap.loadHeightData Levels/torgan_valley/HeightmapSecondary_L1U1.raw
heightmapcluster.addHeightmap Heightmap 0 -1
heightmap.setSize [color=Red]257 257[/color]
heightmap.setScale 2/0.859375/2
heightmap.setBitResolution 8
heightmap.setModified 1
heightmap.loadHeightData Levels/torgan_valley/HeightmapSecondary_U1.raw
heightmapcluster.addHeightmap Heightmap 1 -1
heightmap.setSize [color=Red]257 257[/color]
heightmap.setScale 2/0.859375/2
heightmap.setBitResolution 8
heightmap.setModified 1
heightmap.loadHeightData Levels/torgan_valley/HeightmapSecondary_R1U1.raw
heightmapcluster.addHeightmap Heightmap -1 0
heightmap.setSize [color=Red]257 257[/color]
heightmap.setScale 2/0.859375/2
heightmap.setBitResolution 8
heightmap.setModified 1
heightmap.loadHeightData Levels/torgan_valley/HeightmapSecondary_L1.raw
heightmapcluster.addHeightmap Heightmap 1 0
heightmap.setSize [color=Red]257 257[/color]
heightmap.setScale 2/0.859375/2
heightmap.setBitResolution 8
heightmap.setModified 1
heightmap.loadHeightData Levels/torgan_valley/HeightmapSecondary_R1.raw
heightmapcluster.addHeightmap Heightmap -1 1
heightmap.setSize [color=Red]257 257[/color]
heightmap.setScale 2/0.859375/2
heightmap.setBitResolution 8
heightmap.setModified 1
heightmap.loadHeightData Levels/torgan_valley/HeightmapSecondary_L1D1.raw
heightmapcluster.addHeightmap Heightmap 0 1
heightmap.setSize [color=Red]257 257[/color]
heightmap.setScale 2/0.859375/2
heightmap.setBitResolution 8
heightmap.setModified 1
heightmap.loadHeightData Levels/torgan_valley/HeightmapSecondary_D1.raw
heightmapcluster.addHeightmap Heightmap 1 1
heightmap.setSize [color=Red]257 257[/color]
heightmap.setScale 2/0.859375/2
heightmap.setBitResolution 8
heightmap.setModified 1
heightmap.loadHeightData Levels/torgan_valley/HeightmapSecondary_R1D1.raw
heightmapcluster.setSeaWaterLevel 56.6
it should be like this
Re: [Map] Torgan Valley (2km) [WIP]
Posted: 2014-05-29 18:28
by Amok@ndy
yes its always +1
Re: [Map] Torgan Valley (2km) [WIP]
Posted: 2014-05-29 21:11
by Amok@ndy
oh sorry i missed the scale thing
Code: Select all
heightmap.setSize 257 257
heightmap.setScale [color=Red]2[/color]/0.859375/[color=Red]2[/color]
should be this ofc:
Code: Select all
heightmap.setSize 257 257
heightmap.setScale 8/0.859375/8
Re: [Map] Torgan Valley (2km) [WIP]
Posted: 2014-05-30 05:29
by Amok@ndy
Primary terrain is saved in 16bits and secondary is 8bits, take the heightmaps and the heightdata.con of another map and copy them into your mapfolder (backup you files before) and try if it workes in the editor (make sure you have the right scales and level folders in the heightdata.con) and then recompile your terrain in the editor and then you can try it ingame and once all this works you can try get your old heightmaps back in
though make sure Primary is 16bit and Secondary is 8bit