diag resetShapes: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game name" to "|Game name=")
m (Some wiki formatting)
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:diag_resetShapes}}
{{RV|type=command
{{Command|Comments=
____________________________________________________________________________________________


| arma3dev |Game name=
|game1= arma3


|1.69|= Game version
|branch= diag
____________________________________________________________________________________________


| 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.
|version1= 1.70
<br>
<br>
Limitation - you can't reload cfgSkeletons (Which is inside model.cfg)
{{warning|Command is only available when using [[Arma 3 Diagnostics Exe|Arma 3 Diagnostics Exe]] on Dev-Branch.}}|DESCRIPTION=
____________________________________________________________________________________________


| '''diag_resetShapes''' |SYNTAX=
|gr1= Diagnostic


| [[Nothing]] |RETURNVALUE=
|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 {{hl|[[Arma 3: Startup Parameters#Developer Options|-filePatching]]}} in combination with local data. Command will reload '''only''' models present in local data.
|x1= <code>[[diag_resetShapes]]</code> |EXAMPLE1=
{{Feature|informative|Limitation: {{hl|CfgSkeletons}} (inside {{hl|model.cfg}}) cannot be reloaded.}}
____________________________________________________________________________________________


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


}}
|r1= [[Nothing]]


<h3 style="display:none">Notes</h3>
|x1= <sqf>diag_resetShapes;</sqf>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>


<h3 style="display:none">Bottom Section</h3>
|seealso=
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]

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