diag exportTerrainSVG: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *gr([0-9]) *= *Diagnosis * " to "|gr$1= Diagnostic ") |
Lou Montana (talk | contribs) m (arma3diag → arma3diag + diag branch (one day, arma3 + diag branch?)) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
|game1= arma3diag | |game1= arma3diag | ||
|version1= 2. | |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. | |branch= diag | ||
|descr= [[File: A3 diag exportTerrainSVG Example.jpg|thumb|right|400px|Highly detailed map of [[Stratis]]|right]] | |||
Like the old [[ArmA: 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] | ||
Line 30: | Line 32: | ||
|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= <code>[[diag_exportTerrainSVG]] ["C:\Users\USERNAME\Desktop\Stratis_Map.svg", [[true]], [[true]], [[true]], [[true]], [[true]], [[false]]]; {{cc|Replace USERNAME with your username!}}</code> | ||
|seealso= [[Arma 3 Diagnostics Exe]] | |seealso= [[Arma 3: Diagnostics Exe]] | ||
}} | }} |
Revision as of 16:01, 11 April 2021
Description
- Description:
- 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
[[Category:Introduced with arma3diag version 2.02]][[ Category: arma3diag: New Scripting Commands | DIAG EXPORTTERRAINSVG]][[ Category: arma3diag: Scripting Commands | DIAG EXPORTTERRAINSVG]]