FS19 Giants Editor Print Ground Texture Layer List

Farming Simulator 19 editing discussion

Moderators: Lone Wolf, Snake Man

Snake Man
Commander-In-Chief
Posts: 9925
Joined: 2000-07-31 22:01:01
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC

FS19 Giants Editor Print Ground Texture Layer List

Post by Snake Man »

FS19 Giants Editor Print Ground Texture Layer List

fs19 giants editor terrain layers, meaning detail ground textures.

Lua script to print texture layers into GE log file.

Code: Select all

-- Author:Stegei
-- Name:TerrainLayers
-- Description: Prints list of terrain texture layers for Paint Terrain by spline
-- Icon:
-- Hide: no

local worldRoot = getRootNode()
local file = getSceneFilename()
print(string.format("%s",file))
local map = getChildAt(worldRoot,0)
local mTerrainID = getChild(map, "terrain")
local numLayers = getTerrainNumOfLayers(mTerrainID)
for i =0,numLayers-1 do
textureName = getTerrainLayerName(mTerrainID, i)
print(string.format("Texture No :%d:Texture Name : %s", i, textureName))
end
print("\nOpen Spline Utils Paint Script to continue")

tags: farming simulator, fs19, editing, script, fs19 scripting, modding, mapping (haha), mod map, lua, hmm what else.
silenthunter.info website has a new link/URL, read details from PMC Tactical Forum "Silent Hunter SubSim website by PMC" topic.

See PMC Website Hosting and Domain Registration Fee Status topic.

Support PMC

Please help to keep PMC websites online.

New announcement PMC Tactical Forum "The End for local notes" topic.

Return to “FS19 Editing”