setDynamicSimulationDistance: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |1.68|= Game version ________________...") |
No edit summary |
||
Line 36: | Line 36: | ||
<dl class='command_description'> | <dl class='command_description'> | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
<dl class="command_description"> | |||
<dd class="notedate">Posted on September 1, 2016 - 16:52 (UTC)</dd> | |||
<dt class="note">[[User:Demellion|Demellion]]</dt> | |||
<dd class="note"> | |||
Desired distances for "Group" and "Vehicle" must be based on [[viewDistance]] to exclude any rendering problems with frequently moving objects. Example: | |||
<code>"Group" setDynamicSimulationDistance (viewDistance * 0.8) // 80% of maximum rendering distance</code> | |||
But that might impair objects simulations if you are using long-scope optics, so there's a even better solution using [[cameraView]] with it: | |||
<code>[] spawn { | |||
while {true} do { | |||
if (cameraView == "GUNNER") then { | |||
"Group" setDynamicSimulationDistance viewDistance; // Scoped | |||
} else { | |||
"Group" setDynamicSimulationDistance (viewDistance * 0.8); // Not scoped | |||
}; | |||
uiSleep 0.25; | |||
}; | |||
};</code> | |||
</dd> | |||
</dl> | |||
<!-- Note Section END --> | <!-- Note Section END --> | ||
</dl> | </dl> |
Revision as of 19:32, 19 March 2017
Description
- Description:
- Sets activation distance of Arma_3_Dynamic_Simulation for given category
- Groups:
- Uncategorised
Syntax
- Syntax:
- category setDynamicSimulationDistance distance
- Parameters:
- category: String - one of:
- "Group" - Infantry units. Set to a reasonable distance, player should not see disabled infantry units. Default: 500m
- "Vehicle" - Vehicles with crew. Set to a reasonable distance, player should not see disabled vehicles. Default: 350m
- "EmptyVehicle" - All vehicles without crew. Separated from Props as Empty Vehicles have often more complex damage states and selective destruction. Their activation distance should by larger that the one used for Props. Default: 250m
- "Prop" - Static objects. Anything from a small tin can to a building. Default: 50m
- distance: Number
- Return Value:
- Nothing
Examples
- Example 1:
"Group" setDynamicSimulationDistance 1000;
Additional Information
- See also:
- enableDynamicSimulationSystemdynamicSimulationSystemEnabledenableDynamicSimulationdynamicSimulationEnableddynamicSimulationDistancesetDynamicSimulationDistanceCoefdynamicSimulationDistanceCoeftriggerDynamicSimulationcanTriggerDynamicSimulationenableSimulationsimulationEnabledenableSimulationGlobalArma_3_Dynamic_Simulation
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
- Posted on September 1, 2016 - 16:52 (UTC)
- Demellion
-
Desired distances for "Group" and "Vehicle" must be based on viewDistance to exclude any rendering problems with frequently moving objects. Example:
"Group" setDynamicSimulationDistance (viewDistance * 0.8) // 80% of maximum rendering distance
But that might impair objects simulations if you are using long-scope optics, so there's a even better solution using cameraView with it:[] spawn { while {true} do { if (cameraView == "GUNNER") then { "Group" setDynamicSimulationDistance viewDistance; // Scoped } else { "Group" setDynamicSimulationDistance (viewDistance * 0.8); // Not scoped }; uiSleep 0.25; }; };
Bottom Section