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
Sa: 05 Juli 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] Flug/Fahrzeug Händler mit 3D Ansicht und eigenen Skins.

      • Altis Life
    • nflug
    • 28. August 2016 um 22:41
    • GraveYard
      Frischling
      Reaktionen
      2
      Trophäen
      10
      Beiträge
      7
      • 31. August 2016 um 22:34
      • #21

      So I have a issue.

      Code
      12:24:58 Error in expression < call life_fnc_numberText,
      _vehicleInfo select 8,
      _vehicleInfo select 11,
      _vehic>
      12:24:58   Error position: <select 8,
      _vehicleInfo select 11,
      _vehic>
      12:24:58   Error Zero divisor
      12:24:58 File mpmissions\__CUR_MP.Altis\core\shops\fn_vehicleShopLBChange.sqf, line 27

      Shows that error then the cam is underwater.
      Here is the file.

      Spoiler anzeigen


      #include <macro.h>
      /*
      File: fn_vehicleShopLBChange.sqf
      Author: Bryan "Tonic" Boardwine

      Description:
      Called when a new selection is made in the list box and
      displays various bits of information about the vehicle.
      */
      disableSerialization;
      private["_control","_index","_className","_basePrice","_vehicleInfo","_colorArray","_ctrl"];
      _control = _this select 0;
      _index = _this select 1;


      //Fetch some information.
      _className = _control lbData _index;
      _vIndex = _control lbValue _index;
      _vehicleList = [life_veh_shop select 0] call life_fnc_vehicleListCfg; _basePrice = (_vehicleList select _vIndex) select 1;
      _vehicleInfo = [_className] call life_fnc_fetchVehInfo;
      _trunkSpace = [_className] call life_fnc_vehicleWeightCfg;
      [_className] call life_fnc_vehicleShop3DPreview;
      ctrlShow [2330,true];
      (getControl(2300,2303)) ctrlSetStructuredText parseText format[
      (localize "STR_Shop_Veh_UI_Rental")+ " <t color='#8cff9b'>$%1</t><br/>" +(localize "STR_Shop_Veh_UI_Ownership")+ " <t color='#8cff9b'>$%2</t><br/>" +(localize "STR_Shop_Veh_UI_MaxSpeed")+ " %3 km/h<br/>" +(localize "STR_Shop_Veh_UI_HPower")+ " %4<br/>" +(localize "STR_Shop_Veh_UI_PSeats")+ " %5<br/>" +(localize "STR_Shop_Veh_UI_Trunk")+ " %6<br/>" +(localize "STR_Shop_Veh_UI_Fuel")+ " %7<br/>" +(localize "STR_Shop_Veh_UI_Armor")+ " %8",
      [_basePrice] call life_fnc_numberText,
      [round(_basePrice * 1.5)] call life_fnc_numberText,
      _vehicleInfo select 8,
      _vehicleInfo select 11,
      _vehicleInfo select 10,
      if(_trunkSpace == -1) then {"None"} else {_trunkSpace},
      _vehicleInfo select 12,
      _vehicleInfo select 9
      ];


      _ctrl = getControl(2300,2304);
      lbClear _ctrl;
      _colorArray = [_className] call life_fnc_vehicleColorCfg;


      for "_i" from 0 to count(_colorArray)-1 do {
      if((_colorArray select _i) select 1 == (life_veh_shop select 2)) then {
      _temp = [_className,_i] call life_fnc_vehicleColorStr;
      _ctrl lbAdd format["%1",_temp];
      _ctrl lbSetValue [(lbSize _ctrl)-1,_i];
      };
      };


      if(_className in (__GETC__(life_vShop_rentalOnly))) then {
      ctrlEnable [2309,false];
      } else {
      if(!(life_veh_shop select 3)) then {
      ctrlEnable [2309,true];
      };
      };


      lbSetCurSel[2304,0];
      if((lbSize _ctrl)-1 != -1) then {
      ctrlShow[2304,true];
      } else {
      ctrlShow[2304,false];
      };
      true;

    • nflug
      Nerd
      Reaktionen
      225
      Trophäen
      9
      Beiträge
      781
      • 31. August 2016 um 23:34
      • #22
      Zitat von AlaskaVet

      So I have a issue.

      Code
      12:24:58 Error in expression < call life_fnc_numberText,
      _vehicleInfo select 8,
      _vehicleInfo select 11,
      _vehic>
      12:24:58   Error position: <select 8,
      _vehicleInfo select 11,
      _vehic>
      12:24:58   Error Zero divisor
      12:24:58 File mpmissions\__CUR_MP.Altis\core\shops\fn_vehicleShopLBChange.sqf, line 27

      Shows that error then the cam is underwater.
      Here is the file.

      Spoiler anzeigen


      #include <macro.h>
      /*
      File: fn_vehicleShopLBChange.sqf
      Author: Bryan "Tonic" Boardwine

      Description:
      Called when a new selection is made in the list box and
      displays various bits of information about the vehicle.
      */
      disableSerialization;
      private["_control","_index","_className","_basePrice","_vehicleInfo","_colorArray","_ctrl"];
      _control = _this select 0;
      _index = _this select 1;


      //Fetch some information.
      _className = _control lbData _index;
      _vIndex = _control lbValue _index;
      _vehicleList = [life_veh_shop select 0] call life_fnc_vehicleListCfg; _basePrice = (_vehicleList select _vIndex) select 1;
      _vehicleInfo = [_className] call life_fnc_fetchVehInfo;
      _trunkSpace = [_className] call life_fnc_vehicleWeightCfg;
      [_className] call life_fnc_vehicleShop3DPreview;
      ctrlShow [2330,true];
      (getControl(2300,2303)) ctrlSetStructuredText parseText format[
      (localize "STR_Shop_Veh_UI_Rental")+ " <t color='#8cff9b'>$%1</t><br/>" +(localize "STR_Shop_Veh_UI_Ownership")+ " <t color='#8cff9b'>$%2</t><br/>" +(localize "STR_Shop_Veh_UI_MaxSpeed")+ " %3 km/h<br/>" +(localize "STR_Shop_Veh_UI_HPower")+ " %4<br/>" +(localize "STR_Shop_Veh_UI_PSeats")+ " %5<br/>" +(localize "STR_Shop_Veh_UI_Trunk")+ " %6<br/>" +(localize "STR_Shop_Veh_UI_Fuel")+ " %7<br/>" +(localize "STR_Shop_Veh_UI_Armor")+ " %8",
      [_basePrice] call life_fnc_numberText,
      [round(_basePrice * 1.5)] call life_fnc_numberText,
      _vehicleInfo select 8,
      _vehicleInfo select 11,
      _vehicleInfo select 10,
      if(_trunkSpace == -1) then {"None"} else {_trunkSpace},
      _vehicleInfo select 12,
      _vehicleInfo select 9
      ];


      _ctrl = getControl(2300,2304);
      lbClear _ctrl;
      _colorArray = [_className] call life_fnc_vehicleColorCfg;


      for "_i" from 0 to count(_colorArray)-1 do {
      if((_colorArray select _i) select 1 == (life_veh_shop select 2)) then {
      _temp = [_className,_i] call life_fnc_vehicleColorStr;
      _ctrl lbAdd format["%1",_temp];
      _ctrl lbSetValue [(lbSize _ctrl)-1,_i];
      };
      };


      if(_className in (__GETC__(life_vShop_rentalOnly))) then {
      ctrlEnable [2309,false];
      } else {
      if(!(life_veh_shop select 3)) then {
      ctrlEnable [2309,true];
      };
      };


      lbSetCurSel[2304,0];
      if((lbSize _ctrl)-1 != -1) then {
      ctrlShow[2304,true];
      } else {
      ctrlShow[2304,false];
      };
      true;

      Alles anzeigen

      I think the Error isnt your Problem.
      The Cam is underwater because it use Random positions for the Cam.
      You can create a static Postion with this:

      [spoiler]

      • open the fn_vehicleShopInit3DPreview.sqf
      • Change: life_preview_3D_vehicle_cam = "camera" camCreate ([ [5000, 5000, 0] ] call life_fnc_searchPosEmpty);
      • in
      • life_preview_3D_vehicle_cam = "camera" camCreate [5000, 5000, 0];
      • and enter there your own cordinates
      • Open the fn_vehicleShop3DPreview.sqf


      • Change: life_pos_attach = [ [5000, 5000, 0] ] call life_fnc_searchPosEmpty;
      • in
      • life_pos_attach = [5000, 5000, 0];
      • and enter there the Same cordinates like before

      #MAKE_ARMA_NOT_WAR

      ⥴ Scripts made with love

      Why do programmers work in dark rooms?

      Because light attracts bugs...

    • nflug
      Nerd
      Reaktionen
      225
      Trophäen
      9
      Beiträge
      781
      • 1. September 2016 um 11:06
      • #23
      Zitat von Team-Wings

      Cooles tut endlich kann man seine Skins in der Vorschau sehen teste morgen das auf der 3.1.4.8 und Berichte dann ob es geht!

      Wie siehts aus?

      #MAKE_ARMA_NOT_WAR

      ⥴ Scripts made with love

      Why do programmers work in dark rooms?

      Because light attracts bugs...

    • Nexarion
      Frischling
      Trophäen
      9
      Beiträge
      12
      • 1. September 2016 um 12:00
      • #24

      Auf einer modifizierten 3.1.4.5 funktioniert es ohne Probleme. Nur bekomme ich das System nicht dazu die Vorschau im Himmel zu machen, aber gibt ja genug freie Fläche :)

    • Kuchenplatte
      Erleuchteter
      Reaktionen
      1.013
      Beiträge
      3.387
      Dateien
      7
      Bilder
      10
      • 1. September 2016 um 12:03
      • #25

      du musst dafür die Koordinaten anpassen

      Code
      Life_pos_attach = [3727, 7373, 200];

      Shadow|Eagle: "Frag mich eher why ich dich nicht noch irgendwas gegeben hab als Vorschlag xD"

      !Acryl-Exile Server!

      195.201.148.155:2302

      Kuchenplatte On GitHub

      https://github.com/Kuchenplatte

      Kuchenplattes Backstube

      Kuchenplattes Discord

      Kuchenplatte On Twitch
      Come On and Follow Me! On Twitch.TV

    • Nexarion
      Frischling
      Trophäen
      9
      Beiträge
      12
      • 1. September 2016 um 12:09
      • #26

      Ja.. nein... stimmt was du sagst, aber er macht es einfach nicht. Egal ob ich als Z-Wert 50, 100, 200 oder 3000 eingebe, die Position der Cam und des Fahrzeugs ist immer am Boden. Das einzige, was wirklich an der gewünschten Position erstellt wird, ist der Lightpoint.

      Wobei mir gerade auffällt das das sogar Sinn macht, da

      Code
      _object attachTo [life_attachment_point, life_pos_attach];

      keinen Sinn macht, solange es keinen life_attachment_point gibt :D

    • nflug
      Nerd
      Reaktionen
      225
      Trophäen
      9
      Beiträge
      781
      • 1. September 2016 um 12:33
      • #27

      Du musst dem Object noch enableSimulation false; geben. Sonst fällt es runter :P.
      Das mit der Höhe müsste eigentlich gehen wenn du eine Einzige Position benutzt.

      #MAKE_ARMA_NOT_WAR

      ⥴ Scripts made with love

      Why do programmers work in dark rooms?

      Because light attracts bugs...

    • niclasbuerger
      Amateur
      Reaktionen
      18
      Trophäen
      10
      Beiträge
      187
      Bilder
      3
      • 1. September 2016 um 20:33
      • #28

      Nun erst mal danke für dein großartiges Tutorial :D

      Bei mir klappt alles, jedoch werde ich gekickt wenn ich den Shop öffne und ich bin zu blöd um heraus zu finden was ich in die scripts.txt von BattlEye eintragen muss damit ich nicht mehr gekickt werde.

      Hier der Log aus der scripts.log

      Code
      };
      } else {
      if (isnil "_respawnOnStart") then {_r"
      01.09.2016 20:17:43: [CAG] LTC. J. Brody (93.202.145.37:2304) 57ac3043dac5ff02b0a031d99569f3d0 - #5 "];
      player hideobject true;
      player enablesimulation false;
      forcerespawn player;
      };
      } else {
      if (isnil "_respawnOnStart") then {_r"
      01.09.2016 20:18:56: [CAG] LTC. J. Brody (93.202.145.37:2304) 57ac3043dac5ff02b0a031d99569f3d0 - #2 ") exitWith {hint localize "STR_Shop_Veh_NotAllowed"};
      if(!createDialog "Life_Vehicle_Shop_v2_3D") exitWith {};
      
      
      
      
      life_veh_shop = "
      Alles anzeigen


      Hier meine scripts.txt

      Code
      //new2  
      1 "" !="this allowDamage false;" !="this enableSimulation false;" !"this addAction[localize\"STR_" !"this addAction[format[\"%1 ($%2)\",localize"
      5 addAction !"this addAction[localize\"STR_" !"this addAction[localize \"STR_" !"this addAction[format[\"%1 ($%2)\",localize (getText(missionConfigFile >>" !"this addAction[\"<t color='#ADFF2F'>ATM</t>\",life_fnc_atmMenu,\"\",0,FALSE,FALSE" !"this addAction [\"Capture Gang Area\",life_fnc_captureHideout,\"\",0,false,false,\"\",' playerSide == civilian" !="(playerSide) do {\ncase civilian: {\n\nlife_actions = [player addAction[localize \"STR_pAct_DropFishingNet\",life_fnc_dropFishingNet," !="player addAction[localize \"STR_"
      //5 "addAction" !"this addAction[\"Market\",life_fnc_virt_menu" !"this addAction[\"Car Shop\",life_fnc_vehicleShopMenu" !"this addAction[\"Deliver Package\",life_fnc_dpFinish" !"this addAction[\"Rebel Market\",life_fnc_virt_menu" !"this addAction[format[\"%1 ($%2)\",[\"license_civ_driver\"]" !"this addAction[\"Process Oil\",life_fnc_processAction" !"this addAction[\"Process Iron\",life_fnc_processAction" !"this addAction[\"Drug Dealer\",life_fnc_virt_menu" !"this addAction[\"Get Delivery Mission\",life_fnc_getDPMission" !"this addAction[\"Truck Shop\",life_fnc_vehicleShopMenu" !"this addAction[\"Process Marijuana\",life_fnc_processAction" !"this addAction[\"Helicopter Shop\",life_fnc_vehicleShopMenu" !"this addAction[\"Service Helicopter\",life_fnc_serviceChopper" !"this addAction[\"Clothing Store\",life_fnc_clothingMenu" !"this addAction[\"Fish Market\",life_fnc_virt_menu" !"this addAction[\"Medical Assistance\",life_fnc_healHospital" !"this addAction[\"Boat Shop\",life_fnc_vehicleShopMenu" !"this addAction[\"General Store\",life_fnc_weaponShopMenu" !"this addAction[\"Diving Shop\",life_fnc_clothingMenu" !"this addAction[\"Vehicle Shop\",life_fnc_vehicleShopMenu" !"this addAction[\"Cop Item Shop\",life_fnc_virt_menu" !"this addAction[\"Oil Trader\",life_fnc_virt_menu" !"this addAction[\"Process Diamond\",life_fnc_processAction" !"this addAction[\"Glass Trader\",life_fnc_virt_menu" !"this addAction[\"Iron / Copper Trader\",life_fnc_virt_menu" !"this addAction[\"Process Copper\",life_fnc_processAction" !"this addAction[\"Diamond Trader\",life_fnc_virt_menu" !"this addAction[\"Salt Trader\",life_fnc_virt_menu" !"this addAction[\"Process Sand\",life_fnc_processAction" !"this addAction[\"Process Salt\",life_fnc_processAction" !"this addAction[\"Gun Store\",life_fnc_weaponShopMenu" !"this addAction[\"Process Heroin\",life_fnc_processAction" !"this addAction[\"Vehicle Garage\",  {   [[getPlayerUID player,playerSide" !"this addAction[\"Process Cocaine\",life_fnc_processAction" !"this addAction[\"Cement Trader\",life_fnc_virt_menu" !"this addAction[\"Process Rock\",life_fnc_processAction" !"this addAction[\"Wong's Food Cart\",life_fnc_virt_menu" !"this addAction[\"Chop Shop\",life_fnc_chopShopMenu" !"this addAction[format[\"%1 ($%2)\",[\"license_med_air\"]" !"this addAction[\"Pay Bail\",life_fnc_postBail" !"this addAction[\"Go-kart  Shop\",life_fnc_vehicleShopMenu" !"this addAction[\"Gold Buyer\",life_fnc_virt_menu" !"this addAction[\"Open Vault\",life_fnc_safeOpen" !"this addAction[\"<t color='#ADFF2F'>ATM</t>\",life_fnc_atmMenu" !"this addAction[\"Federal Reserve - Front Entrance\",life_fnc_fedCamDisplay" !"this addAction[\"Armament\",life_fnc_weaponShopMenu" !"this addAction [\"Capture Gang Area\",life_fnc_captureHideout" !"this addAction[\"Gang Market\",life_fnc_virt_menu" !"player addAction[localize \"STR_pAct_DropFishingNet\",life_fnc_dropFishingNet" !"player addAction[localize \"STR_pAct_RobPerson\",life_fnc_robAction" !"this addAction[localize\"STR_Shops_Market\",life_fnc_virt_menu,\"market\"];" !"this addAction[localize \"STR_MAR_Car_shop\",life_fnc_vehicleShopMenu,[\"" !"this addAction[localize\"STR_MAR_Deliver_Package\",life_fnc_dpFinish,\"dp_" !"this addAction[format[\"%1 ($%2)\",localize (getText(missionConfigFile >> \"Li"
      5 "createDialog" !="createDialog \"life_ticket_give\"" !="createDialog \"shop_menu\"" !="createDialog \"pInteraction_Menu\"" !="createDialog \"life_ticket_pay\"" !="createDialog \"Life_My_Gang_Diag\"" !="createDialog \"DeathScreen\"" !="createDialog \"playerSettings\"" !="createDialog \"SettingsMenu\"" !="createDialog \"life_wanted_menu\"" !="createDialog \"Life_atm_management\"" !="createDialog \"Chop_Shop\"" !="createDialog \"Life_Clothing\"" !="createDialog \"Life_impound_menu\"" !="createDialog \"Life_Vehicle_Shop_v2\"" !="createDialog \"shops_menu\"" !="createDialog \"TrunkMenu\"" !="createDialog \"vInteraction_Menu\"" !="createDialog \"Federal_Safe\"" !="createDialog \"life_spawn_selection\"" !"Life_Create_Gang_Diag\"" !="createDialog \"Life_key_management\"" !="createDialog \"Life_cell_phone\"" !="createDialog \"life_admin_menu\"" !="createDialog \"\"Life_Create_Gang_Diag\"\"" !="createDialog \"life_weapon_shop\"" !="createDialog \"Life_Admin_Compensate\";" !="closeDialog 0; hint \"You have no business using this\";};\n\ncreateDialog \"RscDisplayDebugPublic\";\n[0,format[\"Admin %1 has opened t"
      // !="ion\n};\n_parent createdisplay \"RscDisplayCamera\";\n} else {\ncreatedialog \"RscDisplayCamera\"\n};\n};\n\ndisableserialization;\n_mode = [" //Splendid Camera
      // !=".sqf\"\n\n\n\n\nGUI_version = 1.063;\nstartloadingscreen [\"\"];\n\n\ncreatedialog \"RscGUIEditor\";waituntil {!isnil {	(uinamespace getvaria" //Enter GUI Editor
      // !="inamespace getvariable \"BIS_RscGUIEditor_exit\")) then {\n\n\ncreatedialog \"RscGUIEditor\";\nGUI_listKeys = [];\nwaituntil {!isnil {	(u" //Exit GUI Editr
      5 "ctrlCreate" !=">> \"RscDisplayDebriefing_ListGroup\";\n_ListGroup = _display ctrlCreate [\"RscControlsGroupNoHScrollbars\", 		21903	];\n\n_ListGroup c"
      5 "ctrlDelete" !="};\n};\n\n\n\n\n\n\n_ListGroup = _display displayctrl 		21903	;\n\n\n\nctrlDelete _ListGroup;\n_listGroupCfg = configfile >> \"RscDisplayDebri"
      1 "forceRespawn"  !="];\nplayer hideobject true;\nplayer enablesimulation false;\nforcerespawn player;\n} else {\n_isDeath = false;\n};\n};\nif (_respawnOnSt"
      //1 "teleport"
      //5 "cursorTarget setPos"      
      //5 "Wookie"
      //5 "W_O_O_K_I_E"
      //5 "J_M_E_"    
      //5 "aNUScODERZ"    
      //5 "Jesus"    
      //5 "JJJJ_"    
      //5 "RscDisplayDebugPublic"    
      //5 "ThirtySix"  
      //5 "root_"  
      //5 "E5P"  
      //5 "ĴmĘ"
      Alles anzeigen

      Wäre echt super wenn mir jemand helfen könnte

      Danke

    • nflug
      Nerd
      Reaktionen
      225
      Trophäen
      9
      Beiträge
      781
      • 1. September 2016 um 20:37
      • #29

      Mit Battleye hab ich echt keine Ahnung da ich die Scripts davon nicht benutze.

      #MAKE_ARMA_NOT_WAR

      ⥴ Scripts made with love

      Why do programmers work in dark rooms?

      Because light attracts bugs...

    • niclasbuerger
      Amateur
      Reaktionen
      18
      Trophäen
      10
      Beiträge
      187
      Bilder
      3
      • 1. September 2016 um 20:37
      • #30

      Schade :(

    • nflug
      Nerd
      Reaktionen
      225
      Trophäen
      9
      Beiträge
      781
      • 1. September 2016 um 20:38
      • #31

      Aber guck dochmal hier im Forum unter das Battleye Filter Tutorial oder frage mal in der Shoutbox ob sich jemand damit auskennt

      #MAKE_ARMA_NOT_WAR

      ⥴ Scripts made with love

      Why do programmers work in dark rooms?

      Because light attracts bugs...

    • niclasbuerger
      Amateur
      Reaktionen
      18
      Trophäen
      10
      Beiträge
      187
      Bilder
      3
      • 1. September 2016 um 20:48
      • #32

      @blackfisch hast du ne Idee ?

    • blackfisch
      Legende
      Reaktionen
      2.944
      Trophäen
      10
      Beiträge
      5.966
      Dateien
      6
      Bilder
      63
      • 1. September 2016 um 21:39
      • #33

      nix :p

      #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!

      ______________________

    • niclasbuerger
      Amateur
      Reaktionen
      18
      Trophäen
      10
      Beiträge
      187
      Bilder
      3
      • 1. September 2016 um 21:43
      • #34

      Schade, trotzdem danke.

    • ChickenWeed
      Kenner
      Reaktionen
      63
      Trophäen
      10
      Beiträge
      528
      Bilder
      7
      • 1. September 2016 um 22:19
      • #35

      Soweit gehts in der 3.1.4.8 problem ist ich sehe meine Autos nicht... habe die Position geändert und auch das random weg gemacht mhh..

    • nflug
      Nerd
      Reaktionen
      225
      Trophäen
      9
      Beiträge
      781
      • 1. September 2016 um 22:55
      • #36

      Hast du die Datein abgeändert? Schick dochmal per PM deine Datein vlt. Und bitte auch deine RPT Logs Client und server

      #MAKE_ARMA_NOT_WAR

      ⥴ Scripts made with love

      Why do programmers work in dark rooms?

      Because light attracts bugs...

    • ChickenWeed
      Kenner
      Reaktionen
      63
      Trophäen
      10
      Beiträge
      528
      Bilder
      7
      • 2. September 2016 um 06:53
      • #37

      Jo mache ich naher oder morgen danke!

    • niclasbuerger
      Amateur
      Reaktionen
      18
      Trophäen
      10
      Beiträge
      187
      Bilder
      3
      • 2. September 2016 um 11:37
      • #38

      Habe das gleiche Problem. Habe die Koordinaten geändert und sehe jetzt nur noch das Menü

    • nflug
      Nerd
      Reaktionen
      225
      Trophäen
      9
      Beiträge
      781
      • 2. September 2016 um 11:59
      • #39

      Du musst beide Kordinaten ändern. Guck nochmal oben im Tutorial wie das geht am Ende

      #MAKE_ARMA_NOT_WAR

      ⥴ Scripts made with love

      Why do programmers work in dark rooms?

      Because light attracts bugs...

    • niclasbuerger
      Amateur
      Reaktionen
      18
      Trophäen
      10
      Beiträge
      187
      Bilder
      3
      • 2. September 2016 um 13:13
      • #40

      Ich habe beide geändert :saint:

      fn_vehicleShopInit3DPreview.sqf

      Code
      /**
       * Bibliothèque de fonctions permettant la visualisation 3D d'objets
       * 
       * Copyright (C) 2014 Team ~R3F~
       * 
       * This program is free software under the terms of the GNU General Public License version 3.
       * You should have received a copy of the GNU General Public License
       * along with this program.  If not, see <http://www.gnu.org/licenses/>.
       */
      
      
      
      
      /*
          File: fn_vehicleShopInit3DPreview.sqf
          Modified By: NiiRoZz
      
      
      
      
          Description:
          Called when a player open the vehicle shop and setup cam and the while for rotate around the vehicle
      */
      // Creating a camera.
      life_preview_3D_vehicle_cam = "camera" camCreate [11084.3, 11532.5, 6.66];setDir 151;
      life_preview_3D_vehicle_cam cameraEffect ["Internal", "BACK"];
      life_preview_3D_vehicle_cam camSetFocus [-1, -1];
      showCinemaBorder false;
      life_preview_3D_vehicle_cam camCommit 0;
      
      
      
      
      life_preview_3D_vehicle_object = objNull;
      
      
      
      
      // Thread execution performing a continuous rotation of the camera around the view object.
      0 spawn
      {
          // Until we left the visualization.
          for "_i" from 0 to 1 step 0 do {
              if (isNull life_preview_3D_vehicle_cam) exitWith {};
              private ["_object","_distanceCam","_azimuthCam"];
      
      
      
      
              // Waiting for a view object.
              waitUntil {!isNull life_preview_3D_vehicle_object};
      
      
      
      
              _object = life_preview_3D_vehicle_object;
      
      
      
      
              _distanceCam = 2.25 * (
                      [boundingBoxReal _object select 0 select 0, boundingBoxReal _object select 0 select 2]
                  distance
                      [boundingBoxReal _object select 1 select 0, boundingBoxReal _object select 1 select 2]
              );
              _azimuthCam = 0;
      
      
      
      
              life_preview_3D_vehicle_cam camSetTarget _object;
              life_preview_3D_vehicle_cam camSetPos (_object modelToWorld [_distanceCam * sin _azimuthCam, _distanceCam * cos _azimuthCam, _distanceCam * 0.33]);
              life_preview_3D_vehicle_cam camCommit 0;
      
      
      
      
              // Rotation around the object.
              for "_i" from 0 to 1 step 0 do {
                  if (!(life_preview_3D_vehicle_object isEqualTo _object)) exitWith {};
                  _azimuthCam = _azimuthCam + 1.00;
      
      
      
      
                  life_preview_3D_vehicle_cam camSetPos (_object modelToWorld [_distanceCam * sin _azimuthCam, _distanceCam * cos _azimuthCam, _distanceCam * 0.33]);
                  life_preview_3D_vehicle_cam camCommit 0.05;
      
      
      
      
                  sleep 0.05;
              };
          };
      };
      Alles anzeigen


      fn_vehicleShop3DPreview.sqf

      Code
      /**
       * Bibliothèque de fonctions permettant la visualisation 3D d'objets
       *
       * Copyright (C) 2014 Team ~R3F~
       *
       * This program is free software under the terms of the GNU General Public License version 3.
       * You should have received a copy of the GNU General Public License
       * along with this program.  If not, see <http://www.gnu.org/licenses/>.
       */
      
      
      
      
       /*
          File: fn_vehicleShop3DPreview.sqf
          Modified By: NiiRoZz
      
      
      
      
          Description:
          Called when a new selection is made in the list box and
          displays the new vehicle selected.
      */
      
      
      
      
      
      
      
      private ["_classView","_object","_id"];
      
      
      
      
      if (isNil "life_preview_3D_vehicle_cam") then
      {
          [] call life_fnc_vehicleShopInit3DPreview;
      };
      
      
      
      
      _classView = _this select 0;
      
      
      
      
      // Ignore non instantiable objects.
      if (_classView != "" && {isClass (configFile >> "CfgVehicles" >> _classView) && {getNumber (configFile >> "CfgVehicles" >> _classView >> "scope") > 0}}) then
      {
          // Skip if object view is the same as previous.
          if (isNull life_preview_3D_vehicle_object || {_classView != typeOf life_preview_3D_vehicle_object}) then
          {
              if (!isNull life_preview_3D_vehicle_object) then {detach life_preview_3D_vehicle_object; deleteVehicle life_preview_3D_vehicle_object;};
              // Create and place the object in the sky
              if (!life_pos_exist) then {
                  life_pos_attach = [11099.628,11503.693, 0];
                  life_pos_exist = true;
                  life_preview_light = "#lightpoint" createVehicle life_pos_attach;
                  life_preview_light setLightBrightness 0.5;
                  life_preview_light setLightColor [1,1,1];
                  life_preview_light setLightAmbient [1,1,1];
              };
              _object = _classView createVehicle life_pos_attach;
              _id = owner player;
              [_object] remoteExecCall ["life_fnc_hideObj",-_id];
              [life_preview_light] remoteExecCall ["life_fnc_hideObj",-_id];
              [_object] call life_fnc_clearVehicleAmmo;
              _object attachTo [life_attachment_point, life_pos_attach];
      
      		_object hideObject false;
      		life_preview_light hideObject false;
      
      		_object allowDamage false;
      
      
      
      
              life_preview_3D_vehicle_object = _object;
          };
      };
      Alles anzeigen

    Registrieren oder Einloggen

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

    Registrieren

    Ähnliche Themen

    • [TUTORIAL] Vehicle Shop mit Vorschau | Altis Life 3.1.4.8

      • stolzerrabe
      • 16. März 2016 um 18:43
      • Tutorials & Releases
    • Umpositionierung der 3D Ansicht des Kleidungs/Fahrzeug shops

      • MusterSpieler
      • 22. März 2017 um 17:01
      • Hilfeforum

    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™