Off the ladder at the user's request. Scripts/Authoring/generate_heightmap.py (numpy, installed locally by bootstrap-pylib.sh) writes a 16-bit height PNG and three 8-bit weight PNGs to Content/World/Heightmaps; create_world.py rebuilds /Game/Maps/L_World from them through ULandscapeAuthoringLibrary in the new SaltyEditor module, which wraps ALandscape::Import because the engine exposes no landscape creation to Python. Uses Elite_RockyMeadows' landscape material and layer infos (the pack itself is still uncommitted). 4033 vertices a side at 350 cm a quad; swap the PNGs and rerun to change the terrain. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
18 lines
473 B
C#
18 lines
473 B
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using UnrealBuildTool;
|
|
using System.Collections.Generic;
|
|
|
|
public class SaltyEditorTarget : TargetRules
|
|
{
|
|
public SaltyEditorTarget(TargetInfo Target) : base(Target)
|
|
{
|
|
Type = TargetType.Editor;
|
|
DefaultBuildSettings = BuildSettingsVersion.V7;
|
|
IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_8;
|
|
ExtraModuleNames.Add("SaltyCore");
|
|
ExtraModuleNames.Add("Salty");
|
|
ExtraModuleNames.Add("SaltyEditor");
|
|
}
|
|
}
|