Warsheep

[GUIDE]Welcome Intro with Music

67 posts in this topic

Simple Intro with musik

DOWNLOAD GUIDE

Aditional remove the content in Exile.Altis/config.cpp:
 

class CfgExileMusic
{
    Intro[] = {""};
};

:Fix from @digDoug
 

try this..
take it out of the init.sqf and put it at the bottom of initPlayerLocal.sqf

Edited by Warsheep

Share this post


Link to post
Share on other sites
Advertisement

@blancodan

You can follow the below steps to remove the music without relying on your players to change their ingame settings. 

  1. Unpack your "Exile.Altis.pbo" located in the "Arma\Server\mpmissions" folder
  2. Edit the "config.cpp" file with notepad++
  3. Scroll down to lines 1600-1604
  4. Remove the values you wish to disable

e.g.

class CfgExileMusic
{
    Ambient[] = {""};
    Combat[] = {""};
    Intro[] = {""};
};

5. Save and overwrite the file

6. Repack your Pbo

Done ;) 

Edited by S.
  • Like 4

Share this post


Link to post
Share on other sites

Hi i added this to my server but i get no welcome creds or music have i done something wrong here is my Description and Init



DESCRIPTION

// https://community.bistudio.com/wiki/Description.ext#forceRotorLibSimulation
forceRotorLibSimulation = 2;

// https://community.bistudio.com/wiki/Description.ext#disableChannels
disableChannels[] = {0, 2};

author = "Exile Mod Team";
loadScreen = "exile_client\texture\mod\logo.paa"; 
onLoadMission= "exile.majormittens.co.uk";
OnLoadIntro = "";
OnLoadIntroTime = false;
OnLoadMissionTime = false;
onLoadName = "Exile Mod";

class Header
{
    gameType = Sandbox;
    minPlayers = 1;
    maxPlayers = 100;
};

// DO NOT CHANGE THIS! +
showHUD = 0;

respawn = "BASE";
respawnDelay = 120;
respawnDialog = 0;
respawnOnStart = 0;
respawnButton = 1; 
respawnTemplates[] = {"Exile"};


// These are broken as fuck, do not use them!
corpseManagerMode = 0;
corpseLimit = 20;
corpseRemovalMinTime = 1800;
corpseRemovalMaxTime = 3600;
wreckManagerMode = 0;
wreckLimit = 2;
wreckRemovalMinTime = 60;
wreckRemovalMaxTime = 360;

 

// DO NOT CHANGE THIS! -

// When scripted player is enabled, game no longer shows "No player select" error message upon mission start when no player unit is present. 
scriptedPlayer = 1;

// Automatically take a free slot in lobby
joinUnassigned = 0;

// Removes all playable units which do not have a human player.
disabledAI = true;

// Disable dropping items while swimming
enableItemsDropping = 0;

// Briefing will still be displayed until all clients are connected and done loading :(
briefing = 0;

// Defines if the debriefing is shown or not at the end of the mission. 
debriefing = 0;

// Allow RPT loging
allowFunctionsLog = 1;

// Allows access to the Debug Console outside of the editor during normal gameplay. 
// 0 = Default behavior, available only in editor
// 1 = Available in SP and for hosts / logged in admins
// 2 = Available for everyone
enableDebugConsole = 0; // 2 = dangerous in MP

// NO NO NO
allowFunctionsRecompile = 0;

#include "config.cpp"

class CfgRemoteExec
{
    class Functions
    {
        mode = 1;
        jip = 0;
        class ExileServer_system_network_dispatchIncomingMessage     { allowedTargets=2; };
    };
    class Commands
    {
        mode=0;
        jip=0;
    };
};

class cfgFunctions
{
    class VEMF
    {
        tag = "VEMF";
        class functions
        {
            file = "VEMFclient";
            class vemfClientMessage {};
            class vemfClientInit { postInit = 1; };
        };
    };
};

class RscTitles
{
    #include "VEMFclient\hpp_mainVemfClient.hpp"
    #include "addons\statusBar\statusBar.hpp"
};

class CfgSounds
{
    sounds[] = {Intro};
    class Intro
    {
        name = "Intro";
        sound[] = {"\intro\intro.ogg", 1, 1};
        titles[] = {};
    };
};





INIT
 

#include "custom\acd_SZ\acd_SZ_config.sqf"
execVM "intro\intro.sqf";

Share this post


Link to post
Share on other sites

Hi i added this to my server but i get no welcome creds or music have i done something wrong here is my Description and Init



DESCRIPTION

// https://community.bistudio.com/wiki/Description.ext#forceRotorLibSimulation
forceRotorLibSimulation = 2;

// https://community.bistudio.com/wiki/Description.ext#disableChannels
disableChannels[] = {0, 2};

author = "Exile Mod Team";
loadScreen = "exile_client\texture\mod\logo.paa"; 
onLoadMission= "exile.majormittens.co.uk";
OnLoadIntro = "";
OnLoadIntroTime = false;
OnLoadMissionTime = false;
onLoadName = "Exile Mod";

class Header
{
    gameType = Sandbox;
    minPlayers = 1;
    maxPlayers = 100;
};

// DO NOT CHANGE THIS! +
showHUD = 0;

respawn = "BASE";
respawnDelay = 120;
respawnDialog = 0;
respawnOnStart = 0;
respawnButton = 1; 
respawnTemplates[] = {"Exile"};


// These are broken as fuck, do not use them!
corpseManagerMode = 0;
corpseLimit = 20;
corpseRemovalMinTime = 1800;
corpseRemovalMaxTime = 3600;
wreckManagerMode = 0;
wreckLimit = 2;
wreckRemovalMinTime = 60;
wreckRemovalMaxTime = 360;

 

// DO NOT CHANGE THIS! -

// When scripted player is enabled, game no longer shows "No player select" error message upon mission start when no player unit is present. 
scriptedPlayer = 1;

// Automatically take a free slot in lobby
joinUnassigned = 0;

// Removes all playable units which do not have a human player.
disabledAI = true;

// Disable dropping items while swimming
enableItemsDropping = 0;

// Briefing will still be displayed until all clients are connected and done loading :(
briefing = 0;

// Defines if the debriefing is shown or not at the end of the mission. 
debriefing = 0;

// Allow RPT loging
allowFunctionsLog = 1;

// Allows access to the Debug Console outside of the editor during normal gameplay. 
// 0 = Default behavior, available only in editor
// 1 = Available in SP and for hosts / logged in admins
// 2 = Available for everyone
enableDebugConsole = 0; // 2 = dangerous in MP

// NO NO NO
allowFunctionsRecompile = 0;

#include "config.cpp"

class CfgRemoteExec
{
    class Functions
    {
        mode = 1;
        jip = 0;
        class ExileServer_system_network_dispatchIncomingMessage     { allowedTargets=2; };
    };
    class Commands
    {
        mode=0;
        jip=0;
    };
};

class cfgFunctions
{
    class VEMF
    {
        tag = "VEMF";
        class functions
        {
            file = "VEMFclient";
            class vemfClientMessage {};
            class vemfClientInit { postInit = 1; };
        };
    };
};

class RscTitles
{
    #include "VEMFclient\hpp_mainVemfClient.hpp"
    #include "addons\statusBar\statusBar.hpp"
};

class CfgSounds
{
    sounds[] = {Intro};
    class Intro
    {
        name = "Intro";
        sound[] = {"\intro\intro.ogg", 1, 1};
        titles[] = {};
    };
};





INIT
 

#include "custom\acd_SZ\acd_SZ_config.sqf"
execVM "intro\intro.sqf";

1.

remove from des.ext this line 
execVM "intro\intro.sqf";
2.
and add in init.sqf (if u dont have one make a new
this line

execVM "intro\intro.sqf";

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.