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. Tutorials & Releases

    [Tutorial] Spawnmenü mit Kameraansicht

      • Altis Life
    • AmaZiinG
    • 3. Juni 2016 um 18:10
    • AmaZiinG
      Profi
      Reaktionen
      496
      Beiträge
      798
      Dateien
      4
      Bilder
      46
      • 3. Juni 2016 um 18:10
      • #1

      Ich übersetzte das Script nur !

      Der Autor ist RichHomieQuan !

      Bild:


      1. Dialogs\spawnSelection.hpp und löscht alles was drinnen steht und schreibt dafür das rein.

      SQL
      class life_spawn_selection {
          idd = 38500;
          movingEnable = 0;
          enableSimulation = 1;
          onLoad = "call (profilenamespace getvariable ""LastSpawnPoint"");";
          class controlsBackground {
            class life_RscTitleBackground: Life_RscText
            {
            	idc = -1;
      
      
      
      
            	x = 0.0410937 * safezoneW + safezoneX;
            	y = 0.368 * safezoneH + safezoneY;
            	w = 0.397031 * safezoneW;
            	h = 0.022 * safezoneH;
            	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])"};
            };
            class Title: Life_RscTitle
            {
            	idc = -1;
      
      
      
      
            	text = "Spawn Selection"; //--- ToDo: Localize;
            	x = 0.0410937 * safezoneW + safezoneX;
            	y = 0.368 * safezoneH + safezoneY;
            	w = 0.376406 * safezoneW;
            	h = 0.022 * safezoneH;
            	colorText[] = {0.95,0.95,0.95,1};
            };
            class SpawnPointTitle: Title
            {
            	idc = 38501;
            	style = 1;
      
      
      
      
            	text = "Spawn Selection"; //--- ToDo: Localize;
            	x = 0.04625 * safezoneW + safezoneX;
            	y = 0.368 * safezoneH + safezoneY;
            	w = 0.391875 * safezoneW;
            	h = 0.022 * safezoneH;
            	colorText[] = {0.95,0.95,0.95,1};
            };
            class Background_1: Life_RscText
            {
            	idc = 2200;
            	x = 0.041273 * safezoneW + safezoneX;
            	y = 0.39 * safezoneH + safezoneY;
            	w = 0.396876 * safezoneW;
            	h = 0.341 * safezoneH;
            	colorBackground[] = {0.188,0.188,0.188,0.5};
            };
            class MapView: Life_RscMapControl
            {
            	idc = 38502;
            	maxSatelliteAlpha = 0.75;
            	alphaFadeStartScale = 1.15;
            	alphaFadeEndScale = 1.29;
      
      
      
      
            	x = 0.2025 * safezoneW + safezoneX;
            	y = 0.39 * safezoneH + safezoneY;
            	w = 0.232031 * safezoneW;
            	h = 0.341 * safezoneH;
            };
          };
      
      
      
      
          class controls {
            class SpawnPointList: Life_RscListNBox
            {
            	idc = 38510;
            	coloumns[] = {0,0,0.9};
            	drawSideArrows = 0;
            	idcLeft = -1;
            	idcRight = -1;
            	rowHeight = 0.05;
            	onLBSelChanged = "_this call life_fnc_spawnPointSelected;";
      
      
      
      
            	x = 0.0410937 * safezoneW + safezoneX;
            	y = 0.39 * safezoneH + safezoneY;
            	w = 0.159844 * safezoneW;
            	h = 0.341 * safezoneH;
            };
            class spawnButton: Life_RscButtonMenu
            {
            	onButtonClick = "[] call life_fnc_spawnConfirm";
            	idc = 1006;
      
      
      
      
            	text = "Spawn"; //--- ToDo: Localize;
            	x = 0.0410937 * safezoneW + safezoneX;
            	y = 0.753 * safezoneH + safezoneY;
            	w = 0.159844 * safezoneW;
            	h = 0.033 * safezoneH;
            	colorText[] = {1,1,1,1};
            	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])",0.5};
            };
            class ReturnToLobbyButton: Life_RscButtonMenu
            {
            	onButtonClick = "endmission'memes';";
            	idc = 1007;
      
      
      
      
            	text = "Return To Lobby"; //--- ToDo: Localize;
            	x = 0.0410937 * safezoneW + safezoneX;
            	y = 0.797 * safezoneH + safezoneY;
            	w = 0.159844 * safezoneW;
            	h = 0.033 * safezoneH;
            	colorText[] = {1,1,1,1};
            	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])",0.5};
            };
      
      
      
      
          };
      };
      Alles anzeigen


      2. Dialogs\functions\fn_spawnMenu.sqf und löscht alles was drinnen steht und schreibt dafür das rein.

      SQL
      /*
          File: fn_spawnMenu.sqf
          Author: Bryan "Tonic" Boardwine
      
      
      
      
          Description:
          Initializes the spawn point selection menu.
      */
      private["_spCfg","_sp","_ctrl"];
      disableSerialization;
      
      
      
      
      if (life_is_arrested) exitWith {
          [] call life_fnc_respawned;
      };
      
      
      
      
      if (life_respawned) then {
          [] call life_fnc_respawned;
      };
      _SpawnCamera = "camera" camCreate (position player);
      _SpawnCamera cameraEffect ["internal","back"];
      _SpawnCamera camSetTarget vehicle player;
      _SpawnCamera camSetRelPos [1,4,3];
      _SpawnCamera camCommit 0;
      cutText["","PLAIN"];
      0 cutFadeOut 9999999;
      if (!(createDialog "life_spawn_selection")) exitWith {[] call life_fnc_spawnMenu;};
      (findDisplay 38500) displaySetEventHandler ["keyDown","_this call life_fnc_displayHandler"];
      
      
      
      
      _spCfg = [playerSide] call life_fnc_spawnPointCfg;
      
      
      
      
      _ctrl = ((findDisplay 38500) displayCtrl 38510);
      {
          _ctrl lnbAddRow[(_spCfg select _ForEachIndex) select 1,(_spCfg select _ForEachIndex) select 0,""];
          _ctrl lnbSetPicture[[_ForEachIndex,0],(_spCfg select _ForEachIndex) select 2];
          _ctrl lnbSetData[[_ForEachIndex,0],(_spCfg select _ForEachIndex) select 0];
      } forEach _spCfg;
      
      
      
      
      _sp = _spCfg select 0; //First option is set by default
      
      
      
      
      [((findDisplay 38500) displayCtrl 38502),1,0.1,getMarkerPos (_sp select 0)] call life_fnc_setMapPosition;
      life_spawn_point = _sp;
      
      
      
      
      ctrlSetText[38501,format["%2: %1",_sp select 1,localize "STR_Spawn_CSP"]];
      Alles anzeigen


      3. Dialogs\functions\fn_spawnConfirm.sqf und macht das selbe wie gerade eben alles wieder löschen und das hier einfügen.

      SQL
      /*
          File: fn_spawnConfirm.sqf
          Author: Bryan "Tonic" Boardwine
      
      
      
      
          Description:
          Spawns the player where he selected.
      */
      private["_spCfg","_sp","_spawnPos"];
      closeDialog 0;
      cutText ["","BLACK IN"];
      player cameraEffect ["terminate","back"];
      camDestroy _camera;
      if (life_spawn_point isEqualTo []) then {
          private["_sp","_spCfg"];
          _spCfg = [playerSide] call life_fnc_spawnPointCfg;
          _sp = _spCfg select 0;
      
      
      
      
          if (playerSide == civilian) then {
              if (isNil {(call compile format["%1", _sp select 0])}) then {
                  player setPos (getMarkerPos (_sp select 0));
              } else {
                  _spawnPos = (call compile format["%1", _sp select 0]) call BIS_fnc_selectRandom;
                  _spawnPos = _spawnPos buildingPos 0;
                  player setPos _spawnPos;
              };
          } else {
              player setPos (getMarkerPos (_sp select 0));
          };
          titleText[format["%2 %1",_sp select 1,localize "STR_Spawn_Spawned"],"BLACK IN"];
      } else {
          if (playerSide == civilian) then {
              if (isNil {(call compile format["%1",life_spawn_point select 0])}) then {
                  if (["house",life_spawn_point select 0] call BIS_fnc_inString) then {
                      private["_bPos","_house","_pos"];
                      _house = nearestObjects [getMarkerPos (life_spawn_point select 0),["House_F"],10] select 0;
                      _bPos = [_house] call life_fnc_getBuildingPositions;
      
      
      
      
                      if (_bPos isEqualTo []) exitWith {
                          player setPos (getMarkerPos (life_spawn_point select 0));
                      };
      
      
      
      
                      {_bPos = _bPos - [(_house buildingPos _x)];} forEach (_house getVariable ["slots",[]]);
                      _pos = _bPos call BIS_fnc_selectRandom;
                      player setPosATL _pos;
                  } else {
                      player setPos (getMarkerPos (life_spawn_point select 0));
                  };
              } else {
                  _spawnPos = (call compile format["%1", life_spawn_point select 0]) call BIS_fnc_selectRandom;
                  _spawnPos = _spawnPos buildingPos 0;
                  player setPos _spawnPos;
              };
          } else {
              player setPos (getMarkerPos (life_spawn_point select 0));
          };
          titleText[format["%2 %1",life_spawn_point select 1,localize "STR_Spawn_Spawned"],"BLACK IN"];
      };
      
      
      
      
      if (life_firstSpawn) then {
          life_firstSpawn = false;
          [] call life_fnc_welcomeNotification;
      };
      [] call life_fnc_playerSkins;
      [] call life_fnc_hudSetup;
      Alles anzeigen


      So jetzt seid ihr fertig viel Spaß

      Mein Discord:
      https://discord.gg/4UMWmpfDet

    • Plotmod
      Schüler
      Reaktionen
      46
      Trophäen
      11
      Beiträge
      90
      • 3. Juni 2016 um 20:51
      • #2

      Nicht schlecht, kann man aber noch ein bisschen verschönern ^^

      Mit freundlichen Grüßen

      Plotmod

    • dreamer
      Frischling
      Trophäen
      9
      Beiträge
      2
      • 1. April 2017 um 14:02
      • #3

      This hotel is located in the city center.

    • GermanBolle
      Fortgeschrittener
      Reaktionen
      59
      Trophäen
      9
      Beiträge
      358
      Dateien
      1
      Bilder
      14
      • 1. April 2017 um 17:19
      • #4

      nicht schlecht kommt mir bekannt vor

      Mein beitrag zur NN Community:
      [Tutorial] Live Mapping Server Erstellen

    • dreamer
      Frischling
      Trophäen
      9
      Beiträge
      2
      • 8. April 2017 um 14:30
      • #5

      dosent work does any1 have the fix 4 this please

    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

    • Markt Bug -> Keine Sachen mehr am Normalen markt kaufen | Beim Spawnen hängt man auf der Spawn insel nach Tot

      • TW_Sebastian
      • 1. Mai 2017 um 11:42
      • Hilfeforum

    Tags

    • spawnmenü
    • spawn menü

    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™