diag resetShapes: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (formatting)
m (Some wiki formatting)
 
(2 intermediate revisions by the same user not shown)
Line 9: Line 9:
|gr1= Diagnostic
|gr1= Diagnostic


|descr= Reload models on-the-fly without the need of restarting the game. Changes applied by '''diag_resetShapes''' are applied to all new entities so restart of mission is not necessarily  required - spawning vehicle again or changing back forth weapon should usually do the trick. It works only with "-FilePatching" in combination with local data. Command will reload '''only''' models present in local data.
|descr= Reload models on-the-fly without the need of restarting the game.
<br>
Changes applied by '''diag_resetShapes''' are applied to all new entities so restart of mission is not necessarily  required - spawning vehicle again or changing back forth weapon should usually do the trick.
<br>
It works only with {{hl|[[Arma 3: Startup Parameters#Developer Options|-filePatching]]}} in combination with local data. Command will reload '''only''' models present in local data.
Limitation - you can not reload CfgSkeletons (Which is inside model.cfg)
{{Feature|informative|Limitation: {{hl|CfgSkeletons}} (inside {{hl|model.cfg}}) cannot be reloaded.}}


|s1= [[diag_resetShapes]]
|s1= [[diag_resetShapes]]


|r1= [[Nothing]]
|r1= [[Nothing]]
 
 
|x1= <code>[[diag_resetShapes]]</code>
|x1= <sqf>diag_resetShapes;</sqf>
 
|seealso=
}}
}}

Latest revision as of 20:53, 7 May 2022

Hover & click on the images for description
Only available in Diagnostic branch(es).

Description

Description:
Reload models on-the-fly without the need of restarting the game. Changes applied by diag_resetShapes are applied to all new entities so restart of mission is not necessarily required - spawning vehicle again or changing back forth weapon should usually do the trick. It works only with -filePatching in combination with local data. Command will reload only models present in local data.
Limitation: CfgSkeletons (inside model.cfg) cannot be reloaded.
Groups:
Diagnostic

Syntax

Syntax:
diag_resetShapes
Return Value:
Nothing

Examples

Example 1:
diag_resetShapes;

Additional Information

See also:
See also needed

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