[Video] Adding dirt layer to ships

The place to discuss scripting and game modifications for X4: Foundations.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

Post Reply
User avatar
Axeface
Posts: 2943
Joined: Fri, 18. Nov 05, 00:41
x4

[Video] Adding dirt layer to ships

Post by Axeface » Thu, 19. Aug 21, 04:58

Heres a quick video showing how dirt layers are set up in x4. Meshes that have 3 UV maps and use materials that are setup with dirt (such as "hullpattern" or "hulltexture" sets) can use the 3rd to apply dirt.
The 2nd layer is for a subtle paneling overlay texture. If you look closely at ships they have a tiled texture that is superimposed over the top of the main texture. To get this 2nd layer working well, select all the polys on each of your meshes and use cube projection, scale your mesh up in the uvs a lot, about 80 times I found effective.
Also, sneak peak at my new ship :)

https://youtu.be/9L0TYh-MAkc

Hope this helps someone, but its for my reference as much as anyone else, I tend to forget stuff 8)

Post Reply

Return to “X4: Foundations - Scripts and Modding”