Jump to content

Recommended Posts

Posted (edited)

This mod has Lightning pod attached to pylon 3. again don't put anything else there as it will misalign. All other pylons are fine as is.

 

Copy to Scripts/database/planes directory.

 

Remember to backup Just in case the game wont start or something else.

 

See bottom posts for new versions. :)

Edited by Bewsher
  • 5 weeks later...
Posted (edited)

So, I liked this idea, but I don't like the idea of having all the different versions for different pods, so I went and made a workaround. Unfortunately, the best I could do was create a new weapon in the db_weapons_data.lua that rotated the AIM-7M missile and then assign that to the forward Sparrow wells. To get this to work, you need to add the following code under [CAT_AIR_TO_AIR] to your db_weapons_data.lua file.

           {
               CLSID    =    "AIM7M_F4",
               Picture    =    "aim7m.png",
               displayName    =    _("AIM-7M"),
               wsTypeOfWeapon    =    {4,    4,    7,    21},
               attribute    =    {4,    4,    32,    112},
               Count     =     1,
               Cx_pil    =    0.0006,
               Weight    =    230,
               Elements    =    
               {
                   [1]    =    
                   {
                       Position    =    {0,    0,    0},
                       ShapeName    =    "F4-PILON",
                   }, 
                   [2]    =    
                   {
                       DrawArgs    =    
                       {
                           [1]    =    {1,    1},
                           [2]    =    {2,    1},
                       }, -- end of DrawArgs
                       Position    =    {0,    0,    0},
                       ShapeName    =    "AIM-7",
                       Rotation    =     {45,1.3,0.4},
                   }, 
               }, -- end of Elements
           }, 

Then this lua of the F-4E will work fine, though old missions will still have wonky AIM-7M placement; to fix it every mission with an F-4E will need its loadout changed. Just assign the AIM-7M for pylons 3 and 7 again.

F-4E.lua

Edited by Xeno426
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...