✫Advanced Coder✫
gridning hard working on a fan game - Resident Evil Remix
Posts: 2,995
|
Post by Mr.Curious on Jan 25, 2020 9:24:49 GMT 10
you didn't export your material file with OBJ. This might be the issue because the model's MTL file was the original, thus will have a different material mapped to it. The MTL file is important here because it is the direct link between the OBJ file and which texture is mapped to the TPL file. Let me know if this resolves the issue.
|
|
dale home
Posts: 288
|
Post by kTeo on Jan 25, 2020 14:19:59 GMT 10
you didn't export your material file with OBJ. This might be the issue because the model's MTL file was the original, thus will have a different material mapped to it. The MTL file is important here because it is the direct link between the OBJ file and which texture is mapped to the TPL file. Let me know if this resolves the issue. IT WORKED!!!! nothing about this option was marked on your tutorials, you should update those. thank you so much for all your support, i can finally get my projects out of the paper and work on them!
|
|
✫Advanced Coder✫
gridning hard working on a fan game - Resident Evil Remix
Posts: 2,995
|
Post by Mr.Curious on Jan 25, 2020 15:48:18 GMT 10
|
|
dale home
Posts: 288
|
Post by kTeo on Jan 25, 2020 16:56:19 GMT 10
the export materials box was unmarked :')
|
|
✫Advanced Coder✫
gridning hard working on a fan game - Resident Evil Remix
Posts: 2,995
|
Post by Mr.Curious on Jan 25, 2020 19:03:06 GMT 10
the export materials box was unmarked :') Clearly you can see that tutorial photo shows that the ' Export materials' has a check mark in it. You seemed to have overlooked this.
|
|
|
Post by atomoksetin on Sept 2, 2022 21:47:24 GMT 10
Good afternoon. I tried to add the town hall from r101 to the location r103. I did everything in the same way as you moved the chair from r10b to r108. I first loaded the .obj model of the town hall into the 3DMax scene, then I copied its textures from 4400101 and transferred them to 4400103. I renamed the new textures for the town hall according to your analogy. I then remapped the Material Editor textures so that the town hall would read the textures from 4400103. When this process was completed I saved the town hall as the last .obj number and renamed the .tpl file to be the last file in the list. After that I edited the data in r103_0_04.idx increasing the value of ModelCount by one, and I also changed the value of FirstCustomTextureIndex, there I registered the number of the last added texture for the town hall. In the ModelData.txt file, I made a new entry for my town hall, by writing BIN_Number to it, and also increasing the value by one ModelDataCount. Next, I repacked the SMD file, by the way, during repacking, the program console gave the following error: I also repackaged the texture file and copied it to ImagePack HD. When entering the location, the game crashes.
|
|
✫Advanced Coder✫
gridning hard working on a fan game - Resident Evil Remix
Posts: 2,995
|
Post by Mr.Curious on Sept 3, 2022 3:34:59 GMT 10
don't worry about those warnings. That's normal if your textures aren't in the same directory as the models and is not the cause of your issue. (even though it looks like your textures are thee.. I am sure why, maybe your .mtl has .TGA mapped where the textures are actually DDS, but again, this shouldn't matter).
It appears you have done everything correctly so let's trouble shoot here:
- Did you repack the pack file for 103 with your new textures?
- Can you try this; take the original 103 udas and unpack it, then repack it without making changes (using the original pack file as well). Does the game crash?
- If the above results in normal game loading, then can you try the same thing with the SMD? Take the SMD from that original UDAS, unpack it, then repack it again without any changes, place it into the udas and load game.
These last two suggestions are to simply determine if your tools are working properly.
|
|
|
Post by atomoksetin on Oct 19, 2022 22:18:50 GMT 10
- Did you repack the pack file for 103 with your new textures?
-Of course. Yes. - Can you try this; take the original 103 udas and unpack it, then repack it without making changes (using the original pack file as well). Does the game crash?
-I added new trees to different locations in the same way by creating a new .obj file and multiplying the trees around the map, everything worked fine with the trees and the game did not crash. Also I added chairs in r108 like in your Youtube video and added new textures for them, everything works fine. It seems to me that the problem with the tower may be due to the fact that it uses more than one new texture, while for example your chairs in r108 use only one texture. If I just add the tower as an additional .obj file to the SMD archive, but don't spawn it in the ModelData.txt file, then the location loads normally, although the tower does not appear. -------------------------------------------------------------------------------------------------------------------------------- The trees work fine, but I used the existing textures to make them work.
|
|
✫Advanced Coder✫
gridning hard working on a fan game - Resident Evil Remix
Posts: 2,995
|
Post by Mr.Curious on Oct 20, 2022 18:13:48 GMT 10
You have to add entries in the MOdelData.txt file if you want them to appear. You also have to update the idx each time you add a new texture (unless you make a DMY for all the textures with model 0000).
|
|
|
Post by atomoksetin on Oct 25, 2022 2:50:01 GMT 10
I know I did. I just gave you an example with location r108, my original question was about location r103 where I was trying to add a tower. You said that I did everything right and asked me a few questions. I have no idea what to do with this stupid tower.
|
|
✫Advanced Coder✫
gridning hard working on a fan game - Resident Evil Remix
Posts: 2,995
|
Post by Mr.Curious on Oct 25, 2022 4:52:17 GMT 10
Do you have Discord? Perhaps we can resolve this over a video call.
|
|