Flashing lights
Flashing lights
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.
Re: Flashing lights
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.
Re: Flashing lights
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?
Re: Flashing lights
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.
alternatively, as you've got the model on a video, exported instead of this model (replace this mode), it will work too.
-
- Posts: 12
- Joined: Wed Sep 02, 2020 4:27 pm
Re: Flashing lights
Where did you buy this model?
-
- Posts: 5
- Joined: Sat Jun 09, 2018 12:51 pm
Re: Flashing lights
You can make vehicle_track*** shaders work on both sides using this tutorial: https://youtu.be/5to7OEGBek4
Re: Flashing lights
what an elegant trick.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
-
- Posts: 5
- Joined: Sat Jun 09, 2018 12:51 pm
Re: Flashing lights
Indeed, unfortunately i cannot take the credit for the original work around. I just created the tutorialOleg wrote: ↑Fri Dec 24, 2021 8:29 amwhat an elegant trick.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
Re: Flashing lights
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.