Frictional Games Forum (read-only)

Full Version: Primitive plains will not remember a certain set of textures!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Well this is bugging me allot. I have noticed when working with these new set's of textures, when I apply them to a primitive plain, it will load fine. But when I exit and reload the map, the texture disappears completely, luckley still leaving the plane intact to where it was.

- The textures are in 512 x 512 format.
- There is no level cache crated with the corresponding level im working with of these textures.

- I just don't get why the level editor is being a tard. I cant repeatedly re work the textures over and over when loading the level. Besides these are buildings im working with, ya like im going to re-texture all the invisible plains.

Example of how the files are set up in the material editor.

[Image: ExampleoftheMatfilesetup_zpsd6ca73b8.png]

When applied in the level editor, and when I reload the map when I do not exit the level editor, the texture still stays there.

[img][Image: With_Texture_zpsec531c57.png][/img]

But when I exit the level editor and reload the map, the texture just disappears. Relay frustrating.

[Image: Without_Texture_zpse9605092.png]

So does anyone ever stumble upon this problem and know any fix?
You need to fix a line in your Resources.cfg to make it import stuff from your custom_stories folder. Don't have the line right here, but try search for it
Fixed it! The original resorces.cfg for the game does not have this line in red bold. So it was confused on remembering on where textures where, oddly enough, it remembered everything else fine. Well that's the fix!

<Resources>
<Directory Path="/custom_stories" AddSubDirs="true" />
<Directory Path="/_temp" AddSubDirs="true" />
<Directory Path="/fonts" AddSubDirs="false" />
<Directory Path="/maps" AddSubDirs="true" />
<Directory Path="/textures" AddSubDirs="true" />
<Directory Path="/models" AddSubDirs="true" />
<Directory Path="/gui" AddSubDirs="true" />
<Directory Path="/static_objects" AddSubDirs="true" />
<Directory Path="/sounds" AddSubDirs="true" />
<Directory Path="/main_menu" AddSubDirs="true" />
<Directory Path="/shaders" AddSubDirs="true" />
<Directory Path="/lights" AddSubDirs="true" />
<Directory Path="/billboards" AddSubDirs="true" />
<Directory Path="/entities" AddSubDirs="true" />
<Directory Path="/graphics" AddSubDirs="true" />
<Directory Path="/viewer" AddSubDirs="true" />
<Directory Path="/particles" AddSubDirs="true" />
<Directory Path="/models" AddSubDirs="true" />
<Directory Path="/music" AddSubDirs="true" />
<Directory Path="/flashbacks" AddSubDirs="true" />
<Directory Path="/textures" AddSubDirs="true" />
<Directory Path="/misc" AddSubDirs="true" />
<Directory Path="/commentary" AddSubDirs="true" />
</Resources>
Exactly Wink That's the line you needed
I would suggest putting that line at the end of the list, or else the custom story files may end up having higher priority over the original assets.
Good lookout Your Computer. But it is so odd that the original resources cfg does not have that line with in it when you install the game.
When the game first came out, custom story support didn't exist. But adding that line to the original resources.cfg would be a mistake for purposes other than custom story development. The game today, with custom story support, will load all the custom story assets for the custom story started by the user. If you add that line, you run the risk of two custom stories conflicting with each other with assets that have the same name.