Page 4 of 76

Re: Report Import/Export bugs here

Posted: Wed Aug 12, 2015 10:35 pm
by Mister Brooks
Oleg wrote:@Mister Brooks, modify\submesh\detach.
wow thanks thats work :D

Re: Report Import/Export bugs here

Posted: Thu Aug 13, 2015 1:48 am
by Lord Neophyte
Hey

after export my lights on the Car dont work

here is a pic of the material i used

Re: Report Import/Export bugs here

Posted: Thu Aug 13, 2015 1:59 am
by Kamel
@Lord Neophyte same here

Re: Report Import/Export bugs here

Posted: Thu Aug 13, 2015 2:13 am
by Oleg
have you applied per-vertex (or per-poly) IDs on your mesh?

Re: Report Import/Export bugs here

Posted: Thu Aug 13, 2015 3:18 am
by FPS
Oleg, I've done all I could to make the lights work (tried ID's, bone values, Uv's) and they don't work in game.

Re: Report Import/Export bugs here

Posted: Thu Aug 13, 2015 3:19 am
by Oleg
you need vehicle_lights_emissive.

Re: Report Import/Export bugs here

Posted: Thu Aug 13, 2015 3:21 am
by FPS
I have it assigned. Doesn't work.

Re: Report Import/Export bugs here

Posted: Thu Aug 13, 2015 3:27 am
by Lord Neophyte
same here...testet all emissive stuff, not working for me

EDIT

maybe a fail on the Tool ?

look on the screen

vehicle_lightsemissive <<<< and not vehicle_lights_emissive ?! maybe ^^

Re: Report Import/Export bugs here

Posted: Thu Aug 13, 2015 3:39 am
by Oleg
lights issue confirmed, will explore the case when i get time.

Edit: fixed, get an update. The configuration script was fixed too. make sure to type "vehicle_lightsemissive" in material's adaptation field manually.

Note, non-zero per-vertex ID will suppress non-zero per-poly ID. So, if you prefer to assign IDs to polygons, better set all vertices IDs to zero first.

Re: Report Import/Export bugs here

Posted: Thu Aug 13, 2015 6:38 am
by CplCookie
I'm having an issue where parts of the car disappear when certain modifications or extras are enabled on the vehicle.

The first car to have issues was the Regina. I made a simple edit and replaced the wood with the paint material and labeled it with [PAINT:2}. That was the only modification done. However the bodyshell and wheels became tied to extra 2 which is an option for luggage. If this extra is not enabled. Both the bodyshell and wheels disappear.
Image

The second car was to test to see if I accidentally screwed something up on the regina myself. As such I imported the Tornado and then exported it. No changes were made. Everything seemed to work fine. However, if any hood modification is made. a majority of the car disappears, the car loses all collision and the player model is ejected out and falls into the ground. Reminder that no changes were made to this car. All other mods work fine on the car.
Image

It is very possible I am missing a simple step but I can't think of anything.

Re: Report Import/Export bugs here

Posted: Thu Aug 13, 2015 6:53 am
by Lord Neophyte
thx OLEG

now the light works fine

Re: Report Import/Export bugs here

Posted: Thu Aug 13, 2015 6:54 am
by Oleg
@Lord Neophyte, you have deleted "wheelmesh_lf", "wheelmesh_lf_l1", "wheelmesh_lf_l2" and "wheelmesh_lf_ng" dummies inside "[wheel_lf]. I'm not sure but this could be a cause of wrong wheels placement in game.

@CplCookie, import/export changes an order of objects and order of collision elements saved in a file. if some external script configures parts/extras by their order index rather than a name or hash ID, it is quite possible to get missing parts. Have you ever seen a script related to extra(s) configuration? I would like to see it myself to understand this issue better.

Re: Report Import/Export bugs here

Posted: Thu Aug 13, 2015 7:11 am
by smokey8808
Oleg wrote:@smokey8808, post a screenshot of Textures browser before you save and after you open your .z3d file.
Browser is empty in both cases before and after save, even though model is clearly textured after import -

Re: Report Import/Export bugs here

Posted: Thu Aug 13, 2015 7:12 am
by CplCookie
@Oleg, unfortunately I do not have too much information regarding how modifications and extras are handled.
All I know is the modifications that are available in Los Santos Customs (hoods, spoilers, wheels, etc.) are stored in a separate location, not sure how the game handles those.
Extras tend to be included in the car models itself, for example, the Regina's luggage racks and luggage are contained within the car model itself. As far as I know it does search for external files regarding those addons.
Numerous cars have built in extras but have no external mods.
The Saddler pick up truck has roughly 5 or 6 mods, but they are all extras contained within the model.

Re: Report Import/Export bugs here

Posted: Thu Aug 13, 2015 7:15 am
by Lord Neophyte
@Oleg

Wheels work fine

for now i only have L0 inside the wheel_lf

but why most of the parts are "white" / "invisible" ?

ingame all is ok

Re: Report Import/Export bugs here

Posted: Thu Aug 13, 2015 7:31 am
by Vertelvis
Regarding extra's, they are indeed located in the vehicle model itself and can be easily toggled using a combination of GTA V natives. Therefore scripts shouldn't have to use indices to toggle the extra's.
The natives:
http://www.dev-c.com/nativedb/func/info ... 2dbfd6c8bd
http://www.dev-c.com/nativedb/func/info ... c5e4a40cc9
http://www.dev-c.com/nativedb/func/info ... 5792428154

I have found that models have up to 12 extra's so far, with extra's 10, 11 and 12 usually being cupholders and ashtrays. Also, some extra's are linked to eachother which means that enabling one means enabling the other (this occurs with the Sadler and Buffalo, for example). Oleg, if you wish you test with extra's I've sent you a PM with a script that can easily toggle vehicle extra's among other things.

Re: Report Import/Export bugs here

Posted: Thu Aug 13, 2015 8:44 am
by FPS
So from my tests, I've determined that this is not a zmodeler/ filter bug, but if the problem is going to be solved, then this is probably the place for solving it.
Image
Image
Image
As you can see, the headlight coronas are off.
If I replace adder with lambo, i get 2x light sources on headlights despite the fact that there is only one headlight dummy in zmodeler.
If I replace casco with lambo, i get 1 light source per headlight in different color.
I've already searched through the game files and have not found any settings file for the headlights.
Does anyone have any idea what file is corresponsible for car headlight settings?

Re: Report Import/Export bugs here

Posted: Thu Aug 13, 2015 9:04 am
by Vertelvis
@ FPS:

You might want to try playing with the values in carvariations.meta in common/data. I don't know if this is the answer but it looks like it might be since it has the lines:

<lightSettings value="2" />
<sirenSettings value="0" />

Re: Report Import/Export bugs here

Posted: Thu Aug 13, 2015 9:32 am
by Oleg
@smokey8808, can you load texture manually into a textures browser? Do you see a texture there once you load it? Note, textures browser shows textures in a current group (the one you pick in top-left corner), so you should pick "All textures" there to see all textures loaded.

@Lord Neophyte, your model probably suffers of missing textures. additionally or alternative it might have wrong material settings. Note, when model is loaded and certain texture is missing, model and materials are created anyway, but temporary "checker" texture is used. You can see them in textures browser in "Missing" branch. On export, the filter uses names of textures and it doesn't really matter whether actual texture is loaded or temporary "checker" is used.

@Vertelvis, do you know a trainer that can turn extras on/off ? I use NativeTrainer and not sure whether this option is avail or not. I'll check your issue with missing parts few later.

Re: Report Import/Export bugs here

Posted: Thu Aug 13, 2015 9:32 am
by Lord Neophyte
@FPS

its a carmodel "problem"

a few cars have more than one "corona" dummy ;-)

Re: Report Import/Export bugs here

Posted: Thu Aug 13, 2015 9:38 am
by Oleg
I see on a screenshot he replaced two vehicles with exactly the same "yft model", and they show different coronas in game. so this is certainly not a problem of the model.

Re: Report Import/Export bugs here

Posted: Thu Aug 13, 2015 9:39 am
by Vertelvis
@Oleg, my trainer does. It should be in your PM inbox as an attached file with title: Vehicle Trainer

Re: Report Import/Export bugs here

Posted: Thu Aug 13, 2015 12:29 pm
by Oleg
@CplCookie, thanks for pointing to the very specific problem. I'm not sure why that related "small bit of info" causing this behavior, but it seems to fix this and particular other problems with missing wheels and such.

Get an update.

The mentioned game behavior was caused by part of hierarchy being ignored by the game when in reaches an invisible (non-installed) extra. everything starting from thins extra and down get completely ignored by game engine. If you still face this problem even with updated plugin, ensure correct "Flags" property used objects (that was checked and fixed, pay attention to availability of "E" among "Flags"), and if still no luck, move all parts containing "Extra_x" to the bottom of hierarchy. But as far as I see the updated plugin solves the problem, so no shuffling hierarchy required.

Re: Report Import/Export bugs here

Posted: Thu Aug 13, 2015 1:10 pm
by CplCookie
@Oleg, so far I can confirm that the issue has been fixed. I am not experiencing the issues with the two vehicles anymore. I will let you know if I encounter any other issues. Thanks for the speedy fix!

Re: Report Import/Export bugs here

Posted: Thu Aug 13, 2015 3:54 pm
by Kamel
how to fix that ??headlight