• 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.

Karottenrambo

Recruit
69 Badges
Jun 16, 2010
3
1
  • Crusader Kings II: Legacy of Rome
  • Stellaris - Path to Destruction bundle
  • Stellaris
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Pre-order
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Sword of the Stars II
  • Sword of the Stars
  • Semper Fi
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Heir to the Throne
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II
  • Europa Universalis III
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • For the Motherland
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Synthetic Dawn
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris Sign-up
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Hearts of Iron IV: Expansion Pass
  • 500k Club
  • Victoria 2
  • Hearts of Iron IV: No Step Back
  • Europa Universalis III Complete
I am trying to get a simple model into Hearts of Iron 4.
So far I tried my own model, as well as an imported original model from the game (with Joro Dox), neither did show up in the game previewer nor in the game. Not even the name shows up with the "Mesh.Names" command.

For testing purposes I copied a original .mesh file it into my mod folder and renamed it, and adapted the .gfx accordingly just to check if my paths were correct, it worked.

So Im guessing Im doing something wrong with the exporter, but I ran out of ideas (and threads to look up).

Here is the clausewitz.txt

Code:
@@t@pdxasset i 2 1 0
[standard_previewer]
    animation  s 5  "idle" "moving" "attack" "death" "idle2"
    material s 6 "PdxMeshRunemaster" "PdxMeshRunemasterColor" "PdxMeshTextureAtlas" "PdxMeshAlphaBlend" "PdxMeshAlphaAdditive" "PdxMeshWater"
    path s 1 "X:/project/tools/pdx_editor/game"
    target_exe s 1 "X:/project/tools/pdx_editor/game/pdx_editor_D.exe"
  
[hearts_of_iron]
    animation s 5  "idle" "moving" "attack" "death" "idle2"
    material s 3 "PdxMeshHoI4" "PdxMeshAdvancedSnow" "PdxMeshRunemaster"
    path s 1 "D:/SteamLibrary/steamapps/common/Hearts of Iron IV/"
    target_exe s 1 "D:/SteamLibrary/steamapps/common/Hearts of Iron IV/hoi4.exe"

[terra]
    animation s 1 "planet_rotation"
    material s 10 "PdxMeshShip" "PdxMeshTerra" "PdxMeshPlanet" "PdxMeshStar" "PdxMeshAtmosphere" "PdxMeshClouds" "PdxMeshFleetTypeIndicator" "PdxMeshAlphaAdditive" "PdxMeshTextureAtlas" "PdxMeshAlphaBlend"
    path s 1 "X:/project/project_terra/game"
    target_exe s 1 "X:/project/project_terra/game/stellaris_RD.exe"


The exporter does throw an error with my own model (incorrect normals/tangents/bitangents) but not with the imported original model. Both however show up in the Joro Dox Previewer.
 
material s 3 "PdxMeshAdvanced" "PdxMeshHoI4" "PdxMeshAdvancedSnow"

-Did you follow the tutorial for exporting an object with the exporter ?
-Did you put the correct phong's attribute on the phong material's object ?
-Did you create your photoshop map with constrains ? ( 256 pix with script exporter )