TheCapn Posted May 31, 2014 Share Posted May 31, 2014 Hello guys, I am currently using the guieditor mod in order to create my different gui - interface. However, I was wondering if there was another tool that was more focused on the dx functions because on guieditor, there is no possibility to create dx elements based on relative screen size. So I will be grateful If you guys could help me on this point. Regards, TheCapn Link to comment
tosfera Posted May 31, 2014 Share Posted May 31, 2014 There is none, just don't be lazy and learn how to script and get to known with the functions. Link to comment
xXMADEXx Posted May 31, 2014 Share Posted May 31, 2014 There is none, just don't be lazy and learn how to script and get to known with the functions. Actually, it would mostly just be math... Not really scripting. Link to comment
Moderators Citizen Posted May 31, 2014 Moderators Share Posted May 31, 2014 What are you talking about ?! guieditor DOES support dx gui creation ... https://community.multitheftauto.com/in ... ils&id=141 Link to comment
Karuzo Posted May 31, 2014 Share Posted May 31, 2014 Hello guys,I am currently using the guieditor mod in order to create my different gui - interface. However, I was wondering if there was another tool that was more focused on the dx functions because on guieditor, there is no possibility to create dx elements based on relative screen size. So I will be grateful If you guys could help me on this point. Regards, TheCapn Link to comment
Dealman Posted May 31, 2014 Share Posted May 31, 2014 Take the absolute position/size and divide it with your resolution and you get the relative value. If your resolution is 1920x1080, take the width of the DX and divide it with 1920. Take the height and divide it with 1080. This will get you relative values. Link to comment
TheCapn Posted June 1, 2014 Author Share Posted June 1, 2014 Yes, that's what I've done by now but I was in fact wondering if there were a quicker way to do it x) But no, too bad Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now