Tripwire Interactive Forums

Go Back   Tripwire Interactive Forums > Red Orchestra: Ostfront 41-45 Forums > Red Orchestra Modifications > General Modding Discussion > SDK Support

Reply
 
Thread Tools Display Modes
  #1  
Old 03-20-2007, 08:35 PM
joe1013 joe1013 is offline
Member
 
Join Date: Aug 2006
Posts: 53
Default terrain issue

hi. sometimes when i subtract a cube and add a zone info actor, choose a texture, etc., i get the terrain but it does not go across the entire cube in either width or breadth. it seems sort of in the middle. also, sometimes the "select" and terrain generator will not function, and yet the "painting" brush does when i am editing a height map. how can i remedy that? and, how can i make sure that the terrain extends across the entire width and breadth of the cube? any suggestions would be appreciated.
Reply With Quote
  #2  
Old 03-20-2007, 11:53 PM
Six_Ten's Avatar
Six_Ten Six_Ten is offline
Senior Member
 
Join Date: Mar 2006
Posts: 1,382
Default Terrain

Hi Joe,

Terrain size in the cube is based on the product of terrain Heightmap size (for example 512 x 512 or 256 x 256 (must be square, and power of 2)), and the TerrainScale. Raising the x,y,z, here will make a larger terrain in the cube, and lowering it will make a smaller terrain.

Since you've already subtracted your cube, in the Top view in editor alt-shift Left Mouse Button -- drag across your cube to measure it. Write the number down and open your calculator.

Divide the UU measurement of your cube by the pixel size of your heightmap. In TerrainInfo Properties, TerrainInfo, TerrainScale enter the result in the x and y fields.

Example:

...

The real-world battlefield that I'm modeling is 1854 meters by 1854 meters.

My terrain heightmap is 512 pixels square.

Dividing 1854 m by 512 pixels, we see that each pixel on my heightmap represents 3.62 meters in the real world.

...

RO to real world scale: 1 meter real world = 60.352 UU

Multiply 1854m by 60.352UU = 111923.2 UU

Divide 111923.2 UU by 512px = 218.600006

Your subtracted cube should be slightly larger than the terrain. When you open your red cube brush, enter 512*218.60006 in the x and y fields (actually you should add a little so its larger than the terrain).

...

x 218.600006
y 218.600006
z 8
Reply With Quote
  #3  
Old 03-21-2007, 10:09 PM
joe1013 joe1013 is offline
Member
 
Join Date: Aug 2006
Posts: 53
Default

thank you very much. sincerely, joe.
Reply With Quote
  #4  
Old 03-22-2007, 09:37 AM
Divinehammer's Avatar
Divinehammer Divinehammer is offline
Senior Member
 
Join Date: Mar 2006
Location: Sunny, Obamalot
Posts: 1,391
Default

Joe make sure you post all of your map building questions in the level design area This helps us keep info organized.
__________________
People sleep peaceably in their beds at night only because rough men stand ready to do violence on their behalf. -George Orwell
Maps: Dubrava, Pavlov's House
Shared Links
Reply With Quote
  #5  
Old 03-22-2007, 05:17 PM
joe1013 joe1013 is offline
Member
 
Join Date: Aug 2006
Posts: 53
Default

Sorry. I thought sdk support was the right one. will do. sincerely, joe.
Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump


All times are GMT -4. The time now is 08:00 AM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2005 - 2013, Tripwire Interactive, LLC