xmoonproductions.org
https://www.xmoonproductions.org/

Changing path to the texture file
https://www.xmoonproductions.org/viewtopic.php?f=27&t=5860
Page 1 of 1

Author:  Waldorf [ Sat Jul 27, 2019 5:16 am ]
Post subject:  Changing path to the texture file

Hello, everyone.

I've got a new question. Is there a way to change the path to the texture file in the .obj file?
For example, I have that panelshape.obj file in the \scenes\city folder.
If I open it with the Notepad++, I can see the path to the texture file:
scenes/textures/city/office_s_jpg.dds
So, now I want to make a "new" screen, so that two of them in one scene would have different textures.
I can easily make a copy of the file, write the path to it in the objects.dat, BUT if I open the .obj file with the Notepad++, change the path to the texture file, save the .obj, close the Notepad++ and run the game, on the loading of the room the game crashes.

So am I right, thinking that editing the .obj file with the text redactor is wrong? :)

If yes, can somebody share with me the "raw" files for the screen?

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/