HU/Element/COL: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ A COL osztály a játékos által betöltött RenderWare Collision File (.col)-t jelenti, amely az egyedi modellbe importálható, hogy meghatározza a collision-já...")
 
No edit summary
Line 2: Line 2:
A COL osztály a játékos által betöltött RenderWare Collision File (.col)-t jelenti, amely az egyedi modellbe importálható, hogy meghatározza a collision-ját.
A COL osztály a játékos által betöltött RenderWare Collision File (.col)-t jelenti, amely az egyedi modellbe importálható, hogy meghatározza a collision-ját.


A .col file can contain one or more collision models. Normally, San Andreas assigns each collision model in a file to a geometry model through the model name that is embedded in the collision model. However in MTA, you can assign any .col file to any model ID; the names are ignored. To prevent loading multiple collision models into one model ID, MTA only loads the first collision model of a .col file and ignores the rest. Therefore, if you have a .col file containing multiple collision models, you will need to split it into multiple files, with one model per file, and then load and import each of those files using the appropriate scripting functions. To split a .col file into multiple files, you can use [http://www.steve-m.com/downloads/tools/colleditor2/ CollEditor2].
Egy .col fájl tartalmazhat egy, vagy több collision modelleket. Normally, San Andreas assigns each collision model in a file to a geometry model through the model name that is embedded in the collision model. However in MTA, you can assign any .col file to any model ID; the names are ignored. To prevent loading multiple collision models into one model ID, MTA only loads the first collision model of a .col file and ignores the rest. Therefore, if you have a .col file containing multiple collision models, you will need to split it into multiple files, with one model per file, and then load and import each of those files using the appropriate scripting functions. To split a .col file into multiple files, you can use [http://www.steve-m.com/downloads/tools/colleditor2/ CollEditor2].


A collision adatok beágyazhatók a DFF fájlba is. Jelenleg a jármű collision kicserélése csak a DFF-be ágyazott collision-el működik.
A collision adatok beágyazhatók a DFF fájlba is. Jelenleg a jármű collision kicserélése csak a DFF-be ágyazott collision-el működik.

Revision as of 21:12, 8 December 2018

A COL osztály a játékos által betöltött RenderWare Collision File (.col)-t jelenti, amely az egyedi modellbe importálható, hogy meghatározza a collision-ját.

Egy .col fájl tartalmazhat egy, vagy több collision modelleket. Normally, San Andreas assigns each collision model in a file to a geometry model through the model name that is embedded in the collision model. However in MTA, you can assign any .col file to any model ID; the names are ignored. To prevent loading multiple collision models into one model ID, MTA only loads the first collision model of a .col file and ignores the rest. Therefore, if you have a .col file containing multiple collision models, you will need to split it into multiple files, with one model per file, and then load and import each of those files using the appropriate scripting functions. To split a .col file into multiple files, you can use CollEditor2.

A collision adatok beágyazhatók a DFF fájlba is. Jelenleg a jármű collision kicserélése csak a DFF-be ágyazott collision-el működik.

Related scripting functions

Client

Fordította

2018.12.08. Surge