Lylie 0 Report post Posted February 1, 2017 (edited) Author: Lylie Difficulty: Easy Number of files to be edited: 1 Please note, this is my first tutorial so be nice, any feedback positive or negative is greatly appreciated! Step 1:Open MISSIONFILE\dialog\spawnSelection.hpp ( spawnSelection.hpp ) Step 2: Change L16 - L23 (class MainBackground block) to: class MainBackground: Life_RscText { colorBackground[] = {0,0,0,0.7}; idc = -1; x = 0.195781 * safezoneW + safezoneX; y = 0.192 * safezoneH + safezoneY; w = 0.587812 * safezoneW; h = 0.627 * safezoneH; }; Step 3: Change L41 - L50 (class MapView block) to: class MapView : Life_RscMapControl { idc = 38502; x = 0.195782 * safezoneW + safezoneX; y = 0.192 * safezoneH + safezoneY; w = 0.587812 * safezoneW; h = 0.572 * safezoneH; maxSatelliteAlpha = 0.75;//0.75; alphaFadeStartScale = 1.15;//0.15; alphaFadeEndScale = 1.29;//0.29; }; Step 4: Change L54 - L68 (class SpawnPointList block) to: class SpawnPointList: Life_RscListNBox { idc = 38510; text = ""; sizeEx = 0.041; coloumns[] = {0,0,0,1}; drawSideArrows = 0; idcLeft = -1; idcRight = -1; rowHeight = 0.056; x = 0.195781 * safezoneW + safezoneX; y = 0.236 * safezoneH + safezoneY; w = 0.208281 * safezoneW; h = 0.506 * safezoneH; colorText[] = {1,1,1,1}; colorBackground[] = {0,0,0,0.6}; colorActive[] = {-0,0,0,0.6}; onLBSelChanged = "_this call life_fnc_spawnPointSelected;"; }; Step 5: Change L70 - L80 (class spawnButton block) to: class spawnButton: Life_RscButtonMenu { idc = -1; colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5}; text = "$STR_Spawn_Spawn"; onButtonClick = "[] call life_fnc_spawnConfirm"; x = 0.670156 * safezoneW + safezoneX; y = 0.775 * safezoneH + safezoneY; w = 0.0567187 * safezoneW; h = 0.022 * safezoneH; colorText[] = {1,1,1,1}; colorActive[] = {0,0,0,0.5}; }; Step 6: Add before the final 2 "};" in the file: class CancelButton: Life_RscButtonMenu { text = "Return to Lobby"; //--- ToDo: Localize; onButtonClick = [ "Abort", true, false ] call BIS_fnc_endMission; x = 0.309219 * safezoneW + safezoneX; y = 0.775 * safezoneH + safezoneY; w = 0.0979687 * safezoneW; h = 0.022 * safezoneH; colorText[] = {1,1,1,1}; colorBackground[] = {0,0,0,1}; colorActive[] = {0,0,0,1}; }; You're all set, repack your mission file, shut down your server, upload your PBO & boot your server up, you should see the spawn menu below, any issues, please feel free to let me know Edited February 1, 2017 by Lylie Add Author Quote Share this post Link to post Share on other sites
✪M.M✪ Ghost 3 Report post Posted February 9, 2017 Looks good mate, thanks for the guide. Quote Share this post Link to post Share on other sites
[HELIXE™] [email protected]™ 2 Report post Posted February 28, 2017 Hi @Lylie, I get the following error Quote Share this post Link to post Share on other sites
Lylie 0 Report post Posted March 1, 2017 On 28/02/2017 at 11:37 AM, [HELIXE™] [email protected]™ said: Hi @Lylie, I get the following error paste your spawnSelection.hpp please Quote Share this post Link to post Share on other sites
[HELIXE™] [email protected]™ 2 Report post Posted March 2, 2017 (edited) Problem solved @Lylie It works now! ^^The problem was copying and pasting. Symbols invisible to the naked eye, had slipped into the blocs of the script in question.I do not know what you use as editor, but I use Notepad ++.It was only when I looked at my * .rtp file that I understood that the error came from there. Spoiler Warning Message: File mpmissions\__cur_mp.Tanoa\dialog\spawnSelection.hpp, line 42: '/life_spawn_selection/controlsBackground/MapView.': '§ encountered instead of '=' Here is my spawnSelection.hpp (I hope without this problem) spawnSelection.hpp (from Altis/Tanoa Life 5.0) Edited June 30, 2018 by [HELIXE™] [email protected]™ Quote Share this post Link to post Share on other sites
Fox059 4 Report post Posted March 16, 2017 Any idea. my background Black, Not shown In the menu in respawn. Quote Share this post Link to post Share on other sites
Lylie 0 Report post Posted March 16, 2017 1 hour ago, Fox059 said: Any idea. my background Black, Not shown In the menu in respawn. show me your logs Quote Share this post Link to post Share on other sites
[HELIXE™] [email protected]™ 2 Report post Posted March 21, 2017 (edited) it's really work fine ! Edited March 21, 2017 by [HELIXE™] [email protected]™ Quote Share this post Link to post Share on other sites
[HELIXE™] [email protected]™ 2 Report post Posted March 21, 2017 On 16/03/2017 at 1:49 PM, Fox059 said: my background Black, Not shown In the menu in respawn. @Fox059 Start the tutorial again, maybe you've done it wrong ! Quote Share this post Link to post Share on other sites
Tubs! 0 Report post Posted April 9, 2017 @Lylie Instead of being the map do you know how i could replace with a PAA Image overlay? Quote Share this post Link to post Share on other sites
★c0ry★ 2 Report post Posted April 9, 2017 Is there a way I can replace all the black with an image? Quote Share this post Link to post Share on other sites