2D Map Creation – Arma Reforger
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Add image) |
Lou Montana (talk | contribs) (Add vertical flipping step) |
||
Line 36: | Line 36: | ||
# Click the '''Export''' button (marked as 3) | # Click the '''Export''' button (marked as 3) | ||
This will have generated the 4096×4096 {{hl|''worldname''.tga}} file - it now needs to be converted to PNG in order to be properly imported in Enfusion to the {{hl|.edds}} format. | This will have generated the 4096×4096 upside-down {{hl|''worldname''.tga}} file - it now needs to be converted to PNG in order to be properly imported in Enfusion to the {{hl|.edds}} format. | ||
=== Convert to PNG === | === Convert to PNG === | ||
Line 45: | Line 45: | ||
* Open Paint.NET | * Open Paint.NET | ||
* Open the TGA file {{Controls|Ctrl|O}} | * Open the TGA file {{Controls|Ctrl|O}} | ||
* Flip it vertically: {{hl|Image > Flip Vertical}} | |||
* Use the Save As option {{Controls|Ctrl|Shift|S}} | * Use the Save As option {{Controls|Ctrl|Shift|S}} | ||
* Save as PNG using the dialog's dropdown | * Save as PNG using the dialog's dropdown | ||
Line 51: | Line 52: | ||
* Open GIMP | * Open GIMP | ||
* Open the TGA file {{Controls|Ctrl|O}} | * Open the TGA file {{Controls|Ctrl|O}} | ||
* Flip it vertically: {{hl|Image > Transform > Flip Vertically}} | |||
* Use the Export As option {{Controls|Ctrl|Shift|E}} | * Use the Export As option {{Controls|Ctrl|Shift|E}} | ||
* Select PNG file type and click Export | * Select PNG file type and click Export |
Revision as of 15:45, 14 December 2022
A terrain uses a [enfusion:
This SCR_MapEntity entity contains the following two fields:
- Map Geometry Data - this file contains road network, buildings, airfields etc information for them to be displayed on the 2D map
- Satellite Background Image - this file contains the map background texture: forests, shaded relief, etc.
Generate Map Geometry Data
The Map Geometry Data field takes a .topo file.
Generate TOPO
- Run World Editor with the wanted world
- Locate Export Map Data tool in toolbar (marked as 1)
- Click Export Map Data tab (marked as 2) to display the tool's panel if needed
- Set the Type to Geometry2D
- Set up the settings under the Geometry 2D category, such as color and scale
- Click the Export button (marked as 3)
Generate Satellite Background Image
The Satellite Background Image field takes a .edds file.
Generate TGA
- Run World Editor with the wanted world
- Locate Export Map Data tool in toolbar (marked as 1)
- Click Export Map Data tab (marked as 2) to display the tool's panel if needed
- Set the Type to Rasterization
- Set up the settings under the Rasterization category, such as color and scale
- Click the Export button (marked as 3)
This will have generated the 4096×4096 upside-down worldname.tga file - it now needs to be converted to PNG in order to be properly imported in Enfusion to the .edds format.
Convert to PNG
TGA can be converted with an image editor - here Paint.NET and GIMP will be used.
Paint.NET
- Open Paint.NET
- Open the TGA file Ctrl + O
- Flip it vertically: Image > Flip Vertical
- Use the Save As option Ctrl + ⇧ Shift + S
- Save as PNG using the dialog's dropdown
GIMP
- Open GIMP
- Open the TGA file Ctrl + O
- Flip it vertically: Image > Transform > Flip Vertically
- Use the Export As option Ctrl + ⇧ Shift + E
- Select PNG file type and click Export
Import PNG
- Place the PNG file in the Data
\UI \Textures \Map \worlds directory - Navigate to the PNG file in Resource Manager
- Right-click > Register and Import
Setup
- Find the world's MapEntity by using the Hierarchy tab's Search field - if it does not exist, create it by drag-and-dropping a [enfusion:
/ /ResourceManager /~ArmaReforger:Prefabs /World /Game /MapEntity.et MapEntity.et] Prefab into the world. - Fill Map Geometry Data with the .topo file generated previously
- Fill Satellite Background Image with the .edds file generated previously