1. Dashboard
  2. Forum
    1. Unerledigte Themen
  3. Downloads
  4. Galerie
    1. Alben
  5. Toolbox
    1. Passwort Generator
    2. Portchecker
  6. Mitglieder
    1. Mitgliedersuche
    2. Benutzer online
    3. Trophäen
    4. Team
So: 18 Mai 2025
  • Anmelden oder registrieren
  • Suche
Dieses Thema
  • Alles
  • Dieses Thema
  • Dieses Forum
  • Artikel
  • Forum
  • Dateien
  • Seiten
  • Bilder
  • Erweiterte Suche

Schön, dass du den Weg zu NodeZone.net gefunden hast! Aktuell bist du nicht angemeldet und kannst deshalb nur eingeschränkt auf unsere Community zugreifen. Um alle Funktionen freizuschalten, spannende Inhalte zu entdecken und dich aktiv einzubringen, registriere dich jetzt kostenlos oder melde dich mit deinem Account an.

Anmelden oder registrieren
    1. Nodezone.net Community
    2. Forum
    3. Gameserver & Hosting
    4. ArmA Series - ArmA 3 / Reforger
    5. Hilfeforum

    Waffen Shop Dialog ändern

    • 1Manuel
    • 5. März 2019 um 19:43
    • Erledigt
    • 1Manuel
      Anfänger
      Reaktionen
      1
      Trophäen
      7
      Beiträge
      54
      • 5. März 2019 um 19:43
      • #1

      Ich habe eine Frage kann ich z.b den
      Waffen Shop:

      Spoiler anzeigen
      Code
      class life_weapon_shop {
          idd = 38400;
          movingEnable = 0;
          enableSimulation = 1;
      
          class controlsBackground {
              class RscTitleBackground: Life_RscText {
                  colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"};
                  idc = -1;
                  x = 0.1;
                  y = 0.2;
                  w = 0.32;
                  h = (1 / 25);
              };
      
              class MainBackground: Life_RscText {
                  colorBackground[] = {0,0,0,0.7};
                  idc = -1;
                  x = 0.1;
                  y = 0.2 + (11 / 250);
                  w = 0.32;
                  h = 0.6 - (22 / 250);
              };
      
              class Title: Life_RscTitle {
                  colorBackground[] = {0,0,0,0};
                  idc = 38401;
                  text = "";
                  x = 0.1;
                  y = 0.2;
                  w = 0.32;
                  h = (1 / 25);
              };
      
              class itemInfo: Life_RscStructuredText {
                  idc = 38404;
                  text = "";
                  sizeEx = 0.035;
                  x = 0.11;
                  y = 0.68;
                  w = 0.2;
                  h = 0.2;
              };
      
              class FilterList: Life_RscCombo {
                  idc = 38402;
                  onLBSelChanged = "_this call life_fnc_weaponShopFilter";
                  x = 0.11;
                  y = 0.64;
                  w = 0.3;
                  h = 0.035;
              };
          };
      
          class controls {
              class itemList: Life_RscListBox {
                  idc = 38403;
                  onLBSelChanged = "_this call life_fnc_weaponShopSelection";
                  sizeEx = 0.035;
                  x = 0.11;
                  y = 0.25;
                  w = 0.3;
                  h = 0.38;
              };
      
              class ButtonBuySell: Life_RscButtonMenu {
                  idc = 38405;
                  text = "$STR_Global_Buy";
                  onButtonClick = "[] spawn life_fnc_weaponShopBuySell; true";
                  x = 0.1;
                  y = 0.8 - (1 / 25);
                  w = (6.25 / 40);
                  h = (1 / 25);
              };
      
              class ButtonClose: Life_RscButtonMenu {
                  idc = -1;
                  text = "$STR_Global_Close";
                  onButtonClick = "closeDialog 0;";
                  x = 0.1 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
                  y = 0.8 - (1 / 25);
                  w = (6.25 / 40);
                  h = (1 / 25);
              };
      
              class ButtonMags: Life_RscButtonMenu {
                  idc = 38406;
                  text = "$STR_Global_Mags";
                  onButtonClick = "_this call life_fnc_weaponShopMags; _this call life_fnc_weaponShopFilter";
                  x = 0.1;
                  y = 0.8 + (1 / 250 / (safezoneW / safezoneH));
                  w = (6.25 / 40);
                  h = (1 / 25);
              };
      
              class ButtonAccs: Life_RscButtonMenu {
                  idc = 38407;
                  text = "$STR_Global_Accs";
                  onButtonClick = "_this call life_fnc_weaponShopAccs; _this call life_fnc_weaponShopFilter";
                  x = 0.1 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
                  y = 0.8 + (1 / 250 / (safezoneW / safezoneH));
                  w = (6.25 / 40);
                  h = (1 / 25);
              };
          };
      };
      Alles anzeigen

      Einfach durch das Ersetzen:

      Spoiler anzeigen
      Code
      class GUI_1000 {
          idd = 1000;
          name = "GUI_1000";
          onLoad = "uiNamespace setVariable ['GUI_1000', _this select 0];";
          onUnLoad = "uiNamespace setVariable ['GUI_1000', nil];";
          movingEnable = false;
          enableSimulation = true;
      
          class controlsBackground {
          };
          class controls {
              class ButtonMenu_1101: RscButtonMenu
              {
                  idc = 1101;
                  text = "Kaufen";
                  x = 0.047308 * safezoneW + safezoneX;
                  y = 0.850863 * safezoneH + safezoneY;
                  w = 0.143229 * safezoneW;
                  h = 0.055555 * safezoneH;
                  ColorBackground[] = {0,0,0,0.627450};
                  ColorText[] = {1,1,1,1};
                  font = TahomaB;
                  colorFocused[] = {0,0,0,1};
                  colorDisabled[] = {0,0,0,1};
              };
              class Frame_1102: RscFrame
              {
                  idc = 1102;
                  x = 0.021788 * safezoneW + safezoneX;
                  y = 0.073086 * safezoneH + safezoneY;
                  w = 0.354687 * safezoneW;
                  h = 0.877777 * safezoneH;
                  ColorBackground[] = {0,0,0,0};
                  ColorText[] = {1,1,1,1};
              };
              class Button_1103: RscButton
              {
                  idc = 1103;
                  text = "Schließen";
                  x = 0.221527 * safezoneW + safezoneX;
                  y = 0.852715 * safezoneH + safezoneY;
                  w = 0.128125 * safezoneW;
                  h = 0.051851 * safezoneH;
                  ColorBackground[] = {0,0,0,0.627450};
                  ColorText[] = {1,1,1,1};
                  font = TahomaB;
                  colorFocused[] = {0,0,0,1};
                  colorDisabled[] = {0,0,0,1};
              };
              class Combobox_1105: RscCombo
              {
                  idc = 1105;
                  x = 0.041579 * safezoneW + safezoneX;
                  y = 0.802715 * safezoneH + safezoneY;
                  w = 0.315104 * safezoneW;
                  h = 0.037037 * safezoneH;
                  ColorBackground[] = {1,1,1,0};
                  ColorText[] = {1,1,1,1};
                  colorSelectBackground[] = {0,0,0,1};
                  colorSelect[] = {0,0,0,1};
              };
          };
      };
      Alles anzeigen

      ???

      [infobox]Anfänger[/infobox]

    • 1Manuel
      Anfänger
      Reaktionen
      1
      Trophäen
      7
      Beiträge
      54
      • 5. März 2019 um 19:44
      • #2

      Also halt die Namen und die IDs übernehmen?

      [infobox]Anfänger[/infobox]

    • Joe Barbaro
      Nerd
      Reaktionen
      199
      Trophäen
      8
      Beiträge
      688
      • 5. März 2019 um 21:57
      • #3

      Guck dir beide Dialoge an verfolg die IDD´s vom Orginal zurück.

      Und beim Rest Trail and Error ;)


      Mit freundlichen Grüßen

      Joe barbaro

      Entwickler vom Arma 3 Batch Generator


    Registrieren oder Einloggen

    Du bist noch kein Mitglied von Native-Servers.com? Registriere dich kostenlos und werde Teil einer großartigen Community!

    Benutzerkonto erstellen

    Ähnliche Themen

    • ArmA 3 Tutorials & Scripts Übersicht – Alle Anleitungen für Server, Modding & Scripting auf einen Blick

      • Marius1773
      • 31. Mai 2018 um 01:15
      • Tutorials & Releases

    Benutzer online in diesem Thema

    • 1 Besucher

    Wichtige Links & Informationen

    Server & Hosting-Ressourcen

      Server Administration & Hosting Basics

      Windows Server Support & Guides

      Linux Server Configuration & Help

      Setting up TeamSpeak 3 & VoIP Servers

      Domains & Web Hosting for Beginners & Professionals

      Cloud Hosting, Docker & Kubernetes Tutorials

    Gameserver & Modding-Ressourcen

      ArmA 3 Tutorials & Script Collection

      Renting & Operating Gameservers

      DayZ Server Management & Help

      FiveM (GTA V) Server & Script Development

      Rust Server Modding & Administration

      Setting up & Optimizing ARK Survival Servers

    NodeZone.net – Deine Community für Gameserver, Server-Hosting & Modding

      NodeZone.net ist dein Forum für Gameserver-Hosting, Rootserver, vServer, Webhosting und Modding. Seit 2015 bietet unsere Community eine zentrale Anlaufstelle für Server-Admins, Gamer und Technikbegeisterte, die sich über Server-Management, Hosting-Lösungen und Spielemodding austauschen möchten.


      Ob Anleitungen für eigene Gameserver, Hilfe bei Root- und vServer-Konfigurationen oder Tipps zu Modding & Scripting – bei uns findest du fundiertes Wissen und praxisnahe Tutorials. Mit einer stetig wachsenden Community findest du hier Antworten auf deine Fragen, Projektpartner und Gleichgesinnte für deine Gaming- und Serverprojekte. Schließe dich NodeZone.net an und werde Teil einer aktiven Community rund um Server-Hosting, Gameserver-Management und Modding-Ressourcen.

    Wer jetzt nicht teilt ist selber Schuld:
    1. Nutzungsbestimmungen
    2. Datenschutzerklärung
    3. Impressum
    4. Urheberrechts- oder Lizenzverstoß melden
  • Trimax Design coded & layout by Gino Zantarelli 2023-2025©
    Community-Software: WoltLab Suite™