FS19 Giants Editor Print Ground Texture Layer List

Farming Simulator 19 editing discussion

Moderators: Lone Wolf, Snake Man

Snake Man
Commander-In-Chief
Posts: 9833
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.
PMC TACTICAL FORUM AND OTHER WEBSITES GO DOWN SEPTEMBER 13TH 2025 IF WEB HOSTING YEARLY FEES ARE NOT PAID.

IF YOU WANT TO KEEP USING PMC WEBSITES INCLUDING THIS FORUM, DOWNLOAD ADDONS, READ TUTORIALS, ETC, PLEASE HELP BY SUPPORTING PMC.

Support PMC

Please help to keep PMC websites online, if domains are let to expire then it will be "game over, man!".

Return to “FS19 Editing”