Page 1 of 1

How can I add an aircraft loadout from a different plane?

Posted: Sun Nov 13, 2022 4:52 am
by Alex170g
I want to add loadout from MH-60R to the base SH-60B Seahawk, so they are SeaHawks block I with 3 pylons.
Please if LUA is needed, elaborate the answer, I'm complete potato with LUA.

I've seen some post about ways to add pylons or add different weapons, but I can“t get the final result.

Re: How can I add an aircraft loadout from a different plane?

Posted: Tue Nov 15, 2022 1:48 am
by KLAB
https://commandlua.github.io/#ScenEdit_SetLoadout

You can set any loadout to any aircraft with the above SE_SetLoadout function during the scenario build in the editor but you may encounter issues with reloading as it wouldn't subsequently appear in the loadouts for that aircraft if you wanted to change loads and then revert back to the special load during the normal. mode of the game.

A work round would be a special action which could add the loadout on demand in normal running.
This is a newer version of the LUA CMO LUA guide which has examples.
http://commandlua.github.io/assets/Functions.html

If you want specific LUA script post the query in the LUA thread under Mods and Scenarios
. https://www.matrixgames.com/forums/view ... hp?f=10236
Thanks
K