8,189
edits
Paradox-01 (talk | contribs) m (Created page with "__TOC__ {{Template:XMLModdingHints}} {| border=0 cellspacing=20 cellpadding=0 align=center | The xml code on this page is compatible with onisplit '''v0.9.61.0''' |} '''general...") |
Paradox-01 (talk | contribs) mNo edit summary |
||
Line 81: | Line 81: | ||
===M3GM=== | ===M3GM=== | ||
'''export''' | |||
You would need to cut TRIG instance so that only the M3GM and its connected instances remain and convert it to oni. | |||
: onisplit -extract:xml output_folder input_folder\TRIGfile.oni | |||
: onisplit -create output_folder input_folder\cutfile.xml | |||
version hint: | |||
: onisplit v0.9.61.0 can extract M3GM only as obj | |||
: onisplit [http://mods.oni2.net/node/38 v0.9.41.0] can extract M3GM as obj or dae | |||
Convert the M3GMfile.oni to obj: | |||
: onisplit -extract:obj output_folder input_folder\M3GMfile.oni | |||
'''import''' | |||
Are there some tags which make together the mesh but you basically need to know that you can replace that content with data from another M3GM. | Are there some tags which make together the mesh but you basically need to know that you can replace that content with data from another M3GM. | ||
You can create M3GM meshes from obj files. | You can create M3GM meshes from obj files. | ||
: onisplit -create:m3gm output_folder -tex:weapon_tex input_folder/weapon.obj | |||
:: -tex is optional | |||
:: The TXMP file must created separately (if needed). | |||
Then you can convert the file to xml and replace the TRIG's old M3GM xml code. | Then you can convert the file to xml and replace the TRIG's old M3GM xml code. | ||
Remember to change the links (#N) and instance IDs of the new data. | Remember to change the links (#N) and instance IDs of the new data. |
edits