diag exportTerrainSVG: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (version)
(added example and image)
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:diag_exportTerrainSVG}}
{{DISPLAYTITLE:diag_exportTerrainSVG}}


{{Command|Comments=
{{Command


| arma3diag |Game=
| arma3diag


|2.01|Game Version=
|2.01


|gr1= Diagnosis |GROUP1=
|gr1= Diagnosis


| {{wip}}
| Like the old [[ArmA: Cheats#TOPOGRAPHY|TOPOGRAPHY]] cheat code, exports terrain, but in modern SVG format instead of the proprietary EMF format.
Like the old TOPOGRAPHY cheat code, exports terrain, but in Modern SVG Format instead of the proprietary EMF format.
|DESCRIPTION=


| [[diag_exportTerrainSVG]] [filePath, drawLocationNames, drawGrid, drawCountlines, drawTreeObjects, drawMountainHeightpoints, simpleRoads] |SYNTAX=
[[File: A3 diag exportTerrainSVG Example.jpg|Highly detailed map of [[Stratis]]|left|400px]]


|p1= filePath: [[String]] - Path on disk  |PARAMETER1=


|p2= drawLocationNames: [[Boolean]] - Whether or not to draw location names |PARAMETER2=
| [[diag_exportTerrainSVG]] [filePath, drawLocationNames, drawGrid, drawCountlines, drawTreeObjects, drawMountainHeightpoints, simpleRoads]


|p3= drawGrid: [[Boolean]] - Whether or not to draw grid |PARAMETER3=
|p1= filePath: [[String]] - Path on disk. File name and extension have to be included


|p4= drawCountlines: [[Boolean]] - Whether or not to count lines |PARAMETER4=
|p2= drawLocationNames: [[Boolean]] - Whether or not to draw location names


|p5= drawTreeObjects: [[Boolean]] - Whether or not to draw trees |PARAMETER5=
|p3= drawGrid: [[Boolean]] - Whether or not to draw grid


|p6= drawMountainHeightpoints: [[Boolean]] - Whether or not to draw mountain height spots |PARAMETER6=
|p4= drawCountlines: [[Boolean]] - Whether or not to count lines


|p7= simpleRoads: [[Boolean]] - Simplify roads (Draw roads as one long polyline instead of seperate segments, uses average road width as overall width) |PARAMETER7=
|p5= drawTreeObjects: [[Boolean]] - Whether or not to draw trees


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


|x1=<code>  </code>|EXAMPLE1=
|p7= simpleRoads: [[Boolean]] - Simplify roads. Draw roads as one long polyline instead of separate segments. Uses average road width as overall width


| [[Arma 3 Diagnostics Exe]]|SEEALSO=
| [[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>
| [[Arma 3 Diagnostics Exe]]
}}
}}
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 10:41, 19 January 2021


-wrong parameter ("arma3diag") defined!-[[:Category:Introduced with arma3diag version 2.01|2.01]]
Hover & click on the images for description

Description

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

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.01]][[ Category: arma3diag: New Scripting Commands | DIAG EXPORTTERRAINSVG]][[ Category: arma3diag: Scripting Commands | DIAG EXPORTTERRAINSVG]]