project reality header
Go Back   Project Reality Forums > PR:BF2 Mod Forums > PR:BF2 Community Modding > Community Maps
24 Oct 2024, 00:00:00 (PRT)
Register Developer Blogs Members List Search Quick Links
Community Maps Maps created by PR community members.

Reply
 
Thread Tools Display Modes
Old 2016-07-21, 12:12   #1
Rabbit
Default Surrounding terrain not saving

Made a custom heightmap and ran the auto generator to mirror the surrounding terrain. When I load up my editor and import it in it shows up, however after I save it disappears again and need to be re-imported. I tried making changes to all patches so it would save it all when it saved complied terrain but to no avail. Any ideas?
Rabbit is offline Reply With Quote
Old 2016-07-21, 12:46   #2
Outlawz7
Retired PR Developer

Outlawz7's Avatar
Default Re: Surrounding terrain not saving

Quote:
Originally Posted by Rabbit View Post
When I load up my editor and import it in it shows up
What do you mean 'import it'? What auto generator are you using?

Outlawz7 is offline Reply With Quote
Old 2016-07-21, 14:11   #3
[R-DEV]​Ason
PR:BF2 Developer
Supporting Member

Ason's Avatar
Default Re: Surrounding terrain not saving

Did you activate those heightfields, maybe need to do that first, then save then import new ones ?

Ason is offline Reply With Quote
Old 2016-07-21, 14:51   #4
Rabbit
Default Re: Surrounding terrain not saving

Quote:
Originally Posted by [R-DEV]Outlawz7 View Post
What do you mean 'import it'? What auto generator are you using?
Bf2HeightmapGenerator.exe import/activate in terrain editor.

http://planetbattlefield.gamespy.com...s.Detail&id=66

Quote:
Originally Posted by [R-DEV]Ason View Post
Did you activate those heightfields, maybe need to do that first, then save then import new ones ?

^ yep, and when I save and re open they are grey again.

Code:
Heightmap filesize does not match expected size. 66049 != 1050625
Could not read expected size
Perhaps it is to complex and thus to large in size?
Rabbit is offline
Last edited by Rabbit; 2016-07-21 at 15:09..
Reply With Quote
Old 2016-07-21, 15:19   #5
Outlawz7
Retired PR Developer

Outlawz7's Avatar
Default Re: Surrounding terrain not saving

When I used Bf2HeightmapGenerator, I didn't import anything, run the .bat, it overwrites the surrounding terrain files and thats it.

Outlawz7 is offline Reply With Quote
Old 2016-07-21, 15:22   #6
Rabbit
Default Re: Surrounding terrain not saving

Quote:
Originally Posted by [R-DEV]Outlawz7 View Post
When I used Bf2HeightmapGenerator, I didn't import anything, run the .bat, it overwrites the surrounding terrain files and thats it.
Right but when I go to render them in the editor they are not there. So I go to import and activate and they show up, save and reopen editor and they will not load again.
Rabbit is offline Reply With Quote
Old 2016-07-21, 15:39   #7
Outlawz7
Retired PR Developer

Outlawz7's Avatar
Default Re: Surrounding terrain not saving

Did you activate surrounding terrain before running heightmap generator?

Outlawz7 is offline Reply With Quote
Old 2016-07-21, 15:40   #8
Rabbit
Default Re: Surrounding terrain not saving

Yes, it was active and working.
Rabbit is offline Reply With Quote
Old 2016-07-21, 16:12   #9
[R-DEV]Mats391
PR:BF2 Lead Developer
Supporting Member
PR Server License Administrator

Mats391's Avatar
Default Re: Surrounding terrain not saving

Quote:
Originally Posted by Rabbit View Post

Code:
Heightmap filesize does not match expected size. 66049 != 1050625
Could not read expected size
Perhaps it is to complex and thus to large in size?
What size is the heightmap and what size is defined in the .con (257x257 vs 1025x1025)? Most likely your issues lies in those two not matching. Possible editor just uses some weird maximum. Did you check if the terrain shows up in game?

Mineral: TIL that Wire-guided missiles actually use wire
Mats391 is offline Reply With Quote
Old 2016-07-21, 16:18   #10
Rabbit
Default Re: Surrounding terrain not saving

Quote:
Originally Posted by [R-DEV]Mats391 View Post
What size is the heightmap and what size is defined in the .con (257x257 vs 1025x1025)? Most likely your issues lies in those two not matching. Possible editor just uses some weird maximum. Did you check if the terrain shows up in game?
Tried a map with 257, one with 513 and one with 1025. Always heightmap data and hieghtmap raws have matched in size.
Rabbit is offline Reply With Quote
Reply


Tags
saving, surrounding, terrain

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 16:23.