diag exportTerrainSVG: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *gr([0-9]) *= *Diagnosis * " to "|gr$1= Diagnostic ")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *W([a-z ])" to "$1 - w$2")
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


|game1= arma3diag
|game1= arma3


|version1= 2.01
|branch= diag
 
|version1= 2.02


|gr1= Diagnostic
|gr1= Diagnostic


|descr= Like the old [[ArmA: Cheats#TOPOGRAPHY|TOPOGRAPHY]] cheat code, exports terrain, but in modern SVG format instead of the proprietary EMF format.
|descr= [[File: A3 diag exportTerrainSVG Example.jpg|thumb|400px|Highly detailed map of [[Stratis]]|right]]
[[File: A3 diag exportTerrainSVG Example.jpg|thumb|right|400px|Highly detailed map of [[Stratis]]|right]]
Like the old [[Arma 3: Cheats#TOPOGRAPHY|TOPOGRAPHY]] cheat code, exports terrain, but in modern SVG format instead of the proprietary EMF format.


|s1= [[diag_exportTerrainSVG]] [filePath, drawLocationNames, drawGrid, drawCountlines, drawTreeObjects, drawMountainHeightpoints, simpleRoads]
|s1= [[diag_exportTerrainSVG]] [filePath, drawLocationNames, drawGrid, drawCountlines, drawTreeObjects, drawMountainHeightpoints, simpleRoads]


|p1= filePath: [[String]] - Path on disk. File name and extension have to be included
|p1= filePath: [[String]] - path on disk. File name and extension have to be included


|p2= drawLocationNames: [[Boolean]] - Whether or not to draw location names
|p2= drawLocationNames: [[Boolean]] - whether or not to draw location names


|p3= drawGrid: [[Boolean]] - Whether or not to draw grid
|p3= drawGrid: [[Boolean]] - whether or not to draw grid


|p4= drawCountlines: [[Boolean]] - Whether or not to count lines
|p4= drawCountlines: [[Boolean]] - whether or not to count lines


|p5= drawTreeObjects: [[Boolean]] - Whether or not to draw trees
|p5= drawTreeObjects: [[Boolean]] - whether or not to draw trees


|p6= drawMountainHeightpoints: [[Boolean]] - Whether or not to draw mountain height spots
|p6= drawMountainHeightpoints: [[Boolean]] - whether or not to draw mountain height spots


|p7= simpleRoads: [[Boolean]] - Simplify roads. Draw roads as one long polyline instead of separate segments. Uses average road width as overall width
|p7= simpleRoads: [[Boolean]] - simplify roads. Draw roads as one long polyline instead of separate segments. Uses average road width as overall width


|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>[[diag_exportTerrainSVG]] ["C:\Users\USERNAME\Desktop\Stratis_Map.svg", [[true]], [[true]], [[true]], [[true]], [[true]], [[false]]]; {{cc|Replace USERNAME with your username!}}</code>
|x1= <sqf>diag_exportTerrainSVG ["C:\Users\USERNAME\Desktop\Stratis_Map.svg", true, true, true, true, true, false]; // replace USERNAME with your username!</sqf>


|seealso= [[Arma 3 Diagnostics Exe]]
|seealso= [[Arma 3: Diagnostics Exe]]
}}
}}

Latest revision as of 16:35, 8 November 2023

Hover & click on the images for description
Only available in Diagnostic branch(es).

Description

Description:
Highly detailed map of Stratis
Like the old TOPOGRAPHY cheat code, exports terrain, but in modern SVG format instead of the proprietary EMF format.
Groups:
Diagnostic

Syntax

Syntax:
diag_exportTerrainSVG [filePath, drawLocationNames, drawGrid, drawCountlines, drawTreeObjects, drawMountainHeightpoints, simpleRoads]
Parameters:
filePath: String - path on disk. File name and extension have to be included
drawLocationNames: Boolean - whether or not to draw location names
drawGrid: Boolean - whether or not to draw grid
drawCountlines: Boolean - whether or not to count lines
drawTreeObjects: Boolean - whether or not to draw trees
drawMountainHeightpoints: Boolean - whether or not to draw mountain height spots
simpleRoads: Boolean - simplify roads. Draw roads as one long polyline instead of separate segments. Uses average road width as overall width
Return Value:
Nothing

Examples

Example 1:
diag_exportTerrainSVG ["C:\Users\USERNAME\Desktop\Stratis_Map.svg", true, true, true, true, true, false]; // replace USERNAME with your username!

Additional Information

See also:
Arma 3: Diagnostics Exe

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note