Forum Jump :

Author Message


Posts: 11
Rank:


Level: Member

Country: us
Location:
Occupation:
Age: 47
In-game name: penneyfour

 
#1 Posted at 2014-03-18 11:18        
     


Dynamic Altis Airports

by
penneyfour


Description:
Realistic fixed wing ground and air traffic for Altis.

All six (6) Altis airports now have working AI traffic with realistic flight plans, ground service, embellished engine sounds (ie. spool-up, taxi, departure), taxi queues and taxi priority, hold-short at runway, departure, landing, and go-around.


Features:
  • Core Function: Dynamic aircraft activity at each Altis airport
  • At Mission Start: Empty aircraft placed at spawnpoints are assigned AI pilots
  • Ground Support: Yes
  • Flight Plan (VFR): Yes, 2 preset flight plans in alpha version
  • ATC: No, but maybe in future versions
  • Engine Start Sound: Embellished depending upon aircraft type
  • Engine Taxi Sound: Embellished depending upon aircraft type
  • Engine Departure Sound: Embellished depending upon aircraft type
  • AI Taxi Priority: Yes, currently first spawn, first depart
  • AI Taxi for Departure: Yes, taxi from all hangars and ramps
  • Hold on Taxiway: Yes, primary taxiway has priority
  • Taxiing Aircraft Cue: No need to address, not a problem
  • Hold short at Runway: Yes
  • Departure Direction: No, only one direction per airport
  • Departure: Yes, departure from all 6 Altis airports
  • Approach for Landing: Yes
  • Visual Landing Aids: Added "ALS" lights
  • Go Around: Yes
  • Landing: landing at all 6 Altis airports
  • Recovery to Ramp: Not in Alpha Version


  • Installation:
    Step 1: from the zipped file, drag folder "@A3_environ_DynamAA" to your root Arma 3 folder.
    (you can change the name of the folder if you would like, no problem)

    Step 2: from the zipped file, drag folder "userconfig" to your root Arma 3 folder.
    (inside is a folder with all configurable files, flight plans, and aircraft classnames)
    (you cannot change the path, or DAA will not work)

    Step 3: from the zipped file, drag folder "DAA_sample_mission.Altis" to your "C:\Users\yournamehere\Documents\Arma 3\missions" folder


    Step 4: If you want to be able to load boxes/crates into aircraft, download the following mod:

    Author found here:
    http://www.igipl.net/en/arma3/igiload-script/igiload-download

    ArmaHolic Mirror found here:
    http://www.armaholic.com/page.php?id=24681


    Then, place the IgiLoad script folder into your root Arma 3 folder...
    Make sure that the folder name is spelled: "IgiLoad"

    Step 5: Open ArmA 3, Open an editor session
    Step 6: You should see "DynamAA" listed in modules
    Step 7: place the "DynamAA" module anywhere on the map... Done... run your mission

    Note (first time):
    It takes about 30-seconds for DynamAA to load all scripts... be patient :)
    You may have some slow results on the first load... due to aircraft loading into memory
    if so, just let all aircraft load, then stop and reload the mission... then it should
    be much faster.



    How to configure:
    Step 1: open the file named "userconfig" inside the following folder: Arma 3\userconfig\DynamAA

    There are lots of goodies in there... if you are going to edit, make sure you respect
    sqf scripting rules, or DAA will not run the next time you load it. :)

    Config file content is in 16 sections...

    section (1) master switch
    This turns on/off DAA

    section (2) Number of aircraft allowed to spawn

    Area # Description
    civ_max = 8; Number of Aircraft @ Altis Gravia Airport (MAIN)----
    mil1_max = 2; Military Aircraft @ North Altis Gravia Base---------
    mil2_max = 3; Military Aircraft @ South Altis Gravia Base---------
    out1_max = 1; Commercial Aircraft @ AAC Airport-------------------
    out2_max = 1; Commercial Aircraft @ Ammoloi Airport---------------
    out3_max = 1; Commercial Aircraft @ Desert Airport----------------
    out4_max = 1; Commercial Aircraft @ Molos Airport-----------------
    out5_max = 1; Commercial Aircraft @ Selakano Airport--------------

    section (3) Aircraft Spawn (see below about changing spawning aircraft)

    section (4) Change the spawn location from "auto" or "manual" mode.

    - If a location is set to "auto", then random aircraft will spawn at that location
    - If a location is set to "manual", then it will wait for you to place an aircraft over
    that location. You can identify the location (in-game), because an orange cone will
    be sitting directly over the spawn location.

    In the editor, you can place an aircraft over the spawn location, and that will
    trigger that aircraft to spawn... just remember that the spawn location must be set
    to "manual" and "this setVariable["persistent",true];" must be placed in the aircraf
    init box.

    -or-

    After the game has started, you can tow an aircraft to the spawn location... it will then
    begin to spawn that aircraft type at that location (repeatedly).

    *** Important... So I say it again ***
    if you are placing object/aircraft using the editor, do not forget to place this
    code into the aircraft's init line: this setVariable["persistent",true];


    section (5) Hold aircraft at ramp

    you can make aircraft hold at any spawn location... if set to on, then aircraft
    will not taxi until you have "released" it. To release an aircraft, approach
    the aircraft, within 20 meters, you should see an addaction "release aircraft".


    section (6) Tow truck

    Will spawn a tow truck directly in front of the airport main building. Yes, you can
    tow around non-spawned aircraft (only). This means aircraft that you have placed
    at NON-spawn locations. Once in-tow, just dont drive over 13Kmh/hr.. or you might
    lose your aircraft in-tow.

    section (7) Allow player to push/pull objects

    Yes, you read that correctly... finally you can push and pull boxes and crates around.
    it is fun to use this in conjunction with IgiLoad... now you can grab boxes and put
    them right behind the truck, or once unloaded from the truck, you can drag them
    over to the aircraft and load them in the back. Works with both the C-130 cargo and C-17

    section (8) Additional Aircraft Lighting

    you can turn this off if your frame rates are dying

    secton (9) ALS System

    you can turn this off if your frame rates are dying

    section (10) Prevent Aircraft from tipping

    if you are using the All-in-Arma Mod, some aircraft tip backward on taxi.
    just turn this on. it works for most aircraft. It can be configured in the
    aircraftconfig.sqf file found here: Arma 3\userconfig\DynamAA

    section (11) IgiLoad scripts

    Turns on or off IgiLoad

    section (12) AI globalchat

    Turns on or off globalchat... if turned on, you can see AI requesting taxi, etc.

    section (13) Fog Preference

    Turns on or off Fog

    sections (14 ~ 16) no need to change... UNLESS YOU MUST!!!




    Changing Spawning Aircraft and adding Add-On Aircraft:
    if you want to enable mod aircraft and have them spawn automatically:

    1) open the file named "userconfig" inside the following folder: Arma 3\userconfig\DynamAA

    2) Then, scroll down to section 3.

    3) Then, change the local variable "_aircraftspawnselection" from 1 to 2 or to 3

    1 = Native A3 aircraft (preset for you... )
    2 = A3 Add-On Aircraft Native to A3 (you will need the mods for this, see below)
    3 = A2 Add-On Aircraft for All-in-Arma (go buck wild...)

    4) Then, scroll down to where you see "//A3 Add-0n Alternate Set-------..."
    -or, if you are using All-In-Arma-
    Then, scroll down to where you see "//A2 All-In-Arma Add-0n Alternate Set..."

    5) Then, change the classnames to the matching classnames of aircraft you want to have spawn
    (of course the proper add-ons must be installed on your machine... or no-go)


    Some Advice about Add-On Aircraft Native to Arma 3 (as of 4/13/2014):
    To enjoy Dynamic Altis Airports mod, you really should have the following aircraft mods installed:

              Classname          
              Vehicle          
    Download source
    globemaster_c17_701
    C-17 (cargo)
    http://www.armaholic.com/page.php?id=25090
    C130J_Cargo
    C-130J
    http://www.armaholic.com/page.php?id=24735
    ivory_yak42d_1
    YAK-42
    http://www.armaholic.com/page.php?id=24361
    JS_JC_FA18E
    F-18 S Hornet
    http://www.armaholic.com/page.php?id=22595
    STI_A10A
    A-10A
    http://www.armaholic.com/page.php?id=25324

    IF you are running All-In-Arma, well then you can run just about any aircraft mod EVER!


    Media:


    Changelog:
    vAlpha 7.0
  • Fixed Ammalofi departure script
  • Added fuel and tow trucks at all airfields
  • Updated USAF Mod aircraft classnames



  • Credits & Thanks:
    This mod could not have worked without the help of others. My many thanks!
      function: repetitive_cleanup code AUthor: aeroson
      function: Crater Cleaner code Author: -=XTRA=- tox1m
      function: towing and pushback Inspiration: Brone



    Dynamic Altis Airports vAlpha 7.0



    Repetitive Cleanup (Not essential but helpful)
    Ural Trucks - Fuel truck hose (Not essential but helpful)

    This post was edited by Big (2014-08-29 06:41, ago)


    Author Message


    Posts: 27
    Rank:


    Level: Member

    Country: nl
    Location:
    Occupation: Student
    Age: 24
    In-game name: CyclonicTuna

     
    #2 Posted at 2014-03-18 16:06        
         
    I've been waiting for something like this for years. Finally something to breathe some life into the Arma universe. I absolutely love this.

    Are you planning on incorperating military logistics traffic?: USAF Air Asset Addon

    Also, maybe it would be cool to have some groundcrew at work.

    This post was edited by CyclonicTuna (2014-03-18 16:20, ago)


    Advertisement


    Author Message


    Posts: 3
    Rank:


    Level: Member

    Country: be
    Location: Ravels
    Occupation: Vorklift-driver
    Age: 40
    In-game name: McGyver[NL]

     
    #3 Posted at 2014-03-18 22:33        
         
    Hi there Penneyfour,

    I've downloaded your module...but somehow it doesn;t work for me. Are there any dependencies? or is there something else that i have to do before i am able to play?

    The module itself looks awesome and i can't wait to see it and try it out.


    Author Message


    Posts: 59
    Rank:


    Level: Member

    Country: au
    Location:
    Occupation:
    Age:
    In-game name:

     
    #4 Posted at 2014-03-19 05:37        
         
    Wow this seems very interesting. Is this system modular, meaning that we can place it on any other map?


    Author Message


    Posts: 3
    Rank:


    Level: Member

    Country: be
    Location: Ravels
    Occupation: Vorklift-driver
    Age: 40
    In-game name: McGyver[NL]

     
    #5 Posted at 2014-03-19 11:53        
         
    # CoHmodderSolo : Wow this seems very interesting. Is this system modular, meaning that we can place it on any other map?


    It's not a module yet...i miswrote myself....for now it is still some sort of a mission.


    Author Message


    Posts: 1
    Rank:


    Level: Member

    Country: uk
    Location:
    Occupation:
    Age:
    In-game name:

     
    #6 Posted at 2014-03-21 19:07        
         
    I can't load it, any help?
    I move the folder named dynamic-altis-airport.altis to the mission folder, but I can only load it through scenarios but it's broken.

    This post was edited by Baxy911 (2014-03-21 19:16, ago)


    Author Message


    Posts: 11
    Rank:


    Level: Member

    Country: us
    Location:
    Occupation:
    Age: 47
    In-game name: penneyfour

     
    #7 Posted at 2014-03-23 17:11        
         
    # Baxy911 : I can't load it, any help?
    I move the folder named dynamic-altis-airport.altis to the mission folder, but I can only load it through scenarios but it's broken.

    Baxy911
    You are correct to move the dynamic-airports-altis.altis into your \Documents\Arma3\missions\ folder. Do not move the DynamAA folder out of the dynamic-airports-altis.altis folder. Just leave it in there. Then open your ArmA3 editor, click load, and choose "dynamic-airports-altis". Then you should see it in the editor and get it to run.

    As for the aircraft, you will need to download them from ArmAholic under mods. Good luck. Penneyfour

    Added 3 minutes later:

    # CoHmodderSolo : Wow this seems very interesting. Is this system modular, meaning that we can place it on any other map?

    CoHmodderSolo,
    At the present time this is not a module. I am learning now how to make modules. It would be best as a module, then it could be run alongside any other mission, and that is my ultimate goal. Any help from the community with converting this mission to a module would be greatly appreciated. - penneyfour

    Added 5 minutes later:

    # CyclonicTuna : I've been waiting for something like this for years. Finally something to breathe some life into the Arma universe. I absolutely love this.

    Are you planning on incorperating military logistics traffic?: USAF Air Asset Addon

    Also, maybe it would be cool to have some groundcrew at work.

    CyclonicTuna,
    This mod (Ver 1.0 posted today) runs flawlessly with the C-17, C-5, and C-130J. With All-in-Arma running, I did have some problems with the C-130J bouncing around on the taxiway, but was able to overcome it with code. Please give it a try and let me know what you think. - penneyfour

    This post was edited by penneyfour (2014-03-23 17:20, ago)


    Author Message

    Myke  

    Mc Script


    Posts: 1034
    Rank:


    Level: Member

    Country: ch
    Location: St. Gallen
    Occupation: Armaholic addon tester
    Age: 47
    In-game name: Myke

     
    #8 Posted at 2014-03-25 20:30        
         
    I get a bunchload of error messages about variables not being initialized (holdshort1_1 is one i remember). Just FYI.


    Author Message


    Posts: 11
    Rank:


    Level: Member

    Country: us
    Location:
    Occupation:
    Age: 47
    In-game name: penneyfour

     
    #9 Posted at 2014-03-26 08:45        
         
    # Myke : I get a bunchload of error messages about variables not being initialized (holdshort1_1 is one i remember). Just FYI.

    Myke, yours is the first feedback regarding any errors. I appreciate it. I cannot seem to replicate the error you describe, so any further information would be very helpful. - penneyfour


    Author Message

    Myke  

    Mc Script


    Posts: 1034
    Rank:


    Level: Member

    Country: ch
    Location: St. Gallen
    Occupation: Armaholic addon tester
    Age: 47
    In-game name: Myke

     
    #10 Posted at 2014-03-26 09:51        
         
    The RPT is filled with these lines:
    Error in expression <0, [0,2.2,8.45]];
    waituntil {sleep 0.5; holdshort1_1};
    _light2 setLightBrightnes>
      Error position: <holdshort1_1};
    _light2 setLightBrightnes>
      Error Nicht definierte Variable in Ausdruck: holdshort1_1
    File C:\Users\Myke\Documents\Arma 3\missions\dynamic-altis-airports_v1-0.Altis\DynamAA\ground\tractor_beam_towers.sqf, line 127
    

    Also those come up later:
    Error in expression <rue];
    _Veh01 setvariable ["flightplan", _Veh01_flightplan, true];
    _Veh01 setvari>
      Error position: <_Veh01_flightplan, true];
    _Veh01 setvari>
      Error Nicht definierte Variable in Ausdruck: _veh01_flightplan
    File C:\Users\Myke\Documents\Arma 3\missions\dynamic-altis-airports_v1-0.Altis\DynamAA\ground\veh_big_spawn.sqf, line 168
    Cannot create non-ai vehicle FUTARM_RED_MT,
    Error in expression <rue];
    _Veh01 setvariable ["flightplan", _Veh01_flightplan, true];
    _Veh01 setvari>
      Error position: <_Veh01_flightplan, true];
    _Veh01 setvari>
      Error Nicht definierte Variable in Ausdruck: _veh01_flightplan
    File C:\Users\Myke\Documents\Arma 3\missions\dynamic-altis-airports_v1-0.Altis\DynamAA\ground\veh_big_spawn.sqf, line 168
    No speaker given for Kyriakos Petridis
    Error in expression <Air01 getvariable "pilot_name";
    
    while {ammoloi_holdshort1} do
    {
    _Air01 setfuel >
      Error position: <ammoloi_holdshort1} do
    {
    _Air01 setfuel >
      Error Nicht definierte Variable in Ausdruck: ammoloi_holdshort1
    File C:\Users\Myke\Documents\Arma 3\missions\dynamic-altis-airports_v1-0.Altis\DynamAA\holdshort\holdshort_ammoloi_2.sqf, line 10
    Error in expression <raffic on final"];
    sleep 10;
    };
    
    while {ammoloi_holdshort2} do
    {
    _Air01 setfuel >
      Error position: <ammoloi_holdshort2} do
    {
    _Air01 setfuel >
      Error Nicht definierte Variable in Ausdruck: ammoloi_holdshort2
    File C:\Users\Myke\Documents\Arma 3\missions\dynamic-altis-airports_v1-0.Altis\DynamAA\holdshort\holdshort_ammoloi_2.sqf, line 17
    Error in expression <affic on runway"];
    sleep 10;
    };
    
    while {ammoloi_holdshort1} do
    {
    _Air01 setfuel >
      Error position: <ammoloi_holdshort1} do
    {
    _Air01 setfuel >
      Error Nicht definierte Variable in Ausdruck: ammoloi_holdshort1
    File C:\Users\Myke\Documents\Arma 3\missions\dynamic-altis-airports_v1-0.Altis\DynamAA\holdshort\holdshort_ammoloi_2.sqf, line 24
    Error in expression <raffic on final"];
    sleep 10;
    };
    
    while {ammoloi_holdshort2} do
    {
    _Air01 setfuel >
      Error position: <ammoloi_holdshort2} do
    {
    _Air01 setfuel >
      Error Nicht definierte Variable in Ausdruck: ammoloi_holdshort2
    File C:\Users\Myke\Documents\Arma 3\missions\dynamic-altis-airports_v1-0.Altis\DynamAA\holdshort\holdshort_ammoloi_2.sqf, line 31
    
    I'm not using any Mods at all, i use the dev branch of A3.

    Hope this helps.


    Author Message


    Posts: 16
    Rank:


    Level: Member

    Country: nl
    Location:
    Occupation:
    Age:
    In-game name:

     
    #11 Posted at 2014-04-05 13:39        
         
    I preview the example mission and all looks fine..planes are leaving and landing. I placed a civ car and a nato hunter in the example mission and after the message "Aircraft Loading Complete" they dissapear??


    Author Message

    Orco  



    Posts: 6
    Rank:


    Level: Member

    Country: de
    Location:
    Occupation:
    Age:
    In-game name:

     
    #12 Posted at 2014-04-07 11:39        
         
    Hello penneyfour,
    thanks for that fine work.
    but can you please explane why this does not work in multiplayer? i try to set up a flightschool mission for my friends and your scripts should run in the background for ambience. arma always crashes when i changed it in the editor with some aditional units, even if i am the only player.

    and why is the setpos/getpos of the player figure? i dont understand. will you plz help me to understand?
    if it should not crash, i can reconstruct the error and send the rpt.

    thank you in advance

    edit: even in normal sp editor i dont get radio sounds or musik played. the startup sounds and environmental airport sounds seem to work all like they should, though.

    This post was edited by Orco (2014-04-07 11:57, ago)


    Author Message

    Orco  



    Posts: 6
    Rank:


    Level: Member

    Country: de
    Location:
    Occupation:
    Age:
    In-game name:

     
    #13 Posted at 2014-04-08 22:10        
         
    @syncie: this should be the cleanup script. it starts to delete every unused empty or distroyed vehicle/dead bodys and so on. just put in the units init "this setVariable["persistent",true];" (without " ")


    Hey penneyfour, just a littel feedback, if you are interested in.
    I tried the last 2 days to figure out all these scripts in your mission. i think i have at least an idea now what they do (not how they work^^ <- programming noob)

    1.i think i know the problem why it crashed in my multiplayer attempts: i didnt used the "persistent" stuff in my init line, and maybe if i used the empty vehicles, it bugged out. now it works, even in multiplayer.

    2.in the description i can change the volume of some sound stuff, which works fine. but the initial radio message does not play. it is by default on db+0 so i changed that on some higher values, but still no message. (singleplayer and multiplayer tested)

    3.i dont quite understand the term of the diary creation, but it seems it does not create one, so i can not see these nice aproaching plans ingame (singleplayer and multiplayer tested)

    4 very important here: almoast all the time and with all kinds of aircraft types there happens to be an explosion soon after the mission start (one of the first 4 planes to arrive there) at the most southern junction/crossing, right before reaching the departure point of the main runway.
    this results in a damaged runway/taxiway. so all following airplanes get stuck and traffic is disrupted. (singleplayer and multiplayer tested)

    5.still the C-130J has some issues on the main taxiway and gets kind of stuck. i have never seen it taken off, i now tested the mission over 15 times. (singleplayer and multiplayer tested)

    maybe this helps. thank you so far for your effort with this mission. i hope you can one day, make an easy kind of module out of it. now the size is still pretty big and consumes mutch pc performance. but i love it already^^

    This post was edited by Orco (2014-04-08 22:20, ago)


    Author Message


    Posts: 11
    Rank:


    Level: Member

    Country: us
    Location:
    Occupation:
    Age: 47
    In-game name: penneyfour

     
    #14 Posted at 2014-04-14 09:23        
         
    Dynamic Altis Airports has been released as a Module. (4-14-2014)
    Many bug fixes with 2.0. Drag and Drop into your mission!
    Still not personally tested in multi-player, your feedback welcome.
    Thanks everyone for your support - penneyfour


    Author Message

    Orco  



    Posts: 6
    Rank:


    Level: Member

    Country: de
    Location:
    Occupation:
    Age:
    In-game name:

     
    #15 Posted at 2014-04-14 18:18        
         
    -edit- cause i was stupid, nevermind

    thanks alot, i am just testing

    Added 16 hours 26 minutes later:

    Hello penneyfour,
    i tested your module yesterday and i had some issues. i only used the exact same recomended airplane addons and standard arma3 (just also jsrs soundmod)
    and i had some issues as you can see on the following picturese:

    http://s325.photobucket.com/user/Orcowar/media/arma32014-04-1419-56-14-933_zpsb59cbec3.jpg.html

    http://s325.photobucket.com/user/Orcowar/media/arma32014-04-1420-04-50-895_zps50d96f9f.jpg.html

    this didnt happen always but in a about 30% of the time when planes respawned.

    and also they dont quite spawn with direction west, as it is mentionend in your tutorial. they spawned exactly north.
    maybe this was my fault for placing them wrong in the first place? (direction east) (i put everthing on manual, not automatic, and then place a few airplanes)

    and just to a side note: i started at the parking lot slightly aside the airport terminal. i didnt know the tanking truck will spawn there too, so i blew up because one spawned rith underneath me. it is not a big of a problem if one knows, but maybe it is possible to mark the spawnplaces of the crew/trucks also with a marker.
    i think your module is really grate, besides these issues and i think also the problem of planes often blowing up on the taxiway is solved (i had this problem alot with the non-module version)

    thank you very much

    This post was edited by Orco (2014-04-15 10:50, ago)