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
Primitive plains will not remember a certain set of textures!
jssjr90 Offline
Member

Posts: 169
Threads: 39
Joined: Jun 2011
Reputation: 0
#1
Bug  Primitive plains will not remember a certain set of textures!

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?
(This post was last modified: 01-06-2013, 05:18 PM by jssjr90.)
01-06-2013, 11:51 AM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#2
RE: Primitive plains will not...

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

Trying is the first step to success.
01-06-2013, 01:25 PM
Find
jssjr90 Offline
Member

Posts: 169
Threads: 39
Joined: Jun 2011
Reputation: 0
#3
RE: Primitive plains will not remember a certain set of textures!

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>
(This post was last modified: 01-06-2013, 05:17 PM by jssjr90.)
01-06-2013, 05:07 PM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#4
RE: Primitive plains will not remember a certain set of textures!

Exactly Wink That's the line you needed

Trying is the first step to success.
01-06-2013, 05:32 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#5
RE: Primitive plains will not remember a certain set of textures!

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.

Tutorials: From Noob to Pro
01-06-2013, 07:06 PM
Website Find
jssjr90 Offline
Member

Posts: 169
Threads: 39
Joined: Jun 2011
Reputation: 0
#6
RE: Primitive plains will not remember a certain set of textures!

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.
01-06-2013, 07:54 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#7
RE: Primitive plains will not remember a certain set of textures!

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.

Tutorials: From Noob to Pro
01-06-2013, 08:03 PM
Website Find




Users browsing this thread: 2 Guest(s)