View unanswered posts | View active topics It is currently Thu Mar 28, 2024 8:30 am



Reply to topic  [ 1 post ] 
 Changing path to the texture file 
Author Message
Rank 5
Rank 5

Joined: Thu Jun 21, 2018 8:24 am
Posts: 16
Location: Russia
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?


Sat Jul 27, 2019 5:16 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: Google [Bot] and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group.
Designed by X-Moon Productions.