setDetailMapBlendPars: Difference between revisions
Jump to navigation
Jump to search
Waffle SS. (talk | contribs) (added categories) |
m (template:command argument fix) |
||
Line 13: | Line 13: | ||
| '''setDetailMapBlendPars''' [fullDetail, noDetail] |= Syntax | | '''setDetailMapBlendPars''' [fullDetail, noDetail] |= Syntax | ||
|p1= [fullDetail, noDetail]: [[Array]] |= | |p1= [fullDetail, noDetail]: [[Array]] |PARAMETER1= | ||
|p2= fullDetail: [[Number]] - threshold distance in metres up to which the terrain will have full texture detail |= | |p2= fullDetail: [[Number]] - threshold distance in metres up to which the terrain will have full texture detail |PARAMETER2= | ||
|p3= noDetail: [[Number]] - threshold distance in metres after which the texture detail will be switched off |= | |p3= noDetail: [[Number]] - threshold distance in metres after which the texture detail will be switched off |PARAMETER3= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code>[[setDetailMapBlendPars]] [20, 50];</code>|= | |x1= <code>[[setDetailMapBlendPars]] [20, 50];</code>|EXAMPLE1= | ||
|x2= <code>[[setDetailMapBlendPars]] ([[if]] ([[currentWeapon]] [[player]] [[in]] [ | |x2= <code>[[setDetailMapBlendPars]] ([[if]] ([[currentWeapon]] [[player]] [[in]] [ | ||
"Binocular", | "Binocular", | ||
Line 31: | Line 31: | ||
{[20,50]} | {[20,50]} | ||
]); | ]); | ||
</code>|= | </code>|EXAMPLE2= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|[[setViewDistance]], [[viewDistance]], [[setTerrainGrid]], [[getObjectViewDistance]], [[setObjectViewDistance]] |= | |[[setViewDistance]], [[viewDistance]], [[setTerrainGrid]], [[getObjectViewDistance]], [[setObjectViewDistance]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:37, 7 April 2019
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:
- Uncategorised
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]} ]);
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