Missing texture even when linked correctly?

Discuss everything related to custom data creation.

Moderator: NADEO

Post Reply
User avatar
BigBang1112
Posts: 388
Joined: 20 Jul 2015, 12:44
Location: Czech Republic
Contact:

Missing texture even when linked correctly?

Post by BigBang1112 »

I'm getting an error like
NadeoImporter 2014-10-22_12_37 wrote:Material _TDSN_RoadStraight_Grass : Mandatory texture not found : RoadStraight_D.
but there's a line in meshparams looking like
RoadStraight.MeshParams.xml wrote:<Material Name="Grass" Model="TDSN" BaseTexture="../Textures/RoadStraight" PhysicsId="Grass"/>
and the textures RoadStraight_D.dds, RoadStraight_N.dds and RoadStraight_S.dds are in the Textures folder (which is in the same place as MeshParams.xml).
So where the heck is the problem? :D How should I name materials properly, so the textures and model can finally connect? :clap:

Thanks for any answers :)
Creator and competent racer. YouTube Discord
- ENVIMIX (out in open-source)
- Challenge (OUT NOW)
- Leaderboards (OUT NOW)
- Compute Shadows
User avatar
Electron
Posts: 797
Joined: 15 Jun 2010, 18:02
Contact:

Re: Missing texture even when linked correctly?

Post by Electron »

Try BaseTexture="Textures\RoadStraight".
".." is the folder above the current folder.
User avatar
BigBang1112
Posts: 388
Joined: 20 Jul 2015, 12:44
Location: Czech Republic
Contact:

Re: Missing texture even when linked correctly?

Post by BigBang1112 »

Nope, it says the same error
Creator and competent racer. YouTube Discord
- ENVIMIX (out in open-source)
- Challenge (OUT NOW)
- Leaderboards (OUT NOW)
- Compute Shadows
User avatar
Electron
Posts: 797
Joined: 15 Jun 2010, 18:02
Contact:

Re: Missing texture even when linked correctly?

Post by Electron »

Then also try to rename the textures folder from "Textures" to "Texture" (and don't forget to change the XML file also).
User avatar
BigBang1112
Posts: 388
Joined: 20 Jul 2015, 12:44
Location: Czech Republic
Contact:

Re: Missing texture even when linked correctly?

Post by BigBang1112 »

Lol, the "Texture" folder name is mandatory? :D
Because it works for me now. :clap:

:thx: :1010 :1010 savior of Minigames title pack lel
Creator and competent racer. YouTube Discord
- ENVIMIX (out in open-source)
- Challenge (OUT NOW)
- Leaderboards (OUT NOW)
- Compute Shadows
User avatar
TMarc
Posts: 15255
Joined: 05 Apr 2011, 19:10
Location: Europe
Contact:

Re: Missing texture even when linked correctly?

Post by TMarc »

:thumbsup:
Post Reply

Return to “Title Pack & Custom Data Creation”

Who is online

Users browsing this forum: No registered users and 1 guest