Nothing happens when importing .WFT file

GTA San Andreas and GTA Vice City discussion.

Moderator: Oleg

yump
Posts: 2
Joined: Wed Mar 20, 2024 4:03 pm

Nothing happens when importing .WFT file

Post by yump »

Other .WFT files are importing just fine but for some reason this specific model seemingly loads nothing except the .WFT into the hierarchy tree with no option to expand and nothing in the preview windows. Just a tiny cube. No messages or anything. It's obviously this specific file because other .WFTs will open fine. What could be the issue with this file? I don't think I could get this far if it were locked or something.

Image
User avatar
Oleg
Site Admin
Posts: 14533
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Nothing happens when importing .WFT file

Post by Oleg »

Hello.
The model file is locked or was not read by ZModeler due to unexpected model data layout in a file. ZModeler should still be able to load original game models.
yump
Posts: 2
Joined: Wed Mar 20, 2024 4:03 pm

Re: Nothing happens when importing .WFT file

Post by yump »

Usually it alerts me when I hit import if the file is locked or not. I'm able to extract it from OpenIV as openformat too. Maybe it is locked in some other way...? Even so, this is strictly for personal use. I want to reduce the glossiness of a rim which I figured is attached to the model as altering textures does nothing. Is there a way to import the openformat (.otf) and the .mesh files? If not it's fine. I've basically given up on this exact car mod.
User avatar
Oleg
Site Admin
Posts: 14533
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Nothing happens when importing .WFT file

Post by Oleg »

It was years ago when the .wft plugin was build and times passed since then. Most likely this file was created by some other tool and ZModeler can't understand the file data layout there.
If I am not mistaken, ZModeler will not load .wft file that was created (from openFormats) by OpenIV too.
User avatar
retarded_chicken
Posts: 7
Joined: Thu Aug 29, 2024 8:15 pm

Re: Nothing happens when importing .WFT file

Post by retarded_chicken »

yump wrote: Wed Mar 20, 2024 4:24 pm Other .WFT files are importing just fine but for some reason this specific model seemingly loads nothing except the .WFT into the hierarchy tree with no option to expand and nothing in the preview windows. Just a tiny cube. No messages or anything. It's obviously this specific file because other .WFTs will open fine. What could be the issue with this file? I don't think I could get this far if it were locked or something.
The model is 100% openFormats.
In order to restore the camera and set up the door physics, you need to use openFormats, but this completely removes the ability to reopen this .wft
Also, using openFormats completely kills errors such as rc20 and smpa60. You can still get crashes if the collision is set up incorrectly.
To be able to open the model again, you need to convert it to another format using third-party software, but you will have to completely re-convert the model into the game.
I would not recommend opening the model in ZMod a second time AT ALL. During export .wft mesh is being very deformed, this is most noticeable on highpoly models. And each re-export will massacre the model more and more.
To reduce the glossiness of the wheel you mentioned, you need to open the .oft and find the material that is applied to the wheel (you can tell by the name of the diff texture). And there you can replace the specular texture with your own, changing its name. Or change the reflection/gloss strength by tweaking the values. I would recommend the latter, but you will have to figure out which value you need to change.
Alternatively, you can take any other model, set up the tire material by changing the custom settings in the user-defined options, export the model to .wft, then export to openFormats, then copy the material values ​​and paste them into the desired model
Post Reply