First, unpack the game files. You can read more how to do that here: viewtopic.php?f=181&t=402452
For best results, make a copy of your X4 directory somewhere else (Make sure the directory you created has no spaces in the root folder for the game files). From that copy you made, unpack the files to this X4 directory. Once that is complete, it is best to remove the CAT\DAT files. Reason for this is when you make changes to the model you don't want to have to repackage everything. You can load in with loose files, but CAT files get loaded in first. So it's best to just remove the CAT files.
Next, pick up XRConverter: https://drive.google.com/file/d/0B5I84p ... F0Nnc/view
This was used to export X:Rebirth ships, still works with X4. Here's some documentation
viewtopic.php?f=129&t=360045
(Before modifying a ship, make a copy of the .XML of that model)
I put the XRConverter Tool in the root directory of the game. From there I run the following command to export a ships model to .DAE
Code: Select all
XRConvertersmain.exe importxmf D:\<Game_Root_Directory> D:\<Game_Root_Directory>\assets\units\size_s\ship_arg_fighter_02.xml
https://i.imgur.com/S27t390.png
Yay we imported our model. Now we want to make our changes, and bring it back into the game.
So do to this, we want to make sure to remove the Camera and Lamp before exporting.
Once that is complete, Select File > Export > .DAE
Make sure before you export, you go to Textures, and select "UV Textures" on the bottom left.
With the new .dae created, we need to convert this back to XML.
(Again, make sure you create a backup of the original .xml, or rename it to .xml.old)
Code: Select all
XRConvertersmain.exe exportxmf D:\<Game_Root_Directory> D:\<Game_Root_Directory>\assets\units\size_s\ship_arg_fighter_02.dae
{Images posted directly to the forums should not be greater than 640x480 or 100kb, oversize image now linked - Terre}