Page 57 of 71 FirstFirst ... 74753545556575859606167 ... LastLast
Results 561 to 570 of 707

  Click here to go to the first Developer post in this thread.  

Thread: F/A-18 Super Hornet

  1. #561
    Sorry for the inconveniance but i have others questions about payloads:

    I tryed to use Addweapon, removeMagazine... commands in the editor; Succes for remove weapon by weapon, But to add an others weapons, they take place no matter how on pylons. (I seen fuel tanks has the place of AIM-9 OMG!)

    Thanks again

    Regards

  2. #562
    Quote Originally Posted by Braker355 View Post
    Sorry for the inconveniance but i have others questions about payloads:

    I tryed to use Addweapon, removeMagazine... commands in the editor; Succes for remove weapon by weapon, But to add an others weapons, they take place no matter how on pylons. (I seen fuel tanks has the place of AIM-9 OMG!)

    Thanks again

    Regards
    you need to remember to add the magazines in order of the proxies. Then they will show on the propper station
    Dco 1-502INF 101st Airborne (RET)

    http://pracs.rkslstudios.info/

  3. #563
    Thanks, but you have an exemple of code for me?

  4. #564
    you will need to open the config.cpp to see what order they are loaded, then you will be required to add them one at a time in a trial and error method.

  5. #565
    Moderator [FRL]Myke's Avatar
    Join Date
    May 27 2007
    Location
    Yay, Rank 34 of 47119 and catching up.
    Posts
    6,571
    Quote Originally Posted by wld427 View Post
    you will need to open the config.cpp to see what order they are loaded, then you will be required to add them one at a time in a trial and error method.
    No need to. Go into the editor, place a F/A-18 and put this code in it's initline:
    Code:
    myMagazines = getArray (configFile >> "cfgVehicles" >> (typeof this) >> "magazines");
    {
    	diag_log format ["Magazine %1: %2", _forEachIndex, _x];
    } foreach myMagazines;
    This will write the magazines in the proper order into the rpt file.

  6. #566
    Thanks, i go to test that

    Happy new year!

    ---------- Post added at 03:16 PM ---------- Previous post was at 03:02 PM ----------

    hum, sorry again but i don't find any rpt file or config.cpp in my computer...

    If you have a path... Thanks. Regards

  7. #567
    Moderator [FRL]Myke's Avatar
    Join Date
    May 27 2007
    Location
    Yay, Rank 34 of 47119 and catching up.
    Posts
    6,571
    Quote Originally Posted by Braker355 View Post
    Thanks, i go to test that

    Happy new year!

    ---------- Post added at 03:16 PM ---------- Previous post was at 03:02 PM ----------

    hum, sorry again but i don't find any rpt file or config.cpp in my computer...

    If you have a path... Thanks. Regards
    C:\Users\YOUR_WIN_ACCOUNT_NAME\AppData\Local\ArmA 2 OA

    The folder might be hidden as system folder, unhide it.
    And since you probably never deleted the .rpt file (which can be done safely as A2 automatically creates a new one) i recommend to do so as i guess it might be fairly big now.

  8. #568
    Ok thanks and sorry for the desagrement... and my bad english.

    I will test that again.

    ---------- Post added at 06:45 PM ---------- Previous post was at 05:50 PM ----------

    I succes to the payload placement, but i have an other problem, i can't shoot the 120C and 9M, i dont know why...

    Anybody can test my code please?

    Code:
    this removeWeapon "GLT_AGM65_Launcher";
    this removeWeapon "GLT_MK82_Launcher";
    this removeMagazine "GLT_2Rnd_AIM9M";
    this removeMagazine "GLT_4Rnd_AIM120";
    this removeMagazine "GLT_4Rnd_AGM65";
    this removeMagazine "GLT_4Rnd_MK82";
    this removeMagazine "GLT_1Rnd_fz_f18_droptank";
    this removeMagazine "GLT_4Rnd_fz_f18_dualrail";
    this addWeapon "GLT_AGM154A_Launcher";
    this addMagazine "GLT_2Rnd_AIM9M";this addMagazine "GLT_1Rnd_fz_f18_droptank";
    this addMagazine "GLT_4Rnd_AGM154A";
    this addMagazine "GLT_4Rnd_AIM120"
    I would like to replace the original 4 Mk84 and 4 Mavericks by 4 AGM 154...

    Help please, Kind regards

  9. #569
    Moderator [FRL]Myke's Avatar
    Join Date
    May 27 2007
    Location
    Yay, Rank 34 of 47119 and catching up.
    Posts
    6,571
    Hmmm....how long did you tried? It might be that it takes up to 30 seconds before a newly added magazine is available (magazineReloadTime).

  10. #570
    Reload time! I thought that it was a bug... Now it's work fine.

    Thanks wld427

    Thanks Mr GLT/FLR

    And again, Happy New Year

Page 57 of 71 FirstFirst ... 74753545556575859606167 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •