Problem with custom animated MAT files - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: SOMA (https://www.frictionalgames.com/forum/forum-55.html) +--- Forum: User created content (https://www.frictionalgames.com/forum/forum-79.html) +---- Forum: Technical Support (https://www.frictionalgames.com/forum/forum-80.html) +---- Thread: Problem with custom animated MAT files (/thread-31381.html) |
Problem with custom animated MAT files - Danarogon AP - 10-19-2015 I was trying to make a custom billboard that included an animation to it's diffuse texture unit (not an UV animation). In the material editor the animation works perfectly fine, however It doesn't function anywhere else, the texture simply does not load. Once I try loading the mat file again in the material editor, it opens it as an "Unnamed Material" and treats it as a default empty file. Its not a matter of me not properly saving the mat file because I've already made several custom MAT files already. It has something to do with the animation being bugged for some reason. Does this only happen to me? Am I doing something wrong? Or is this a genuine bug? RE: Problem with custom animated MAT files - Luis - 10-20-2015 Hi! Can you hand the offending stuff over? Also, are the .mat file or the actual animation texture files located in some arbitrary path? (outside of the game directory and such) RE: Problem with custom animated MAT files - Danarogon AP - 10-20-2015 Hi, thank you a lot for the reply, but for some reason the animated mat file appears to be working now. I noticed the game was updated, maybe that solved the problem somehow? RE: Problem with custom animated MAT files - Danarogon AP - 10-20-2015 Ok never mind, now the problem lies with the other editors. The custom MAT file works fine when I inset it on a map or on an entity, however, as soon as I save the map, close the editor, and re-open the level, the billboards with my custom MAT file are not visible, I have no clue what is going on, if it helps here is my custom texture. (the "mod" folder is currently placed in SOMA folder if that matters) RE: Problem with custom animated MAT files - WALP - 10-20-2015 if it is only located in your mod folder then editors will have trouble loading your objects. I think adding your mods folder to the editors' resources.cfg can help, but I myself did not find it working perfectly all the time. The best and also most practical way development wise, is in my opinion to create a mymodplaceables folder inside the different SOMA folders, so it's a category of your mod stuff, alongside the other categories like "station" or "urban". So you would fx put your entity inside entities/mymodplaceables/myexampleentityfolder/myentity.ent,.mat,.dae etc. While the editors might have problems loading things, the actual game when running mods seems to have a very easy time finding them, even if the folder layout in your mods folder is completely different than in main folders. I once had an entity that would not load in level editor consistently load in game with script and everything lol. |