Jump to content

Adding the ALQ-184 to the selectable loadout?


JayPee

Recommended Posts

Well, I'm sorta stuck.. I can select it in the loadout screen for stations 1 and 11. It also shows up in the DSMS page as ALQ-184(v). Only issue is it doesn't show up under the wing while the game does recognise the CLSID and .edm file. I'm busy finding out what's wrong.. Will keep you posted.

 

In the meantime, why don't you help me?

 

I added the following to db_weapons_data.lua

   
           {
               CLSID    =    "{ALQ_184}",
               Picture    =    "ALQ184.png",
               displayName    =    _("ALQ-184"),
               Weight    =    200,
               Cx_pil    =    0.00083740234375,
               attribute    =    {4,    15,    45,    142},
               Elements    =    
               {
                   [1]    =    
                   {
                       Position    =    {0,    0,    0},
                       ShapeName    =    "ALQ-184",
                   }, -- end of [1]
               }, -- end of Elements
           },

The following to Types.lua

wstype_containers[142]  = {wsType_Weapon, wsType_GContainer, wsType_Jam_Cont} -- ALQ_184

The following to A-10C.lua under station 1 and 11

{ CLSID = "{ALQ_184}" }, --ALQ-184

Credit goes to Eddie for these 3 steps. He's using it with a set of internal squadron mods. Currently I'm finding out why it does work in combination with his squadron's mods and why the model doesn't show up for me. Everything else besides the missing model does work it seems.

 

PS: You either have to make a .png or copy another one and rename it. Whatever you do, you need a .png with the same filename as the .edm.


Edited by JayPee

i7 4790K: 4.8GHz, 1.328V (manual)

MSI GTX 970: 1,504MHz core, 1.250V, 8GHz memory

Link to comment
Share on other sites

  • Recently Browsing   0 members

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