Jump to content
RicHornet

Hiding 'Flaps Up' and 'Flaps Down' from the Action Menu

Recommended Posts

Greetings,

Currently I'm modding a plane (F-35C) and recently I implemented (via script) an automatic flaps feature (like in the real aircraft) which automatically sets the flaps depending on the aircraft's speed and whether the engine is on or off, something which seems to be fully functional.

This means that the manual 'Flaps Up' and 'Flaps Down' actions are now redundant (and if someone tries to use any of these actions my automatic flaps script will always override) and so and like the subject says, I would like to hide these manual 'Flaps Up' and 'Flaps Down' actions from the action menu.

I've been looking at several sources in order to learn how to do this but unfortunately I haven't find a solution for my 'problem'. As such, I'm asking here for help in order to solve this 'issue'.

 

I would really appreciate any replies and help regarding this. Thanks in advance.

Share this post


Link to post
Share on other sites

Don't get me wrong but what does someone has to do in order to get a reply here?

 

P.S. - I'm posting the above because it's not the first time that I open a thread in this forum and unfortunately don't get any reply here.

Share this post


Link to post
Share on other sites

I might be wrong, but I do not think it is possible to remove Action Menu entries by script. You'll need to make a small mod to distribute with your mission. 

 

-k 

Share this post


Link to post
Share on other sites

nkenny,

 

First of all thanks for the reply.

 

I'm actually modeling the aircraft (F-35C) which of course is a mod. I mentioned the script example as how I implemented auto-flaps. However and since I'm modeling the aircraft and according to your reply I could implement something thru the mod in order to remove the manual flaps from the Action Menu. But the problem is that I don't have a clue how to do this and therefore I ask you or someone else for help. 

Share this post


Link to post
Share on other sites
On 4/9/2021 at 4:06 PM, RicHornet said:
On 4/9/2021 at 4:06 PM, RicHornet said:

Don't get me wrong but what does someone has to do in order to get a reply here?


Find the dumped All-In-One config here at these forums, and look into cfgActions section. There are entries like these below that must be made inactive/hidden in your plane:

		class FlapsDown: None
		{
			priority = 0.7;
			hideOnUse = 0;
			shortcut = "FlapsDown";
			text = "Flaps Down";
			textDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\flapsExtend_ca.paa' size='1.8' shadow=2 />";
		};
		class FlapsUp: None
		{
			priority = 0.7;
			hideOnUse = 0;
			shortcut = "FlapsUp";
			text = "Flaps Up";
			textDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\flapsRetract_ca.paa' size='1.8' shadow=2 />";
		};

Unfortunately, I never done it so cannot help you further.

 

Share this post


Link to post
Share on other sites

First of all, thanks for the reply NightIntruder.

 

However, I can't find the cfgActions section in the config.cpp file (and neither in the model.cfg file).

 

Sorry for looking to be such a 'noob' but this is my first real attempt at modeling in ArmA 3 and I'm modeling an aircraft which someone else did/created (with the author's permission of course!) so basically what I'm doing is to improve the model/aircraft and fix existing issues.

As such I would ask you if you could help me how or where I should implement that cfgActions section that you mentioned?

Share this post


Link to post
Share on other sites
2 hours ago, RicHornet said:

However, I can't find the cfgActions section in the config.cpp file (and neither in the model.cfg file).


The cfgActions section is a part of the main GUI (aka mouse wheel action menu), so there is no need to redefine it inside vehicle's config.cpp in most cases. I know people have done that before but cannot recall now who it was and what addons were affected. Here is the link for the config dump, below. You can find there a link to download the "mega-config" that includes the merge of all configs from BI assets, and there you will find the default cfgAction section.

Again, never done that, so cannot help you further. You can, however, find the discord invitation somewhere here to the official A3 Discord, where you will likely get better help.   

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×