Welcome to Altis Life RPG

Register now to gain access to all of our features.
Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.


Note that you can now sign-in with your Steam account.


This message will be removed once you have signed in.

  • Announcements

    • AltisLifeRpg

      Opening Announcement   09/13/2016

      Opening Announcement We are happy to announce the official reopening of the community assistance forum Altis Life RPG (open source public property). Before going any further, let's go over the current situation. As you are already aware, the forum and the database of Altisliferpg.com had been hacked a few weeks ago. This unfortunate situation has touched many communities of Arma 3. The various databases were erased, and since they were under the responsibility of the previous administration, no backup was able to recover the lost data. This means that all the tedious work must be redone. This regrettable situation has led Tonic to transfer the responsibility of its administration to a new and neutral party. This party has as sole goal to reunite every community, as diverse as they are, together to perpetuate the development of our beloved mod AltisLifeRPG.  First of all, I think it is important to clarify our intentions. Foremost, we want to reassure you that we are not proclaiming being the owners of the previous versions of Altis Life (open source public property) in collaboration with BoGuu based on Tonic' codes. As you know, Boguu has been a major player in the most recent versions. Please note that this platform is and will always remain open to future developers such as Boguu that would like to elevate Altis Life RPG to the next level. By doing so, we take our role as an official reference platform very seriously in the eyes of the vast community of Altis Life RPG. We are ready to face this responsibility. We are aware that the content added by users could be provided by external sources or from the original website. If you see a tutorial that you've created on our platform where you are not credited as the author, please mention it immediately to the administration and we will promptly fix the situation. Please note that seeing the overwhelming amount of content added by the community, we will not proactively search other community assistance websites to validate if proper credits were given to the various authors. Instead, it will be the author's responsibility to be proactive in contacting the administration. Since the majority of the content found on other websites came originally from Altisliferpg.com, we encourage members joining us to share any content deemed pertinent coming from other platforms without forgetting to credit the authors.       Finally, to clarify the rumors circulating: - The forum was not scammed. It was transferred directly from Bryan 'Tonic' Boardwine to our administration. A domain cannot be scammed. - The forum was transferred as an independent entity which has as a sole mission to perpetuate the forum and not let it die out.       Altisliferpg.com Regards, the Administration.       Feel free to join us on Discord in the Altis Life RPG Community section of the forum.   And of course if you have any question, feel free to message us here.
    • Rozo

      Donations   09/18/2016

      Hello,
        We've added a donation block on the right side. All of those donation goes directly to the developer of Altis Life mod ( currently BoGuu ). None of that money is used to maintain the forum. In the future we might add a donation button to support the forum, but for now we want to encourage the developer because they went through a lot. To discuss this topic - Here
    • Shakir Darwish

      IS YOUR SERVER BROKEN SINCE 1.64 UPDATE?   09/22/2016

      If your server is broken since 1.64 go check this link thanks. https://github.com/AsYetUntitled/Framework/issues/104
    • Rozo

      Sad Day   01/04/2017

      Good evening community of Altis Life RPG, Today was a sad day. We learned the hard way that one of the helper was using his status and visibility on the forum to do things i wouldn't imagine.  We were warned about this user in the beginning, we talked about his behavior and he said that they were things of the past. We were fooled.
      Unfortunately, he fooled other community members by selling stolen content and impersonating his role as a developer in another community. Here's a remember of one of the rules on our forum, No selling scripts, snippets, or services.   So if anyone come across someone who's selling his services, scripts or whatever, Report them. Especially if it's coming from an Helper, Mod, Admin. No one in the staff should ask for money, we already mention this when we reopened the forum and that rule is here to stay.

      We can't be sorry enough for what happen here, for any harm it as caused among other communities, for money that shouldn't been spent and we truly hope this doesn't happen again.

      As for the user in question, he is now banned from our forum and discord and we wish to never cross his path again.
        If there's anything we can do hit us on Discord or send a message to an admin.
      Thanks, Rozo.
derpcraft

[Tutorial] Clean Modern Custom ATM Menu

So this is my first release.  I have asked the author Matze_Media and Dizi for permission to post and Matze_Media gave tho go ahead.  Anyways here are the original post which is in German.

 

Links to authors

Matze_Media (Graphics) - https://native-network.net/user/789-matze-media/

Dizi (Dialog) - https://native-network.net/user/443-brizi-jaeger/

 

 

You can find the original post here

Note - I have chaged some of the original design and I have changed some of the file locations.  Everthing else is COMPLETELY the same.

 

So I am going to start off with the dialog.  So first of you will want to go to your file in your core called "Dialog" then you want to find a menu called "bank.hpp" in that file you will want to replace EVERYTING with the following.

/ *
Dialog edited by Brizi Jaeger 
Picture MatzeDesign
* /

class Life_atm_management {
 idd = 2700;
 name = "life_atm_menu";
 movingEnable = 0;
 enableSimulation = 1;
 class controlsBackground {
 class Life_RscTitleBackground: Life_RscPicture {
 text = "textures\imenus\Banking English.jpg";
 idc = -1;
 x = 0.276037 * safezoneW + safezoneX;
 y = 0.0409789 * safezoneH + safezoneY;
 w = 0.431928 * safezoneW;
 h = 0.918042 * safezoneH;
 };
 };

 class controls {
 class CashTitle: Life_RscStructuredText {
 idc = 2701;
 text = "";
 x = 0.452013 * safezoneW + safezoneX;
 y = 0.190585 * safezoneH + safezoneY;
 w = 0.151975 * safezoneW;
 h = 0.153007 * safezoneH;
 };

 / * class Title: Life_RscTitle {
 colorBackground [] = {0, 0, 0, 0};
 idc = -1;
 text = "$ STR_ATM_Title";
 x = 0.35;
 y = 0.2;
 w = 0.6;
 h = (1/25);
 }; * / // is not needed if you want to install it yourself have fun ^ ^ 

 class WithdrawButton: Life_RscButtonMenu {
 idc = -1;
 text = "";
 tooltip = "Click here to withdraw the selected amount!";
 onButtonClick = "[] call life_fnc_bankWithdraw";
 x = 0.38482 * safezoneW + safezoneX;
 y = 0.523801 * safezoneH + safezoneY;
 w = 0.0847862 * safezoneW;
 h = 0.0476019 * safezoneH;
 colorBackground [] = {-1, -1, -1, -1};
 colorBackgroundFocused [] = {1,1,1,0,1};
 colorBackground2 [] = {0.75,0.75,0.75,0.2};
 color [] = {1,1,1,1};
 colorFocused [] = {0,0,0,0};
 color2 [] = {0,0,0,0};
 colorText [] = {1,1,1,1};
 colorDisabled [] = {1,0,0,0,1};
 };

 class DepositButton: Life_RscButtonMenu {
 idc = -1;
 text = "";
 tooltip = "Click here to deposit the selected amount!";
 onButtonClick = "[] call life_fnc_bankDeposit";
 x = 0.514397 * safezoneW + safezoneX;
 y = 0.523801 * safezoneH + safezoneY;
 w = 0.0847862 * safezoneW;
 h = 0.0476019 * safezoneH;
 colorBackground [] = {-1, -1, -1, -1};
 colorBackgroundFocused [] = {1,1,1,0,1};
 colorBackground2 [] = {0.75,0.75,0.75,0.2};
 color [] = {1,1,1,1};
 colorFocused [] = {0,0,0,0};
 color2 [] = {0,0,0,0};
 colorText [] = {1,1,1,1};
 colorDisabled [] = {1,0,0,0,1};
 };

 class moneyEdit: Life_RscEdit {
 idc = 2702;
 text = "100";
 sizeEx = 0.030;
 x = 0.38162 * safezoneW + safezoneX;
 y = 0.363994 * safezoneH + safezoneY;
 w = 0.220763 * safezoneW;
 h = 0.0612029 * safezoneH;
 };

 class PlayerList: Life_RscCombo {
 idc = 2703;
 x = 0.38002 * safezoneW + safezoneX;
 y = 0.442198 * safezoneH + safezoneY;
 w = 0.223963 * safezoneW;
 h = 0.040802 * safezoneH;
 };

 class TransferButton: Life_RscButtonMenu {
 idc = -1;
 text = "";
 tooltip = "Click here to transfer your selected amount!";
 onButtonClick = "[] call life_fnc_bankTransfer";
 x = 0.384808 * safezoneW + safezoneX;
 y = 0.591805 * safezoneH + safezoneY;
 w = 0.214383 * safezoneW;
 h = 0.0476019 * safezoneH;
 colorBackground [] = {-1, -1, -1, -1};
 colorBackgroundFocused [] = {1,1,1,0,1};
 colorBackground2 [] = {0.75,0.75,0.75,0.2};
 color [] = {1,1,1,1};
 colorFocused [] = {0,0,0,0};
 color2 [] = {0,0,0,0};
 colorText [] = {1,1,1,1};
 colorDisabled [] = {1,0,0,0,1};
 };

 class GangWithdraw: TransferButton {
 idc = 2705;
 text = "";
 tooltip = "Withdraw the selected amount from the account?";
 onButtonClick = "[] call life_fnc_gangWithdraw";
 x = 0.384818 * safezoneW + safezoneX;
 y = 0.792413 * safezoneH + safezoneY;
 w = 0.0847862 * safezoneW;
 h = 0.0476019 * safezoneH;
 colorBackground [] = {-1, -1, -1, -1};
 colorBackgroundFocused [] = {1,1,1,0,1};
 colorBackground2 [] = {0.75,0.75,0.75,0.2};
  color [] = {1,1,1,1};
 colorFocused [] = {0,0,0,0};
 color2 [] = {0,0,0,0};
 colorText [] = {1,1,1,1};
 colorDisabled [] = {1,0,0,0,1};
 };

 class GangDeposit: TransferButton {
 idc = 2706;
 text = "";
 tooltip = "Deposit the selected amount from the vaults account?";
 onButtonClick = "[] call life_fnc_gangDeposit";
 x = 0.515997 * safezoneW + safezoneX;
 y = 0.792413 * safezoneH + safezoneY;
 w = 0.0847862 * safezoneW;
 h = 0.0476019 * safezoneH;
 colorBackground [] = {-1, -1, -1, -1};
 colorBackgroundFocused [] = {1,1,1,0,1};
 colorBackground2 [] = {0.75,0.75,0.75,0.2};
 color [] = {1,1,1,1};
 colorFocused [] = {0,0,0,0};
 color2 [] = {0,0,0,0};
 colorText [] = {1,1,1,1};
 colorDisabled [] = {1,0,0,0,1};
 };

 / * class CloseButtonKey: Life_RscButtonMenu {
 idc = -1;
 text = "Close";
 onButtonClick = "closeDialog 0;";
 x = 0.276058 * safezoneW + safezoneX;
 y = 0.962393 * safezoneH + safezoneY;
 w = 0.0991833 * safezoneW;
 h = 0.0340011 * safezoneH;
 }; * /
 };
};

Thats now complete and you may now save and close the file.

 

Now the second half.

 

So you will have to make a folder in your textures folder and call it "imenus" and drop this into that file ("this" is a link).

You should be all good to go.

 

 

Now in the original post it warns about something like having your default icons entered or something.  Anyways it says

"If you still have your default icons entered: (fn_atmMenu) remove the icons from the file.  Lets open (core/shop/fn_atmemenu.sqf) where we replace the entire line 23 with this one"

It then gave a code

CONTROL (2700,2701) ctrlSetStructuredText parseText format ["<img size = '1.7' image = '' /> $% 1 <br/> <br/> <img size = '1.6' image = '' /> $% 2 ", [BANK] call life_fnc_numberText, [CASH] call life_fnc_numberText];

 

Anyways thank you and I give a big thanks to the creators for letting me do this.

Anyways if you guys have an idea on how to change my name on the forum DM me.  Thx

Banking English.jpg

PLEASE DO NOT MAKE CHANGES TO ANY OF THE FOLLOWING WITHOUT THE CONSENT OF THE AUTHORS (MATZE MEDIA & DIZI)

Edited by derpcraft

Share this post


Link to post
Share on other sites
14 minutes ago, SniperCatZ said:

Getting this error when i try to join the server after installing this.

dce0a7cee65cb79b6a67b8ecc7c468c5.png

Ok.  I have changed the bank.hpp and it should now work.  Noone is getting this error on the original forum post.

Share this post


Link to post
Share on other sites

Ok so i managed to get it to work by using the code from the original post and then by adding your translations to it. The reason yours did not work is because when you translated it "with google translate i am guessing", It added some spaces to the things that was supposed to be commented out. But anyways here is what i have working now 

Spoiler

/*
Dialog edited by Brizi Jaeger 
Picture MatzeDesign
*/
class Life_atm_management {
 idd = 2700;
 name= "life_atm_menu";
 movingEnable = 0;
 enableSimulation = 1;
 class controlsBackground {
 class Life_RscTitleBackground: Life_RscPicture {
 text = "textures\imenus\Banking English.jpg";
  idc = -1;
 x = 0.276037 * safezoneW + safezoneX;
 y = 0.0409789 * safezoneH + safezoneY;
 w = 0.431928 * safezoneW;
 h = 0.918042 * safezoneH;
 };
 };
 class controls {
 class CashTitle: Life_RscStructuredText {
 idc = 2701;
 text = "";
 x = 0.452013 * safezoneW + safezoneX;
 y = 0.190585 * safezoneH + safezoneY;
 w = 0.151975 * safezoneW;
 h = 0.153007 * safezoneH;
 };
 /*class Title: Life_RscTitle {
 colorBackground[] = {0, 0, 0, 0};
 idc = -1;
 text = "$STR_ATM_Title";
 x = 0.35;
 y = 0.2;
 w = 0.6;
 h = (1 / 25);
 };*/ // is not needed if you want to install it yourself have fun ^^
 class WithdrawButton: Life_RscButtonMenu {
 idc = -1;
 text = "";
 tooltip = "Click here to withdraw the selected amount!";
 onButtonClick = "[] call life_fnc_bankWithdraw";
 x = 0.38482 * safezoneW + safezoneX;
 y = 0.523801 * safezoneH + safezoneY;
 w = 0.0847862 * safezoneW;
 h = 0.0476019 * safezoneH;
 colorBackground[] = {-1,-1,-1,-1};
 colorBackgroundFocused[] = {1,1,1,0.12};
 colorBackground2[] = {0.75,0.75,0.75,0.2};
 color[] = {1,1,1,1};
 colorFocused[] = {0,0,0,0};
 color2[] = {0,0,0,0};
 colorText[] = {1,1,1,1};
 colorDisabled[] = {1,0,0,0.1};
 };
 class DepositButton: Life_RscButtonMenu {
 idc = -1;
 text = "";
 tooltip = "Click here to deposit the selected amount!";
 onButtonClick = "[] call life_fnc_bankDeposit";
 x = 0.514397 * safezoneW + safezoneX;
 y = 0.523801 * safezoneH + safezoneY;
 w = 0.0847862 * safezoneW;
 h = 0.0476019 * safezoneH;
 colorBackground[] = {-1,-1,-1,-1};
 colorBackgroundFocused[] = {1,1,1,0.12};
 colorBackground2[] = {0.75,0.75,0.75,0.2};
 color[] = {1,1,1,1};
 colorFocused[] = {0,0,0,0};
 color2[] = {0,0,0,0};
 colorText[] = {1,1,1,1};
 colorDisabled[] = {1,0,0,0.1};
 };
 class moneyEdit: Life_RscEdit {
 idc = 2702;
 text = "0";
 sizeEx = 0.030;
 x = 0.38162 * safezoneW + safezoneX;
 y = 0.363994 * safezoneH + safezoneY;
 w = 0.220763 * safezoneW;
 h = 0.0612029 * safezoneH;
 };
 class PlayerList: Life_RscCombo {
 idc = 2703;
 x = 0.38002 * safezoneW + safezoneX;
 y = 0.442198 * safezoneH + safezoneY;
 w = 0.223963 * safezoneW;
 h = 0.040802 * safezoneH;
 };
 class TransferButton: Life_RscButtonMenu {
 idc = -1;
 text = "";
 tooltip = "Click here to transfer your selected amount!";
 onButtonClick = "[] call life_fnc_bankTransfer";
 x = 0.384808 * safezoneW + safezoneX;
 y = 0.591805 * safezoneH + safezoneY;
 w = 0.214383 * safezoneW;
 h = 0.0476019 * safezoneH;
 colorBackground[] = {-1,-1,-1,-1};
 colorBackgroundFocused[] = {1,1,1,0.12};
 colorBackground2[] = {0.75,0.75,0.75,0.2};
 color[] = {1,1,1,1};
 colorFocused[] = {0,0,0,0};
 color2[] = {0,0,0,0};
 colorText[] = {1,1,1,1};
 colorDisabled[] = {1,0,0,0.1};
 };
 class GangWithdraw : TransferButton {
 idc = 2705;
 text = "";
 tooltip = "Withdraw the selected amount from the account?";
 onButtonClick = "[] call life_fnc_gangWithdraw";
 x = 0.384818 * safezoneW + safezoneX;
 y = 0.792413 * safezoneH + safezoneY;
 w = 0.0847862 * safezoneW;
 h = 0.0476019 * safezoneH;
 colorBackground[] = {-1,-1,-1,-1};
 colorBackgroundFocused[] = {1,1,1,0.12};
 colorBackground2[] = {0.75,0.75,0.75,0.2};
 color[] = {1,1,1,1};
 colorFocused[] = {0,0,0,0};
 color2[] = {0,0,0,0};
 colorText[] = {1,1,1,1};
 colorDisabled[] = {1,0,0,0.1};
 };
 class GangDeposit : TransferButton {
 idc = 2706;
 text = "";
 tooltip = "Deposit the selected amount from the vaults account?";
 onButtonClick = "[] call life_fnc_gangDeposit";
 x = 0.515997 * safezoneW + safezoneX;
 y = 0.792413 * safezoneH + safezoneY;
 w = 0.0847862 * safezoneW;
 h = 0.0476019 * safezoneH;
 colorBackground[] = {-1,-1,-1,-1};
 colorBackgroundFocused[] = {1,1,1,0.12};
 colorBackground2[] = {0.75,0.75,0.75,0.2};
 color[] = {1,1,1,1};
 colorFocused[] = {0,0,0,0};
 color2[] = {0,0,0,0};
 colorText[] = {1,1,1,1};
 colorDisabled[] = {1,0,0,0.1};
 };
 /*class CloseButtonKey: Life_RscButtonMenu {
 idc = -1;
 text = "Schliessen";
 onButtonClick = "closeDialog 0;";
 x = 0.276058 * safezoneW + safezoneX;
 y = 0.962393 * safezoneH + safezoneY;
 w = 0.0991833 * safezoneW;
 h = 0.0340011 * safezoneH;
 };*/
 };
};

But i was wondering how i can change the location of the money and bank amounts and change the size of the dep/withdraw ammount? Because this looks kind of odd: 395823f0892e75ba9635f255c40dccad.png

Anyways thank you.

Share this post


Link to post
Share on other sites
1 hour ago, SniperCatZ said:

Ok so i managed to get it to work by using the code from the original post and then by adding your translations to it. The reason yours did not work is because when you translated it "with google translate i am guessing", It added some spaces to the things that was supposed to be commented out. But anyways here is what i have working now 

  Reveal hidden contents

/*
Dialog edited by Brizi Jaeger 
Picture MatzeDesign
*/
class Life_atm_management {
 idd = 2700;
 name= "life_atm_menu";
 movingEnable = 0;
 enableSimulation = 1;
 class controlsBackground {
 class Life_RscTitleBackground: Life_RscPicture {
 text = "textures\imenus\Banking English.jpg";
  idc = -1;
 x = 0.276037 * safezoneW + safezoneX;
 y = 0.0409789 * safezoneH + safezoneY;
 w = 0.431928 * safezoneW;
 h = 0.918042 * safezoneH;
 };
 };
 class controls {
 class CashTitle: Life_RscStructuredText {
 idc = 2701;
 text = "";
 x = 0.452013 * safezoneW + safezoneX;
 y = 0.190585 * safezoneH + safezoneY;
 w = 0.151975 * safezoneW;
 h = 0.153007 * safezoneH;
 };
 /*class Title: Life_RscTitle {
 colorBackground[] = {0, 0, 0, 0};
 idc = -1;
 text = "$STR_ATM_Title";
 x = 0.35;
 y = 0.2;
 w = 0.6;
 h = (1 / 25);
 };*/ // is not needed if you want to install it yourself have fun ^^
 class WithdrawButton: Life_RscButtonMenu {
 idc = -1;
 text = "";
 tooltip = "Click here to withdraw the selected amount!";
 onButtonClick = "[] call life_fnc_bankWithdraw";
 x = 0.38482 * safezoneW + safezoneX;
 y = 0.523801 * safezoneH + safezoneY;
 w = 0.0847862 * safezoneW;
 h = 0.0476019 * safezoneH;
 colorBackground[] = {-1,-1,-1,-1};
 colorBackgroundFocused[] = {1,1,1,0.12};
 colorBackground2[] = {0.75,0.75,0.75,0.2};
 color[] = {1,1,1,1};
 colorFocused[] = {0,0,0,0};
 color2[] = {0,0,0,0};
 colorText[] = {1,1,1,1};
 colorDisabled[] = {1,0,0,0.1};
 };
 class DepositButton: Life_RscButtonMenu {
 idc = -1;
 text = "";
 tooltip = "Click here to deposit the selected amount!";
 onButtonClick = "[] call life_fnc_bankDeposit";
 x = 0.514397 * safezoneW + safezoneX;
 y = 0.523801 * safezoneH + safezoneY;
 w = 0.0847862 * safezoneW;
 h = 0.0476019 * safezoneH;
 colorBackground[] = {-1,-1,-1,-1};
 colorBackgroundFocused[] = {1,1,1,0.12};
 colorBackground2[] = {0.75,0.75,0.75,0.2};
 color[] = {1,1,1,1};
 colorFocused[] = {0,0,0,0};
 color2[] = {0,0,0,0};
 colorText[] = {1,1,1,1};
 colorDisabled[] = {1,0,0,0.1};
 };
 class moneyEdit: Life_RscEdit {
 idc = 2702;
 text = "0";
 sizeEx = 0.030;
 x = 0.38162 * safezoneW + safezoneX;
 y = 0.363994 * safezoneH + safezoneY;
 w = 0.220763 * safezoneW;
 h = 0.0612029 * safezoneH;
 };
 class PlayerList: Life_RscCombo {
 idc = 2703;
 x = 0.38002 * safezoneW + safezoneX;
 y = 0.442198 * safezoneH + safezoneY;
 w = 0.223963 * safezoneW;
 h = 0.040802 * safezoneH;
 };
 class TransferButton: Life_RscButtonMenu {
 idc = -1;
 text = "";
 tooltip = "Click here to transfer your selected amount!";
 onButtonClick = "[] call life_fnc_bankTransfer";
 x = 0.384808 * safezoneW + safezoneX;
 y = 0.591805 * safezoneH + safezoneY;
 w = 0.214383 * safezoneW;
 h = 0.0476019 * safezoneH;
 colorBackground[] = {-1,-1,-1,-1};
 colorBackgroundFocused[] = {1,1,1,0.12};
 colorBackground2[] = {0.75,0.75,0.75,0.2};
 color[] = {1,1,1,1};
 colorFocused[] = {0,0,0,0};
 color2[] = {0,0,0,0};
 colorText[] = {1,1,1,1};
 colorDisabled[] = {1,0,0,0.1};
 };
 class GangWithdraw : TransferButton {
 idc = 2705;
 text = "";
 tooltip = "Withdraw the selected amount from the account?";
 onButtonClick = "[] call life_fnc_gangWithdraw";
 x = 0.384818 * safezoneW + safezoneX;
 y = 0.792413 * safezoneH + safezoneY;
 w = 0.0847862 * safezoneW;
 h = 0.0476019 * safezoneH;
 colorBackground[] = {-1,-1,-1,-1};
 colorBackgroundFocused[] = {1,1,1,0.12};
 colorBackground2[] = {0.75,0.75,0.75,0.2};
 color[] = {1,1,1,1};
 colorFocused[] = {0,0,0,0};
 color2[] = {0,0,0,0};
 colorText[] = {1,1,1,1};
 colorDisabled[] = {1,0,0,0.1};
 };
 class GangDeposit : TransferButton {
 idc = 2706;
 text = "";
 tooltip = "Deposit the selected amount from the vaults account?";
 onButtonClick = "[] call life_fnc_gangDeposit";
 x = 0.515997 * safezoneW + safezoneX;
 y = 0.792413 * safezoneH + safezoneY;
 w = 0.0847862 * safezoneW;
 h = 0.0476019 * safezoneH;
 colorBackground[] = {-1,-1,-1,-1};
 colorBackgroundFocused[] = {1,1,1,0.12};
 colorBackground2[] = {0.75,0.75,0.75,0.2};
 color[] = {1,1,1,1};
 colorFocused[] = {0,0,0,0};
 color2[] = {0,0,0,0};
 colorText[] = {1,1,1,1};
 colorDisabled[] = {1,0,0,0.1};
 };
 /*class CloseButtonKey: Life_RscButtonMenu {
 idc = -1;
 text = "Schliessen";
 onButtonClick = "closeDialog 0;";
 x = 0.276058 * safezoneW + safezoneX;
 y = 0.962393 * safezoneH + safezoneY;
 w = 0.0991833 * safezoneW;
 h = 0.0340011 * safezoneH;
 };*/
 };
};

But i was wondering how i can change the location of the money and bank amounts and change the size of the dep/withdraw ammount? Because this looks kind of odd: 395823f0892e75ba9635f255c40dccad.png

Anyways thank you.

Ok I will update.  I suggest moving the bank picture up and the cash up.  Or you can go into the dialog and move the money down.  You may have to use a GUI editor tho.

Share this post


Link to post
Share on other sites
Just now, derpcraft said:

Ok I will update.  I suggest moving the bank picture up and the cash up.  Or you can go into the dialog and move the money down.  You may have to use a GUI editor tho.

What is the money display one called in the bank.hpp file?

Share this post


Link to post
Share on other sites
9 minutes ago, SniperCatZ said:

What is the money display one called in the bank.hpp file?

So the box where you put in your money is this

https://imgur.com/a/44kYE

I believe that the Money amounts are 

https://imgur.com/a/tJdix

Also i would actually ask Matze Media before changing it I dont know how he would feel to have his stuff taken out.

Edited by derpcraft

Share this post


Link to post
Share on other sites
49 minutes ago, Deadlesszombie said:

gang founds?

lol

Bruh he got 166 million in the bank

Screen Shot 2018-04-04 at 1.22.44 PM.png

  • Like 1

Share this post


Link to post
Share on other sites

I am just testing stuff atm. The server is just a WIP atm so i just spawned in a bunch of money so i have enough when i am testing stuff.

  • Like 1

Share this post


Link to post
Share on other sites
55 minutes ago, SniperCatZ said:

I am just testing stuff atm. The server is just a WIP atm so i just spawned in a bunch of money so i have enough when i am testing stuff.

Ok.  Its cool.  u ask him if you were able to modify the ATM?

Edited by derpcraft

Share this post


Link to post
Share on other sites
51 minutes ago, Matthias Burns | Matze said:

Brizi, not DIZI

DAFUQ MATE.

Do you even have the permission of Matze Media?

matze_media would be his ALRPG Account.

matze use your eyes.

Ujtu8X5.png

 

  • Like 4

Share this post


Link to post
Share on other sites
44 minutes ago, Deadlesszombie said:

matze use your eyes.

Ujtu8X5.png

 

>insert hyper4u meme here.

  • Like 2
  • Haha 3

Share this post


Link to post
Share on other sites
On 4/8/2018 at 12:09 PM, Wackbatt said:

>insert hyper4u meme here.

REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE

Share this post


Link to post
Share on other sites

Fixed code: 

//Dialog edited by Brizi Jaeger, Picture MatzeDesign

class Life_atm_management {
 idd = 2700;
 name = "life_atm_menu";
 movingEnable = 0;
 enableSimulation = 1;
 class controlsBackground {
 class Life_RscTitleBackground: Life_RscPicture {
 text = "textures\imenus\Banking English.jpg";
 idc = -1;
 x = 0.276037 * safezoneW + safezoneX;
 y = 0.0409789 * safezoneH + safezoneY;
 w = 0.431928 * safezoneW;
 h = 0.918042 * safezoneH;
 };
 };

 class controls {
 class CashTitle: Life_RscStructuredText {
 idc = 2701;
 text = "";
 x = 0.452013 * safezoneW + safezoneX;
 y = 0.190585 * safezoneH + safezoneY;
 w = 0.151975 * safezoneW;
 h = 0.153007 * safezoneH;
 };

/*class Title: Life_RscTitle {
 colorBackground[] = {0, 0, 0, 0};
 idc = -1;
 text = "$ STR_ATM_Title";
 x = 0.35;
 y = 0.2;
 w = 0.6;
 h = (1/25);
 }; */

 class WithdrawButton: Life_RscButtonMenu {
 idc = -1;
 text = "";
 tooltip = "Click here to withdraw the selected amount!";
 onButtonClick = "[] call life_fnc_bankWithdraw";
 x = 0.38482 * safezoneW + safezoneX;
 y = 0.523801 * safezoneH + safezoneY;
 w = 0.0847862 * safezoneW;
 h = 0.0476019 * safezoneH;
 colorBackground[] = {-1, -1, -1, -1};
 colorBackgroundFocused[] = {1,1,1,0,1};
 colorBackground2[] = {0.75,0.75,0.75,0.2};
 color[] = {1,1,1,1};
 colorFocused[] = {0,0,0,0};
 color2[] = {0,0,0,0};
 colorText[] = {1,1,1,1};
 colorDisabled[] = {1,0,0,0,1};
 };

 class DepositButton: Life_RscButtonMenu {
 idc = -1;
 text = "";
 tooltip = "Click here to deposit the selected amount!";
 onButtonClick = "[] call life_fnc_bankDeposit";
 x = 0.514397 * safezoneW + safezoneX;
 y = 0.523801 * safezoneH + safezoneY;
 w = 0.0847862 * safezoneW;
 h = 0.0476019 * safezoneH;
 colorBackground[] = {-1, -1, -1, -1};
 colorBackgroundFocused[] = {1,1,1,0,1};
 colorBackground2[] = {0.75,0.75,0.75,0.2};
 color[] = {1,1,1,1};
 colorFocused[] = {0,0,0,0};
 color2[] = {0,0,0,0};
 colorText[] = {1,1,1,1};
 colorDisabled[] = {1,0,0,0,1};
 };

 class moneyEdit: Life_RscEdit {
 idc = 2702;
 text = "100";
 sizeEx = 0.030;
 x = 0.38162 * safezoneW + safezoneX;
 y = 0.363994 * safezoneH + safezoneY;
 w = 0.220763 * safezoneW;
 h = 0.0612029 * safezoneH;
 };

 class PlayerList: Life_RscCombo {
 idc = 2703;
 x = 0.38002 * safezoneW + safezoneX;
 y = 0.442198 * safezoneH + safezoneY;
 w = 0.223963 * safezoneW;
 h = 0.040802 * safezoneH;
 };

 class TransferButton: Life_RscButtonMenu {
 idc = -1;
 text = "";
 tooltip = "Click here to transfer your selected amount!";
 onButtonClick = "[] call life_fnc_bankTransfer";
 x = 0.384808 * safezoneW + safezoneX;
 y = 0.591805 * safezoneH + safezoneY;
 w = 0.214383 * safezoneW;
 h = 0.0476019 * safezoneH;
 colorBackground[] = {-1, -1, -1, -1};
 colorBackgroundFocused[] = {1,1,1,0,1};
 colorBackground2[] = {0.75,0.75,0.75,0.2};
 color[] = {1,1,1,1};
 colorFocused[] = {0,0,0,0};
 color2[] = {0,0,0,0};
 colorText[] = {1,1,1,1};
 colorDisabled[] = {1,0,0,0,1};
 };

 class GangWithdraw: TransferButton {
 idc = 2705;
 text = "";
 tooltip = "Withdraw the selected amount from the account?";
 onButtonClick = "[] call life_fnc_gangWithdraw";
 x = 0.384818 * safezoneW + safezoneX;
 y = 0.792413 * safezoneH + safezoneY;
 w = 0.0847862 * safezoneW;
 h = 0.0476019 * safezoneH;
 colorBackground[] = {-1, -1, -1, -1};
 colorBackgroundFocused[] = {1,1,1,0,1};
 colorBackground2[] = {0.75,0.75,0.75,0.2};
  color[] = {1,1,1,1};
 colorFocused[] = {0,0,0,0};
 color2[] = {0,0,0,0};
 colorText[] = {1,1,1,1};
 colorDisabled[] = {1,0,0,0,1};
 };

 class GangDeposit: TransferButton {
 idc = 2706;
 text = "";
 tooltip = "Deposit the selected amount from the vaults account?";
 onButtonClick = "[] call life_fnc_gangDeposit";
 x = 0.515997 * safezoneW + safezoneX;
 y = 0.792413 * safezoneH + safezoneY;
 w = 0.0847862 * safezoneW;
 h = 0.0476019 * safezoneH;
 colorBackground[] = {-1, -1, -1, -1};
 colorBackgroundFocused[] = {1,1,1,0,1};
 colorBackground2[] = {0.75,0.75,0.75,0.2};
 color[] = {1,1,1,1};
 colorFocused[] = {0,0,0,0};
 color2[] = {0,0,0,0};
 colorText[] = {1,1,1,1};
 colorDisabled[] = {1,0,0,0,1};
 };

 /*
 class CloseButtonKey: Life_RscButtonMenu {
 idc = -1;
 text = "Close";
 onButtonClick = "closeDialog 0;";
 x = 0.276058 * safezoneW + safezoneX;
 y = 0.962393 * safezoneH + safezoneY;
 w = 0.0991833 * safezoneW;
 h = 0.0340011 * safezoneH;
 };*/
 };
};

 

Share this post


Link to post
Share on other sites
On 4/4/2018 at 12:33 AM, derpcraft said:

Anyways if you guys have an idea on how to change my name on the forum DM me.  Thx

Image result for thinking emoji

Share this post


Link to post
Share on other sites

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