Jump to content
Sign in to follow this  
Tisor

GUI Interface for animations on vehicle mod. Is it possible?

Recommended Posts

Hi all.

I'm trying to make a better look control for lightbar, directionals lights... better than the actual menu actions "Code 1, Code 2, Code 3".

Looking at real control panels, I have designed my own one:

ad9b38ea39eeedb97d572d4915d3fd81.png

Now, I've been looking for tutorials on GUI and so on, but I've always seen them applied to missions, using description.ext and so on.

I would like to add them to the vehicle in the mod. I mean, not need to apply on the mission, you have it on the car when pressing "Lights panel" or maybe a key...

But first of all, can this be done?

I've not been able to find any information about, can anyone refer to this info if is online or give me some tips on how to do it?.

Thanks in advance.

Share this post


Link to post
Share on other sites

You can define your dialog in the config.cpp (the same way you would do it in a descripton.ext for a mission).

You can then add an action like "show control panel" in the user action class. On the activation field, launch a script that displays the dialog.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×