Converting tuning part to default spawn on vehicle

GTA:V Modding with ZModeler3 discussion.
Post Reply
tunetopart
Posts: 5
Joined: Tue Apr 22, 2025 1:09 pm

Converting tuning part to default spawn on vehicle

Post by tunetopart »

I'm trying to get the dlc police equipment to spawn by default. I tried by putting the tuning parts into the chassis in the hierarchy. But it destroys the existing lighting of the car (example polgauntlet).
Is this supposed to be done slice to parts mode not?
User avatar
Oleg
Site Admin
Posts: 15005
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Converting tuning part to default spawn on vehicle

Post by Oleg »

Slice to parts is barely related to this subject. It's way harder to add parts into a model if you load it with no slice to parts (when you have a .mesh and a skeleton). So, "slice to parts" is likely to be toggled on.

Mind, if you add/remove/sort parts in a model, you have to export both model.yft and model_hi.yft files, so they have identical hierarchy inside.

Parts and show up is configured outside of the model file, in metadata file. I think you should dig in a metadata file to toggle some parts by default.
tunetopart
Posts: 5
Joined: Tue Apr 22, 2025 1:09 pm

Re: Converting tuning part to default spawn on vehicle

Post by tunetopart »

It doesn't seem like parts can be turned on by default in carcols.meta. I see banshee3 has wing part on by default, but it's default part of the vehicle as misc in it's chassis. Which is what I'm trying to set with police parts.

I imported both polgauntlet_hi.yft polgauntlet.ytf. After putting the tuning parts polgauntlet_antg_ng, polgauntlet_pushbare_ng, and polgauntlet_slightf_ng into chassis.

I renamed the parts polgauntlet_pushbare to extra_5 and polgauntlet_antg, and polgauntlet_slightf to misc_aa, and misc_al.

However, the extra lights doesn't work and the body of the car is glitched and games crashes if vehicles takes damage.

I did the same for police5 and it doesn't crash the game, but the parts have no collision and extra lights also doesn't work.

Thank you for your help.
User avatar
Oleg
Site Admin
Posts: 15005
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Converting tuning part to default spawn on vehicle

Post by Oleg »

I haven't been modding any vehicle in depth, just tested original vehicles import/export so I can't be of much help on the subject. I suspect collision(s) or parts with collisions should be mentioned in metadata file? I remember the case when I deleted some extra_ part from the bike and game constantly crashed (as this extra had a collision) and game never crashed when I deleted a similar extra_ part that was with no collision. So parts with collisions are more sensitive for the vehicle setup.
tunetopart
Posts: 5
Joined: Tue Apr 22, 2025 1:09 pm

Re: Converting tuning part to default spawn on vehicle

Post by tunetopart »

I got pushbar and antenna on the polgauntlet, but the search light polgauntlet_slightf.yft is glitching the chassis and crashing the game and I've tried it in different part of the hierarchy and same glitch. There is no collision for the part, just part of the chassis.
User avatar
Oleg
Site Admin
Posts: 15005
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Converting tuning part to default spawn on vehicle

Post by Oleg »

may be you should attach it to chassis instead of placing it as a part? I mean the Modify\Attach tool.
tunetopart
Posts: 5
Joined: Tue Apr 22, 2025 1:09 pm

Re: Converting tuning part to default spawn on vehicle

Post by tunetopart »

Thanks.
It seems also there's a problem with extralights for this car. If all extralights is removed, then the cars and parts works fine.

Also, for polcaracara, it has suspension rigging, so I would need to edit it without slice to parts. Do I attach the mesh of the part to the mesh of the car? Does the skel need to moved to chassis too?
Image
User avatar
Oleg
Site Admin
Posts: 15005
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Converting tuning part to default spawn on vehicle

Post by Oleg »

ohh.. do you really need the vehicle with soft-skin rigging? Does it have soft top or stretching suspension (or something of a kind that stretches)? If it doesn't , then you were not supposed to import the model as a single piece of geometry+skeleton. Most of vehicle models should be loaded with "Slice to parts" mode toggled, so you don't deal with skeleton and rigging. Instead, you deal with hierarchy of solid parts. When "Slice to parts" mode is used, you can simply drag&drop extra part into the hierarchy and export the model - the skeleton will get updated respectively.
tunetopart
Posts: 5
Joined: Tue Apr 22, 2025 1:09 pm

Re: Converting tuning part to default spawn on vehicle

Post by tunetopart »

Yes, unfortunately it's a lifted offroad truck. I wanted to avoid redoing the suspension rigging, if tuning parts can still be merged with vehicle without slice to parts enabled.
Post Reply