Repentz

Advanced Server Rules [For XM8]

50 posts in this topic

This can be put on your basic XM8 tablet if you know what you're doing, but the guide i'll be making is for the advanced Xm8 Here: http://exile.majormittens.co.uk/topic/9040-xm8-apps/

The menu can be as complex or full as you want; you can scroll down to see more of it ingame.

Preview: C3C803F86645F3761AF4D4058736AD37C5E44A3C

 

Downloads: 

https://www.dropbox.com/s/al32ignokoeow4b/rules.sqf?dl=0

 

Install:

1. Place the 'rules' in your 'xm8Apps\Apps' folder

2. Open XM8Apps_Init and edit this to your liking:

//App 1
_app1Text = "Info";
_app1Logo = "xm8Apps\images\rules.paa";
app1_action = {
execVM"xm8Apps\Apps\rules.sqf";
};

Image will not be provided so make your own, obviously edit the rules to match your own, the links in the script will take you to the web-page you link when clicked ingame.

 

Edited by Repentz
  • Like 14

Share this post


Link to post
Share on other sites
Advertisement
41 minutes ago, apraxas said:

it seems that it is getting closed by infistar  ... will have a chat with him to find out

 

Just add 999999 to your allowedIDDs section in EXILE_AHAT_CONFIG.hpp

  • Like 1

Share this post


Link to post
Share on other sites
On 19/1/2016 at 3:58 PM, Paul said:

Looks good, will try this out later.

Your status bar also looks awesome!

 

20 hours ago, TPGDagger said:

Good add +rep

 

I second @Paul, that is a killer status bar.

It's fairly easy to make guys, 

Description.ext

Spoiler

class RscTitles
{
    #include "path\to\statusBar.hpp"
};

Then edit statusBar.hpp with following content:

Spoiler

class RscExileStatusBar
{
        idd = -1;
        duration = 10e10;
        onLoad = "uiNamespace setVariable ['RscExileStatusBar', _this select 0];";
        fadein = 0;
        fadeout = 0;
        movingEnable = 0;
        objects[] = {};

        class controlsBackground
        {
                class statusBarImage
                {
                        idc = 55557;
                        type = 0;
                        style = 48;
                        x = safezoneX + safezoneW - 1.883;
                        y = safezoneY + safezoneH - 0.092; //0.068
                        w = 1.35;
                        h = 0.08; //0.06
                        colorText[] = {1, 1, 1, 1};
                        colorBackground[]={0,0,0,0};
                        sizeEx = 0.4;
                        font = "OrbitronLight";
                        text = "path\to\StatusBarBackground.paa"; // Picture wanted for background.
                };
        };

        class controls
        {
                class statusBarText
                {
                        idc = 55554;
                        x = safezoneX + safezoneW - 1.90;
                        y = safezoneY + safezoneH - 0.063;
                        w = 1.35;
                        h = 0.06;
                        shadow = 2;
                        font = "OrbitronLight";
                        size = 0.032;
                        type = 13;
                        style = 2;
                        text = "";

                        class Attributes
                        {
                                align="center";
                                color = "#ffffff";
                                font = "OrbitronLight";
                        };
                };
        };
};
 

Couldn't be much more simple :-) 

  • Like 2

Share this post


Link to post
Share on other sites
5 hours ago, ka0s said:

 

It's fairly easy to make guys, 

Description.ext

  Hide contents

class RscTitles
{
    #include "path\to\statusBar.hpp"
};

Then edit statusBar.hpp with following content:

  Hide contents

class RscExileStatusBar
{
        idd = -1;
        duration = 10e10;
        onLoad = "uiNamespace setVariable ['RscExileStatusBar', _this select 0];";
        fadein = 0;
        fadeout = 0;
        movingEnable = 0;
        objects[] = {};

        class controlsBackground
        {
                class statusBarImage
                {
                        idc = 55557;
                        type = 0;
                        style = 48;
                        x = safezoneX + safezoneW - 1.883;
                        y = safezoneY + safezoneH - 0.092; //0.068
                        w = 1.35;
                        h = 0.08; //0.06
                        colorText[] = {1, 1, 1, 1};
                        colorBackground[]={0,0,0,0};
                        sizeEx = 0.4;
                        font = "OrbitronLight";
                        text = "path\to\StatusBarBackground.paa"; // Picture wanted for background.
                };
        };

        class controls
        {
                class statusBarText
                {
                        idc = 55554;
                        x = safezoneX + safezoneW - 1.90;
                        y = safezoneY + safezoneH - 0.063;
                        w = 1.35;
                        h = 0.06;
                        shadow = 2;
                        font = "OrbitronLight";
                        size = 0.032;
                        type = 13;
                        style = 2;
                        text = "";

                        class Attributes
                        {
                                align="center";
                                color = "#ffffff";
                                font = "OrbitronLight";
                        };
                };
        };
};
 

Couldn't be much more simple :-) 

Could you possibly share the backround picture? Or tell us the dimensions ? :)

Edited by SillymeX

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

  • Recently Browsing   0 members

    No registered users viewing this page.