Jump to content

Trying to find a .lua file where Mig-21 Pylons and it's payload are defined


Recommended Posts

Posted

Trying to test something and I've been messing around but Can't seam to find them where they usually are

 

Anyone know where I can file the .lua file like which path structure is located at?

 

Thanks

[sIGPIC][/sIGPIC]

Youtube

Reddit

Posted
Aye, it's in CoreMods/Mig21/Unitpayloads.lua

 

Thanks for the Reply but that's not really what I'm looking for, What you linked me is the Pre-made Custom payload file, I need pylons definitions so I can have more room to work with while I try to do something

 

I'm looking something that looks closer to this:

 

pylon(9, 0,  -3.086, -0.587, -3.311, {use_full_connector_position=true, connector = "str_pnt_009", arg = 316, arg_value = 0},
		{
			{CLSID = "{MMagicII}", arg_value = 0.15, required = {{station = 1,loadout = {"{MMagicII}"}}} }, -- Matra Magic R.550
			{CLSID = "{Matra155RocketPod}", arg_value = 0.15, required = {{station = 1,loadout = {"{Matra155RocketPod}"}}} }, -- Matra Type 155 Rocket pod
			-- Smoke Generators
			{CLSID = "{A4BCC903-06C8-47bb-9937-A30FEDB4E741}", arg_value = 0.15,arg_increment = -0.1,
						forbidden = {{station = 2}, {station = 3}, {station = 4}, {station = 6}, {station = 7}, {station = 8}}},-- Smokewinder red
			{CLSID = "{A4BCC903-06C8-47bb-9937-A30FEDB4E742}", arg_value = 0.15,arg_increment = -0.1,
						forbidden = {{station = 2}, {station = 3}, {station = 4}, {station = 6}, {station = 7}, {station = 8}}},-- Smokewinder green
			{CLSID = "{A4BCC903-06C8-47bb-9937-A30FEDB4E743}", arg_value = 0.15,arg_increment = -0.1,
						forbidden = {{station = 2}, {station = 3}, {station = 4}, {station = 6}, {station = 7}, {station = 8}}},-- Smokewinder blue
			{CLSID = "{A4BCC903-06C8-47bb-9937-A30FEDB4E744}", arg_value = 0.15,arg_increment = -0.1,
						forbidden = {{station = 2}, {station = 3}, {station = 4}, {station = 6}, {station = 7}, {station = 8}}},-- Smokewinder white
			{CLSID = "{A4BCC903-06C8-47bb-9937-A30FEDB4E745}", arg_value = 0.15,arg_increment = -0.1,
						forbidden = {{station = 2}, {station = 3}, {station = 4}, {station = 6}, {station = 7}, {station = 8}}},-- Smokewinder yellow
			{CLSID = "{A4BCC903-06C8-47bb-9937-A30FEDB4E746}", arg_value = 0.15,arg_increment = -0.1,
						forbidden = {{station = 2}, {station = 3}, {station = 4}, {station = 6}, {station = 7}, {station = 8}}},-- Smokewinder orange
		}
	),

 

Not sure if it's defined in lua for the Mig-21

[sIGPIC][/sIGPIC]

Youtube

Reddit

Posted
Thanks for the Reply but that's not really what I'm looking for, What you linked me is the Pre-made Custom payload file, I need pylons definitions so I can have more room to work with while I try to do something

 

I'm looking something that looks closer to this:

 

pylon(9, 0,  -3.086, -0.587, -3.311, {use_full_connector_position=true, connector = "str_pnt_009", arg = 316, arg_value = 0},
		{
			{CLSID = "{MMagicII}", arg_value = 0.15, required = {{station = 1,loadout = {"{MMagicII}"}}} }, -- Matra Magic R.550
			{CLSID = "{Matra155RocketPod}", arg_value = 0.15, required = {{station = 1,loadout = {"{Matra155RocketPod}"}}} }, -- Matra Type 155 Rocket pod
			-- Smoke Generators
			{CLSID = "{A4BCC903-06C8-47bb-9937-A30FEDB4E741}", arg_value = 0.15,arg_increment = -0.1,
						forbidden = {{station = 2}, {station = 3}, {station = 4}, {station = 6}, {station = 7}, {station = 8}}},-- Smokewinder red
			{CLSID = "{A4BCC903-06C8-47bb-9937-A30FEDB4E742}", arg_value = 0.15,arg_increment = -0.1,
						forbidden = {{station = 2}, {station = 3}, {station = 4}, {station = 6}, {station = 7}, {station = 8}}},-- Smokewinder green
			{CLSID = "{A4BCC903-06C8-47bb-9937-A30FEDB4E743}", arg_value = 0.15,arg_increment = -0.1,
						forbidden = {{station = 2}, {station = 3}, {station = 4}, {station = 6}, {station = 7}, {station = 8}}},-- Smokewinder blue
			{CLSID = "{A4BCC903-06C8-47bb-9937-A30FEDB4E744}", arg_value = 0.15,arg_increment = -0.1,
						forbidden = {{station = 2}, {station = 3}, {station = 4}, {station = 6}, {station = 7}, {station = 8}}},-- Smokewinder white
			{CLSID = "{A4BCC903-06C8-47bb-9937-A30FEDB4E745}", arg_value = 0.15,arg_increment = -0.1,
						forbidden = {{station = 2}, {station = 3}, {station = 4}, {station = 6}, {station = 7}, {station = 8}}},-- Smokewinder yellow
			{CLSID = "{A4BCC903-06C8-47bb-9937-A30FEDB4E746}", arg_value = 0.15,arg_increment = -0.1,
						forbidden = {{station = 2}, {station = 3}, {station = 4}, {station = 6}, {station = 7}, {station = 8}}},-- Smokewinder orange
		}
	),

 

Not sure if it's defined in lua for the Mig-21

 

Was looking at this last night it looks like leatherneck has them inside the Entry folder in coremods because that is what the entry.lua references. The files in the entry folder are compiled lua that I encrypted which we can't change unfortunately. I wanted to put more smokes on but I've had to settle at changing the smoke colour.

Posted (edited)
Was looking at this last night it looks like leatherneck has them inside the Entry folder in coremods because that is what the entry.lua references. The files in the entry folder are compiled lua that I encrypted which we can't change unfortunately. I wanted to put more smokes on but I've had to settle at changing the smoke colour.

 

Thanks mate, No wonder I couldn't find them thought I was losing it

I'll check with the my Lua decompiler

 

Edit: Yup It's there I'll see if I can change something and compile them back and see if it works

 

Managed to get it working by Decomp Am file adding Aim-120C to Pylons 1 & 2 and compiling back

 

56CiLeA.jpg

 

DVCdbJK.jpg

 

Thanks for the help again Man

Edited by Rlaxoxo

[sIGPIC][/sIGPIC]

Youtube

Reddit

Posted
Thanks mate, No wonder I couldn't find them thought I was losing it

I'll check with the my Lua decompiler

 

Edit: Yup It's there I'll see if I can change something and compile them back and see if it works

 

Managed to get it working by Decomp Am file adding Aim-120C to Pylons 1 & 2 and compiling back

 

56CiLeA.jpg

 

DVCdbJK.jpg

 

Thanks for the help again Man

 

No worries what did you use to decompile?

  • Recently Browsing   0 members

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