Jump to content

KA-50: Functioning Iglas (POC) Howto!...


Recommended Posts

I decided to start a new thread rather than clutter up the Maverick thread with this stuff so here goes...

 

Tyger mentioned that he would like to see wingtipped Iglas on the Black Shark so I started to experiment.

 

QJjzY.jpg

 

3jGSa.jpg

 

This first bit of information is not new. To add a weapon to an aircraft you simply find the CLSID of the weapon and add it to the aircraft pylon list.

 

The file you're looking for is \DCS World\Scripts\Database\db_weapons_data.lua

 

This contains the weapons data for everything in DCS:W and we see that the Igla is...

 

[26] =

{

CLSID = "9Ì39",

Elements = {},

attribute = {4, 4, 34, 91},

displayName = _("SA-18 GROUSE"),

}, -- end of [26]

 

Note the extended character in the CLSID (this threw me for a bit!)

It's listed under it's NATO reporting name "Grouse". So, now we have our CLSID we need to make it selectable for a pylon.

 

\DCS World\Scripts\Database\Helicopters\Ka-50.lua

 

pylon(1, 0, 0.947000, -0.348000, -2.735000,

{

FiZ = -3,

arg = 308,

},

{

{ CLSID = "B_8V20A_CM" },

{ CLSID = "B_8V20A_OFP2" },

{ CLSID = "B_8V20A_OM" },

{ CLSID = "{A6FD14D3-6D30-4C85-88A7-8D17BEE120E2}" },

{ CLSID = "{6DADF342-D4BA-4D8A-B081-BA928C4AF86D}" },

{ CLSID = "{6A4B9E69-64FE-439a-9163-3A87FB6A4D81}" },

{ CLSID = "{FC56DF80-9B09-44C5-8976-DCFAFF219062}" },

{ CLSID = "{05544F1A-C39C-466b-BC37-5BD1D52E57BB}" },

{ CLSID = "{96A7F676-F956-404A-AD04-F33FB2C74884}" },

{ CLSID = "{96A7F676-F956-404A-AD04-F33FB2C74881}" },

{ CLSID = "{3C612111-C7AD-476E-8A8E-2485812F4E5C}" },

{ CLSID = "{37DCC01E-9E02-432F-B61D-10C166CA2798}" },

{ CLSID = "{B99EE8A8-99BC-4a8d-89AC-A26831920DCE}" },

{ CLSID = "9Ì39" }, <-- Just add this line!

}

),

 

Done! now you can load that bad boy on the shark. Take off, lock on to some scumbag enemy fighter and hit fire!...WATCH AS HE BU....oh wait, nothing happened...I suppose we should actually get the igla to fire right?

 

OK. The KA-50 is only capable of firing Laser Homing based weapons. The Igla is an IR based weapon. So let's trick world into thinking the igla is laser based.

 

look for... \DCS World\Config\Weapons\missiles_data.lua and find the igla in there

 

{

Name = Igla_1E, --9M39 Igla

Escort = 0,

Head_Type = 1,

sigma = {3, 3, 3},

M = 10.8,

H_max = 2500.0,

H_min = 1.0,

Diam = 72.0,

Cx_pil = 1,

D_max = 4500.0,

D_min = 500.0,

Head_Form = 1,

Life_Time = 30.0,

Nr_max = 16,

v_min = 70.0,

v_mid = 570.0,

Mach_max = 2.2,

t_b = 0.0,

t_acc = 3.0,

t_marsh = 3.0,

Range_max = 4500.0,

H_min_t = 10.0,

Fi_start = 0.75,

Fi_rak = 3.14152,

Fi_excort = 0.7,

Fi_search = 99.9,

OmViz_max = 99.9,

warhead = warheads["Igla_1E"],

exhaust = tail_solid,

X_back = -0.781,

Y_back = 0.0,

Z_back = 0.0,

Reflection = 0.0044,

KillDistance = 1.0,

},

 

:o there it is! if we take a look at the comments at the top of the file we'll see the various head options and what they're for. We want Laser Homing so we'll change the head type to 4. NOW WE CAN FIRE IT RIGHT?...well, not yet.

 

There's one more piece of information that took me a while to figure out.

 

Take a look at this again...

 

[26] =

{

CLSID = "9Ì39",

Elements = {},

attribute = {4, 4, 34, 91},

displayName = _("SA-18 GROUSE"),

}, -- end of [26]

 

That attributes line is the key to getting stuff to work and last night I managed to decode it.

The attriubute parameters uses \DCS World\Scripts\Database\wsTypes.lua and \DCS World\Scripts\Database\Types.lua files to 'create' the weapon.

 

First it looks in wsTypes.lua the file is commented with "level 1, level 2" etc. which proved to be a great help initially. Let's look for our attriubutes of 4, 4, 34, 91.

 

So level 1...4

 

wsType_Weapon = 4

 

level 2...4

 

wsType_Missile = 4

 

level 3...34

 

wsType_SA_Missile = 34

 

nice. the last attribute is taken from Types.lua. so look for 91 in there.

 

wstype_missiles[91] = {wsType_Weapon, wsType_Missile, wsType_SA_Missile} -- Igla_1E

 

Yup, there it is. Now, the Igla won't fire with those attributes on the black shark so we need to figure out the attributes that will make it fire. the first two 4, 4 is ok as the weapon is indeed a 'weapon' and a 'missile' the last one 91 is also fine as we need it to fire the Igla. The problem is '34' The shark refuses to fire a SAM...regardless of how nicely you ask.

 

so a quick look through our level three list again in wsTypes.lua

 

-- wsType_Missile

wsType_AA_Missile = 7

wsType_AS_Missile = 8

wsType_SA_Missile = 34

wsType_SS_Missile = 11

 

well well well!....the shark can for sure fire Air to Surface weapons so lets try for that '8'

So after all that, this is out new addition

[26] =

{

CLSID = "9Ì39",

Elements = {},

attribute = {4, 4, 8, 91},

displayName = _("SA-18 GROUSE"),

}, -- end of [26]

 

So that's how to convert an IR igla into a launchable Laser Homing missile for the Black Shark. This can be in theory used for any weapon available in DCS:W so give it a go!

 

Thanks,

Ebs.

Link to comment
Share on other sites

Cool! Are you going to release this as a mod?

 

EDIT:

 

Just read that the KA-50 could take the R-73 on the outer pylon. Igla was wingtip mounted I don't think that is going to be realistic without changing the model...


Edited by TurboHog

'Frett'

Link to comment
Share on other sites

There's a lot of controversy over what the KA-50 can and cannot carry. It's possible to mod extra pylons for a semi-wingtip appearance but obviously I'm having trouble selecting these extra pylons from the cockpit. Might be doable though!

 

I'll release the files later as an unfinished mod in this thread so people can take a look at how it's done.

Link to comment
Share on other sites

Just read that the KA-50 could take the R-73 on the outer pylon. Igla was wingtip mounted I don't think that is going to be realistic without changing the model...

The closest to carrying an R-73 the Ka-50 ever got were a few mockups loaded on Ka-52's. There may have been plans to enable it (or at least add the ability to fire Igla's, as the A2A switch on the collective would suggest) but nothing ever came of it, probably thanks to the financial difficulties in the 90's. Now that there are only about 10 Ka-50's and there's not likely to ever be more, they probably see no point in adding the capability. Kamov still offers it, but the Russian military doesn't use it.

 

Yeah, it stinks. I imagine that if they did add the capability in, the interface would be similar to how Iglas are launched from the Mi-24 or Mi-28.

 

 

 

Ebs, how does this change affect Igla employment by MANPADS units? And thanks for explaining what those attributes are for! I had figured out what the last one did, but I didn't understand the first three values.

Link to comment
Share on other sites

Brillant Ebs! Thanks a lot. I couldn't go further than locking a target and indeed the release trigger was inoperative. You made an amazing work. I think I'll rather go for the mod with R73 on pylons rather than Iglas since it seems to me more realistic (until there's a way to have Iglas on wingtips that wa can easily select). Could you complete your topic to explain how to mount and fire a R73 instead?

I am convinced, considering all the provisions in the Ka-50 cockpit, that this chopper was made to also fire AA weapons. I am convinced too that DCS world needs to give the Ka50 a AA capability to balance multi squad MP.

Link to comment
Share on other sites

Kamov still offers it, but the Russian military doesn't use it.
Kamov offers it, there is a button to launch it, there is a button to jettison it, Ka-50 does not need any additional sensors or systems to be able to launch R-73 (or Igla), yet, we don't have it in the game!!

 

Russian military doesn't use it because there is no need for it. But it is available i real life.

Thermaltake Kandalf LCS | Gigabyte GA-X58A-UD3R | Etasis ET750 (850W Max) | i7-920 OC to 4.0 GHz | Gigabyte HD5850 | OCZ Gold 6GB DDR3 2000 | 2 X 30GB OCZ Vertex SSD in RAID 0 | ASUS VW266H 25.5" | LG Blue Ray 10X burner | TIR 5 | Saitek X-52 Pro | Logitech G930 | Saitek Pro flight rudder pedals | Windows 7 Home Premium 64 bit

Link to comment
Share on other sites

Kamov offers it, there is a button to launch it, there is a button to jettison it, Ka-50 does not need any additional sensors or systems to be able to launch R-73 (or Igla), yet, we don't have it in the game!!

 

Russian military doesn't use it because there is no need for it. But it is available i real life.

That's not what ED has said.

Link to comment
Share on other sites

  • 1 month later...

Great research. I tried to make my Ka-50 shoot an AMRAAM, but was obviously met with failure. The thing is, an active radar AAM will pitbull right off the rail, so it would actually work. It's just horribly unrealistic.

 

What is not answered in this post is whether or not you can actually make the Igla guide on anything. Anyone know?

Intelligent discourse can only begin with the honest admission of your own fallibility.

Member of the Virtual Tactical Air Group: http://vtacticalairgroup.com/

Lua scripts and mods:

MIssion Scripting Tools (Mist): http://forums.eagle.ru/showthread.php?t=98616

Slmod version 7.0 for DCS: World: http://forums.eagle.ru/showthread.php?t=80979

Now includes remote server administration tools for kicking, banning, loading missions, etc.

Link to comment
Share on other sites

Great research. I tried to make my Ka-50 shoot an AMRAAM, but was obviously met with failure. The thing is, an active radar AAM will pitbull right off the rail, so it would actually work. It's just horribly unrealistic.

 

What is not answered in this post is whether or not you can actually make the Igla guide on anything. Anyone know?

 

Speed, I could only get it to guide on the KA-50's laser.

That was as far as I got!

Link to comment
Share on other sites

  • 3 years later...
  • 2 years later...

A video Confirmation of a Laser ilga guiding would be perfect!

Keep up the good work man!

It would also be nice to find a way to copy the ilga radar guided version and call it ilga (2.0) or whatever is the correct name and then simply make a laser version separate to select so it doesn't mess-up all the iglas for AI and other aircraft and such.

 

If we made it this far I'm sure we can go just a little further;) great job by the way!

Modded CapLoz HeliosV2.1_1280x1024.zip

 

2x 1080p 22"Monitors, Saitek X52, Saitek Combat Rudder Pedals, Trackir5, Win7Pro Pro 64Bit, Intel Q9550 @3.8Ghz, EP45-UD3L, 8GB Ram, Nvidia 560Ti 2GB, 2x 500GB Velociraptor

 

Flaming Cliffs 3

DCS:A10C,KA-50, Huey, Mi-8, WWII Euro 40+ Supporter, Mig21

Falcon 4 BMS

IL-2 Sturmovik: 1946

Take on Helicopters

Arma 2 AO + PMC + BF All Addons Series

Arma 3

EECH & EEAH

Medivac & Search and Rescue 4 Series

 

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

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