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
Di: 20 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

    Civ Spawn punkt Problem 4.5

    • haubi
    • 28. September 2016 um 17:03
    • Geschlossen
    • Erledigt
    • haubi
      Anfänger
      Reaktionen
      1
      Trophäen
      9
      Beiträge
      34
      • 28. September 2016 um 17:03
      • #1

      Hallo ich bin gerade dabei meine Spawn punkte neu zu machen aller ding habe ich ein Problem sobald ich raus nehme das er im haus Spawnen soll und dann den Spawn punkten die ich haben will dann spawn ich nur auf der insel aber net da wo ich es wollte


      fn_initCiv

      Code
      #include "..\script_macros.hpp"
      /*
          File: fn_initCiv.sqf
          Author: Bryan "Tonic" Boardwine
      
      
      
      
          Description:
          Initializes the civilian.
      */
      private "_spawnPos";
      _altisArray = ["Land_i_Shop_01_V1_F","Land_i_Shop_01_V2_F","Land_i_Shop_01_V3_F","Land_i_Shop_02_V1_F","Land_i_Shop_02_V2_F","Land_i_Shop_02_V3_F"];
      _tanoaArray = ["Land_House_Small_01_F"];
      private _spawnBuildings = ALTIS_TANOA(_altisArray,_tanoaArray);
      
      
      
      
      civ_spawn_1 = nearestObjects[getMarkerPos  "civ_spawn_1", _spawnBuildings,350];
      civ_spawn_2 = nearestObjects[getMarkerPos  "civ_spawn_2", _spawnBuildings,350];
      civ_spawn_3 = nearestObjects[getMarkerPos  "civ_spawn_3", _spawnBuildings,350];
      civ_spawn_4 = nearestObjects[getMarkerPos  "civ_spawn_4", _spawnBuildings,350];
      
      
      
      
      waitUntil {!(isNull (findDisplay 46))};
      if (life_is_alive && !life_is_arrested) then {
          /* Spawn at our last position */
          player setVehiclePosition [life_civ_position, [], 0, "CAN_COLLIDE"];
      } else {
          if (!life_is_alive && !life_is_arrested) then {
              if (LIFE_SETTINGS(getNumber,"save_civilian_positionStrict") isEqualTo 1) then {
                  _handle = [] spawn life_fnc_civLoadout;
                  waitUntil {scriptDone _handle};
                  CASH = 0;
                  [0] call SOCK_fnc_updatePartial;
              };
              [] call life_fnc_spawnMenu;
              waitUntil{!isNull (findDisplay 38500)}; //Wait for the spawn selection to be open.
              waitUntil{isNull (findDisplay 38500)}; //Wait for the spawn selection to be done.
          } else {
              if (life_is_arrested) then {
                  life_is_arrested = false;
                  [player,true] spawn life_fnc_jail;
              };
          };
      };
      life_is_alive = true;
      player addRating 9999999;
      Alles anzeigen

      und meine

      Config_SpawnPoints

      Code
      /*
      *    Format:
      *        licenses: ARRAY (This is for limiting spawn to certain things)
      *           0: License Name
      *           1: License Check Type
      *                false: If license isn't set
      *                true: If license is set
      *           Example:
      *                licenses[] = { { "pilot", true }, { "rebel", false } }; //Shows up for players with pilot and without rebel license.
      *
      *        level: ARRAY (This is for limiting spawn to certain things)
      *            0: Variable to read from
      *            1: Variable Value Type (SCALAR / BOOL / EQUAL / INVERSE)
      *                SCALAR: VALUE => VALUE
      *                BOOL: VALUE EXISTS
      *                EQUAL: VALUE == VALUE
      *                INVERSE: VALUE <= VALUE
      *            2: What to compare to (-1 = Check Disabled)
      *
      */
      class CfgSpawnPoints {
      
      
      
      
          class Altis {
              class Civilian {
                  class Kavala {
                      displayName = "Kavala";
                      spawnMarker = "civ_spawn_1";
                      icon = "\a3\ui_f\data\map\MapControl\watertower_ca.paa";
                      licenses[] = { { "rebel", false } };
                      level[] = { "", "", -1 };
                  };
      
      
      
      
                  class Athira {
                      displayName = "Athira";
                      spawnMarker = "civ_spawn_3";
                      icon = "\a3\ui_f\data\map\MapControl\watertower_ca.paa";
                      licenses[] = { { "", true } };
                      level[] = { "", "", -1 };
                  };
      
      
      
      
                  class Pyrgos {
                      displayName = "Pyrgos";
                      spawnMarker = "civ_spawn_2";
                      icon = "\a3\ui_f\data\map\MapControl\watertower_ca.paa";
                      licenses[] = { { "", true } };
                      level[] = { "", "", -1 };
                  };
      
      
      
      
                  class Sofia {
                      displayName = "Sofia";
                      spawnMarker = "civ_spawn_4";
                      icon = "\a3\ui_f\data\map\MapControl\watertower_ca.paa";
                      licenses[] = { { "", true } };
                      level[] = { "", "", -1 };
                  };
      
      
      
      
                  class RebelN {
                      displayName = "Northern Rebel Base";
                      spawnMarker = "Rebelop";
                      icon = "\a3\ui_f\data\map\MapControl\bunker_ca.paa";
                      licenses[] = { { "rebel", true } };
                      level[] = { "", "", -1 };
                  };
      
      
      
      
                  class RebelS {
                      displayName = "Southern Rebel Base";
                      spawnMarker = "Rebelop_1";
                      icon = "\a3\ui_f\data\map\MapControl\bunker_ca.paa";
                      licenses[] = { { "rebel", true } };
                      level[] = { "", "", -1 };
                  };
      
      
      
      
                  class RebelE {
                      displayName = "Eastern Rebel Base";
                      spawnMarker = "Rebelop_2";
                      icon = "\a3\ui_f\data\map\MapControl\bunker_ca.paa";
                      licenses[] = { { "rebel", true } };
                      level[] = { "", "", -1 };
                  };
              };
      
      
      
      
              class Cop {
                  class Kavala {
                      displayName = "Kavala HQ";
                      spawnMarker = "cop_spawn_1";
                      icon = "\a3\ui_f\data\map\MapControl\watertower_ca.paa";
                      licenses[] = { { "", true } };
                      level[] = { "", "", -1 };
                  };
      
      
      
      
                  class Athira {
                      displayName = "Athira HQ";
                      spawnMarker = "cop_spawn_3";
                      icon = "\a3\ui_f\data\map\MapControl\fuelstation_ca.paa";
                      licenses[] = { { "", true } };
                      level[] = { "", "", -1 };
                  };
      
      
      
      
                  class Pyrgos {
                      displayName = "Pyrgos HQ";
                      spawnMarker = "cop_spawn_2";
                      icon = "\a3\ui_f\data\map\GroupIcons\badge_rotate_0_gs.paa";
                      licenses[] = { { "", true } };
                      level[] = { "", "", -1 };
                  };
      
      
      
      
                  class Air {
                      displayName = "Air HQ";
                      spawnMarker = "cop_spawn_4";
                      icon = "\a3\ui_f\data\map\Markers\NATO\b_air.paa";
                      licenses[] = { { "cAir", true } };
                      level[] = { "life_coplevel", "SCALAR", 2 };
                  };
      
      
      
      
                  class HW {
                      displayName = "HW Patrol";
                      spawnMarker = "cop_spawn_5";
                      icon = "\a3\ui_f\data\map\GroupIcons\badge_rotate_0_gs.paa";
                      licenses[] = { { "", true } };
                      level[] = { "life_coplevel", "SCALAR", 3 };
                  };
              };
      
      
      
      
              class Medic {
                  class Kavala {
                      displayName = "Kavala Hospital";
                      spawnMarker = "medic_spawn_1";
                      icon = "\a3\ui_f\data\map\MapControl\hospital_ca.paa";
                      licenses[] = { { "", true } };
                      level[] = { "", "", -1 };
                  };
      
      
      
      
                  class Athira {
                      displayName = "Athira Regional";
                      spawnMarker = "medic_spawn_2";
                      icon = "\a3\ui_f\data\map\MapControl\hospital_ca.paa";
                      licenses[] = { { "", true } };
                      level[] = { "", "", -1 };
                  };
      
      
      
      
                  class Pyrgos {
                      displayName = "Pyrgos Hospital";
                      spawnMarker = "medic_spawn_3";
                      icon = "\a3\ui_f\data\map\MapControl\hospital_ca.paa";
                      licenses[] = { { "", true } };
                      level[] = { "", "", -1 };
                  };
              };
          };
      
      
      
      
          class Tanoa {
      
      
      
      
              class Civilian {
                  class Georgetown {
                      displayName = "Georgetown";
                      spawnMarker = "civ_spawn_1";
                      icon = "\a3\ui_f\data\map\MapControl\watertower_ca.paa";
                      licenses[] = { { "", true } };
                      level[] = { "", "", -1 };
                  };
      
      
      
      
                  class Balavu {
                      displayName = "Balavu";
                      spawnMarker = "civ_spawn_3";
                      icon = "\a3\ui_f\data\map\MapControl\watertower_ca.paa";
                      licenses[] = { { "", true } };
                      level[] = { "", "", -1 };
                  };
      
      
      
      
                  class Tuvanaka {
                      displayName = "Tuvanaka";
                      spawnMarker = "civ_spawn_2";
                      icon = "\a3\ui_f\data\map\MapControl\watertower_ca.paa";
                      licenses[] = { { "", true } };
                      level[] = { "", "", -1 };
                  };
      
      
      
      
                  class Lijnhaven {
                      displayName = "Lijnhaven";
                      spawnMarker = "civ_spawn_4";
                      icon = "\a3\ui_f\data\map\MapControl\watertower_ca.paa";
                      licenses[] = { { "", true } };
                      level[] = { "", "", -1 };
                  };
      
      
      
      
                  class RebelNW {
                      displayName = "North Western Rebel Base";
                      spawnMarker = "Rebelop";
                      icon = "\a3\ui_f\data\map\MapControl\bunker_ca.paa";
                      licenses[] = { { "rebel", true } };
                      level[] = { "", "", -1 };
                  };
      
      
      
      
                  class RebelS {
                      displayName = "Southern Rebel Base";
                      spawnMarker = "Rebelop_1";
                      icon = "\a3\ui_f\data\map\MapControl\bunker_ca.paa";
                      licenses[] = { { "rebel", true } };
                      level[] = { "", "", -1 };
                  };
      
      
      
      
                  class RebelNE {
                      displayName = "North Eastern Rebel Base";
                      spawnMarker = "Rebelop_2";
                      icon = "\a3\ui_f\data\map\MapControl\bunker_ca.paa";
                      licenses[] = { { "rebel", true } };
                      level[] = { "", "", -1 };
                  };
              };
      
      
      
      
              class Cop {
                  class NAirport {
                      displayName = "North Airport HQ";
                      spawnMarker = "cop_spawn_1";
                      icon = "\a3\ui_f\data\map\MapControl\watertower_ca.paa";
                      licenses[] = { { "", true } };
                      level[] = { "", "", -1 };
                  };
      
      
      
      
                  class SWAirport {
                      displayName = "South Western Airport HQ";
                      spawnMarker = "cop_spawn_3";
                      icon = "\a3\ui_f\data\map\MapControl\fuelstation_ca.paa";
                      licenses[] = { { "", true } };
                      level[] = { "", "", -1 };
                  };
      
      
      
      
                  class GeorgetownHQ {
                      displayName = "Georgetown HQ";
                      spawnMarker = "cop_spawn_2";
                      icon = "\a3\ui_f\data\map\GroupIcons\badge_rotate_0_gs.paa";
                      licenses[] = { { "", true } };
                      level[] = { "", "", -1 };
                  };
      
      
      
      
                  class Air {
                      displayName = "Air HQ";
                      spawnMarker = "cop_spawn_4";
                      icon = "\a3\ui_f\data\map\Markers\NATO\b_air.paa";
                      licenses[] = { { "cAir", true } };
                      level[] = { "life_coplevel", "SCALAR", 2 };
                  };
      
      
      
      
                  class HW {
                      displayName = "HW Patrol";
                      spawnMarker = "cop_spawn_5";
                      icon = "\a3\ui_f\data\map\GroupIcons\badge_rotate_0_gs.paa";
                      licenses[] = { { "", true } };
                      level[] = { "life_coplevel", "SCALAR", 3 };
                  };
              };
      
      
      
      
              class Medic {
      
      
      
      
                  class SEHospital {
                      displayName = "South East Hospital";
                      spawnMarker = "medic_spawn_1";
                      icon = "\a3\ui_f\data\map\MapControl\hospital_ca.paa";
                      licenses[] = { { "", true } };
                      level[] = { "", "", -1 };
                  };
      
      
      
      
                  class TanoukaHospital {
                      displayName = "Tanouka Regional";
                      spawnMarker = "medic_spawn_2";
                      icon = "\a3\ui_f\data\map\MapControl\hospital_ca.paa";
                      licenses[] = { { "", true } };
                      level[] = { "", "", -1 };
                  };
      
      
      
      
                  class NEAirportHospital {
                      displayName = "North East Airport Hospital";
                      spawnMarker = "medic_spawn_3";
                      icon = "\a3\ui_f\data\map\MapControl\hospital_ca.paa";
                      licenses[] = { { "", true } };
                      level[] = { "", "", -1 };
                  };
      
      
      
      
              };
      
      
      
      
          };
      
      
      
      
      };
      Alles anzeigen

      Besuche Und auf http://www.whitesharks-gaming.ws

      Gerne auch im Ts3:5.9.20.170 oder 5.9.20.170.2302

    • blackfisch
      Legende
      Reaktionen
      2.944
      Trophäen
      9
      Beiträge
      5.966
      Dateien
      6
      Bilder
      63
      • 28. September 2016 um 19:27
      • #2

      Einfach die ersten Zeilen der initCiv auskommentieren/löschen:

      C
      #include "..\script_macros.hpp"
      /*
       File: fn_initCiv.sqf
       Author: Bryan "Tonic" Boardwine
      
      
      
      
       Description:
       Initializes the civilian.
      */
      /*private "_spawnPos";
      _altisArray = ["Land_i_Shop_01_V1_F","Land_i_Shop_01_V2_F","Land_i_Shop_01_V3_F","Land_i_Shop_02_V1_F","Land_i_Shop_02_V2_F","Land_i_Shop_02_V3_F"];
      _tanoaArray = ["Land_House_Small_01_F"];
      private _spawnBuildings = ALTIS_TANOA(_altisArray,_tanoaArray);
      
      
      
      
      civ_spawn_1 = nearestObjects[getMarkerPos "civ_spawn_1", _spawnBuildings,350];
      civ_spawn_2 = nearestObjects[getMarkerPos "civ_spawn_2", _spawnBuildings,350];
      civ_spawn_3 = nearestObjects[getMarkerPos "civ_spawn_3", _spawnBuildings,350];
      civ_spawn_4 = nearestObjects[getMarkerPos "civ_spawn_4", _spawnBuildings,350];*/
      
      
      
      
      waitUntil {!(isNull (findDisplay 46))};
      if (life_is_alive && !life_is_arrested) then {
       /* Spawn at our last position */
       player setVehiclePosition [life_civ_position, [], 0, "CAN_COLLIDE"];
      } else {
       if (!life_is_alive && !life_is_arrested) then {
       if (LIFE_SETTINGS(getNumber,"save_civilian_positionStrict") isEqualTo 1) then {
       _handle = [] spawn life_fnc_civLoadout;
       waitUntil {scriptDone _handle};
       CASH = 0;
       [0] call SOCK_fnc_updatePartial;
       };
       [] call life_fnc_spawnMenu;
       waitUntil{!isNull (findDisplay 38500)}; //Wait for the spawn selection to be open.
       waitUntil{isNull (findDisplay 38500)}; //Wait for the spawn selection to be done.
       } else {
       if (life_is_arrested) then {
       life_is_arrested = false;
       [player,true] spawn life_fnc_jail;
       };
       };
      };
      life_is_alive = true;
      player addRating 9999999;
      Alles anzeigen

      #MakeArmaNotWar

      Kein Support via PN & Steam! / No Support via DM & Steam!


      Mit freundlichen Grüßen
      blackfisch
      ______________________

      Web: blackfisch.me

      GitHub: GitHub.com/blackfisch

      Mail: [email protected]

      ______________________
      Wichtige Links:
      [Erklärung|Leitfaden] Code Optimierung

      [Tutorial] life_fnc_MP zu remoteExec

      Ohne Logs & entsprechende Dateien kein Support!

      ______________________

    Registrieren oder Einloggen

    Du bist noch kein Mitglied von NodeZone.net? Registriere dich kostenlos und werde Teil einer großartigen Community!

    Registrieren

    Ähnliche Themen

    • Donator Shop und Regeln.

      • R3DEX
      • 20. August 2017 um 10:09
      • Hilfeforum
    • Medic Heli Spawn

      • R3DEX
      • 9. August 2017 um 11:08
      • Hilfeforum
    • setting Up Client Altis life 5.0

      • LeeCetamol
      • 6. August 2017 um 16:04
      • Hilfeforum
    • Gemooddete Map | Spawn punkte ändern

      • Dukes
      • 14. Mai 2017 um 18:14
      • Hilfeforum
    • 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
    • Medic Heli Garagen Spawn beim 0 punkt der karte !!!!!HILFE!!!!!

      • amogus
      • 21. Oktober 2016 um 01:26
      • Hilfeforum

    Tags

    • Tanoa Life
    • spawn
    • Arma3

    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™