Page 1 of 1

My traffic car crashes at loading screen..

Posted: Mon Jun 20, 2016 5:49 pm
by matyii
Hi guys!

So i converted the Dodge Magnum R/T from L.A. Rush (About 8.000 polies, so it can't be that big..) as a traffic vehicle and it crashes my game without any error messages, the game simply stops working.

It has all the objects which is needed.

BODY_H
BOUND
HEADLIGHT0_H:m
HEADLIGHT1_H:m
SHADOW_H
SLIGHT0_L
SLIGHT1_L
TLIGHT_L
WHL0_H:m
WHL1_H:m
WHL2_H:m
WHL3_H:m

Tried to remove bangerdata files, but it still crashes at the loading screen. BTW, somehow the game works in other cities.

I added 6 color variants for the vehicle, can it be a problem?
A bound with a size of 1100 bytes can cause crashes?

BTW, thanks for advance for help! :D

Posted: Mon Jun 20, 2016 6:58 pm
by The_Most_Wanted
You have to create LODs for these objects:

BODY_H, M, L and VL

SHADOW_H, M and L

WHL#_H:m, M:m and L:m

H = High
M = Medium
L = Low
VL = Very Low

Posted: Mon Jun 20, 2016 8:38 pm
by Franch88
I've got similar problems recently while making two add-on vehicles as traffic vehicles, just for a test. I've tried various solutions, but none worked, and I've always kept the essential files.
It's always good add at least the _L LOD copies for body and wheels, but their lacking can't cause a not working problem.

Posted: Mon Jun 20, 2016 9:15 pm
by sajmon14
If you wanna see lod wheels then they have be united to the lod bodies, dunno why they always dissapear for me even if they are added

Posted: Tue Jun 21, 2016 1:06 am
by FXANBSS
There is a very unknown fact, it's the lower LOD wheel of the Sedan, looks really weird, but you can't see it as traffic car because it disappears after a distance, you can only see lower LOD of wheels as a player car.

Posted: Tue Jun 21, 2016 2:45 am
by aaro4130
Most likely ZModeler messing up object order

Posted: Tue Jun 21, 2016 4:17 am
by KingAndy
Most likely ZModeler messing up object order
If that's the case, then you'll need Aaro4130's .pkg reorder tool, essential to fix the ZModeler's issue not ordering properly the different objects, consequently crashing the game when it's a replacement for a city prop or building and, apparently, also traffic cars.

It's not mentioned on it's own topic afaik, but some time ago I found a bug where sometimes that software screws up the .pkg files. To avoid that, you'll want to make a backup copy first, and ensure it was properly ordered after you save it.

Posted: Tue Jun 21, 2016 7:49 pm
by matyii
Hi guys!

Thanks for your help!

Today, i figured out the problem, that i had to create lods for the objects and now it works!!

Take a look at it! :)

Image

Posted: Tue Jun 21, 2016 8:29 pm
by Michaelx1
I have the same problem too can you help me

Posted: Tue Jun 21, 2016 8:38 pm
by KingAndy
@Michaelx1: Next time, read the whole thing...
i had to create lods for the objects and now it works!!

Posted: Wed Jun 22, 2016 3:10 am
by Fuyunyan
Cool! Can you release it?

Posted: Wed Jun 22, 2016 1:56 pm
by matyii
It will be available soon in my new traffic mod. :wink: