Element/DFF: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(New page: __NOTOC__ The dff class represents a Renderware Model File (DFF) controlled via client side scripting. This class is created when the client side scripts creates it and destroyed the same ...)
 
m (Добавление языков)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
The dff class represents a Renderware Model File (DFF) controlled via client side scripting. This class is created when the client side scripts creates it and destroyed the same way.
The [[DFF]] class represents a RenderWare Model File (DFF) loaded by the client, which can be used to replace the model associated to a certain model ID. After this has been done, the custom model is applied to all newly created entities from that ID.


The element type of this class is '''"dff"'''.
Collision data can also be embedded in DFF files. At the moment, vehicle collision replacement works with DFF embedded collisions only.


==Related scripting functions==
==Related scripting functions==
===Client===
===Client===
{{Engine_functions}}
{{Engine_functions}}
[[en:Element/DFF]]
[[ru:Element/DFF]]
[[hu:Element/DFF]]

Latest revision as of 21:37, 14 April 2021

The DFF class represents a RenderWare Model File (DFF) loaded by the client, which can be used to replace the model associated to a certain model ID. After this has been done, the custom model is applied to all newly created entities from that ID.

Collision data can also be embedded in DFF files. At the moment, vehicle collision replacement works with DFF embedded collisions only.

Related scripting functions

Client