setDetailMapBlendPars: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style='display:none'>Notes</h3> <dl class='command_description'> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> <h3 style='display:none'>Bottom Section</h3>" to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|1.02 | |1.02 | ||
|eff= local | |eff= local | ||
|gr1= System | |gr1= System | ||
| 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. | | 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. | ||
| '''setDetailMapBlendPars''' [fullDetail, noDetail] | | '''setDetailMapBlendPars''' [fullDetail, noDetail] | ||
|p1= [fullDetail, noDetail]: [[Array]] | |p1= [fullDetail, noDetail]: [[Array]] | ||
|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 | ||
|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 | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>[[setDetailMapBlendPars]] [20, 50];</code> | |x1= <code>[[setDetailMapBlendPars]] [20, 50];</code> | ||
|x2= <code>[[setDetailMapBlendPars]] ([[if]] ([[currentWeapon]] [[player]] [[in]] [ | |x2= <code>[[setDetailMapBlendPars]] ([[if]] ([[currentWeapon]] [[player]] [[in]] [ | ||
"Binocular", | "Binocular", | ||
Line 30: | Line 30: | ||
{[20,50]} | {[20,50]} | ||
]); | ]); | ||
</code> | </code> | ||
|x3= Reset to default: <code>[[setDetailMapBlendPars]] [-1, -1];</code> | |x3= Reset to default: <code>[[setDetailMapBlendPars]] [-1, -1];</code> | ||
|[[setViewDistance]], [[viewDistance]], [[setTerrainGrid]], [[getObjectViewDistance]], [[setObjectViewDistance]] | |[[setViewDistance]], [[viewDistance]], [[setTerrainGrid]], [[getObjectViewDistance]], [[setObjectViewDistance]] | ||
| | | | ||
}} | }} | ||
Revision as of 11:12, 18 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