Jump to content

IT07

Recommended Posts

thanks for your help.

 

I read the README file, I want to know is, or should I put it.

in " class RscTitles " or other beacause i add in but nothing, and i add out and nothing.

 

If you want you can send me your mission file using a file sharing website and I will install it for you because it sounds like you don't know how to do it.

Link to comment
Share on other sites

I found out why I can not join a lobby in desciption.ext when I remove

 

 

#include "ZHB\ZHudBuilder.hpp"

 

class RscTitles
{
 
#include "ZHB\ZHud.hpp"
 
};
 
class CfgFunctions {
#include "ZHB\ZHB_Functions.hpp"
};
 

 

I manage to reach the lobby and connect to the server, and your menu server works

 

i dont know why.

 

 

 

"sorry for my bad english"

Link to comment
Share on other sites

my browser cant open your  files, perhaps its my addblocker..

 

I am using an ad blocker too. It works fine. You have to wait a few seconds for the "Skip Ad" button to show up on the top right corner. Ignore the rest on the page.

But for the convenience, I will move all of the coding to GitHub.

Link to comment
Share on other sites

My Description.ext

 

author = "Epoch Mod Team";
class Header
{
 gameType = Sandbox;
 minPlayers = 1;
 maxPlayers = 100;
};
respawn = "BASE";
respawnDelay = 600;
respawnDialog = 0;

onLoadMission= "Epoch";
OnLoadIntro = "Willkommen auf dem Epoch server von iP";
loadScreen = "\x\addons\a3_epoch_assets\pictures\loadScreen_ca.paa";
OnLoadIntroTime = False;
OnLoadMissionTime = False;
onLoadName = "Epoch Mod";
disabledAI = true;
scriptedPlayer = 1;
disableChannels[]={0,1,2,6};
enableItemsDropping = 0;
briefing = 0;
debriefing = 0;
enableDebugConsole = 0;
joinUnassigned = 0;
respawnOnStart = 0;
forceRotorLibSimulation = 0;

corpseManagerMode = 1;
corpseLimit = 10;
corpseRemovalMinTime = 1200;
corpseRemovalMaxTime = 3600;

wreckManagerMode = 1;
wreckLimit = 2;
wreckRemovalMinTime = 60;
wreckRemovalMaxTime = 360;

class CfgRemoteExecCommands {};

class RscTitles
{
        #include "custom\playerStatsElite\scripts\PSEL.hpp"
        #include "ScarCode\SC_Rsc.hpp"
};
class cfgMusic
{
    class intro
    {
        name = "intro";
        sound[] = {"custom\IntroSong.ogg", db+1,1};
    };
};

 

and my init.sqf

 

if(hasInterface)then{execVM "semClient.sqf"};
// Welcome Credits
[] execVM "custom\welcome.sqf";
// Elite Bar
[]execVM "custom\playerStatsElite\psConfig.sqf";
//cmEARPLUGS CODE START
//////////////////////////////////////////////////////////////////////////
call compile preProcessFileLineNumbers "cmEarplugs\cm_veh_fun.sqf";
//cmEARPLUGS CODE END
//////////////////////////////////////////////////////////////////////////
//Supply Drop Alert Event
"SDROP_Alert" addPublicVariableEventHandler {
hint parseText format["%1", _this select 1];
};
// Servermenu [V02314_BETA 4th release] script by IT07
if (hasInterface) then
{
    [True] call compile preprocessFileLineNumbers "ScarCode\SC_compileMenu.sqf";
    [True] ExecVM "ScarCode\SC_startMenu.sqf";
};

 

 

 

have the starcode ordner in my epoch.Altis Mission PBO

Link to comment
Share on other sites

that ok?

 

class CfgRemoteExecCommands {};

#include "ScarCode\SC_Rsc.hpp"

class RscTitles
{
        #include "custom\playerStatsElite\scripts\PSEL.hpp"
};

 

that is fail

 

class CfgRemoteExecCommands {};



class RscTitles
{

        #include "ScarCode\SC_Rsc.hpp"
        #include "custom\playerStatsElite\scripts\PSEL.hpp"
};

 

ok i test it so

Link to comment
Share on other sites

nope have everyone this problem

resource title server menuitem show not found

 

when i add this befor Rsctitle

 

In your description.ext, move #include "ScarCode\SC_Rsc.hpp" BEFORE the class RscTitles; line.
 
then come error
 
File MPMission/___cur_map_altis description.ext line 40
Link to comment
Share on other sites

  • 2 weeks later...

Great script IT07!
 
Question i am trying to play with the script you made.

I have understood most of it so far but i cant seem to get the image working correctly.

 

Tested the code i got from the wiki and play around with it. Finally got it to work (sorta) gave me an error missing content. Fixed that issue (derp me) 

Scrolled through the menu everything is working fine except for the image isnt showing in the Server Menu Content. Been cracking my brain open, searching through google and tells me the exact same line of code i need to use. Am i overlooking something?

 

 
what i have used to work with:

_imageText = parseText "<img size='5' image='logo.jpg' width='100' height='100'/>";
_imageLogo = image "logo.jpg";

Also tried changing it up with jpg or paa no luck.

Link to comment
Share on other sites

Great script IT07!

 

Question i am trying to play with the script you made.

I have understood most of it so far but i cant seem to get the image working correctly.

 

Tested the code i got from the wiki and play around with it. Finally got it to work (sorta) gave me an error missing content. Fixed that issue (derp me) 

Scrolled through the menu everything is working fine except for the image isnt showing in the Server Menu Content. Been cracking my brain open, searching through google and tells me the exact same line of code i need to use. Am i overlooking something?

 

 

what i have used to work with:

_imageText = parseText "<img size='5' image='logo.jpg' width='100' height='100'/>";
_imageLogo = image "logo.jpg";

Also tried changing it up with jpg or paa no luck.

 

Thank you! You are welcome.

To answer your question: just add

<img image='Folder\whatever.jpg' width='numbah' />

to one of the lines in the code where you want to have it shown. Can't get easier than that mate :)

Link to comment
Share on other sites

Thank you! You are welcome.

To answer your question: just add

<img image='Folder\whatever.jpg' width='numbah' />

to one of the lines in the code where you want to have it shown. Can't get easier than that mate :)

 

thanks for the info I appreciate it!

but sad news script works and doesnt show the image. I think its just arma not letting me add it?  

I have even lowered down the resolution to 16x16 (icon size) jpg/paa and still no luck... arma is hating me xD

 

 

Edit:

PS:  Suggestion.

my buddy and i have been talking allot about your script and came up with an idea for it. the server menu is great but what if the person is new to the server and is reading the info and then he hears gun shots and he wants to run away but the menu is still blocking his view. is there a way to add for example if right click => exit menu?

Edited by RuschGaming
Link to comment
Share on other sites

Yes it is possible to make right-click exit the menu. The command that does that will probably cause BE filter kicks but it is possible to create. I will add this to the features in a future version. Until then, "close menu" does the same ;)

EDIT: send me your SC_compileMenu.sqf and where you want the image and I'll look at it.

Link to comment
Share on other sites

is there a way to get the server menu working with zupa's hudbuilder? keep getting this issue with "member already defined"

IDiasqj.png

 

i have removed zupa's hud builder to see if it was working then it works fine but i rather have the hud builder over the server menu. is there a way i can combine them?

Link to comment
Share on other sites

Check all of the files and code in your description.ext to see which file has the duplicate RscTitles in it.

There is no such thing as a script being "incompatible" with another script so take a good look in the code and find where the duplicate is.

Link to comment
Share on other sites

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
  • Advertisement
×
×
  • Create New...