[Map] Torgan Valley (2km) [WIP]

Amok@ndy
Retired PR Developer
Posts: 5144
Joined: 2008-11-27 22:13

Re: [Map] Torgan Valley (2km) [WIP]

Post 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
Image
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Re: [Map] Torgan Valley (2km) [WIP]

Post by Rhino »

Resaving your complied terrain in the terrain editor may help.
Image
Amok@ndy
Retired PR Developer
Posts: 5144
Joined: 2008-11-27 22:13

Re: [Map] Torgan Valley (2km) [WIP]

Post by Amok@ndy »

your secondary terrain seems to be 1025 x 1025 which the editor can not handle.
Image
Amok@ndy
Retired PR Developer
Posts: 5144
Joined: 2008-11-27 22:13

Re: [Map] Torgan Valley (2km) [WIP]

Post 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
Image
Amok@ndy
Retired PR Developer
Posts: 5144
Joined: 2008-11-27 22:13

Re: [Map] Torgan Valley (2km) [WIP]

Post by Amok@ndy »

yes its always +1
Image
Amok@ndy
Retired PR Developer
Posts: 5144
Joined: 2008-11-27 22:13

Re: [Map] Torgan Valley (2km) [WIP]

Post 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
Image
Amok@ndy
Retired PR Developer
Posts: 5144
Joined: 2008-11-27 22:13

Re: [Map] Torgan Valley (2km) [WIP]

Post 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
Image
Post Reply

Return to “Mapping”