BIS fnc exportMapToBiTXT: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
(Page filling - missing see also)
Line 1: Line 1:
{{Function|= Comments
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 8: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Returns terrain height map to BiTXT (Universal Bistudio TXT) format, which can be imported to Object Builder. Output is also [[copyToClipboard|copied to clipboard]].
{{Important|
Be wary that '''this function is CPU-demanding''' and may lock your computer for up to minutes!}} |= Description
____________________________________________________________________________________________
 
| [resolution, size, zCoeff] call [[BIS_fnc_exportMapToBiTXT]] |= Syntax


Description:
|p1= resolution: [[Number]] - (Optional, default 64) object resolution, i.e, number of points per side |= Parameter 1
Export terrain height map to BiTXT (Universal Bistudio TXT) file, which can be imported to Object Builder.
Output is copied to clipboard.


Parameter(s):
|p2= size: [[Number]] - (Optional, default 10) object size in metres |= Parameter 2
0 (Optional): NUMBER - object resolution, i.e, number of points per side (default: 64)
1 (Optional): NUMBER - object size in metres (default: 10)
2 (Optional): NUMBER - vertical coefficient. All Z coordinates will be multiplied by this number to highlight hills and mountains (default: 2)


Returns:
|p3= resolution: [[Number]] - (Optional, default 2) vertical coefficient. All Z coordinates will be multiplied by this number to highlight hills and mountains |= Parameter 3
STRING - file output
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
| [[String]] - same data that was copied to clipboard |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_exportMapToBiTXT]]; --> |= Syntax
|x1= <code>[10, 10, 1] [[call]] [[BIS_fnc_exportMapToBiTXT]];</code> |= Example 1


|p1= |= Parameter 1
|x2= <code>[[call]] [[BIS_fnc_exportMapToBiTXT]];</code> |= Example 2
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=  
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| |= See also
}}
}}



Revision as of 17:43, 8 May 2018

Hover & click on the images for description

Description

Description:
Returns terrain height map to BiTXT (Universal Bistudio TXT) format, which can be imported to Object Builder. Output is also copied to clipboard.
Be wary that this function is CPU-demanding and may lock your computer for up to minutes!
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[resolution, size, zCoeff] call BIS_fnc_exportMapToBiTXT
Parameters:
resolution: Number - (Optional, default 64) object resolution, i.e, number of points per side
size: Number - (Optional, default 10) object size in metres
resolution: Number - (Optional, default 2) vertical coefficient. All Z coordinates will be multiplied by this number to highlight hills and mountains
Return Value:
String - same data that was copied to clipboard

Examples

Example 1:
[10, 10, 1] call BIS_fnc_exportMapToBiTXT;
Example 2:
call BIS_fnc_exportMapToBiTXT;

Additional Information

See also:
See also needed

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

Notes

Bottom Section