Jump to content

Recommended Posts

Posted

FC2 is a great work, some question here.

 

In the Mission Editor ,we seem can't save a custom weapon loadout in the default list not like the FC1, we can make a custom payload just for every single mission but next time you entering the FC2 for a different mission the payload is gone......

 

Any measure to save the loadout in default loadout list? And in the MP we are not able to change loadout in the GUI , must call the radio to change. Is there a way to change those default playload and the default Chaff and Flare setting that can suit me best?

 

Eg. I'm a Su33 pliot and I want a 6EM+2ET+2R73+ECM playload with a 50 chaff +46 flare setting, how can I do that regardless the mission file settings?

 

Thx all, and Thx ED for the great project

Deka Ironwork Tester Team

Posted

When you make a new payload save it.

 

I'm pretty sure some of the default loadouts stay with you.

 

I too am curious about the MP payload selection. I'd love to make my own preferred weapons payloads. Mostly because alot of the good payloads lack ECM or other useful features that I like to use.

The right man in the wrong place makes all the difference in the world.

Current Projects:  Grayflag ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

Posted

Me too, pefer the own weapons payload and coutermeasure setting.

 

So anyway of making this happen?

Deka Ironwork Tester Team

Posted

I to would like to have my own, custom weapon load out in MP games. Anybody figured out how to do that yet?

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

Posted

I found possible locations of the files might be useful, but I have not able to tested it yet. If you want to do any change ,BACKUP first, and use the notepad++.

 

first one:

Flaming Cliffs 2\Scripts\Aircrafts\_Common\Rearm.lua

This file is what I believe to be the radio rearm menu will offer. The file is quite clear and easy to understand. Find the A/C you want,eg Su_27(careful:not Su-27) Change the weapon CLSID on the corresponding pylon.

 

second one:

Flaming Cliffs 2\Scripts\Database\planes\

This is the place for all planes lua. You can change the default chaff and flare loadout here ,very simple.

 

 

 

________________

 

But for the massage above , I am not sure if it will work and in MP , It may failed the Anti-Cheat check or even the file is only read from the HOST side, may be someone can have a try.

Deka Ironwork Tester Team

  • 2 weeks later...
Posted

So is it possible to have a custom load out for example on the A-10 ?

I would love to load out just with Mavs + sidewinders

 

Has anyone got this working and confirm what exactly to mod ?

Posted (edited)

Yes it is possible,

Currently I am making Su-25T payloads (maybe for all planes but I am not sure about this), I show you how to do on my example.

 

The first you have to locate and open these files:

 

\Scripts\Input\WingmenCommandPlane.lua

\FUI\Resources\RC-Rearming-su-25T.res

\Scripts\Aircrafts\_Common\Rearm.lua

 

Open each of them.

 

First I edited WingmenCommandPlane.lua.

In this file are stored "layers" for "\" menu. I am interested only payload layer so I find this. This section contains variables for payloads for dedicated plane. We see ten entries (4501-4510). It means there are ten payloads to choose from menu. I decided to enlarge this list up to 30 payload packs.

 

So I edited oryginal section:

 

WC['RearmingPlanes'] = {
keyCommands = {
{combos = {{key = 'F1'}},  down = 4501},
{combos = {{key = 'F2'}},  down = 4502},
{combos = {{key = 'F3'}},  down = 4503},
{combos = {{key = 'F4'}},  down = 4504},
{combos = {{key = 'F5'}},  down = 4505},
{combos = {{key = 'F6'}},  down = 4506},
{combos = {{key = 'F7'}},  down = 4507},
{combos = {{key = 'F8'}},  down = 4508},
{combos = {{key = 'F9'}},  down = 4509},
{combos = {{key = 'F10'}}, down = 4510},

{combos = {{key = 'F11'}}, down = wsRepHumanBack},
{combos = {{key = 'F12'}}, down = wsRepHumanAbort}}
}

 

and added new 20 entries. After this it looks like this:

 

WC['RearmingPlanes'] = {
keyCommands = {
{combos = {{key = 'F1'}},  down = 4501},
{combos = {{key = 'F2'}},  down = 4502},
{combos = {{key = 'F3'}},  down = 4503},
{combos = {{key = 'F4'}},  down = 4504},
{combos = {{key = 'F5'}},  down = 4505},
{combos = {{key = 'F6'}},  down = 4506},
{combos = {{key = 'F7'}},  down = 4507},
{combos = {{key = 'F8'}},  down = 4508},
{combos = {{key = 'F9'}},  down = 4509},
{combos = {{key = 'F10'}}, down = 4510},
{combos = {{key = '1'}}, down = 4511},
{combos = {{key = '2'}}, down = 4512},
{combos = {{key = '3'}}, down = 4513},
{combos = {{key = '4'}}, down = 4514},
{combos = {{key = '5'}}, down = 4515},
{combos = {{key = '6'}}, down = 4516},
{combos = {{key = '7'}}, down = 4517},
{combos = {{key = '8'}}, down = 4518},
{combos = {{key = '9'}}, down = 4519},
{combos = {{key = '-'}}, down = 4520},
{combos = {{key = '='}}, down = 4521},
{combos = {{key = 'klawisz'}}, down = 4522},
{combos = {{key = 'klawisz'}}, down = 4523},
{combos = {{key = 'klawisz'}}, down = 4524},
{combos = {{key = 'klawisz'}}, down = 4525},
{combos = {{key = 'klawisz'}}, down = 4526},
{combos = {{key = 'klawisz'}}, down = 4527},
{combos = {{key = 'klawisz'}}, down = 4528},
{combos = {{key = 'klawisz'}}, down = 4529},
{combos = {{key = 'klawisz'}}, down = 4530},

{combos = {{key = 'F11'}}, down = wsRepHumanBack},
{combos = {{key = 'F12'}}, down = wsRepHumanAbort}}
}

 

Every entry has key command for payload choose:

 

{combos = {{key = '[b][u]F1[/u][/b]'}},  down = 4501},

 

I marked is as an bold word. You can assign various keys, probably also multi keys too.

 

Next thing is ediction of the Rearm.lua. As I am interested of Su-25T I am looking for section of this plane:

 

rearm_payloads[su_25T] =
{
[GUN_ONLY] = {}, 
[4501]	= --sekcja SEAD (pierwsza na liście do wyboru 4501-4506)---------------------------------------------------------------------------------------------------
{
	{
		Pylon = 1,
		LauncherCLSID = "{44EE8698-89F9-48EE-AF36-5FD31896A82D}",-- MPS-410
		LauncherCategory = "8",
	},
	{
		Pylon = 2,
		LauncherCLSID = "{CBC29BFE-3D24-4C64-B81D-941239D12249}",-- R-73 APU
		LauncherCategory = "5",
	},
	{
		Pylon = 3,
		LauncherCLSID = "{752AF1D2-EBCC-4bd7-A1E7-2357F5601C70}",-- Kh-25MPU APU-68
		LauncherCategory = "5",
	},
	{
		Pylon = 4,
		LauncherCLSID = "{752AF1D2-EBCC-4bd7-A1E7-2357F5601C70}",-- Kh-25MPU APU-68
		LauncherCategory = "5",
	},
	{
		Pylon = 5,
		LauncherCLSID = "{752AF1D2-EBCC-4bd7-A1E7-2357F5601C70}",-- Kh-25MPU APU-68
		LauncherCategory = "5",
	},
	{
		Pylon = 6,
		LauncherCLSID = "{0519A264-0AB6-11d6-9193-00A0249B6F00}",-- L-081 Fantasmagoria ELINT pod
		LauncherCategory = "9",
	},
	{
		Pylon = 7,
		LauncherCLSID = "{752AF1D2-EBCC-4bd7-A1E7-2357F5601C70}",-- Kh-25MPU APU-68
		LauncherCategory = "5",
	},
	{
		Pylon = 8,
		LauncherCLSID = "{752AF1D2-EBCC-4bd7-A1E7-2357F5601C70}",-- Kh-25MPU APU-68
		LauncherCategory = "5",
	},
	{
		Pylon = 9,
		LauncherCLSID = "{752AF1D2-EBCC-4bd7-A1E7-2357F5601C70}",-- Kh-25MPU APU-68
		LauncherCategory = "5",
	},
	{
		Pylon = 10,
		LauncherCLSID = "{CBC29BFE-3D24-4C64-B81D-941239D12249}",-- R-73 APU
		LauncherCategory = "5",
	},
	{
		Pylon = 11,
		LauncherCLSID = "{44EE8698-89F9-48EE-AF36-5FD31896A82D}",-- MPS-410
		LauncherCategory = "8",
	},
},
[4502]	=
{
	{
		Pylon = 1,
		LauncherCLSID = "{44EE8698-89F9-48EE-AF36-5FD31896A82D}",-- MPS-410
		LauncherCategory = "8",
	},
	{
		Pylon = 2,
		LauncherCLSID = "{CBC29BFE-3D24-4C64-B81D-941239D12249}",-- R-73 APU
		LauncherCategory = "5",
	},
	{
		Pylon = 3,
		LauncherCLSID = "{752AF1D2-EBCC-4bd7-A1E7-2357F5601C70}",-- Kh-25MPU APU-68
		LauncherCategory = "5",
	},
	{
		Pylon = 4,
		LauncherCLSID = "{752AF1D2-EBCC-4bd7-A1E7-2357F5601C70}",-- Kh-25MPU APU-68
		LauncherCategory = "5",
	},
	{
		Pylon = 5,
		LauncherCLSID = "{B5CA9846-776E-4230-B4FD-8BCC9BFB1676}",-- Kh-58U AKU
		LauncherCategory = "5",
	},
	{
		Pylon = 6,
		LauncherCLSID = "{0519A264-0AB6-11d6-9193-00A0249B6F00}",-- L-081 Fantasmagoria ELINT pod
		LauncherCategory = "9",
	},
	{
		Pylon = 7,
		LauncherCLSID = "{B5CA9846-776E-4230-B4FD-8BCC9BFB1676}",-- Kh-58U AKU
		LauncherCategory = "5",
	},
	{
		Pylon = 8,
		LauncherCLSID = "{752AF1D2-EBCC-4bd7-A1E7-2357F5601C70}",-- Kh-25MPU APU-68
		LauncherCategory = "5",
	},
	{
		Pylon = 9,
		LauncherCLSID = "{752AF1D2-EBCC-4bd7-A1E7-2357F5601C70}",-- Kh-25MPU APU-68
		LauncherCategory = "5",
	},
	{
		Pylon = 10,
		LauncherCLSID = "{CBC29BFE-3D24-4C64-B81D-941239D12249}",-- R-73 APU
		LauncherCategory = "5",
	},
	{
		Pylon = 11,
		LauncherCLSID = "{44EE8698-89F9-48EE-AF36-5FD31896A82D}",-- MPS-410
		LauncherCategory = "8",
	},
},
[4503]	= [...next entries]

 

Next step is to create new entries up to 4530 - simply enlarge it the amount of your enlarged entries in wingmancommands.lua As I said I decided to make new 30 payloads, so I create entries up to 4530.

Creating new payloads setup is a bit boring... you have to find CLSIDs of weapons you wish to add and paste it in new payload configuration. it is easy, however boring.

 

The last thing you have to do is create text representation of payload.

Open RC-Rearming-su-25T.res.

 

\dialog
\begin
   \tag{-1}
   \upright
   \coord{-468,5,-5,420} --whole layer dimensions
   \caption{Select preset...} -- text.... nothing to say :D
   \musthavecursor{0}
   \drawitself{1}
   \color{0, 0, 0, 50}
   \layer{100} --opacity I guess
\end

\static
\begin
   \[b][color="Red"]tag{50}[/color][/b]
   \font{2} -font used in text
   \coord{12, 5,468, 25}
   \fontcolor{0, 219, 111, 255}
   \caption{Select preset...}
\end

\static
\begin
   [color="Red"][b]\tag{2}[/b][/color] -increased tag by +1
   \font{2}
   \coord{12,25,468,45}
   \caption{F1-ECM;2xS-25L;4xKh-25MPU;2xKh-58U;L-081}
\end

[... next entries]

 

Notice that there are TAGS (marked as red bold text. After you add your payloads these tage must go up. Simply as increase tag number by 1 as it is in this file. You have to glance on it. I created sub sections for it to have better visibility of payloads. Unfortunetely I noticed there can't be done new subpages (example new sub pages SEAD, CAS, Antitank, Antiship ect.) because I couldn't find any connection between subpage's consts.

 

Here below I created new 2 payloads text representation for Su-25T for antitank mission.

 

\static
\begin
   \tag{16}
   \font{2}
   \coord{12,305,468,325}
   \caption{---------- Lekkie pojazdy i czolgi ----------}
\end

\static
\begin
   \tag{17}
   \font{2}
   \coord{12,325,468,345}
   \caption{3 ---  2x ECM; 2x S-25L; 1x Kh-25ML; 1x Kh-25MPU, 16x Wichr; 2x SPPU-22; Fantasmagoria}
\end

\static
\begin
   \tag{18}
   \font{2}
   \coord{12,345,468,365}
   \caption{4 ---  2x ECM,2x R-73 1x Kh-25ML,1x Kh-25MPU,16x Wichr,2x SPPU-22,Fantasmagoria}
\end

 

I need to glance on it again because I have just found some texts are not displayed properly on payload layer. Later I check it out.

Hope you understand this little tutorial. I am trying to find how to make sub pages if I don't find how to do this, I will use one big layer for payloads.

Edited by Boberro
  • Like 1

Reminder: Fighter pilots make movies. Bomber pilots make... HISTORY! :D | Also to be remembered: FRENCH TANKS HAVE ONE GEAR FORWARD AND FIVE BACKWARD :D

ಠ_ಠ



  • Recently Browsing   0 members

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