Jump to content
redpiano

Support showcase, how to add custom support requests?

Recommended Posts

Hi, I played the new support showcase in the beta and I'm wondering how I can add custom support requests like in the showcase, they give you two infantry units you can call in through the support menu and I'd like to know how to do that.

Share this post


Link to post
Share on other sites

Yea I liked that also, its a little cleaner the using triggers to call units. I would try to sync the units to the support requester module. sorry cant test it right now.

Share this post


Link to post
Share on other sites

Doesn't work, syncing it to players is how you give them the ability to call support.

Share this post


Link to post
Share on other sites

It's a two piece solution. First you need to declare your "support" in description.ext:

class CfgCommunicationMenu
{
class Attack;
class Bravo: Attack
{
	text = "Send in Bravo Team";
	expression = "BIS_bravoGo = TRUE;";
	icon = "\a3\ui_f\data\map\markers\nato\b_inf.paa";
	removeAfterExpressionCall = 1;
};
};

Then use the BIS_fnc_addCommMenuItem function to add the support to the player:

[player, "Bravo"] call BIS_fnc_addCommMenuItem;

Then just have a trigger checking for BIS_bravoGo to be true.

Share this post


Link to post
Share on other sites

Hi All,

I just want to call in CAS from a uav then make it available every 5 minutes once it is used. When it is "recharging" how can I make it greyed out?

Then use the BIS_fnc_addCommMenuItem function to add the support to the player:

[player, "Bravo"] call BIS_fnc_addCommMenuItem;

QUOTE=kylania;2434178]It's a two piece solution. First you need to declare your "support" in description.ext:

class CfgCommunicationMenu
{
class Attack;
class Bravo: Attack
{
	text = "Send in Bravo Team";
	expression = "BIS_bravoGo = TRUE;";
	icon = "\a3\ui_f\data\map\markers\nato\b_inf.paa";
	removeAfterExpressionCall = 1;
};
};

Then just have a trigger checking for BIS_bravoGo to be true.

Share this post


Link to post
Share on other sites

It's a two piece solution. First you need to declare your "support" in description.ext:

 

class CfgCommunicationMenu
{
	class Attack;
	class Bravo: Attack
	{
		text = "Send in Bravo Team";
		expression = "BIS_bravoGo = TRUE;";
		icon = "\a3\ui_f\data\map\markers\nato\b_inf.paa";
		removeAfterExpressionCall = 1;
	};
};
Then use the BIS_fnc_addCommMenuItem function to add the support to the player:

[player, "Bravo"] call BIS_fnc_addCommMenuItem;
Then just have a trigger checking for BIS_bravoGo to be true.

 

Hey @kylania ,

With this setup, in the game you need the 2 modules: 'support provider' and 'support requester', I did as you said but realised there was no option for "bravo team" in the list of support providers. What do I use instead??

Thanks 

Share this post


Link to post
Share on other sites
On 7/5/2013 at 9:55 AM, kylania said:

It's a two piece solution. First you need to declare your "support" in description.ext:

 


class CfgCommunicationMenu
{
class Attack;
class Bravo: Attack
{
	text = "Send in Bravo Team";
	expression = "BIS_bravoGo = TRUE;";
	icon = "\a3\ui_f\data\map\markers\nato\b_inf.paa";
	removeAfterExpressionCall = 1;
};
};
 

 

Then use the BIS_fnc_addCommMenuItem function to add the support to the player:

 


[player, "Bravo"] call BIS_fnc_addCommMenuItem;
 

 

Then just have a trigger checking for BIS_bravoGo to be true.

 

 

Not working, when I call bravo team nothing happened, but I have put bravo unit

Share this post


Link to post
Share on other sites
On 7/5/2013 at 9:55 AM, kylania said:

 

Hey @kylania can you make Video Tutorial of custom support requester

Share this post


Link to post
Share on other sites

Alright, I've spent about 10 minutes searching for any tutorial and found this. This is how I made it to work:

  • Create/open your description.ext file
  • Put basic code: 
class CfgCommunicationMenu
{
    class Attack;
    class Infantry: Attack
    {
	    text = "Send in Infantry";
	    expression = "BIS_InfGo = TRUE;";
	    icon = "\a3\ui_f\data\map\markers\nato\b_inf.paa";
	    removeAfterExpressionCall = 1;
    };
};
  • after doing that open up your init.sqf and add:
[player, "Infantry"] call BIS_fnc_addCommMenuItem;
  • Almost done; last thing you need to spawn a group and set up 2(or more) waypoints and a trigger. Set waypoint activation with first waypoint and a trigger
  • Last thing, in trigger condition add
BIS_InfGO

 

You can change icon, text and class infantry to your liking.

Example mission if you still need more help.

Good luck! :don15:

Thanks @kylania

  • Like 1

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

×