Report Import/Export bugs here

GTA:V Modding with ZModeler3 discussion.
Post Reply
9lXA
Posts: 9
Joined: Mon May 10, 2010 10:42 am
Contact:

Re: Report Import/Export bugs here

Post by 9lXA »

Somethink be wrong.. When i replace 2-nd rear bumper and select 1 or 2 r-bumper - bodyshell and some lights details are lost, envioment - LODs, to DUMMY of REAR bumper placed FRONT bumper. If i select stock front bumper - it placed ok. I replace my bumpers to original bufallo2's - no result... And if after this bugs i exit from tuning garage - car fail under world)
Attachments
GTA5 2015-08-17 01-38-03-863.jpg
T3mas1
Posts: 3
Joined: Sat Aug 15, 2015 11:18 am

Re: Report Import/Export bugs here

Post by T3mas1 »

Mister Brooks



Scale the object in the UV maper window.
User avatar
Oleg
Site Admin
Posts: 14095
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Report Import/Export bugs here

Post by Oleg »

@9lXA, the vehicle will loose objects if you install extra_x that was not available on original model. Extras configuration, their relative dependencies are configured outside of the model file. I don't know whether this config file is located, it's unknown area of modding yet.

When exporting model_hi.yft and model.yft you should see matching amount of bones in export log window. otherwise parts will get messed, as game uses hierarchy from model.yft always (even when it draws you a model_hi.yft).
User avatar
Chasez
Beginner
Posts: 259
Joined: Thu Jun 18, 2009 12:34 am

Re: Report Import/Export bugs here

Post by Chasez »

Ok. The latest update did something. My collisions, lights and God knows what else doesn't work.
9lXA
Posts: 9
Joined: Mon May 10, 2010 10:42 am
Contact:

Re: Report Import/Export bugs here

Post by 9lXA »

@Oleg, i not add new extras_x, only original extra 11, 12. Now i change only all tuning parts, test how it work:) Every times i export model and model_hi, logs i think are ok(but i not see information about bones):
-Exported all lods except the highest. Hierarchy elements: 84. Collision elements: 27. Materials used: 13. Embedded textures: 0.
-Exported highest lod only. Hierarchy elements: 84. Collision elements: 27. Materials used: 20. Embedded textures: 0.

Details are loose only if i try install rear bumers.
GTR_96
Posts: 9
Joined: Sun Aug 16, 2015 9:27 pm

Re: Report Import/Export bugs here

Post by GTR_96 »

how to fix this i got error
Can not obtain Shader material. file:RageExportMaterial.cpp line:106
Can not obtain Shader material. file:RageExportMaterial.cpp line:106

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

Re: Report Import/Export bugs here

Post by Oleg »

@Chases, the update is related to the issue when compound object has [default] and [L0] states only and you export in "all but highest lods" mod. In such a case older build will ignore an object and you could get different hierarchy compared to "Highest lod only" export mode. No other scene-related changes have been made. Additionally, crash glass data reconstruction was refined slightly, but it does not relates to "collision, lights and other".

Let me know whether problem is on exporting originally imported model or some model file that you have saved as .z3d earlier.

@9lXA, are rear bumpers made as extra_* part? or you show/hide them via trainer? what do you mean by "Details are loose only if i try install rear bumpers"?

@GTR_96, convert materials to shader-material first. Preferable, using conversion script button in top-right corner of materials browser.
GTR_96
Posts: 9
Joined: Sun Aug 16, 2015 9:27 pm

Re: Report Import/Export bugs here

Post by GTR_96 »

@Oleg i have try it twice but still cant work :(
GTR_96
Posts: 9
Joined: Sun Aug 16, 2015 9:27 pm

Re: Report Import/Export bugs here

Post by GTR_96 »

i just sett the material
but still cant
Image
MrLifePak
Posts: 42
Joined: Mon Aug 17, 2015 12:18 am

Re: Report Import/Export bugs here

Post by MrLifePak »

Upon export I am faced with this error.

Can not obtain Shader material. file:RageExportMaterial.cpp line:106

How can I fix this error? I think I'm just missing something thats all.
User avatar
Oleg
Site Admin
Posts: 14095
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Report Import/Export bugs here

Post by Oleg »

ZMod seems to can't reach an update server (I see a spinning update icon on your screenshot). An update has more detailed error logging on this particular case, indicating an exact material that has failed to convert.

In particular, I suspect some of your model geometry uses "Default Material" which is not supposed to be used on geometries (except [COL] objects of cause).

This is also a rule for L1, L2 meshes - you should check them too.

I would recommend to unhide all objects, select them all, pick "Poly" mode button (hotkey '3'), hover any of selected meshes and click. objects will get switched to poly level. Then use Select\By Material -> pick "Default Material" and press Ok. Then pick a tool "Select\Invert" and right-click in viewport once. So, you will have selected polygons of all other materials but not "Default material". then use DIsplay\Hide (hotkey 'H') to hide selected polygons. You will end up scene showing polygons that use "Default Material". These will be probably the cause of the problem. assign them a different material and use Display\Show to permanently unhide all elements.

Do the same on L0, L1, L2, L3 and L4. Note, I assume "Default Material" is the only that is not "Shader material" in your scene.
saidylmz
Posts: 17
Joined: Sat Feb 09, 2013 1:21 am

Re: Report Import/Export bugs here

Post by saidylmz »

Is it correct?

Image

Not crash glass
User avatar
Gta5KoRn
Beginner
Posts: 270
Joined: Mon Aug 17, 2015 1:13 am

Re: Report Import/Export bugs here

Post by Gta5KoRn »

I have today problems with the export. I get this message:
Can not locate scene node named "file name" for export. file:GTARageExport.cpp line:106

it worked yesterday and now no more. Even an unedited file.
9lXA
Posts: 9
Joined: Mon May 10, 2010 10:42 am
Contact:

Re: Report Import/Export bugs here

Post by 9lXA »

@Oleg, no, bumpers made as buf2_bumr_*, and if i try install it in Los Santos Customs, some details are loose, when i get out from LSC - car go throw world (see screens). On previous screen i install bumpers from trainer, because for test not want drive to Los Santos Customs. Sorry for my bad english, i'm russian:)
Attachments
фывфывфы.jpg
User avatar
Oleg
Site Admin
Posts: 14095
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Report Import/Export bugs here

Post by Oleg »

@saidylmz, nope, "Crash" property should have a numeric value assigned. Check original model (the on you replace) for correct numeric value on crash objects.

@Gta5KoRn, no related changes have been made. post a screenshot of your hierarchy and an export window (when you specify a file name to export into). Ensure you use the preferred export scenario with LODs "Autodetect" mode.

@9lXA, is custom rear bumper your own export too? I haven't tested addons and accessories yet. will check it few later.
User avatar
Chasez
Beginner
Posts: 259
Joined: Thu Jun 18, 2009 12:34 am

Re: Report Import/Export bugs here

Post by Chasez »

Oleg wrote:@Chases, the update is related to the issue when compound object has [default] and [L0] states only and you export in "all but highest lods" mod. In such a case older build will ignore an object and you could get different hierarchy compared to "Highest lod only" export mode. No other scene-related changes have been made. Additionally, crash glass data reconstruction was refined slightly, but it does not relates to "collision, lights and other".

Let me know whether problem is on exporting originally imported model or some model file that you have saved as .z3d earlier.
It's my custom vehicle. it exports without any error/warning messages to both yft files but yet it's in the state I previously reported about this police.yft model

I don't know what I'm supposed to fix because I didn't do anything that could have impacted it in such way.
Last edited by Chasez on Mon Aug 17, 2015 2:19 am, edited 1 time in total.
User avatar
Oleg
Site Admin
Posts: 14095
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Report Import/Export bugs here

Post by Oleg »

send me your .z3d file for research.
User avatar
Gta5KoRn
Beginner
Posts: 270
Joined: Mon Aug 17, 2015 1:13 am

Re: Report Import/Export bugs here

Post by Gta5KoRn »

Here the screenshot of the hierachy, export window and error message:

Image
9lXA
Posts: 9
Joined: Mon May 10, 2010 10:42 am
Contact:

Re: Report Import/Export bugs here

Post by 9lXA »

@Oleg, yes i change and export all custom details of buffalo2. Ok, will wait fixes, thanks:)
User avatar
Gta5KoRn
Beginner
Posts: 270
Joined: Mon Aug 17, 2015 1:13 am

Re: Report Import/Export bugs here

Post by Gta5KoRn »

ok i found what the problem is. i actually modded original Mesa3 car. And by export i used another file name. Thats because the export didnt work. I had to use original filename "mesa3_hi.yft"
User avatar
Oleg
Site Admin
Posts: 14095
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Report Import/Export bugs here

Post by Oleg »

@ Gta5KoRn, ...or rename the top hierarchy object to match the name of the file you are going to export into.
User avatar
Mister Brooks
Posts: 67
Joined: Sat Jul 18, 2015 4:02 am

Re: Report Import/Export bugs here

Post by Mister Brooks »

T3mas1 wrote:Mister Brooks
Scale the object in the UV maper window.
i did it but same problem :( i going to try mapping L1 and L2
User avatar
Mister Brooks
Posts: 67
Joined: Sat Jul 18, 2015 4:02 am

Re: Report Import/Export bugs here

Post by Mister Brooks »

i have other problem :(
when replace this car with zentorno work fine but when replace with police2, ped has change sitting position, this causes head out from car

Image

any solution to replace zentorno sitting to police2 like when edit handling.meta ?
GTR_96
Posts: 9
Joined: Sun Aug 16, 2015 9:27 pm

Re: Report Import/Export bugs here

Post by GTR_96 »

arghhh i hate this how to solve this problem -_-
this annoying me

everytime i export the file the bounds not appear on OPEN IV
Image

but on zmod its looks fine
Image

and in game result :'v
Image
TheAdmiester
Posts: 21
Joined: Mon Aug 17, 2015 6:08 am

Re: Report Import/Export bugs here

Post by TheAdmiester »

Mister Brooks wrote:i have other problem :(
when replace this car with zentorno work fine but when replace with police2, ped has change sitting position, this causes head out from car

Image

any solution to replace zentorno sitting to police2 like when edit handling.meta ?
Sitting animations are defined in vehicles.meta as far as I'm aware.

Open vehicles.meta, find your "police2" section and look for "<layout>*something*</layout>"

Try replacing it with <layout>LAYOUT_LOW_INFERNUS</layout> for example, see if that changes the animation.
Post Reply