Flashing lights

GTA:V Modding with ZModeler3 discussion.
Post Reply
holmogigi
Posts: 12
Joined: Fri Oct 08, 2021 8:19 pm

Flashing lights

Post by holmogigi »

Hello, I saw a video ( I bought the car and analyze how was made I saw the creator used a shader named "vehicle_track2_emissive" and a black and white texture, I tried to do it on my car (ignoring this thing on the original car:https://prnt.sc/21l3b85) and when I imported it in game i saw a small problem the flashing worked only on one side, after that I tried to move it to the right and reset the dummy to the world but the lights are in the wrong position(actually it is in the same position as in zmodeler https://prnt.sc/21l3ron ), I don't understand why this in happening and why on the original car is looking like that in zmodeler and different in game. If anyone can help i would appreciate it very much.
User avatar
Oleg
Site Admin
Posts: 14045
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Flashing lights

Post by Oleg »

vehicle_track*** shaders work on left vehicle side only. To toggle this shader on a right side, vehicle requires some unknown configuration in metadata. If you export your model instead of the vehicle that already has this shader working fine, it will instantly work fine on both sides on your model too.
holmogigi
Posts: 12
Joined: Fri Oct 08, 2021 8:19 pm

Re: Flashing lights

Post by holmogigi »

Hmmm interesting and you can tell me a model that makes vehicle_track shaders work on both sides.So I understand that there is a problem with the .meta files of this car, this means that I could copy the .meta files from another machine on which it works, let me know if I understood correctly.How can I make the illuminated parts on the right side and appear in the middle in the game?
User avatar
Oleg
Site Admin
Posts: 14045
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Flashing lights

Post by Oleg »

any original game's model that uses this shader. Probably the one with timing belt visible. In case you need an emissive one, the model that has an emissive track shader in it.

alternatively, as you've got the model on a video, exported instead of this model (replace this mode), it will work too.
darcktretas
Posts: 12
Joined: Wed Sep 02, 2020 4:27 pm

Re: Flashing lights

Post by darcktretas »

Where did you buy this model?
13stewartc
Posts: 5
Joined: Sat Jun 09, 2018 12:51 pm

Re: Flashing lights

Post by 13stewartc »

You can make vehicle_track*** shaders work on both sides using this tutorial: https://youtu.be/5to7OEGBek4
User avatar
Oleg
Site Admin
Posts: 14045
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Flashing lights

Post by Oleg »

13stewartc wrote: Fri Dec 24, 2021 8:22 am You can make vehicle_track*** shaders work on both sides using this tutorial: https://youtu.be/5to7OEGBek4
what an elegant trick. :)
13stewartc
Posts: 5
Joined: Sat Jun 09, 2018 12:51 pm

Re: Flashing lights

Post by 13stewartc »

Oleg wrote: Fri Dec 24, 2021 8:29 am
13stewartc wrote: Fri Dec 24, 2021 8:22 am You can make vehicle_track*** shaders work on both sides using this tutorial: https://youtu.be/5to7OEGBek4
what an elegant trick. :)
Indeed, unfortunately i cannot take the credit for the original work around. I just created the tutorial :D
User avatar
Oleg
Site Admin
Posts: 14045
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Flashing lights

Post by Oleg »

I remind my attempts to solve this puzzle in a different way: I've moved the entire engine object to the left side (so it is UV-animated) and added collision and "Slide X" option, so engine will slide right and down to it's original position by the means of in-game physics. it was fun to see an engine sliding out of the vehicle in hard turns or when rolling over.
Post Reply