Jump to content
Undeceived

How to remove the big square spotlight buttons in Apex main menu?

Recommended Posts

Is there a way to remove these new big buttons in the Apex main menu?

 

 

buttons.jpg~original

 

 

Here it says that the left and the right one are "hard coded", but we can mess with the middle one (change it, etc.), but I'd like to remove all of them (including the background stripe) in order to present a nice cutscene in the main menu.

 

 

Any ideas?

  • Like 1

Share this post


Link to post
Share on other sites
class RscStandardDisplay;
class RscDisplayMain: RscStandardDisplay {
	enableDisplay = 0;
	delete Spotlight;
	class controls {
		delete Spotlight1;
		delete Spotlight2;
		delete Spotlight3;
		delete BackgroundSpotlightRight;
		delete BackgroundSpotlightLeft;
		delete BackgroundSpotlight;
	};
};

Cheers. :)

  • Like 5

Share this post


Link to post
Share on other sites

Wow, thanks a lot, Haleks, that made the trick! :rthumb:

 

 

Do you think it's possible to execute this deleting code only on a certain condition (e.g. after a certain island is loaded)?

 

Because I'd like to take a closer look at customizing that middle spotlight button and my favorite way would be this one:

 

 

1. The three spotlight buttons are there on game start (the middle one leads to my mission)

 

2. The player starts the mission, plays it through (or not, doesn't matter) and exits back to the main menu

 

3. The three spotlights are deleted so that the player can watch my main menu cutscene which plays on the mission's island (Sarahni)

 

 

 

So the condition to delete the buttons would be, when Sarahni is loaded.

Share this post


Link to post
Share on other sites

Tbh i though the menu was more efficient the other way, why add all this stuff in the middle then have options to access the same thing in the other menus at the top?

Now you got to chase your cursor to the ends of the menu instead of having everything in one place and at eye level, being nothing but a compiler in this

community this running around drives me bananas.

 

There a way to revert to the old menu without reverting the game itself?

  • Like 1

Share this post


Link to post
Share on other sites

@Undeceived : It's a config change so I'm pretty sure it's not possible.

 

@Gunter Severloh : Unless BIS added the old menu to the Samples, I can't see any easy way.

Share this post


Link to post
Share on other sites

That's too sad.
 

 

That said, the game does change the config itself, as it seems (might be a bug).

 

At game start the edited/changed button is there and works finely (apart from this), but when I start a mission resp. load another island and then get back to the main menu, the button is now the original standard BI button (Apex Protocol campaign).

Share this post


Link to post
Share on other sites

The center button is random, as the wiki page says: 

It's possible to define a list of spotlights, with the system picking randomly from them every time the menu refreshes (i.e., startup or returning from sub-menu).

No clue if you can disable the randomness.

Share this post


Link to post
Share on other sites

Hmm, seems you're right, it really is random. Damn.

Share this post


Link to post
Share on other sites

What would be good would be the vanilla option to allow us to CHOOSE what gets displayed in the menu - or turn it off altogether. Perhaps it can be modded ?

Sent from my iPhone using Tapatalk

Share this post


Link to post
Share on other sites

Sorry for digging an old topic, but can someone indicate me where should I write heleks's script in the first reply. Thanks.

Share this post


Link to post
Share on other sites

Modding these options would be awesome! For example instead of need browsing servers just easily click shortcut and connect directly to to your unit server. Any ideas how to make it  a reality :)?

Share this post


Link to post
Share on other sites
17 minutes ago, Laslus said:

Sorry for digging an old topic, but can someone indicate me where should I write heleks's script in the first reply. Thanks.

I'm pretty sure it needs to be placed inside a config.cpp like so:

class CfgPatches
{
	class hal_cleanApexMenu
	{
		name = "Clean Apex Menu";
		author = "Haleks";
		units[] = {};
		weapons[] = {};
		requiredAddons[] = {"A3_Weapons_F"};
	};
};

class RscStandardDisplay;
class RscDisplayMain: RscStandardDisplay {
	enableDisplay = 0;
	delete Spotlight;
	class controls {
		delete Spotlight1;
		delete Spotlight2;
		delete Spotlight3;
		delete BackgroundSpotlightRight;
		delete BackgroundSpotlightLeft;
		delete BackgroundSpotlight;
	};
};

(untested)

  • Like 1

Share this post


Link to post
Share on other sites

Need help with scripts !!!

20170404233544_1.jpg

 

 

class CfgPatches

 


{
    class hal_GroupApexMenu
    {
        name = "Group Menu";
        author = "***";
        units[] = {};
        weapons[] = {};
        requiredAddons[] = {"A3_Weapons_F"};
    };
};
class RscStandardDisplay;
class RscDisplayMain: RscStandardDisplay
{     
   
    class Spotlight
    { 

        class CoopCampaign
        {
            text = "Group Tactical"; // Text displayed on the square button, converted to upper-case
            textIsQuote = 1; // 1 to add quotation marks around the text
            picture = "\data\logo512.paa"; // Square picture, ideally 512x512     Cant seem to get this to work !!
            video = "\a3\Ui_f\Video\spotlight_1_Apex.ogv"; // Video played on mouse hover
            action = "ctrlactivate ((ctrlparent (_this select 0)) displayctrl 101);"; // Code called upon clicking, passed arguments are [<button:Control>]
            actionText = $STR_A3_RscDisplayMain_Spotlight_Play; // Text displayed in top left corner of on-hover white frame
            condition = "true"; // Condition for showing the spotlight
       
        };
    };
};

 

I have a data folder that has a Square picture, 512x512 picture .paa 

"\data\logo512.paa"; // Square picture, ideally 512x512

 

But the picture is not popping up only the text! 

 

Problem 2 script ! 

Goal: trying to Make a @addon that will show a static picture on main menu So Clans/Teams with mod packs could edit the @addon picture so clan Logo's would b displayed on the main menu

How would I call a static background using BackgroundSpotlight ?

class CfgPatches
{
	class hal_cleanApexMenu
	{
		name = "Clean Apex Menu";
		author = "Haleks";
		units[] = {};
		weapons[] = {};
		requiredAddons[] = {"A3_Weapons_F"};
	};
};

class RscStandardDisplay;
class RscDisplayMain: RscStandardDisplay {
	enableDisplay = 0;
	delete Spotlight;
	class controls {
		delete Spotlight1;
		delete Spotlight2;
		delete Spotlight3;
		delete BackgroundSpotlightRight;
		delete BackgroundSpotlightLeft;
		delete BackgroundSpotlight;
	};
};

This script will get rid of Three large square buttons in the middle of the main menu / spotlight buttons. (tested it works )

Now what script would I add for a static background picture?

 

class CfgWorlds
{
	class Stratis: CAWorld
	{
		author = "Bohemia Interactive"; // Author
		description = "Stratis"; // World name
		pictureMap = "A3\map_Stratis\data\pictureMap_ca.paa"; // Background map
		pictureShot = "A3\map_Stratis\data\ui_Stratis_ca.paa"; // Default overview picture

		// Loading texts displayed on the bottom of the loading screen (picked randomly)
		loadingTexts[]=
		{
			"Area of Stratis is 19.3 square kilometers.",
			"Stratis is of volcanic origin, with many rocks and crevices.",
			"Kamino Firing Range uses remnants of the nearby old Kamino village as a target area."
		};
	};
};

 

?

 

Edited by FRANK.7

Share this post


Link to post
Share on other sites

Cool, I mean. You have this big old blank spot in the middle, with the tiny buttons at the top.

But oh well I guess. 

Share this post


Link to post
Share on other sites

True But I would rather look at my group Logo on the main Menu.  

But that's just me. 

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

×