Sign in to follow this  
Patrix87

UI Modification Vehicle trader stats

5 posts in this topic

Hi,

I'm working on modifying the UI of the vehicle trader to add more useful stats about the vehicles.

I got the script part working and I can get and display the following stats

Armor             
Capacity         
Seats             
Fuel Capacity     
Speed             
Engine Power     
Engine Torque     
Max RPM         
Weight             
Sling Load Max    
Float

The only problem is that I can only display the first 4 because the UI only as 4 lines configured.

So I took "class RscExileVehicleTraderDialog" from the Exile client config.cpp and moved it to the mission config.cpp and edited it.

The problem is that I now have to re-declare every part of the UI formatting like : RscText and such.

I can't even find where it was declared in the first place as even the client side config.cpp assumes it's already declared.

Maybe there's a file I have to include or I just missed something.

If you could point me in the right direction that would be greatly appreciated

Thanks

Share this post


Link to post
Share on other sites
Advertisement
4 minutes ago, wernerz said:

config.bin?

Nope, Like I said : " I can't even find where it was declared in the first place as even the client side config.cpp assumes it's already declared."

Share this post


Link to post
Share on other sites

That is the only thing I've found in the config.bin of exile_client

Spoiler

class Attributes;
class RscStandardDisplay;
class RscProgress;
class RscStructuredText;
class RscPicture;
class RscButton;
class RscShortcutButton;
class RscButtonMenu;
class RscButtonMenuOK;
class RscButtonMenuCancel;
class RscText;
class RscVignette;
class RscDisplayGetReady;
class RscActiveText;
class RscListBox;
class RscListNBox;
class RscCombo;
class RscXListBox;
class RscHTML;
class RscPictureKeepAspect;
class RscActivePicture;
class RscMapControl;
class RscControlsGroupNoScrollbars;
class RscControlsGroupNoHScrollbars;
class RscFrame;
class RscTitle;
class CA_Title;
class RscDebugConsole;
class RscTrafficLight;
class RscFeedback;
class RscMessageBox;
class RscControlsGroup;
class RscTextCheckbox;
class RscDisplayInventory_DLCTemplate;
class RscEdit;
class RscCheckBox;
class RscIGProgress;
class RscHitZones;
class RscVehicleToggles;
class RscIGUIText;
class RscIGUIValue;
class RscOpticsValue;
class RscOpticsText;
class Scrollbar;
class RscIGUIShortcutButton;
class RscActivePictureKeepAspect;
class RscTree;
class RscXSliderH;
class RscPictureButton: RscActivePicture

 

 

Share this post


Link to post
Share on other sites
Advertisement

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.