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
Do: 07 Mai 2026
  • Anmelden oder registrieren
  • Suche
Alles
  • Alles
  • 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. Mitglieder
    3. blackfisch

    Beiträge von blackfisch

    • Map wechsel

      • blackfisch
      • 4. Juli 2016 um 18:57

      At least die Lösung posten?

    • Spieler haben einen grün leuchtenen Punkt

      • blackfisch
      • 4. Juli 2016 um 18:56

      Das "Problem" ist ein Feature von Altis Life :p

    • Hotkey für die Spitzhacke

      • blackfisch
      • 4. Juli 2016 um 18:34

      Recht haben beide trotzdem, etwas unnötig viel Code, da die Debug-Abfragen auch in der fn_pickAxeUse gemacht werden ;)

    • Wie kann man bei Leitkegel (Z-Item Objekte) die Animation aktivieren?

      • blackfisch
      • 4. Juli 2016 um 00:30

      Kein Ding, immer wieder gerne :D

    • Rebellen Festnehmen & Escortieren

      • blackfisch
      • 3. Juli 2016 um 23:38

      In der 4.0 ist beides auf Shift + R

      C: fn_keyHandler.sqf
      //Restraining or robbing (Shift + R)
      	case 19:
      	{
      		if(_shift) then {_handled = true;};
      		if(_shift && playerSide == west && !isNull cursorTarget && cursorTarget isKindOf "Man" && (isPlayer cursorTarget) && (side cursorTarget == civilian) && alive cursorTarget && cursorTarget distance player < 3.5 && !(cursorTarget GVAR "Escorting") && !(cursorTarget GVAR "restrained") && speed cursorTarget < 1) then
      		{
      			[] call life_fnc_restrainAction;
      		};
      
      		//Robbing
      		if(_shift && playerSide == civilian && !isNull cursorTarget && cursorTarget isKindOf "Man" && isPlayer cursorTarget && alive cursorTarget && cursorTarget distance player < 4 && speed cursorTarget < 1) then
      		{
      			if((animationState cursorTarget) != "Incapacitated" && (currentWeapon player == RIFLE OR currentWeapon player == PISTOL) && currentWeapon player != "" && !life_knockout && !(player GVAR["restrained",false]) && !life_istazed && !(player GVAR["surrender",false])) then
      			{
      				[cursorTarget] spawn life_fnc_knockoutAction;
      			};
      			_handled = true;
      		};
      	};
      Alles anzeigen
    • Rebellen Festnehmen & Escortieren

      • blackfisch
      • 3. Juli 2016 um 23:36

      Wait a sec, hab aus der 4.4 genommen...

    • Rebellen Festnehmen & Escortieren

      • blackfisch
      • 3. Juli 2016 um 23:33

      1. Kabelbinder gibt es nicht in Altis Life Vanilla
      2. Festnehmen ist drin

      C: fn_keyHandler.sqf
      //Restraining (Shift + R)
      case 19: {
          if (_shift) then {_handled = true;};
          if (_shift && playerSide isEqualTo west && {!isNull cursorObject} && {cursorObject isKindOf "Man"} && {(isPlayer cursorObject)} && {(side cursorObject in [civilian,independent])} && {alive cursorObject} && {cursorObject distance player < 3.5} && {!(cursorObject getVariable "Escorting")} && {!(cursorObject getVariable "restrained")} && {speed cursorObject < 1}) then {
              [] call life_fnc_restrainAction;
          };
      };

      3. Ausrauben ist drin

      C: fn_setupActions.sqf
      //Rob person
      life_actions = life_actions + [player addAction[localize "STR_pAct_RobPerson",life_fnc_robAction,"",0,false,false,"",'!isNull cursorObject && player distance cursorObject < 3.5 && isPlayer cursorObject && animationState cursorObject == "Incapacitated" && !(cursorObject getVariable ["robbed",false]) ']];

      4. Niederschlagen ist drin

      C: fn_keyHandler.sqf
      //Knock out, this is experimental and yeah... (Shift + G)
      case 34: {
      	if (_shift) then {_handled = true;};
      	if (_shift && playerSide isEqualTo civilian && !isNull cursorObject && cursorObject isKindOf "Man" && isPlayer cursorObject && alive cursorObject && cursorObject distance player < 4 && speed cursorObject < 1) then {
      		if ((animationState cursorObject) != "Incapacitated" && (currentWeapon player == primaryWeapon player || currentWeapon player == handgunWeapon player) && currentWeapon player != "" && !life_knockout && !(player getVariable ["restrained",false]) && !life_istazed && !life_isknocked) then {
      			cursorObject] spawn life_fnc_knockoutAction;
      		};
      	};
      };


      Eskortieren bin ich mir jetzt nicht einmal mehr zu 100% sicher... aber der Rest auf jeden Fall.

    • Rebellen Festnehmen & Escortieren

      • blackfisch
      • 3. Juli 2016 um 22:23

      Korrigiere mich wenn ich falsch liege, aber ist das nicht Standard?

    • Lösung bei den Tutorials

      • blackfisch
      • 3. Juli 2016 um 20:50

      Syntax Highlighting: http://www.armaholic.com/page.php?id=8680
      Das macht dir den ganzen Kram schön bunt und lesbar ;)

    • Lösung bei den Tutorials

      • blackfisch
      • 3. Juli 2016 um 20:48

      Am besten weißt du wie ein Script auszusehen hat und wie der Syntax ist - dann sollte das ganze kein Problem für dich sein das aus einer in mehrere Zeilen zu schreiben ;)

    • Hotkey für die Spitzhacke

      • blackfisch
      • 3. Juli 2016 um 20:32

      kein Ding für den King :D

    • Hotkey für die Spitzhacke

      • blackfisch
      • 3. Juli 2016 um 20:26

      @GamerTV ich hab dir das ganze mal eben korrigiert...

      C
      //shift+c pioche 4.0 4.3 4.4
      case 46: { 
       if(_shift && (!life_action_inUse) && (vehicle player == player) ) then 
       {
        _item = "";
        { if(typeName _x == typeName "") then {_item = _x;} else {_item = configName _x};
      	_val = ITEM_VALUE(_item);
      	if(_val > 0 ) then {
      	 if( _item == "pickaxe" ) then
      	 {
      	  [] spawn life_fnc_pickAxeUse;
      	 };
      	};
        } foreach ("true" configClasses (missionConfigFile >> "VirtualItems"));
       };
      };
      Alles anzeigen
    • Hotkey für die Spitzhacke

      • blackfisch
      • 3. Juli 2016 um 20:23
      Zitat von GamerTV

      //shift+c pioche 4.0 4.3 4.4//shift+c pioche 4.0 4.3 4.4
      case 46:case 46:
      { {
      if(_shift && (!life_action_inUse) && (vehicle player == player) ) thenif(_shift && (!life_action_inUse) && (vehicle player == player) ) then
      {{
      _item = "";= "";
      {{
      if(typeName _x == typeName "") then {_item = _x;} else {_item = configName _x};if(typeName _x == typeName "") then {_item = _x;} else {_item = configName _x};
      _val = ITEM_VALUE(_item);= ITEM_VALUE(_item);
      if(_val > 0 ) thenif(_val > 0 ) then
      {{
      if( _item == "pickaxe" ) thenif( _item == "pickaxe" ) then
      {{
      [] spawn life_fnc_pickAxeUse;[] spawn life_fnc_pickAxeUse;
      };};
      };};
      } foreach ("true" configClasses (missionConfigFile >> "VirtualItems"));} foreach ("true" configClasses (missionConfigFile >> "VirtualItems"));
      }}
      };};

      Alles anzeigen


      sicher das das richtig ist? sieht sehr falsch aus... überprüf das ganze nochmal bitte!

    • Frage Lakeside Tablet

      • blackfisch
      • 3. Juli 2016 um 17:13

      Um die KI zu deaktivieren, setzte folgende Zeile in deine description.ext:
      disabledAI = 1;

    • Wie kann man bei Leitkegel (Z-Item Objekte) die Animation aktivieren?

      • blackfisch
      • 3. Juli 2016 um 17:12

      Hey, du kannst das ganze auch in einen Dialog auslagern und ersparst dir so die zusätzlichen Items:
      [RELEASE] Cops\Medics Barrier Placeables - Road cone/barrier placement [Dialogs] - Any - Altis Life RPG

      life_bar_limit ist dabei die Variable die angibt, wie viele Objekte pro Person maximal gesetzt werden können (weniger Objekte = weniger benötigte Rechenleistung)

    • [4.4r3] Error loading control

      • blackfisch
      • 3. Juli 2016 um 17:08

      Hey Leute, ich bin grade ein bisschen am Verzweifeln und ich finde den Fehler nicht...
      Ich wollte eigentlich nur einen Dialog zum Kaufen/Verkaufen von Lizenzen einfügen und stehe grade etwas auf dem Schlauch... soweit ist alles auf 4.4 umgeschrieben, nur der Dialog macht Probleme. Client RPT spuckt aus:

      Zitat

      14:49:46 Error loading control mpmissions\__CUR_MP.[lexicon]Tanoa[/lexicon]\http://description.ext/LicenseShop/co…itleBackground/
      14:49:46 Error loading control mpmissions\__CUR_MP.[lexicon]Tanoa[/lexicon]\http://description.ext/LicenseShop/controls/Mainbackground/
      14:49:46 Error loading control mpmissions\__CUR_MP.[lexicon]Tanoa[/lexicon]\http://description.ext/LicenseShop/controls/listbox/
      14:49:46 Error loading control mpmissions\__CUR_MP.[lexicon]Tanoa[/lexicon]\http://description.ext/LicenseShop/co…icenseslistbox/
      14:49:46 Error loading control mpmissions\__CUR_MP.[lexicon]Tanoa[/lexicon]\http://description.ext/LicenseShop/controls/MyLicenses/
      14:49:46 Error loading control mpmissions\__CUR_MP.[lexicon]Tanoa[/lexicon]\http://description.ext/LicenseShop/controls/ShowLicenses/
      14:49:46 Error loading control mpmissions\__CUR_MP.[lexicon]Tanoa[/lexicon]\http://description.ext/LicenseShop/controls/buybutton/
      14:49:46 Error loading control mpmissions\__CUR_MP.[lexicon]Tanoa[/lexicon]\http://description.ext/LicenseShop/controls/sellButton/

      Alles anzeigen

      Hier die besagte LicenseDialog.hpp mit der Class LicenseShop:

      C: LicenseDialog.hpp
      class LicenseShop {
      idd = 5546;
      name= "life_license_shop";
      movingEnable = false;
      enableSimulation = true;
      onLoad = "uiNamespace setVariable [""LicenseShop"", _this select 0];";
      objects[] = { };
          class controls {
              class RscTitleBackground: Life_RscText
              {
                  idc = -1;
                  text = "Lizenzen"; //--- ToDo: Localize;
                  x = 4 * GUI_GRID_W + GUI_GRID_X;
                  y = 5 * GUI_GRID_H + GUI_GRID_Y;
                  w = 31 * GUI_GRID_W;
                  h = 1 * GUI_GRID_H;
      			colorBackground[] = {0.18,0.604,0.996,1};
      		};
              class Mainbackground: Life_RscText
              {
                  idc = -1;
                  x = 4 * GUI_GRID_W + GUI_GRID_X;
                  y = 6.1 * GUI_GRID_H + GUI_GRID_Y;
                  w = 31 * GUI_GRID_W;
                  h = 13 * GUI_GRID_H;
                  colorBackground[] = {0,0,0,0.7};
              };
              class listbox: Life_RscListBox
              {
                  idc = 55126;
                  sizeEx = 0.035;
                  x = 4.5 * GUI_GRID_W + GUI_GRID_X;
                  y = 7.5 * GUI_GRID_H + GUI_GRID_Y;
                  w = 12.5 * GUI_GRID_W;
                  h = 10 * GUI_GRID_H;
              };
              class ShowLicenseslistbox: Life_RscListBox
              {
                  idc = 55131;
                  sizeEx = 0.035;
                  x = 22 * GUI_GRID_W + GUI_GRID_X;
                  y = 7.5 * GUI_GRID_H + GUI_GRID_Y;
                  w = 12.5 * GUI_GRID_W;
                  h = 10 * GUI_GRID_H;
              };
              class MyLicenses: Life_RscText
              {
                  idc = 55130;
                  text = "Zum Kauf"; //--- ToDo: Localize;
                  x = 7.5 * GUI_GRID_W + GUI_GRID_X;
                  y = 6 * GUI_GRID_H + GUI_GRID_Y;
                  w = 5.5 * GUI_GRID_W;
                  h = 1 * GUI_GRID_H;
              };
              class ShowLicenses: Life_RscText
              {
                  idc = 55129;
                  text = "Lizenzen"; //--- ToDo: Localize;
                  x = 26 * GUI_GRID_W + GUI_GRID_X;
                  y = 6 * GUI_GRID_H + GUI_GRID_Y;
                  w = 5.5 * GUI_GRID_W;
                  h = 1 * GUI_GRID_H;
              };
              class buybutton: Life_RscButtonMenu
              {
                  idc = 55127;
                  action = "if( (lbData[55126,lbCurSel (55126)] != """") ) then { [false, false, false, lbData[55126,lbCurSel (55126)]] call life_fnc_buyLicense; closeDialog 0; };";
                  text = "Kaufen"; //--- ToDo: Localize;
                  x = 14 * GUI_GRID_W + GUI_GRID_X;
                  y = 18 * GUI_GRID_H + GUI_GRID_Y;
                  w = 6 * GUI_GRID_W;
                  h = 1 * GUI_GRID_H;
                  colorText[] = {1,1,1,1};
                  colorBackground[] = {0,0,0,0.8};
              };
              class sellButton: Life_RscButtonMenu
              {
                  idc = 55128;
                  action = "if( (lbData[55131,lbCurSel (55131)] != """") ) then { [false, false, false, lbData[55131,lbCurSel (55131)]] call life_fnc_sellLicense; closeDialog 0; };";
                  text = "Verkaufen"; //--- ToDo: Localize;
                  x = 20 * GUI_GRID_W + GUI_GRID_X;
                  y = 18 * GUI_GRID_H + GUI_GRID_Y;
                  w = 6 * GUI_GRID_W;
                  h = 1 * GUI_GRID_H;
                  colorText[] = {1,1,1,1};
                  colorBackground[] = {0,0,0,0.8};
              };
          };
      };
      Alles anzeigen

      Kann mir da jemand grade mal auf die Sprünge helfen? Ich verzweifel langsam daran :S

    • "Asyl"spawn und Lizenz für neue spawns

      • blackfisch
      • 3. Juli 2016 um 16:54

      Kleine Anmerkung meinerseits, du kannst die Lizenzabfrage auch in die "Config_SpawnPoints.hpp" einbauen:

      C: Config_SpawnPoints.hpp
      class Civilian {
              class Asyl {
                  displayName = "Asylheim";
                  spawnMarker = "civ_spawn_asyl";
                  icon = "\a3\ui_f\data\map\MapControl\watertower_ca.paa";
                  licenses[] = { { "asyl", false } };
                  level[] = { "", "", -1 };
              };
      
      
      
      
              class Georgetown {
                  displayName = "Georgetown";
                  spawnMarker = "civ_spawn_1";
                  icon = "\a3\ui_f\data\map\MapControl\watertower_ca.paa";
                  licenses[] = { { "asyl", true } };
                  level[] = { "", "", -1 };
              };
      };
      Alles anzeigen

      heißt, im Asylheim kann man nur OHNE die Lizenz "asyl" spawnen, in Georgetown nur mit ihr.

    • [SUCHE] S.W.A.T Einsatzfahrzeug

      • blackfisch
      • 2. Juli 2016 um 22:50

      Dann schau dir an, wie das ganze in Altis Life geregelt ist und wende das ganze auf das Fahrzeug an innerhalb der Modfiles

    • Leichen bestatten

      • blackfisch
      • 30. Juni 2016 um 23:23

      mach mal aus if (_corpse == true) einfach nur if (_corpse) - da ist ein '=' zu viel und bei true kann das weggelassen werden (ja, ich weiß, hab ich dir so gesagt... hatte da Denkfehler :D )

    • Zentralbank umlegen

      • blackfisch
      • 29. Juni 2016 um 18:33
      C
      switch (typeOf _building) do {
      case "Land_CommonwhealthBank": {_cpRate = 0.003;};
      case "Land_CommonwhealthBank": {_cpRate = 0.0015;};
      default {_cpRate = 0.08;}
      };

      Muss man verstehen, wieso du in der Switch-Case für das gleiche Gebäude 2 Werte definierst? 8| Das gleiche sogar nochmal weiter unten:

      C
      switch (typeOf _building) do {
      case "Land_CommonwhealthBank": {if(life_fed_break == 0) then {life_fed_break = 1;};};
      case "Land_CommonwhealthBank": {life_fed_break = 2;};
      };

    Registrieren oder Einloggen

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

    Registrieren

    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-2026©
    Community-Software: WoltLab Suite™