• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
Showing developer posts only. Show all posts in this thread.
Have you selected your project for the Stellaris game path in the exporter? You can find it in the box on the right side, above where you specify the name of the asset and the location within the game folder to where it will export the files.
 
thats the problem, its giving me the defaults e.g. "hearts_of_iron" "Terra". I've already modified the clausewitz and all that is in there is Stellaris but it keeps on showing those
That sounds wrong then. Can you please post the contents of your file and also the path of the file?
 
As ross-g writes, that path to the Stellaris game looks weird, make sure that the HDD/SSD drive label and exe name are correct and try to export.
 
I did exactly as this thread tells me, but when I installed the pdx_exporter there wasnt a "settings" file. So I created one and put the clausewitz.txt in there and also kept where it was originally from. It still doesnt work. It still tells me the "x:... etc" default directory.
Should be ok, but in what way doesn't it work? It will not change the path automatically, you have to do that yourself to point at the correct project path.
 
Ok I understand. That screenshot is from the editor which you only use to check general things like if it was exported at all and with correct animations/rig functionality. You can disregard that and uncheck the box "launch previewer" in the exporter to not use it.

Basically the things you have to remember when creating an asset is:
1) Does it have the correct shader? For HOI4 that is PdxMeshAdvanced and you want to use a "phong" Maya shader.
2) Is it rigged and animated? If yes, you need to set the animations' start and end time with the animation attribute on the root joint.
3) Have you checked the correct boxes? You have "Export animations", "Export skeleton" and "Export mesh". The right ones need to be checked to get your .mesh or .anim files out.

Then you need to script the asset as a mesh in a .gfx file and an entity in an .asset file, but more on that when you have actually gotten the model exported.
 
What are you trying to export? There might be some problem with the mesh I'm thinking. Could you try with just a default cube? Make sure your exporter path is correct too.
 
Alright, good that a normal cube works! That other problem might be because you seem to export to the previewer project, if you try to export to a game project instead such as Stellaris or Hearts of Iron IV, does it work then? Keep in mind that the different projects use different shaders, the shader for Stellaris is "PdxMeshShip" for ships and "PdxMeshPortrait" for portraits, in HOI4 it is "PdxMeshStandard" or "PdxMeshAdvanced".

EDIT: Might actually be what is said here: https://forum.paradoxplaza.com/foru...y-valid-with-attributes-of-type-enum.1051360/
 
Last edited: