Golf2 Posted April 5, 2023 Share Posted April 5, 2023 Hallo zusammen, ich suche die Airportnamen für Marianas Islands für die Moose Lua. Ich finde bei Moose diese Namen: #table AIRBASE.MarianaIslands Airbases of the Mariana Islands map: AIRBASE.MarianaIslands.Rota_Intl AIRBASE.MarianaIslands.Andersen_AFB AIRBASE.MarianaIslands.Antonio_B_Won_Pat_Intl AIRBASE.MarianaIslands.Saipan_Intl AIRBASE.MarianaIslands.Tinian_Intl AIRBASE.MarianaIslands.Olf_Orote Daraus habe ich folgendes Script gemacht: -- Create RAT object. The only required parameter is the name of the template group in the mission editor. local yak=RAT:New("RAT_Yak") -- Set departure airport. yak:SetDeparture("Andersen_AFB") -- Spawn five aircraft. yak:Spawn(5) Das Script läuft durch aber es spawnen keine Flugzeuge. Da das ganze mit der Test .lua von Moose im Caucasus in "Gudauta" funktioniert, denke ich einfach, das es die falschen Airports bzw. falsche Schreibweise ist. Kann hier jemand die korrekte Bezeichnung posten? Und falls die jemand hat, die Airports auch für alle anderen Maps? Version: DCS OpenBeta 6.8.2 Maps: Persian Gulf, Syria, Nevada, South Atlantic Aircraft: F/A-18C Hornet, A-10C II Tank Killer, JF-17, AV-8A-Harrier, F-5E, L-39C Sonstiges: Supercarrier PC: Ryzen 7 5800X, 32 GB DDR4, RTX 3080TI, Thrustmaster Hotas Warthog, Drivers Up to Date Link to comment Share on other sites More sharing options...
buur Posted April 6, 2023 Share Posted April 6, 2023 Du must die Airportnamen in eine Tabelle schreiben. Also mit geschweiften Klammern drumherum. :SetDeparture({"Andersen AFB"}) Wenn Moose geladen wird schreibt es alle Airbaisen in die Logdatei. Da kannst du dann auch die richtigen Namen raussuchen. Link to comment Share on other sites More sharing options...
Golf2 Posted April 6, 2023 Author Share Posted April 6, 2023 Kann eigentlich nicht sein. Im Caucasus funktioniert es mit yak:SetDeparture("Gudauta"). Aber ok, werde es testen. Stimmen die Aiportnamen denn? Bzw. kann mal jemand das bei sich testen ob es dort bei marianas funktioniert? Version: DCS OpenBeta 6.8.2 Maps: Persian Gulf, Syria, Nevada, South Atlantic Aircraft: F/A-18C Hornet, A-10C II Tank Killer, JF-17, AV-8A-Harrier, F-5E, L-39C Sonstiges: Supercarrier PC: Ryzen 7 5800X, 32 GB DDR4, RTX 3080TI, Thrustmaster Hotas Warthog, Drivers Up to Date Link to comment Share on other sites More sharing options...
buur Posted April 6, 2023 Share Posted April 6, 2023 Hier sind die anderen die bei mir laufen: SetDestination({"Antonio B. Won Pat Intl","Saipan Intl","Tinian Intl"}) Den für Andersen hab ich ja oben schon geposted. Link to comment Share on other sites More sharing options...
Golf2 Posted April 6, 2023 Author Share Posted April 6, 2023 Ahhhh, schau an. Die sind ohne Unterstriche. Die Teste ich nachher auch gleich mit. Version: DCS OpenBeta 6.8.2 Maps: Persian Gulf, Syria, Nevada, South Atlantic Aircraft: F/A-18C Hornet, A-10C II Tank Killer, JF-17, AV-8A-Harrier, F-5E, L-39C Sonstiges: Supercarrier PC: Ryzen 7 5800X, 32 GB DDR4, RTX 3080TI, Thrustmaster Hotas Warthog, Drivers Up to Date Link to comment Share on other sites More sharing options...
GrafRotz Posted April 6, 2023 Share Posted April 6, 2023 hast Du an die Templates gedacht? Also einen Flieger irgendwohin packen mit "Late Activation" an und dem namen "RAT_YAK"? So sieht meines aus für Nevada, die fliegen allerdings gewollt total random. A400=RAT:New("RAT_A400") A400:SetTerminalType(AIRBASE.TerminalType.OpenBig) A400:Spawn(2) C5=RAT:New("RAT_C5") C5:SetTerminalType(AIRBASE.TerminalType.OpenBig) C5:Spawn(2) C17=RAT:New("RAT_C17") C17:SetTerminalType(AIRBASE.TerminalType.OpenMedOrBig) C17:Spawn(2) Link to comment Share on other sites More sharing options...
Kirito Posted April 6, 2023 Share Posted April 6, 2023 (edited) Man kann die Airports auch so angeben: yak:SetDeparture({AIRBASE.MarianaIslands.Andersen_AFB, AIRBASE.MarianaIslands.Tinian_Intl}) Edited April 6, 2023 by Kirito 1 Link to comment Share on other sites More sharing options...
Golf2 Posted April 6, 2023 Author Share Posted April 6, 2023 Gestestet mit folgendem Ergebnis. Aktuelle moose.lua. @buurScript läuft nicht durch und lädt somit die Flugzeuge nicht: ({"Antonio B. Won Pat Intl","Saipan Intl","Tinian Intl"}) @KiritoScript läuft fehlerfrei. Es liegt bei mir also eindeutig an der Schreibweise der Airports. @GrafRotz In der Luft starten konnten die auch vorher schon. Aber mir war nicht klar, das ich AIRBASE. mit angeben musste. Auf Caucasus läuft es nur mit dem Namen..... kein Plan warum. Egal... Version: DCS OpenBeta 6.8.2 Maps: Persian Gulf, Syria, Nevada, South Atlantic Aircraft: F/A-18C Hornet, A-10C II Tank Killer, JF-17, AV-8A-Harrier, F-5E, L-39C Sonstiges: Supercarrier PC: Ryzen 7 5800X, 32 GB DDR4, RTX 3080TI, Thrustmaster Hotas Warthog, Drivers Up to Date Link to comment Share on other sites More sharing options...
GrafRotz Posted April 7, 2023 Share Posted April 7, 2023 14 hours ago, Golf2 said: Auf Caucasus läuft es nur mit dem Namen..... kein Plan warum. Egal... Vielleicht hilft diese Liste weiter https://flightcontrol-master.github.io/MOOSE_DOCS/Documentation/Wrapper.Airbase.html##(AIRBASE).AirbaseID Nur verwunderlich, warum es bei Dir ohne die map vor dem AB Namen funktioniert. Link to comment Share on other sites More sharing options...
buur Posted April 7, 2023 Share Posted April 7, 2023 Überprüf mal ob die Flieger überhaupt von den Flughäfen starten können. Eine C-5 Galaxy beispielsweise ist so groß das sie von keinem Flugplatz der Marianen starten/landen kann bzw. keinen Parkplatz findet. Link to comment Share on other sites More sharing options...
buur Posted April 7, 2023 Share Posted April 7, 2023 Ich hab mir vor ein paar Wochen mal diese Liste erstellt welches Flugzeug aus dem CAM Mod wo startet/landet. 1 Link to comment Share on other sites More sharing options...
Golf2 Posted April 10, 2023 Author Share Posted April 10, 2023 Danke Euch. Mit dem läuft mit der Schreibweise von Kirito. Daher alles gut Version: DCS OpenBeta 6.8.2 Maps: Persian Gulf, Syria, Nevada, South Atlantic Aircraft: F/A-18C Hornet, A-10C II Tank Killer, JF-17, AV-8A-Harrier, F-5E, L-39C Sonstiges: Supercarrier PC: Ryzen 7 5800X, 32 GB DDR4, RTX 3080TI, Thrustmaster Hotas Warthog, Drivers Up to Date Link to comment Share on other sites More sharing options...
Recommended Posts