Sign in to follow this  
mehmet

Turn signal (texture)

Recommended Posts

Posted (edited)

Hello,

how to make a system of turn signals? (using car textures)

unknown.png?width=832&height=468

Edited by mehmet

Share this post


Link to post

shader, change material texture/flash or pixel shader + gTime for flash.

Share this post


Link to post
Posted (edited)
13 minutes ago, XaskeL said:

shader, change material texture/flash or pixel shader + gTime for flash.

 

Well, I have a shader. Can you show an example script?
(I found the script, but the code is closed)

and you can still like to add lighting to the turn signal?
(as on the screen)
2j3t7oa.png

Edited by mehmet

Share this post


Link to post
19 hours ago, mehmet said:

Hello,

how to make a system of turn signals? (using car textures)

unknown.png?width=832&height=468

This can be done using a simple shader, you could render the color on or use an image etc, also, you could detect the players going left/right using:
https://wiki.multitheftauto.com/wiki/GetBoundControl

 

18 hours ago, mehmet said:

 

Well, I have a shader. Can you show an example script?
(I found the script, but the code is closed)

and you can still like to add lighting to the turn signal?
(as on the screen)
2j3t7oa.png

This light's either done with script, or encoded into the vehicles DFF, either can be done.

  • Like 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.