Importing multiple yft files

GTA San Andreas and GTA Vice City discussion.

Moderator: Oleg

nixxx621
Posts: 4
Joined: Sat Apr 15, 2017 12:56 pm

Importing multiple yft files

Post by nixxx621 »

Hello - how do I go about importing mutiple yft files as one model? I have "combine objects" and "combine collisions" selected however the yft's still import as separate objects:

https://gyazo.com/c8f986b930b05489cc7ee0f1b76f2d85

https://gyazo.com/eea00673d98903968183ffcc27b65741
User avatar
Oleg
Site Admin
Posts: 14790
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Importing multiple yft files

Post by Oleg »

import them one after another.
combine models = on
combine collisions = off.
slice to parts = on.

it is preferable to import model_hi.yft first.
nixxx621
Posts: 4
Joined: Sat Apr 15, 2017 12:56 pm

Re: Importing multiple yft files

Post by nixxx621 »

Thank you for response. I tried doing as you suggested and it still shows two separate models. Is there another setting I am missing?
User avatar
Oleg
Site Admin
Posts: 14790
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Importing multiple yft files

Post by Oleg »

before you proceed, open Settings, General, Compatibility. Make sure LODs is set to something like 5 and all options below it are toggled ("Collisions", "use Dust"... etc.). Restart ZModeler. You should have buttons "L0", "L1", "L2" on "Structure" panel above hierarchy.

import model_hi.yft file with "slice to parts" option toggled on.
import model.yft file with "slice to parts" and "combine with existing model" turned on.
VicseN1
Posts: 3
Joined: Mon Feb 03, 2025 9:21 am

Re: Importing multiple yft files

Post by VicseN1 »

If there's anyone still checking this, i've done everything you said but it still imports both of them separately.
User avatar
Oleg
Site Admin
Posts: 14790
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Importing multiple yft files

Post by Oleg »

no, if you import model_hi.yft and model.yft files at once, you will get one scene hierarchy.
VicseN1
Posts: 3
Joined: Mon Feb 03, 2025 9:21 am

Re: Importing multiple yft files

Post by VicseN1 »

yes, thats what should happen, but i get both https://imgur.com/GcUPHfe
User avatar
Oleg
Site Admin
Posts: 14790
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Importing multiple yft files

Post by Oleg »

what is your ZModeler version and what are you settings in Import window?
VicseN1
Posts: 3
Joined: Mon Feb 03, 2025 9:21 am

Re: Importing multiple yft files

Post by VicseN1 »

I have fixed it, eventhough they imported with 2 hierarchies i just had to export each one with HIGHEST ONLY and they exported correctly.
User avatar
Oleg
Site Admin
Posts: 14790
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Importing multiple yft files

Post by Oleg »

having two hierarchies for single model is incorrect setup at first.

second, if your model.yft contained more than single LOD, exporting a "highest LOD only" will loose these lods and left you with the one only. So, your model will have one lod in model_hi.yft file and one lod in model.yft file. This is generally incorrect setup.
Post Reply