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

Goldkilla

Corporal
54 Badges
May 14, 2016
37
13
  • Cities in Motion 2
  • Stellaris - Path to Destruction bundle
  • BATTLETECH
  • Pillars of Eternity
  • Magicka
  • Tyranny - Tales from the Tiers
  • Hearts of Iron IV: Expansion Pass
  • Tyranny: Archon Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Knights of Honor
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Age of Wonders III
  • Hearts of Iron IV: Cadet
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • BATTLETECH: Flashpoint
  • Stellaris: Megacorp
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Ancient Relics
  • Age of Wonders: Planetfall
  • Age of Wonders: Planetfall Deluxe edition
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: The Old Gods
  • Europa Universalis III
  • Divine Wind
  • Stellaris: Necroids
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Majesty 2 Collection
  • Semper Fi
  • Cities: Skylines
  • Europa Universalis III: Collection
  • Magicka: Wizard Wars Founder Wizard
  • Mount & Blade: Warband
  • Battle for Bosporus
  • Europa Universalis IV: Common Sense
  • Stellaris: Federations
  • Knights of Pen and Paper 2
  • Stellaris
  • Tyranny: Archon Edition
  • Europa Universalis IV
I tried to mod a Ship into the Game. It worked, not so well. The Model is working and the diffuse texture, but the remaining seems to make problems. Not sure if that is really the Problem or Iam just missing something.

Example:



This Model has a Diffuse, Normal and Specular map. So would be nice if someone could explain/help me with my Problem.
 

Attachments

  • above.jpg
    above.jpg
    169,3 KB · Views: 87
  • side.jpg
    side.jpg
    262,6 KB · Views: 75
If the problem is with normal or specular maps you could try to leave them blank an see how the ship renders then just one of them blank then you have the problem narrowed down. Then you can adjust that map till it works.
 
Are you sure that you are using a single diffuse/specular/etc.. map? It almost looks like you only have one texture from a multi-texture ship working here... If i'm correct, the ships in stellaris require a single composed texture along with the UV mapping on the model to use such a single map.

BTW really awesome adding sajuuk to the game... homeworld has so many awesome models.
 
Bring Sajuuk to bear.

Just to say that and what I used as textures were the ones I got from homeworld directly. I can upload the .obj files with textures later, so maybe you can see/help with the error better, because I already tried it with just leaving something blank and was down to the color/diffuse texture and still got this problem there. What I did to export the ship from homeworld was also to rebuild it in 3Ds Max and through the HOD Editor I inverted the UV, maybe thats the Problem?

And another Question how do I create/edit these textures right, so that they work ingame? Would be nice to have a good tutorial about that textures werent never my thing.

Edit: Added the file to it how I currently use it, but I will try on. Would be nice if someone else could also try.
 

Attachments

  • model.zip
    1,7 MB · Views: 1
Last edited:
This time I tried to use no texture and the game used, I think, a default texture. It looked like this:
mkay.jpg
After changeing the angle of the camera to the oppsite side I got this:
mkay2.jpg
Also for zooming to far away from the object. This effect is always the same useing objects without textures. Tested it with a cube made from maya 2016 and got the same error.

Edit:

Specular Only
spec_only.jpg

Bump/normal only
bump_only.jpg

Specular and Color
spec_color.jpg

Color and Normal
color_normal.jpg

As you can see tried every possible method and still got the same effects. So something must be missing or is wrong for the game.
 
Last edited:
The specular texture might be different, in stellaris they use various color channels for metal,specular and glow.
You can look at it here: http://www.stellariswiki.com/Maya_exporter
Also the blue channel of the normal map is for emissive.
Try with thoses. the metal and specular migth be wrong...
How did you add the model to the game btw?
 

Attachments

  • textures.zip
    2,2 MB · Views: 1
Can you tell how you changed these textures and in what .dds mode did you save them?

I just exported it from homeworld 2, build it back together in 3Ds Max, put it into Maya 2016 added a Phong shader, added the Shader attr. from Paradox to it and exported it, directly into my mod folder. After that I changed a line in my .gfx file:

file = "attack_droid.mesh" to file = "gfx/models/attack_droid.mesh"

somehow the exporter just set the file = "attack_droid.mesh" and not file = "gfx/models/attack_droid.mesh" so the game wont find it, if it is still the first version.

Edit: It works! need only to know what you did to change the textures :D
it_works.jpg
 
I just switch around the color channels from your textures as in the wiki and by comparing it to the existing ones.
Oh, and your textures where missing the alpha channel, the format is dxt5.
This is what I switch around:


the specular had the glow in the G so I move it to normal B
Normal R -> Copy to normal G (R and G are the same)
Normal G -> Move Normal A

For the specular:

the alpha is a desaturated diffuse
The R -> not sure, make it black
The G -> specular so I take it from B
The B -> metal, I took the R

Not sure if that's clear enough but the exact fonctions of the channels are in the wiki link:
http://www.stellariswiki.com/Maya_exporter
 
Thanks I saw that already days ago, but couldn't really work with that. I never needed to change textures for my Mod or create them, so my knowledge in this area is really small, but everything else works really fine for me.

If it is not clear enough I will ask you again with a pm or something.