BIS fnc exportMapToBiTXT: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Fix description, add Object Builder link)
m (template:command argument fix)
Line 9: Line 9:
| Returns terrain height map to BiTXT (Universal Bistudio TXT) format, which can be imported to [[Object Builder]]. Output is also [[copyToClipboard|copied to clipboard]].
| 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|
{{Important|
Be wary that '''this function is CPU-demanding''' and may lock your computer for up to minutes!}} |= Description
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
| [resolution, size, zCoeff] call [[BIS_fnc_exportMapToBiTXT]] |SYNTAX=


|p1= resolution: [[Number]] - (Optional, default 64) object resolution, i.e, number of points per side |= Parameter 1
|p1= resolution: [[Number]] - (Optional, default 64) object resolution, i.e, number of points per side |= Parameter 1
Line 20: Line 20:
|p3= zCoeff: [[Number]] - (Optional, default 2) vertical coefficient. All Z coordinates will be multiplied by this number to highlight hills and mountains |= Parameter 3
|p3= zCoeff: [[Number]] - (Optional, default 2) vertical coefficient. All Z coordinates will be multiplied by this number to highlight hills and mountains |= Parameter 3


| [[String]] - height map, same data as in the clipboard |= Return value
| [[String]] - height map, same data as in the clipboard |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 28: Line 28:
____________________________________________________________________________________________
____________________________________________________________________________________________


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



Revision as of 11:28, 7 April 2019

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
zCoeff: Number - (Optional, default 2) vertical coefficient. All Z coordinates will be multiplied by this number to highlight hills and mountains
Return Value:
String - height map, same data as in the 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