Jump to content

Recommended Posts

Posted (edited)

Does anybody know where the file is to change the F10 maintenance weapon payloads?

 

I'm working on a dynamic mission, and would like to be able to add more weapon options!

Edited by coopercobra03
Posted
\Scripts\Aircrafts\_Common\Rearm.lua
:)

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

ಠ_ಠ



Posted

Wait... this way the payloads in campaign will change too?

 

In another thread we were discussing that Vikhrs paired with S-8OFP2(which is HE/Frag variant used against personnel/soft targets) would be more useful than the standard S-8KOM(which is a HEAT rocket used for penetrating light or medium armored targets)

Posted

So anti BTR or similar is it better to carry KOM or OFP2?

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

ಠ_ಠ



Posted (edited)
So anti BTR or similar is it better to carry KOM or OFP2?

 

EDIT : After checking the DCS Encyclopedia on details of the S-8KOM and S-8OFP2 I edited my answer (cause I didn't remember that S-8OFP2 is stated to be suitable against lightly armored targets).

 

If you are talking about BTR-80 APC, which is a lightly armored combat vehicle, I would suggest S-8OFP2 since its stated to be capable of destroying lightly armored targets. BTR's armor is capable of withstanding small arms fire and shell fragments only so I suppose that OFP2 blast force should be considered enough to shred light armor.

 

S-8KOM can, for sure, penetrate light/medium and heavy (modern) armor according to encyclopedia but it requires a direct hit(in order for the shaped charge to be effective) since fragments, in case of a close miss, shouldn't be capable of penetrating it.

 

On such targets S-8OFP2 has an advantage over S-8KOM cause it doesn't necessarily requires a direct hit which is hard to achieve using unguided weapons.

Edited by isoul
Posted (edited)

Here is what I found out...(THX Boberro for the info about the .lua file)

 

I did check .lua files and found out that S-8OFP2 CLSID is there!

(check file ...\Scripts\Database\db_weapons.lua)

S-8OFP2 CLSID is B_8V20A_OFP2

S-8KOM CLSID is {6A4B9E69-64FE-439a-9163-3A87FB6A4D81}

 

 

The disappointing thing though is that initially you can't rearm at any configuration during mission that includes the S-8OFP2 unless it is designated as "standard mission armament" in the mission editor.

 

So I went to ...\Scripts\Aircrafts\_Common\Rearm.lua and changed lines 524,530,536,542 replasing the S-8KOM CLSID with S-8OFP2 one(as stated above). These changes made one option in Rearming Menu (Rearming->CAS->F1) to actually equip my heli with 4 x S-8OFP2 rockets instead of instead of S8-KOM ones. Although the option stated the same "B8V20A" armament, it was actually the S-8OFP2.

 

The result was as the following screen shots show...

 

scr100118212824.png

Briefing(starting with a weird custom payload that I created in Mission Editor... used mission Shooting Range)

screenshot002bh.jpg

In game(see the pointy rocket pods? dunno why these were shown instead of the classic ones)

scr100118211640.png

Debriefing (just a proof that I did equip/fire the S-8OFP2 rocket)

 

 

 

EtherealN, it would be nice to have a mission planner implemented in the in the briefing screen! Till then I hope I did something to help guys out there to stop wandering around with fully A-T weapon load..! (fingers crossed)

Edited by isoul
Posted (edited)
:)

 

Thanks Boberro!

 

Also take a look at this file -->FUI/Resources/RC-Reloadingantitank

-------------------------------------------/RC-ReloadingFerry

-------------------------------------------/RC-ReloadingFireSupport

-------------------------------------------/RC-ReloadingLightLoad

 

These files are the payload text files which you can go in and put what you have change so it will show up on the F10 payload screen..

 

:thumbup:

Edited by coopercobra03
Posted
Thanks Boberro!

 

Also take a look at this file -->FUI/Resources/RC-Reloadingantitank

-------------------------------------------/RC-ReloadingFerry

-------------------------------------------/RC-ReloadingFireSupport

-------------------------------------------/RC-ReloadingLightLoad

 

These files are the payload text files which you can go in and put what you have change so it will show up on the F10 payload screen..

 

:thumbup:

 

Great! I 'll look into it later today. I think there is one about CAS too. I would change that since in CAS they have put the 4xS-8KOM rockets which is odd(CAS with full A-T rockets?)

Posted
Great! I 'll look into it later today. I think there is one about CAS too. I would change that since in CAS they have put the 4xS-8KOM rockets which is odd(CAS with full A-T rockets?)

 

 

Let me know if it works out for you isoul:thumbup:

Posted

I had a look on the files but unfortunately I didn't have the time to make any changes and test them. From what I saw in the .lua files I think the changes I am thinking to make(change CAS-F1 option to reflect S-8OFP2 rocket). The only thing I need to check is how to add 1 or 2 more armament configurations(one should be 12xVikhrs+40xS8OFP2) in CAS thus adding more options to the existing menu which will be the most helpful.

 

I 'll inform you for any progress through this thread or PM.

Posted (edited)

Finally I 've checked it! The correct S-8OFP2 CLSID is B_8V20A_OFP2, I 've mistaken it in an earlier post which resulted in displaying a different type of rocket pod loaded(B-8M1).

 

Good news :

I can change the weapon payload and change the text to Reaming Menu to reflect the changes in payload. :thumbup:

 

Bad news :

Haven't found out how to add more options to the Rearming Menu :(

 

Are you interested in that?

Edited by isoul
Posted
Finally I 've checked it! The correct S-8OFP2 CLSID is B_8V20A_OFP2, I 've mistaken it in an earlier post which resulted in displaying a different type of rocket pod loaded(B-8M1).

 

Good news :

I can change the weapon payload and change the text to Reaming Menu to reflect the changes in payload. :thumbup:

 

Bad news :

Haven't found out how to add more options to the Rearming Menu :(

 

Are you interested in that?

 

 

Didn't get that far yet! But that's something that I will look at! Could be just as easy as just adding some lines in the files..

  • Like 1
Posted

When I say that I can't add more options in the Maintenance/Rearm Menu I mean that I can't get them to function since I need(obviously) to do more changes than changing just the menu text.

 

For example, I tried to add one more option to the Rearm\Anti-Tank Menu that should be bound to F5 key... but I don't know how to add the F5 key(that doesn't exist) and assign it to my newly created otion.

 

To alter already existing menu options and loadouts is quite easy but adding a new one... I simply don't know where to look! .lua file structure is easy to understand for weapon loadouts and menu text but I don't know how easy it will be to add more.

Posted (edited)

Weird what is correct CLSID for OFP2? Cos after I added this B_8V20A_OFP2 as CLSID in rearm.lua nothing has shown.

 

EDIT: sry something showed.... but not as same rocket pod as on picture above.

Edited by Boberro

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

ಠ_ಠ



Posted
EDIT: sry something showed.... but not as same rocket pod as on picture above.

 

The picture above is not of the standard B-series rocket pods that S-8 rockets come in. If you replace the S-8KOMs with S-8OFP2s then they should look identical from the outside view.

Posted
Finally I 've checked it! The correct S-8OFP2 CLSID is B_8V20A_OFP2, I 've mistaken it in an earlier post which resulted in displaying a different type of rocket pod loaded(B-8M1).

 

Accidentaly I copied/pasted the wrong CLSID thus resulting B-8M1 rocker pod to be shown(loaded with S-8OFP2) instead of the typical B-8V20A which is the one Ka-50 carries. B-8M1 is the rocket pod the Mi-24 Hind carries.

 

My mistake... sorry again!

Posted
The picture above is not of the standard B-series rocket pods that S-8 rockets come in. If you replace the S-8KOMs with S-8OFP2s then they should look identical from the outside view.

 

Yeah but in Multiplayer these pods won't show. Dunno why? I pasted same CLSID to ka50.lua and it should be fine... but it is not. I can use these pods only when I set them in Editor.

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

ಠ_ಠ



Posted
Yeah but in Multiplayer these pods won't show. Dunno why? I pasted same CLSID to ka50.lua and it should be fine... but it is not. I can use these pods only when I set them in Editor.

 

Boberro you are wrong again :megalol:

 

copy these rows into Ka-50. lua

 

{ CLSID = "B_8V20A_CM" },

{ CLSID = "B_8V20A_OFP2" },

{ CLSID = "B_8V20A_OM" },

{ CLSID = "B-8M1 - 20 S-8OFP2" },

{ CLSID = "{637334E4-AB5A-47C0-83A6-51B7F1DF3CD5}" }, -- UB-32M1-UB-32A-32S-5KO

{ CLSID = "{3DFB7320-AB0E-11d7-9897-000476191836}" }, -- B_20CM-B-8M1-20S-8TsM

 

or into rearm.lua & you will able to use the missing "factory" loadouts

but you must use this format

 

4xmpl:

 

[wsRepHumanHel_2xEFT_2xKMGU_AP_2A42] =

{

[1] =

{

Pylon = 1,

LauncherCLSID = "B_8V20A_CM",

LauncherCategory = "11",

}, -- end of [1]

[2] =

{

Pylon = 2,

LauncherCLSID = "B_8V20A_OM",

LauncherCategory = "11",

}, -- end of [2]

[3] =

{

Pylon = 3,

LauncherCLSID = "B_8V20A_OM",

LauncherCategory = "11",

}, -- end of [3]

[4] =

{

Pylon = 4,

LauncherCLSID = "B_8V20A_CM",

LauncherCategory = "11",

}, -- end of [4]

}, -- end of [wsRepHumanHel_2xEFT_2xKMGU_AP_2A42]

 

as u c its overwrite the "factory" 2xEFT_2xKMGU_AP config

 

dont forget newer weapons use "name" format instead of old "{number}" format :smilewink:

Atop the midnight tarmac,

a metal beast awaits.

To be flown below the radar,

to bring the enemy his fate.

 

HAVE A BANDIT DAY !

 

[sIGPIC][/sIGPIC]

"When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." - R. Buckminster Fuller (1895 - 1983), American Architect, Author, Designer, Inventor, and Futurist

  • 2 weeks later...
Posted

So, what's the result of the above? It replaces one of the old menu entries with this new loadout?

 

The ideal is to have full control over the menu so we can have as many entries as we want and name them at will.

Posted

This payload edition for F10 screen is annoying :P

 

I'll do this and say results hope new rocket pods are better^^

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...