File information

Last updated

Original upload

Created by

orax

Uploaded by

0R4X

Virus scan

Safe to use

About this mod

Flatten the terrain following the planet's curvature. Restore terraformed terrain to its original state. Create a sloped terrain with the chosen angle. Change deformation size. Paint the terrain in non-creative mode.

Requirements
Permissions and credits
Mirrors
Changelogs
Donations
Installation
See this article: https://www.nexusmods.com/astroneer/articles/18

This mod is experimental. Make a backup of your game save before using the mod. You should test it in Creative mode first. The game may crash (especially with the "auto" method), make a save before using it.



Usage and configuration
Select the Flat mode of the Terrain Tool.
Press F2 to turn on the mod, F3 to turn it off and SHIFT+F2 to turn on the "Revert Modifications" mode.
You can modify shortcuts in the options.lua file. Read comments at the beginning of the file.

Shortcuts
[Globals]
Show this help text                                                           F1
Enable Terrain Tool Mod; update/reload UI                                     F2
Disable Terrain Tool Mod                                                      F3
Toggle Terrain Tool Mod                                                         
Create tangent terrain at player position                                     F9
Toggle the visibility of the "color" UI                                SHIFT+ONE
Set "tangent" method                                                         ONE
Set "slope" method                                                           TWO
Set "smoothen" method                                                      THREE
Set "auto" method                                                           FOUR
Set "paint" method                                                          FIVE
Set "revert" method                                                          SIX
Increase brush (max: 550, step: 50)                    SHIFT+MIDDLE_MOUSE_BUTTON
Decrease brush (min: 50, step: 50)                   CONTROL+MIDDLE_MOUSE_BUTTON
Set "Revert modifications" mode                                                R
Set "Flatten" mode                                                       SHIFT+F
Set "Flatten subtract only" mode                                 CONTROL+SHIFT+F
Set "Flatten add only" mode                                  CONTROL+ALT+SHIFT+F

[Method: slope]
Set slope direction from camera                                                w
Set slope direction from camera (reversed)                                     x
Set slope direction from slope (under cursor)                          LeftShift

[Method: auto]
Increase angle by 1                                                         Home
Decrease angle by 1                                                          End
Increase expected angle by 5                                        LeftAlt+Home
Decrease expected angle by 5                                         LeftAlt+End
Set expected angle to 45                                                  PageUp
Set expected angle to -45                                               PageDown
Set expected angle to 0                                                   Delete
Set angle equal to slope angle (under cursor)                             Insert
Set angle equal to -slope angle (under cursor)                    LeftAlt+Insert
Set angle equal to expected angle                                 LeftAlt+Delete

[Method: revert]
Shift the sphere down                                                   PageDown
Shift the sphere up                                                       PageUp
Shift the sphere (up/down) to the value 0                                   Home
Shift the sphere (up/down) to the value -900                                 End
Shift the sphere (forward/backward) to the value 0                LeftShift+Home
Shift the sphere (forward/backward) to the value 1000              LeftShift+End
Toggle "Revert once"                                                      Delete

Commands: deform_type, get_altitude, ttmod, look.

Notes:
- Method-specific shortcuts only work when your terrain tool is equipped.
- Some features do not work in Creative mode.
- Move the cursor under the UI elements to display tooltips.


Tutorials
Tutorial/demonstration. Mod version 0.6.0.

Tutorial 1/2 (old mod version).

Tutorial 2/2 (made with mod version 0.2.0). GeoGebra graph used in video: geogebra.org/classic/expmeyxw

Article: Smoothen method. Press "3" to activate the "Smoothen" method.
Files
There is a configuration Lua file: options.lua. This file will be automatically created on first run. You can modify it to change certain things (shortcuts, values...).
Commands
Example: https://imgsh.net/i/0f6ca34ae8
deform_type, get_altitude, ttmod, look



Alternative and credits
The "tangent" method of this mod is inspired by Tangent mod. There is an updated version on the Astroeneer Modding Discord server. Join the server: https://discord.com/servers/astroneer-modding-774729322674126858 and download the Tangent_Mod-*.CT file in this channel.


Troubleshooting
Known issues
- The game may crash on startup. This is probably an issue with UE4SS, I can't fix it. However, if the game crashes frequently on startup, try setting bUseUObjectArrayCache to false in the UE4SS-settings.ini file.
- The game may crash when using the "auto" method. Make a save before using it.


Logging
You can see the logs in UE4SS.log or in the UE4SS GUI Console.
You can enable the UE4SS GUI Console in UE4SS-settings.ini in the [Debug] section.



More videos
Creating a simple road without terraforming.



Mod license: MIT.