The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.mat files
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#1
.mat files

So, as some of you may know, I released my demo recently with a few custom models and textures. But I've been told that they don't appear for other people. I believe the problem is the .mat files. They're basically text files that indicate which textures to use on a model.

They explicitly state the path of the textures to use, but the problem is that my texture's path will be different from others, because the game may be installed in a different directory than mine.

How do I counter this? I opened up a .mat file from Amnesia's game files and it just said the filename, without the path, as in

File="bed_nice.dds"

I tried doing that for my custom model's mat files but I think it broke something. I started being unable to open the map in the level editor, because it was crashing and listing a very VERY long list of errors...

I'll tinker with it some more, but does anyone here know how I can integrate custom models with my story? I know that I can't place entities in my level that are directly from the custom story files; they need to be in the Amnesia game files to work. But the problem is that my game files have different paths than many of the folks who play this game...

04-24-2011, 07:37 PM
Find


Messages In This Thread
.mat files - by palistov - 04-24-2011, 07:37 PM
RE: .mat files - by MrBigzy - 04-24-2011, 08:28 PM
RE: .mat files - by palistov - 04-26-2011, 03:49 PM



Users browsing this thread: 1 Guest(s)