setDetailMapBlendPars: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
m (Replaced <code> with <sqf>) |
||
(28 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| arma3 | | |game1= arma3 | ||
|version1= 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 < | |descr= 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. | |||
| | |s1= [[setDetailMapBlendPars]] [fullDetail, noDetail] | ||
|p1= | |p1= fullDetail: [[Number]] - threshold distance in metres up to which the terrain will have full texture detail | ||
|p2= | |p2= noDetail: [[Number]] - threshold distance in metres after which the texture detail will be switched off | ||
| | |r1= [[Nothing]] | ||
| [ | |x1= <sqf>setDetailMapBlendPars [20, 50];</sqf> | ||
|x2= <sqf>setDetailMapBlendPars ([[20, 50], [300, 600]] select (currentWeapon player in ["Binocular", "Rangefinder", "Laserdesignator"]));</sqf> | |||
|x3= Reset to default: | |||
<sqf>setDetailMapBlendPars [-1, -1];</sqf> | |||
|x3= Reset to default: < | |||
|seealso= [[setViewDistance]] [[viewDistance]] [[setTerrainGrid]] [[getObjectViewDistance]] [[setObjectViewDistance]] | |||
|[[setViewDistance]] | |||
}} | }} | ||
Latest revision as of 15:48, 14 May 2022
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: 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 ([[20, 50], [300, 600]] select (currentWeapon player in ["Binocular", "Rangefinder", "Laserdesignator"]));
- 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