project reality header
Go Back   Project Reality Forums > PR:BF2 Mod Forums > PR:BF2 Community Factions > Mapping
28 Oct 2024, 00:00:00 (PRT)
Register Developer Blogs Members List Search Quick Links

Reply
 
Thread Tools Display Modes
Old 2014-05-29, 18:24   #71
Grober
Default Re: [Map] Torgan Valley (2km) [WIP]

and then i try to put 2025 (actual file size) into 2024 ( size in txt files) somthing like this happends

Grober is offline Reply With Quote
Old 2014-05-29, 18:25   #72
Grober
Default Re: [Map] Torgan Valley (2km) [WIP]

Quote:
Originally Posted by [R-DEV]Amok@ndy View Post
Code:
heightmapcluster.create HeighmapCluster
heightmapcluster.setClusterSize 3
heightmapcluster.setHeightmapSize 2048

rem --- primary ---
heightmapcluster.addHeightmap Heightmap 0 0
heightmap.setSize 1025 1025
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 257 257
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 257 257
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 1257 257
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 257 257
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 257 257
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 257 257
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 257 257
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 257 257
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


thx will check it out and let u know
u sure it should be 257? not 256?
Grober is offline Reply With Quote
Old 2014-05-29, 18:28   #73
Amok@ndy
Retired PR Developer
Supporting Member

Amok@ndy's Avatar
Default Re: [Map] Torgan Valley (2km) [WIP]

yes its always +1


Amok@ndy is offline Reply With Quote
Old 2014-05-29, 18:46   #74
Grober
Default Re: [Map] Torgan Valley (2km) [WIP]

Quote:
heightmapcluster.create HeighmapCluster
heightmapcluster.setClusterSize 3
heightmapcluster.setHeightmapSize 2048

rem --- primary ---
heightmapcluster.addHeightmap Heightmap 0 0
heightmap.setSize 1025 1025
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 257 257
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 257 257
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 257 257
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 257 257
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 257 257
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 257 257
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 257 257
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 257 257
heightmap.setScale 2/0.859375/2
heightmap.setBitResolution 8
heightmap.setModified 1
heightmap.loadHeightData Levels/torgan_valley/HeightmapSecondary_R1D1.raw

heightmapcluster.setSeaWaterLevel 56.6
files match those listed above and it still crashesh....
Grober is offline Reply With Quote
Old 2014-05-29, 18:52   #75
Grober
Default Re: [Map] Torgan Valley (2km) [WIP]

https://www.dropbox.com/s/dvs8072xhk...mapPrimary.rar

here are actual files maby u gona find whats wrong with them
Grober is offline Reply With Quote
Old 2014-05-29, 21:11   #76
Amok@ndy
Retired PR Developer
Supporting Member

Amok@ndy's Avatar
Default Re: [Map] Torgan Valley (2km) [WIP]

oh sorry i missed the scale thing

Code:
heightmap.setSize 257 257
heightmap.setScale 2/0.859375/2
should be this ofc:
Code:
heightmap.setSize 257 257
heightmap.setScale 8/0.859375/8


Amok@ndy is offline Reply With Quote
Old 2014-05-29, 22:42   #77
Grober
Default Re: [Map] Torgan Valley (2km) [WIP]

Quote:
heightmapcluster.create HeighmapCluster
heightmapcluster.setClusterSize 3
heightmapcluster.setHeightmapSize 2048

rem --- primary ---
heightmapcluster.addHeightmap Heightmap 0 0
heightmap.setSize 1025 1025
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 257 257
heightmap.setScale 8/0.859375/8
heightmap.setBitResolution 8
heightmap.setModified 0
heightmap.loadHeightData Levels/torgan_valley/HeightmapSecondary_L1U1.raw
heightmapcluster.addHeightmap Heightmap 0 -1
heightmap.setSize 257 257
heightmap.setScale 8/0.859375/8
heightmap.setBitResolution 8
heightmap.setModified 1
heightmap.loadHeightData Levels/torgan_valley/HeightmapSecondary_U1.raw
heightmapcluster.addHeightmap Heightmap 1 -1
heightmap.setSize 257 257
heightmap.setScale 8/0.859375/8
heightmap.setBitResolution 8
heightmap.setModified 1
heightmap.loadHeightData Levels/torgan_valley/HeightmapSecondary_R1U1.raw

heightmapcluster.addHeightmap Heightmap -1 0
heightmap.setSize 257 257
heightmap.setScale 8/0.859375/8
heightmap.setBitResolution 8
heightmap.setModified 1
heightmap.loadHeightData Levels/torgan_valley/HeightmapSecondary_L1.raw
heightmapcluster.addHeightmap Heightmap 1 0
heightmap.setSize 257 257
heightmap.setScale 8/0.859375/8
heightmap.setBitResolution 8
heightmap.setModified 1
heightmap.loadHeightData Levels/torgan_valley/HeightmapSecondary_R1.raw

heightmapcluster.addHeightmap Heightmap -1 1
heightmap.setSize 257 257
heightmap.setScale 8/0.859375/8
heightmap.setBitResolution 8
heightmap.setModified 1
heightmap.loadHeightData Levels/torgan_valley/HeightmapSecondary_L1D1.raw
heightmapcluster.addHeightmap Heightmap 0 1
heightmap.setSize 257 257
heightmap.setScale 8/0.859375/8
heightmap.setBitResolution 8
heightmap.setModified 1
heightmap.loadHeightData Levels/torgan_valley/HeightmapSecondary_D1.raw
heightmapcluster.addHeightmap Heightmap 1 1
heightmap.setSize 257 257
heightmap.setScale 8/0.859375/8
heightmap.setBitResolution 8
heightmap.setModified 1
heightmap.loadHeightData Levels/torgan_valley/HeightmapSecondary_R1D1.raw

heightmapcluster.setSeaWaterLevel 56.6




btw i tryed to remove surrounding terrain by editing hightdata
Quote:
heightmapcluster.create HeighmapCluster
heightmapcluster.setClusterSize 3
heightmapcluster.setHeightmapSize 2048

rem --- primary ---
heightmapcluster.addHeightmap Heightmap 0 0
heightmap.setSize 1025 1025
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


heightmapcluster.setSeaWaterLevel 56.6
and HeightmapSecondary (not sure is that all) but after i did that there is no more error like beffore game just stop working while loading on 15%


edit:
ohh one more think while i was editing them i dident open them like this


i did use those setting


cause when i try to open with 16bits i got an error


is that might be the reason why it crash?
Grober is offline
Last edited by Grober; 2014-05-29 at 23:06..
Reply With Quote
Old 2014-05-30, 05:29   #78
Amok@ndy
Retired PR Developer
Supporting Member

Amok@ndy's Avatar
Default Re: [Map] Torgan Valley (2km) [WIP]

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


Amok@ndy is offline Reply With Quote
Old 2014-05-30, 12:52   #79
Grober
Default Re: [Map] Torgan Valley (2km) [WIP]

So i did copy those files



launched editor saved terrain and map passed terrain loading phase but when i try to open heightmapprimary.raw
i got an error



i can open it but only with count 1
some one had that problem and know how to fix it?
Grober is offline Reply With Quote
Old 2014-05-30, 15:21   #80
Grober
Default Re: [Map] Torgan Valley (2km) [WIP]

Ok i have fixed it. Thx for your help Amok will have more question soon
Grober is offline Reply With Quote
Reply


Tags
2km, map, maptorgan, poxo is ghey, torgan, valley, wip

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 14:00.