Für was brauchen die Medics den die Windows Taste? Ich sehe nämlich nicht das du diese eine Aktion für diese definiert hast außer die vInteraction und Revive
Beiträge von nflug
-
-
Nein das gehört in die Mission Init rein.
-
Würde noch ein sleep 1-3 einbauen für die Performence. Maker bewegt sich nicht weil Dealer sich nicht bewegt. Sieh dir nochmal ein Tutorial zu den waypoints an.
-
Auch wenn wenn man mit der Spielogic das haus entfernt, hat man doch das problem, sobald was explodiert in der nähe wo das haus oder Objekt stand, das die Hitbox wieder zum vorschein kommt und das Objekt da steht. Also so war es damals bei mir und zuletzt auch.
Hab ich noch nie gehört 0.0. Du kannst ja das Objekt mit Allowdamage und enableSimulation noch ausstatten
-
Ja genau bei dem 2 hideObject noch das selbe
-
Müsste so funktionieren. Aber ich würde anstatt hideObject das hideObjectGlobal benutzen da dies für alle Clients gilt.
-
@Flyyying_nflug Er hat doch die Version dazu geschrieben 3.1.4.8
@Tim die findest du unter DeineMPMission/core/config/fn_virt_shops.sqf
Da kannst du die Items einfügen beachte jedoch wenn du eine neue Absperrung oder jegliches da einfügen willst dann musst du das in der Datenbank ändern. Bei SELADROP!!!
Wenn du den Namen im Scrollrad ändern willst musst du das in deiner mission.sqm erledigen.Mfg Power
Trololol. Sorry garnicht bemerkt.
-
Wenn du es mit einem Gamelogic gemacht hast kommen sie nicht im Multiplayer wieder
-
Die Datei heißt Config_vItems.hpp und ist im Hauptordner. Wenn du sie dir mal anschaust ist es fast selbst erklärend wie du ein neues Item erstellst. Wenn du noch ein älteres Altislife hast findest du die Einträge in der Config_Master.hop weiter unten
-
Dann hat Nitrado wohl die Permissions falsch eingestellt
-
Kann du mal deine Datei schicken? Ich
-
Ja, bin aber gerade nicht zuhause :/.
Server ist bei Nitrado gehostet. ( Ja ist kacke ich weiß
)
Solltest du auch mal derem Support schreiben. Vlt haben die auch Sch*** gebaut.
-
Hey ich habe mal ne Frage wie kann ich das interactions Menü richtig bearbeiten? Ich habe das Menü in einem Gui Editor nachgebaut und alles mit der idd angepasst, doch meine Datei heißt .hpp und die eigentliche ja .h wenn diese jetzt ändere oder hochlade habe ich immer Probleme, weil in der Lobby dann KL einheiten sind...
Mfg Pius von Team-Wings
Du musst auch darauf achten das diese in der MasterHandler.hpp richtig drinne steht. Ich glaube es ist auch ziehmlich egal ob es .h oder .hpp ist.
Es muss halt nur richtig in der MasterHandler stehen. -
-
Drücke Windows Taste + R dort gibst du dann "%appdata%" ein. Nun öffnet sich ein Ordner. Dort drückst du oben auf Roaming und auf Local. Dort findest du einen Arma3 Profiles Ordner drinne. Da sind nun alle Client RPT Logs drin.
-
Ich würde dir empfehlen Rechtsklick auf Steam bei Arma3 dann auf Eigenschaften und dort Klickst du auf Spiel Datein überprüfen. Es scheint nämlich so als fehlt dir ein Addon.
-
Dann ist das wohl unterschiedlich bei mir hat Spielbar am Anfang funktioniert.
-
Ich bin mir nicht sicher aber kann sein das es ihn nicht mehr gibt.
-
Code
Alles anzeigen22:39:00 name | modDir | default | origin | hash | hashShort | fullPath 22:39:00 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 22:39:00 @life_server | @life_server | false | GAME DIR | 464acc13be435db1743729a07839377922de465c | 85f53c4e | /home/tcagame/acryl_temp/145/@life_server 22:39:00 Arma 3 DLC Bundle | dlcbundle | true | NOT FOUND | | | 22:39:00 Arma 3 Apex | expansion | true | GAME DIR | 3b262d55f1bf131ac7ba7e8f52db442675e78deb | 734697dd | /home/tcagame/acryl_temp/145/expansion 22:39:00 Arma 3 Marksmen | mark | true | GAME DIR | 6dc590a2267497ee172fb435fd058519f25cd960 | 64a11e26 | /home/tcagame/acryl_temp/145/mark 22:39:00 Arma 3 Helicopters | heli | true | GAME DIR | 3ec66916054a5a3b6d08c28574e57d1a20a88796 | fa82f9ff | /home/tcagame/acryl_temp/145/heli 22:39:00 Arma 3 Karts | kart | true | GAME DIR | 908c532399962c4c773274261398903a3ceaed91 | 688e112f | /home/tcagame/acryl_temp/145/kart 22:39:00 Arma 3 Zeus | curator | true | GAME DIR | 5b1a121146e2ea4de6e30f2052c2a7b85f1c9ae3 | 31955d5 | /home/tcagame/acryl_temp/145/curator 22:39:00 Arma 3 | A3 | true | NOT FOUND | | | 22:39:00 ========================================================================================================================================================================================================== 22:39:00 InitSound ... 22:39:00 InitSound - complete 22:39:00 Dedicated host created. sh: xrandr: command not found 22:39:00 PhysX3 SDK Init started ... 22:39:00 PhysX3 SDK Init ended. Attempt to override final function - rscminimap_script Attempt to override final function - rscdisplayloading_script Attempt to override final function - rscdisplayloading_script Attempt to override final function - rscdisplayloading_script Attempt to override final function - rscdiary_script Attempt to override final function - rscdisplaysinglemission_script Attempt to override final function - rscdiary_script Attempt to override final function - rscdisplayremotemissions_script Attempt to override final function - rscdisplayloading_script Attempt to override final function - rscdiary_script Attempt to override final function - rscdiary_script Attempt to override final function - rscdisplaystrategicmap_script Attempt to override final function - rscdisplaycommon_script Attempt to override final function - rscdisplaygarage_script Attempt to override final function - rscdisplayhostsettings_script Attempt to override final function - rscdisplayloading_script Attempt to override final function - rscdisplaycurator_script Attempt to override final function - display3deneditcomposition_script Attempt to override final function - display3deneditattributes_script Attempt to override final function - display3deneditattributes_script Attempt to override final function - rscdisplayhostsettings_script Attempt to override final function - rscdisplaycommon_script Attempt to override final function - rscdisplaydebriefing_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script Attempt to override final function - rscunitinfo_script 22:39:03 BattlEye Server: Initialized (v1.214) 22:39:03 VoteThreshold must be in 0..1 range. Defaulting to 0.5 22:39:03 Host identity created. [S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed. Setting breakpad minidump AppID = 107410 22:39:03 Game Port: 2302, Steam Query Port: 2303 22:39:03 Initializing Steam server - Game Port: 2302, Steam Query Port: 2303 Arma 3 Console version 1.62 : port 2302 22:39:03 BattlEye Server: Ping detection currently not working, MaxPing command disabled 22:39:04 Connected to Steam servers 22:39:09 Emerald Pinestripe uses modified data file 22:39:09 BattlEye Server: Player #0 Emerald Pinestripe (217.251.69.149:2304) connected 22:39:09 Player Emerald Pinestripe connecting. 22:39:09 Unsupported language English in stringtable 22:39:09 Unsupported language English in stringtable 22:39:09 Mission tanoa_life.Tanoa read from bank. 22:39:10 Mission tanoa_life.Tanoa: Number of roles (99) is different from 'description.ext::Header::maxPlayer' (75) 22:39:11 BattlEye Server: Player #0 Emerald Pinestripe - GUID: c57b5bee77231d873819975bc87a87f5 22:39:11 Server error: Player without identity Emerald Pinestripe (id 1062113376) 22:39:11 Server error: Player without identity Emerald Pinestripe (id 1062113376) 22:39:12 Server error: Player without identity Emerald Pinestripe (id 1062113376) 22:39:12 Server error: Player without identity Emerald Pinestripe (id 1062113376) 22:39:12 Server error: Player without identity Emerald Pinestripe (id 1062113376) 22:39:12 Server error: Player without identity Emerald Pinestripe (id 1062113376) 22:39:12 Server error: Player without identity Emerald Pinestripe (id 1062113376) 22:39:12 Server error: Player without identity Emerald Pinestripe (id 1062113376) 22:39:12 Server error: Player without identity Emerald Pinestripe (id 1062113376) 22:39:12 Server error: Player without identity Emerald Pinestripe (id 1062113376) 22:39:12 Server error: Player without identity Emerald Pinestripe (id 1062113376) 22:39:12 Server error: Player without identity Emerald Pinestripe (id 1062113376) 22:39:12 Server error: Player without identity Emerald Pinestripe (id 1062113376) 22:39:12 Server error: Player without identity Emerald Pinestripe (id 1062113376) 22:39:12 Server error: Player without identity Emerald Pinestripe (id 1062113376) 22:39:12 Server error: Player without identity Emerald Pinestripe (id 1062113376) 22:39:12 Server error: Player without identity Emerald Pinestripe (id 1062113376) 22:39:12 Server error: Player without identity Emerald Pinestripe (id 1062113376) 22:39:12 Server error: Player without identity Emerald Pinestripe (id 1062113376) 22:39:12 Player Emerald Pinestripe connected (id=76561198066801550). 22:39:12 BattlEye Server: Verified GUID (c57b5bee77231d873819975bc87a87f5) of player #0 Emerald Pinestripe 22:39:13 BattlEye Server: Starting with Arma 3 1.58 all server admins will have to define a dedicated port in BEServer.cfg in order to be able to use BE RCon. Please see https://www.battleye.com/support/documentation/ for details. 22:39:16 Roles assigned. 22:39:16 Reading mission ... 22:39:16 Starting mission: 22:39:16 Mission file: tanoa_life (__cur_mp) 22:39:16 Mission world: Tanoa 22:39:16 Mission directory: mpmissions\__cur_mp.Tanoa\ Can't find real path "a3\map_tanoabuka\data\roads\roads.shp": "No such file or directory" 22:39:20 Warning: Unaccessible ladder point for AI (already used for actionbegin2) in a3\structures_f_exp\commercial\shop_city_01\shop_city_01_f.p3d 22:39:20 Warning: Unaccessible ladder point for AI (already used for actionbegin2) in a3\structures_f_exp\commercial\shop_city_01\shop_city_01_f.p3d 22:39:20 Warning: Unaccessible ladder point for AI (already used for actionend2) in a3\structures_f_exp\commercial\shop_city_01\shop_city_01_f.p3d 22:39:20 Warning: Unaccessible ladder point for AI (already used for actionend2) in a3\structures_f_exp\commercial\shop_city_01\shop_city_01_f.p3d 22:39:21 Unknown hit sound type in A3\data_f\Penetration\tyre.bisurf.soundHit 22:39:25 Error in expression <en that means you can pick it up!." ]; */> 22:39:25 Error position: <*/> 22:39:25 Error Invalid number in expression 22:39:25 File mpmissions\__cur_mp.Tanoa\core\fn_welcomeNotification.sqf, line 20 22:39:25 Error in expression <en that means you can pick it up!." ]; */> 22:39:25 Error position: <*/> 22:39:25 Error Invalid number in expression 22:39:25 File mpmissions\__cur_mp.Tanoa\core\fn_welcomeNotification.sqf, line 20 Attempt to override final function - bis_functions_list Attempt to override final function - bis_functions_listpreinit Attempt to override final function - bis_functions_listpostinit Attempt to override final function - bis_functions_listrecompile Attempt to override final function - bis_fnc_missiontaskslocal Attempt to override final function - bis_fnc_missionconversationslocal Attempt to override final function - bis_fnc_missionflow 22:39:25 Strange convex component16 in a3\boat_f_gamma\boat_civil_04\boat_civil_04_f.p3d:geometryView 22:39:25 Strange convex component25 in a3\boat_f_gamma\boat_civil_04\boat_civil_04_f.p3d:geometryView 22:39:25 Strange convex component26 in a3\boat_f_gamma\boat_civil_04\boat_civil_04_f.p3d:geometryView 22:39:25 Strange convex component27 in a3\boat_f_gamma\boat_civil_04\boat_civil_04_f.p3d:geometryView 22:39:25 class HitPoints::HitFuel not found in C_Boat_Civil_04_F 22:39:25 class HitPoints::HitFuel not found in RoadCone_L_F 22:39:26 class HitPoints::HitFuel not found in Land_Camping_Light_F 22:39:26 SW keep height animation used for a3\structures_f\civ\accessories\timbers_f.p3d 22:39:27 class HitPoints::HitFuel not found in PortableHelipadLight_01_red_F 22:39:27 class HitPoints::HitFuel not found in PortableHelipadLight_01_green_F 22:39:27 Loading movesType CfgGesturesMale 22:39:27 MovesType CfgGesturesMale load time 84 ms 22:39:27 Loading movesType CfgMovesMaleSdr 22:39:33 MovesType CfgMovesMaleSdr load time 5740 ms 22:39:33 No speaker given for Shaan Gowon 22:39:33 No speaker given for Zaim Ekwensi 22:39:34 No speaker given for Harry James 22:39:34 No speaker given for Kirabo Balewa 22:39:34 No speaker given for Gao Liou soldier[B_diver_F]:Some of magazines weren't stored in soldier Vest or Uniform? 22:39:34 No speaker given for Tyler Walker 22:39:34 No speaker given for Matthew Taylor 22:39:34 No speaker given for Lee Morgan 22:39:34 No speaker given for Montgomery Roberts 22:39:34 No speaker given for Katungi Okoye 22:39:34 No speaker given for Harvey Newton 22:39:34 No speaker given for Thomas Stewart 22:39:34 No speaker given for Joseph Clark 22:39:34 No speaker given for Xue Tan 22:39:34 No speaker given for Liao Wong 22:39:34 No speaker given for Ewan Wright 22:39:34 No speaker given for Patterson Byrne 22:39:34 No speaker given for Jamie Santorum 22:39:34 No speaker given for Cheng Sun 22:39:34 No speaker given for Gillian Collins soldier[B_diver_F]:Some of magazines weren't stored in soldier Vest or Uniform? 22:39:34 No speaker given for Joseph Jackson 22:39:34 No speaker given for Batou Awolowo 22:39:34 No speaker given for Shawn Clarke 22:39:34 No speaker given for Ian Thomson 22:39:34 No speaker given for Toby Jackson 22:39:34 No speaker given for Wallace Leahy 22:39:34 No speaker given for Thomas Smith 22:39:34 Wrong vertex mapping for person collision geometry found in a3\characters_f_epc\civil\c_nikos_aged.p3d. Selection 1c not found 22:39:34 Wrong vertex mapping for person collision geometry found in a3\characters_f_epc\civil\c_nikos_aged.p3d. Selection 2c not found 22:39:34 Wrong vertex mapping for person collision geometry found in a3\characters_f_epc\civil\c_nikos_aged.p3d. Selection 3c not found 22:39:34 Wrong vertex mapping for person collision geometry found in a3\characters_f_epc\civil\c_nikos_aged.p3d. Selection 4c not found 22:39:34 Wrong vertex mapping for person collision geometry found in a3\characters_f_epc\civil\c_nikos_aged.p3d. Selection 5c not found 22:39:34 Wrong vertex mapping for person collision geometry found in a3\characters_f_epc\civil\c_nikos_aged.p3d. Selection 6c not found 22:39:34 Wrong vertex mapping for person collision geometry found in a3\characters_f_epc\civil\c_nikos_aged.p3d. Selection 7c not found 22:39:34 Wrong vertex mapping for person collision geometry found in a3\characters_f_epc\civil\c_nikos_aged.p3d. Selection 8c not found 22:39:34 Wrong geometry convex component mapping for person collision geometry found in a3\characters_f_epc\civil\c_nikos_aged.p3d. Convex component number 3. not found 22:39:34 No speaker given for Militiadis Isofidou 22:39:34 No speaker given for Stergos Bouras 22:39:34 No speaker given for Vasilis Dimitriadis 22:39:34 No speaker given for Takis Kanelloupou 22:39:34 No speaker given for Alexandros Athanasiadis 22:39:34 No speaker given for Vyron Papadopoulos 22:39:34 No speaker given for Janos Tavoularis 22:39:34 No speaker given for Giorgos Papadopoulos 22:39:34 No speaker given for Markos Moritiadou 22:39:34 No speaker given for Giannis Baros 22:39:34 No speaker given for Apostolos Roumpesi 22:39:34 No speaker given for Vega Floros 22:39:34 No speaker given for Rosi Constantinou 22:39:34 No speaker given for Vasilis Zenon 22:39:34 No speaker given for Panas Oikonomopulu 22:39:34 No speaker given for Dimitirou Nicolau 22:39:34 No speaker given for Angelos Papadopoulos 22:39:34 No speaker given for Nicolo Savalas 22:39:34 No speaker given for Panas Ellinaki 22:39:34 No speaker given for Evangelos Athanasiadis 22:39:34 No speaker given for Janos Karmanlis 22:39:34 No speaker given for Evripidis Manago 22:39:34 No speaker given for Michalis Baros 22:39:34 No speaker given for Gekas Moritiadou 22:39:34 Performance warning: Very large search for 1779863 (>300 m) 22:39:38 Strange convex component70 in a3\structures_f_exp\commercial\multistorybuilding_01\multistorybuilding_01_f.p3d:geometryFire 22:39:38 Strange convex component75 in a3\structures_f_exp\commercial\multistorybuilding_01\multistorybuilding_01_f.p3d:geometryFire 22:39:38 Strange convex component76 in a3\structures_f_exp\commercial\multistorybuilding_01\multistorybuilding_01_f.p3d:geometryFire 22:39:38 Strange convex component77 in a3\structures_f_exp\commercial\multistorybuilding_01\multistorybuilding_01_f.p3d:geometryFire 22:39:38 Strange convex component78 in a3\structures_f_exp\commercial\multistorybuilding_01\multistorybuilding_01_f.p3d:geometryFire 22:39:43 Strange convex component16 in a3\boat_f_gamma\boat_civil_04\boat_civil_04_f.p3d:geometryView 22:39:43 Strange convex component25 in a3\boat_f_gamma\boat_civil_04\boat_civil_04_f.p3d:geometryView 22:39:43 Strange convex component26 in a3\boat_f_gamma\boat_civil_04\boat_civil_04_f.p3d:geometryView 22:39:43 Strange convex component27 in a3\boat_f_gamma\boat_civil_04\boat_civil_04_f.p3d:geometryView 22:39:44 Performance warning: Unsucessfull search for 1779863 was very large (15390 m) 22:39:44 Performance warning: Very large search for 464720 (>300 m) 22:39:44 Performance warning: Search for 8ae9a800# 464720: offices_01_v1_f.p3d was very large (10290 m) 22:39:44 Mission read. Error: Object(2 : 1145) not found Error: Object(2 : 1147) not found Error: Object(2 : 1152) not found Error: Object(2 : 1154) not found Error: Object(2 : 1239) not found 22:39:44 ../lib/Network/networkServer.cpp OnClientStateChanged:NOT IMPLEMENTED - briefing! 22:39:44 "extDB2: Connected to Database" 22:39:46 Unknown attribute shadown 22:40:24 Mission id: 8fd605ff855ec3ebb6bf3cc807b6bf5e4ca63a0d 22:40:24 Game started. 22:41:15 Loading movesType CfgMovesCock_F 22:41:15 Loading movesType CfgMovesSheep_F 22:41:15 Loading movesType CfgMovesGoat_F 22:41:15 Loading movesType CfgMovesHen_F 22:43:45 "### DYNMARKET >> SAUVEGARDE AVEC SUCCÈS DES PRIX COURANTS DANS LA BASE DE DONNÉES ###"
Also meine RTP Kompetenz ist jetzt nicht die beste aber so auf den ersten Blick....ähh..ne?!
Da ist schonmal einer aber ich denke der hängt nicht mit der Tankstelle zusammen
Spoiler anzeigen
22:39:25 Error in expression <en
that means you can pick it up!."
];
*/>
22:39:25 Error position: <*/>
22:39:25 Error Invalid number in expression
22:39:25 File mpmissions\__cur_mp.[lexicon]Tanoa[/lexicon]\core\fn_welcomeNotification.sqf, line 20Versuch mal zu Tanken und schick danach deinen Client Log.
-
Hallo,
ich habe die Variante getestet aber leider noch ohne erfolg.Hier meine Dateien :
Code: fn_setupStationService.sqf
Alles anzeigen/* File: fn_setupStationService.sqf Author: NiiRoZz Description: Add action fuel action in Station Service. put function in init file then execute it with: ["obj id"] call getObjcsInMap; example: ["Land_fs_feed_F"] call getObjcInMap; Function : getObjcInMap = { private ["_pos", "_Station", "_br", "_tab", "_TexteSortie"]; _pos = getArray(configFile >> "CfgWorlds" >> worldName >> "centerPosition"); _Station = nearestObjects [_pos, _this, 25000]; _br = toString [13, 10]; _tab = toString [9]; _TexteSortie = "_position = [" + _br; { _TexteSortie = _TexteSortie + _tab + (str (getpos _x)); _TexteSortie = if (_forEachIndex < ((count _Station) - 1)) then {_TexteSortie + ", " + _br} else {_TexteSortie + _br}; } forEach _Station; _TexteSortie = _TexteSortie + "];"; hint "Completed"; copyToClipboard _TexteSortie; }; */ private ["_positionAltis","_pumpClass","_pumpClass2","_pump","_pump2"]; _positionAltis = [ // Georgetown Sud [5403.81,9913.74,0], [5409.68,9913.75,0], [5403.54,9905.04,0], [5409.41,9905.05,0], // Georgetown Centre [5681.64,10163.8,0], [5677.78,10173.8,0], [5685.9,10173,0], [5683.21,10182,0], // Georgetown Nord [5810.81,10816.8,0], [5810.9,10824.8,0], [5802.18,10824.6,0], [5802.08,10817,0], [5793.34,10817,0], [5793.4,10825.4,0], // Oua-Oué [5594.25,12508.2,0], // Nicolet [6599.95,13076.1,0], [6602.43,13082.1,0], [6594.39,13085.4,0], [6592.03,13079.7,0], [6583.86,13082.8,0], [6586.07,13088.3,0], // Savu [8952.51,13678,0], [8954.49,13678,0], [8956.31,13677.8,0], // La Rochelle [9961.14,13484.2,0], [9960.92,13475.4,0], [9960.31,13466.6,0], [9953.63,13467,0], [9954.06,13475.8,0], [9954.54,13484.6,0], // Aérodrome La Rochelle [11635.3,13047.3,0], [11637.2,13052.7,0], [11629,13055.6,0], [11627.1,13050.3,0], [11618.6,13052.6,0], [11620.7,13058.5,0], [11841.3,13072.9,0], // Ba [14261,11512.9,0], [14264.9,11508.8,0], // Nandai [14364.5,8742.83,0], // Ouméré [12617.9,7580.21,0], [12613.8,7582.67,0], [12617.4,7590.61,0], [12622.5,7587.71,0], // Kotomo [10826.6,6489.35,0], // Lami [7978.13,7418.71,0], [7977.01,7426.93,0], // Lifou [7369.15,8002.1,0], [7366.7,7995.42,0], [7358.5,7998.41,0], [7360.9,8005.06,0], // Aérodrome de Tanoa [6886.98,7490.55,0], [6985.86,7388.02,0], // Regina [5174.06,8806.32,0], // Tanouka [8318.88,9708.97,0], [8320.62,9712.11,0], [8970.46,10331.8,0], // Vagalala [10935.2,9856.06,0], [10940.9,9855.39,0], // Relais Routier [8494.51,12431.7,0], [8493.24,12437.5,0], [8492.02,12441.7,0], // Belfort [3029.57,11316.1,0], // Tuvanaka [1873.69,12121.5,0], [1864.93,12122,0], [1874.13,12127.8,0], [1865.36,12128.1,0], // Harcourt [11154.2,5152.25,0], [11146.2,5152.07,0], // Aérodrome de Saint-George [11641.8,2990.95,0], [11631,2998.87,0], // Lijnhaven [11686.6,2267.25,0], [11690,2260.99,0], [11697.6,2265.13,0], [11694.3,2271.4,0], // Katkoulou [5775.89,4221.6,0], [5781.09,4224.88,0], [5776.53,4232.35,0], [5770.75,4228.7,0], [5767.12,4236.83,0], [5770.84,4239.12,0], [5388.64,4090.58,0], [5379.55,4093.02,0], // Aérodrome de Bala [2132.15,3360.41,0], [2137.38,3360.78,0], [2134.8,3360.63,0], [1986.82,3423.42,0], // Balavu [2463.13,7430.49,0], [2451.89,7434.52,0], // Base aérienne de Tuvanaka [2193.32,13387.1,0] ]; _pumpClass1 = "Land_FuelStation_01_pump_F","Land_fs_feed_F","Land_FuelStation_Feed_F","Land_FuelStation_01_pump_F","Land_FuelStation_02_pump_F"; _pumpClass2 = "Land_FuelStation_02_pump_F","Land_fs_feed_F","Land_FuelStation_Feed_F","Land_FuelStation_01_pump_F","Land_FuelStation_02_pump_F"; { _pump = nearestObject _x; _pump setFuelCargo 0; _pump addAction [localize "STR_Action_Pump", life_fnc_fuelStatOpen, 1, 3, true, true, "", 'cursorObject isEqualTo _target', 5]; _pump2 = (nearestObject [_x, _pumpClass2]); _pump2 setFuelCargo 0; _pump2 addAction [localize "STR_Action_Pump", life_fnc_FuelStatOpen, 1, 3, true, true, "", ' _this distance _target < 5 && cursorTarget == _target ']; } forEach _NiiRoZz_Station_Essence;
Code: fn_fuelStatOpen.sqf
Alles anzeigen#include "..\..\script_macros.hpp" /* File: fn_fuelStatOpen.sqf Author : NiiRoZz Description: Open dialog Pump. */ private["_shop","_sideCheck","_spawnPoints","_shopFlag","_disableBuy","_fuelCost"]; disableSerialization; //Long boring series of checks if (life_action_inUse) exitWith {}; if (dialog) exitWith {}; if (life_is_processing) exitWith {}; life_action_inUse = true; _fuelstations = nearestObjects [player, ["Land_fs_feed_F","Land_FuelStation_Feed_F","Land_FuelStation_01_pump_F","Land_FuelStation_02_pump_F"],10]; if (_fuelstations isEqualTo []) exitWith {life_action_inUse = false;}; _vehicleList = nearestObjects [player, ["Car","air"], 10]; if (count _vehicleList < 1) exitWith {hint localize "STR_NOTF_VehicleNear";life_action_inUse = false;}; if (!createDialog "Life_FuelStat") exitWith {}; _fuelCost = LIFE_SETTINGS(getNumber,"fuel_cost"); [] spawn {waitUntil {!dialog}; life_action_inUse = false;}; ctrlSetText [20301,"Fuel Station"]; if (isNil "life_fuelPrices") then { life_fuelPrices = _fuelCost; }; //Fetch the shop config. vehicleFuelList =[]; { _fuel = fuel _x; vehicleFuelList pushBack [_x,_fuel]; } forEach _vehicleList; _control = ((findDisplay 20300) displayCtrl 20302); lbClear _control; //Flush the list. ctrlSetText [20322,format [localize "STR_Price_Fuel_Pump",life_fuelPrices]]; ctrlSetText [20323,format ["Total : %1$",life_fuelPrices * 0.1]]; //Loop through { _className = typeOf (_x select 0); _fuelleft = _x select 1; _vehicleInfo = [_className]call life_fnc_fetchVehInfo; _control lbAdd (_vehicleInfo select 3); _control lbSetPicture [(lbSize _control)-1,(_vehicleInfo select 2)]; _control lbSetData [(lbSize _control)-1,_className]; _control lbSetValue [(lbSize _control)-1,_ForEachIndex]; } forEach vehicleFuelList;
Ich danke im Vorraus
Gibt es RPT Log Fehler?