setDetailMapBlendPars: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 8: | Line 7: | ||
|gr1= System |GROUP1= | |gr1= System |GROUP1= | ||
| Sets the detail texture map blend pars. Allows for smooth transition between detailed and undetailed terrain texture at distance. If noDetail > fullDetail, the texture detail will incur smooth transition in the area between the thresholds. If noDetail <<nowiki>=</nowiki> fullDetail there will be obvious visible edge between texture detail changes at fullDetail distance. |DESCRIPTION= | | Sets the detail texture map blend pars. Allows for smooth transition between detailed and undetailed terrain texture at distance. If noDetail > fullDetail, the texture detail will incur smooth transition in the area between the thresholds. If noDetail <<nowiki>=</nowiki> fullDetail there will be obvious visible edge between texture detail changes at fullDetail distance. |DESCRIPTION= | ||
| '''setDetailMapBlendPars''' [fullDetail, noDetail] |SYNTAX= | | '''setDetailMapBlendPars''' [fullDetail, noDetail] |SYNTAX= | ||
Line 36: | Line 33: | ||
|x3= Reset to default: <code>[[setDetailMapBlendPars]] [-1, -1];</code>|EXAMPLE3= | |x3= Reset to default: <code>[[setDetailMapBlendPars]] [-1, -1];</code>|EXAMPLE3= | ||
|[[setViewDistance]], [[viewDistance]], [[setTerrainGrid]], [[getObjectViewDistance]], [[setObjectViewDistance]] |SEEALSO= | |[[setViewDistance]], [[viewDistance]], [[setTerrainGrid]], [[getObjectViewDistance]], [[setObjectViewDistance]] |SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} | ||
Revision as of 02:30, 17 January 2021
Description
- Description:
- Sets the detail texture map blend pars. Allows for smooth transition between detailed and undetailed terrain texture at distance. If noDetail > fullDetail, the texture detail will incur smooth transition in the area between the thresholds. If noDetail <= fullDetail there will be obvious visible edge between texture detail changes at fullDetail distance.
- Groups:
- System
Syntax
- Syntax:
- setDetailMapBlendPars [fullDetail, noDetail]
- Parameters:
- [fullDetail, noDetail]: Array
- fullDetail: Number - threshold distance in metres up to which the terrain will have full texture detail
- noDetail: Number - threshold distance in metres after which the texture detail will be switched off
- Return Value:
- Nothing
Examples
- Example 1:
setDetailMapBlendPars [20, 50];
- Example 2:
setDetailMapBlendPars (if (currentWeapon player in [ "Binocular", "Rangefinder", "Laserdesignator" ]) then [ {[300,600]}, {[20,50]} ]);
- Example 3:
- Reset to default:
setDetailMapBlendPars [-1, -1];
Additional Information
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