User Tools

Site Tools


arma3:config:eden-mission-editor-object-preview-images

ArmA 3 Eden Editor Object Preview Images

ArmA 3 Forum, ArmA 3, ArmA 3 Config, ArmA 3 Missions, ArmA 3 3D Modeling, ArmA 3 Scripting, ArmA 3 Terrain, ArmA 3 Texturing, ArmA 3 Tools

HOWTO create terrain object preview images for eden mission editor.

Turn all settings to ULTRA except PPAA and Bloom disabled. You do not have to disable -profiles= dir as bis wiki wrongly suggests.

Add into <YOURNAME>.Arma3Profile:

HDRPrecision=16;
maxScreenShotFolderSizeMB = 20000;

Then run eden editor and make like init.sqf or any way you want this command:

0 = [nil,"all",[],[],["pmc_opx_buildings_cfg"]] spawn BIS_fnc_exportEditorPreviews;

That “pmc_opx_buildings_cfg” is the addon class name where your objects are located.

Resize all images to 455×256 and save them in JPG format using GraphicsMagick:

@echo off
md temp
for /F "tokens=1* delims=. " %%A in ('dir /b *.png') do (
gm convert %%A.png -resize 455x256 temp\%%A.jpg
)
rem move stuff to current dir and clean out temp dir.
move temp\*.jpg .
rd temp
del *.png
dir /b *.jpg >_list_of_jpgs.txt
pause
exit

Create MyAddon\Data\EditorPreviews\ directory and move the JPG's there.

Write config like this:

editorPreview =  "\myaddon\data\editorpreviews\land_model_name.jpg";
arma3/config/eden-mission-editor-object-preview-images.txt · Last modified: 2024/08/02 14:59 by snakeman

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

All PMC web site download services are temporarily suspended until web site yearly fees have been recovered, want to download addons/mods? Then Support PMC.

If you are grateful for all the work PMC has done in the past 25 years, use Support PMC page.