aussie battler

[Release] Recruit Ai Bodyguards

201 posts in this topic

@[XIII]Bujinkan You could use the donations app that is in the pack. It was originally a server rules / info app, I just changed it to donations.

If it is not opening, you probably need to add this to infistar:


a3_infiSTAR_Exile\EXILE_AHAT_CONFIG.hpp

Spoiler

 


allowedIDDs[] =
{
	/* default idds */
	-1,0,4,5,6,8,12,15,18,24,49,54,55,70,72,101,160,174,177,999,131,63,602,301,

	/* exile idds */
	24001,24002,20023,24005,24004,24010,24025,20021,20017,24012,24027,
	20019,20016,24007,20024,20018,24008,24011,24015,24000,24006,24014,
	20020,24026,4002,4000,4001,4003,1500,

	24033,24030,24029,24028,24031,24034,
		/* XM8 Security App */
	5007,7000,7001,6000,6001,6002,6003,6004,6005,6006,6007,6008,6009,6010,6011,6012,6013,
	6014,6015,6016,6017,6018,6019,6020,6021,6022,6023,6024,6025,6026,6027,6028,6029,

	4004,21000,	// Bounty system and MarXet
	8457,	// http://www.exilemod.com/topic/9040-xm8-apps/
	65431,	// r3f menu fix
	6666,	// Paintshop
	0711,	// Advanced Banking
	0720,	// Virtual Garage
	999999,  //modchecker
	7770, //server menu							  
	5501,5502,5503,5504,5505,5506,5507,	// BRAma Cookbook
	-1339,-1340,	// custom infiSTAR dialogs (some editor & a private chat menu)
	86000, //ground & halo spawn
	20001,20002,20003,20004,20005, //recruit ai bodyguard 							 
	24036,   //new virtual garage
	8087,
	/* main idd - never delete it */
	46
};

There is also this server info menu by the great @IT07

I use both server info menus and they are currently on working servers.

If you need to install scarCode to the Xm8 app (under the "more" tab):

Exile.mission\config.cpp
 

Spoiler

class CfgXM8
{

extraApps[] = {"ExAd_Info"};

    class ExAd_Info
    {
        title = "Server Info";
        controlID = 50100;                    //IDC:50100 -> 50102 || These need to be unique and out of range from each other
        logo = "ExAdClient\XM8\Apps\Info\Icon_SI.paa";
        quickFunction = "ExileClientXM8CurrentSlide = 'apps';closeDialog 0;createDialog 'RscDisplayServerInfoMenu'";
        onLoad = "ExAdClient\XM8\Apps\Info\onLoad.sqf";
        onOpen = "ExAdClient\XM8\Apps\Info\onOpen.sqf";
        onClose = "ExAdClient\XM8\Apps\Info\onClose.sqf";
    };   

class XM8_App08_Button: RscExileXM8AppButton1x1
{
    textureNoShortcut = "ExAdClient\XM8\Apps\Info\Icon_SI.paa";
    text = "Server Info";
    onButtonClick = "ExileClientXM8CurrentSlide = 'apps';closeDialog 0;createDialog 'RscDisplayServerInfoMenu'";
    resource = "";
};

Now add code to description.ext and your init.sqf as per the install:
https://github.com/IT07/ArmA3_exile_ServerInfoMenu/tree/master/Exile.MapName

Edited by aussie battler

Share this post


Link to post
Share on other sites

Was our original info supplement, but there was rioting at Terminal to have it removed from the scrollwheel. I just removed the whole script. I see 3 lines down from the OP the fix for that. Thanks.

Edited by [XIII]Bujinkan
  • Like 1

Share this post


Link to post
Share on other sites
Advertisement

hey Aussie, I really like your version of the script. Was just curious how I can make it so they have to be near a "Statue" to deploy the AI (I actually use a satellite antenna instead). I uncommented the statue portion in each Guard.sqf file but I can still spawn them any where. Again this is for your version of the script, not the ExAd version.

Edited by Runewulv

Share this post


Link to post
Share on other sites

@Runewulv

config.cpp > search for
"class CfgInteractionMenus" add this:
 

Spoiler

    class Bodyguard
    {
        targetType = 2;
        target = "Land_AncientStatue_01_F";
        class Actions
        {
            class Body_guard: ExileAbstractAction
            {
                title = "Deploy AI";
                condition = "('Exile_Item_BeefParts' in (magazines player) && !ExilePlayerInSafezone)";
                action = "xm8Apps\Apps\eBase\Scripts\Guard\guard1.sqf";
            };
        };
    };

Change Land_AncientStatue_01_F to Land_SatelliteAntenna_01_F or what ever oject classname you would like to spawn ai.
https://community.bistudio.com/wiki/Arma_3_CfgVehicles_EMPTY

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

     condition = "('Exile_Item_BeefParts' in (magazines player) && !ExilePlayerInSafezone)";

Means spawn soldier, if you have beef parts on you & you are near a statue & NOT in a safezone.

Edited by aussie battler

Share this post


Link to post
Share on other sites

thanks again. honestly beautiful improvement. And replacing the server info tab (which i dont use anyway) with xm8 apps has literally allowed me to bring back all the apps i had to drop thanks to the update that changed xm8s. Plus a pre-set-up XM8 Security app? amazing. thank you again.

  • Like 1

Share this post


Link to post
Share on other sites

I think the sign  };  superfluous on line number 45 in the  guard1,2,3,4,5,6 files.

Client RPT:

}; >
 1:31:45   Error position: <}; >
 1:31:45   Error Lost {
 1:31:45 File mpmissions\__CUR_MP.Altis\Custom\xm8Apps\Apps\eBase\Scripts\Guard\guard6.sqf, line 45
 1:31:45 Error in expression <lient_gui_toaster_addTemplateToast;
};

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.