Jump to content

Search for wsType Name for different MiG-21Bis Weapons


Recommended Posts

Posted

I search for the wsType Name of the Kh-66 missiles to use it in different lua-scripts (like the Training Range Script from Cougar (http://forums.eagle.ru/showthread.php?t=116794)).

 

In the wsType.lua file (..\Eagle Dynamics\DCS World\Scripts\Database) i found only X_23 = 43; -- X-23 Grom anti-radar(AS-7 'Kerry') but this is an Anti-Radar missile!

 

Also i don`t found the different Air2Air missiles (like R-3S/R, R-13M, ...) ...

Playing: DCS World

Intel i7-13700KF, 64GB DDR5 @5600MHz, RTX 4080 ZOTAC Trinity, WIN 11 64Bit Prof.

Squadron "Serious Uglies" / Discord-Server: https://discord.gg/2WccwBh

Ghost0815

Posted
I search for the wsType Name of the Kh-66 missiles to use it in different lua-scripts (like the Training Range Script from Cougar (http://forums.eagle.ru/showthread.php?t=116794)).

 

In the wsType.lua file (..\Eagle Dynamics\DCS World\Scripts\Database) i found only X_23 = 43; -- X-23 Grom anti-radar(AS-7 'Kerry') but this is an Anti-Radar missile!

 

Also i don`t found the different Air2Air missiles (like R-3S/R, R-13M, ...) ...

I believe, these are defined in the aircraft's mod directory - but the relevant .LUA files are precompiled/obfuscated and thus not human readable or modifiable.

 

See the discussion about this topic here (including the following answers and replies): http://forums.eagle.ru/showthread.php?p=2136229#post2136229

  • 1 month later...
Posted

Just searching for a practice bomb of the MiG21bis I found you post here and just wanted to point out, that you can also get the names of the weapons by simply using this script lines below in a mission. When you fire a wepon, this script prints out the name of the weapon [getTypeName()], which you can then use in a scripting:

 

do
local getAAmissilename = {}
world.addEventHandler(getAAmissilename)

function getAAmissilename:onEvent(event)

  if event.id == world.event.S_EVENT_SHOT
  then
     
     local missile = event.weapon
     local missilelauncher = event.initiator
     
     if  missilelauncher ~= nil and missile ~= nil
     then
        local missiletypename = missile:getTypeName()
        trigger.action.outText("following system was fired: "..missiletypename,20)
     end
     
  end
end

end

 

The MiG21bis AA missiles are f.e. down below:

 

--F-15C
missletype1 = 'AIM-120C' --
missletype2 = 'AIM-7M' --
missletype3 = 'AIM-9M' -- 
missletype4 = 'AIM-120B' --
missletype5 = 'AIM-9P' --
--Su27/MiG29
missletype6 = 'R-27R' --
missletype7 = 'R-27ET' --
missletype8 = 'R-27ER' --
missletype9 = 'R-73' --
missletype10 = 'R-77' --
missletype11 = 'R-27T' --
--MIG21
missletype12 = 'R-60M' --
missletype13 = 'R-60' --
missletype14 = 'R-3S' --
missletype15 = 'R-13M1' --
missletype16 = 'R-13M' --
missletype17 = 'R-55' --
missletype18 = 'RS-2US' --
missletype19 = 'R-3R' --

[sIGPIC][/sIGPIC]

 

Unsere Facebook-Seite

  • Recently Browsing   0 members

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