[GTA IV] car window don't break

Post a reply

Smilies
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Topic review
   

Expand view Topic review: [GTA IV] car window don't break

Re: [GTA IV] car window don't break

Post by xX_Racer_Xx » Thu Apr 13, 2017 8:24 pm

All materials are correct and windows have UV too. The rear light glass break but none of the window break.

Re: [GTA IV] car window don't break

Post by Oleg » Thu Apr 13, 2017 4:26 am

import original game model and examine material settings. all texture slots and their settings are essential.

do you have UV#2 on a geometry and have you made some uv-mapping for UV#2 too? the game uses UV#2 to draw glass cracks.

Re: [GTA IV] car window don't break

Post by xX_Racer_Xx » Tue Apr 11, 2017 4:10 pm

I added L1 model, now bullet don't pass through it but still it don't break window.

Re: [GTA IV] car window don't break

Post by Oleg » Tue Apr 11, 2017 4:00 am

ensure your window has L1 models too, as these are essential for glass crash effect.

Re: [GTA IV] car window don't break

Post by xX_Racer_Xx » Mon Apr 10, 2017 4:46 pm

I'm using stock COL model (imported from stock car model), so I think it is already having all properties as you mentioned. But windows still don't break.

Re: [GTA IV] car window don't break

Post by Oleg » Mon Apr 10, 2017 6:13 am

glass break requires two UV channels to be available on a model file and secondary UV channel to have some ordinary (projected from front or top or side view) mapping layout. Additionally, collision object associated with window should have correct ID values set on polygons (I can't remind exact values, inspect original game model). And finally, chassis model's collision should have proper ID value on polygons that relates to window and doors. This specific ID value tells the game to let player pass by and let bullets fly through chassis collision on these particular polygons, as "some other collision model will take respond to this action" (allowing window to take proper respond if it's not yet broken). If I'm not mistaken, value of 2 is "pass through", inspect original game model as a reference too.

[GTA IV] car window don't break

Post by xX_Racer_Xx » Sun Apr 09, 2017 11:46 pm

I have converted Koenigsegg Regera for GTA IV but it's window don't break. Bullets passed through it, every window or glass is unbreakable. it happened to other models too which i converted. anyone have fix for it ?

Top

cron