Welcome, Guest. Please login or register.
Did you miss your activation email?
August 04, 2020, 05:52:56 am

Login with username, password and session length
Search:     Advanced search
Savage: XR is a new patch for Savage, created by the Newerth.com staff. The XR1.1 Client is out now! Download it now!
190009 Posts in 11003 Topics by 18522 Members
Latest Member: WalkWithTheCrows
* Home Forum Wiki Help Search Login Register
+  Newerth Forums
|-+  Savage XR
| |-+  Mapping & Modding Forum
| | |-+  Whole Map too High, reduce elevation?
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Whole Map too High, reduce elevation?  (Read 576 times)
Time
Newbie
*
Posts: 5



View Profile
« on: December 27, 2019, 07:56:24 pm »

Hey,

I tried myself at making a map but I somehow made it all above 800 elevation.
This means, that the commanders have their view zoomed in too much, and are unable to see properly

Is there a way to reduce the entire map elevation?
Doing it by brushes messes everything up.

Alternatively, is there a possibility of a client side script to execute at launch that would simply increase max camera zoom out for commanders?
Logged
Daemon
XR Main Developer
Legendary Member
****
Posts: 4820


beware, for this is the everbroken...


View Profile
« Reply #1 on: December 27, 2019, 08:45:27 pm »

There's a way to import height maps (as greyscale pictures). Maybe there's a way to export them too? Smiley And then lower everything by changing the grey intensity in Photoshop and reimporting it.
Logged

Time
Newbie
*
Posts: 5



View Profile
« Reply #2 on: December 28, 2019, 08:48:08 am »

Hi, thanks for the idea!

Unfortunately I didn't find an easy way to do this  Sad

Do you think it would be possible to increase the largest brush size?
Right now its something like 16 x 16.

How would I go about increasing that and then simply lower the entire map at once?

Edit: I have found the following two variables that in my opinion have something to do with the brush size:

le_brush "X" (Where X is probably the brush selected)
xr_brushradius "X" (Where X should be the size of the brush)

I didn't have any luck modifying the radius value, it seems to do nothing at all

Edit 2: I was easily able to change one brush's TGA to a full square, so now at least I have a completely square brush and can do a grid by grid lowering of terrain.
The brush size itself I believe is hardcoded in and I have so far not found a way to modify it...
« Last Edit: December 28, 2019, 09:53:14 am by Time » Logged
Crashday
XR Coder
Sr. Member
***
Posts: 357


soundcloud.com/bernhardfritz


View Profile
« Reply #3 on: January 04, 2020, 11:54:45 am »

You can try to export and reimport your heightmap.

Heightmaps can be exported using https://www.newerth.com/?id=downloads&op=displayDownload&category=6&file=SavHeightMap.zip

Heightmaps can be imported by place the file (*.png) in the Savage/graveyard directory.

In map editor open console and type:
Code:
Code:
le_terrain_mergestrength 750
merge_terrain my_image_file.png

le_terrain_mergestrength determines max height. Colors on heightmap correspond to elevation, i.e. white means high and black low elevation.
Logged

Pages: [1] Go Up Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.035 seconds with 20 queries.