Jump to content
DarkBall123

Change cutscene in main menu

Recommended Posts

Hello !

 

I want to change the cutscene in the main menu by my own but it's dosent work.

 

I have pbo with the mission and my config cpp like this :

class CfgWorlds {
	class CAWorld;
	class Altis : CAWorld {
		cutscenes[] = {"campIntro"};
	};
	class Malden : CAWorld {
		cutscenes[] = {"campIntro"};
	};
	class Tanoa : CAWorld {
		cutscenes[] = {"campIntro"};
	};
	class Stratis : CAWorld {
		cutscenes[] = {"campIntro"};
	};
	class VR : CAWorld {
		cutscenes[] = {"campIntro"};
	};
	class Noe : CAWorld {
		cutscenes[] = {"campIntro"};
	};
	class Desert_Island : CAWorld {
		cutscenes[] = {"campIntro"};
	};
	class eden : CAWorld {
		cutscenes[] = {"campIntro"};
	};
	class cain : CAWorld {
		cutscenes[] = {"campIntro"};
	};	
	class abel : CAWorld {
		cutscenes[] = {"campIntro"};
	};
    class Intro : CAWorld {
		cutscenes[] = {"campIntro"};
	};	
	initWorld = "Intro";
	demoWorld = "Intro";
};

My mission juste have InitIntro.sqf with script on camera

 

But when i launch my game i have nothing like -wolrd=empty parameter. I have no error. My mission work perfectly in the editor.

 

Can somebody help me? Thanks!

Share this post


Link to post
Share on other sites
2 hours ago, DarkBall123 said:

I have pbo with the mission and my config cpp like this

But you also have CfgPatches but just didn't list it here right?

Have you checked your RPT for errors?

Share this post


Link to post
Share on other sites
3 hours ago, DarkBall123 said:

I want to change the cutscene in the main menu

A Cutscene something like this 😉

or this

or this

or this

or this

or this

or this

or this

or even this

 

or a gameplay scene?

Share this post


Link to post
Share on other sites
45 minutes ago, Dedmen said:

But you also have CfgPatches but just didn't list it here right?

Have you checked your RPT for errors?

Yes, there are no errors in the RPT - LOG:

Starting mission:
14:46:43  Mission file: campIntro
14:46:43  Mission world: Intro
14:46:43  Mission directory: anims\campIntro.Intro\

Here's full confing.cpp :

 

class CfgPatches  {
	class peacekeeper_camp  {
		author = "DarkBall";
		authors[] = {"DarkBall"};
		url = "";
		units[] = {};
		weapons[] = {};
		requiredVersion = 1.7;
		requiredAddons[] = {"A3_UI_F", "A3_Data_F", "A3_Map_Altis","A3_Map_Stratis","A3_Map_Stratis_Scenes","A3_Map_Altis_Scenes","A3_Map_Tanoabuka","A3_Map_Enoch"};
	};
};

class CfgMissions  {

	class Campaigns  {

		class Eaglets  {
			directory = "Eaglets\campaign";
		};
		class Cutscenes {
		class campIntro {
			directory = "Eaglets\Intro.intro";
		};
	};
	};
};


class CfgWorlds {
	class CAWorld;
	class Altis : CAWorld {
		cutscenes[] = {"campIntro"};
	};
	class Malden : CAWorld {
		cutscenes[] = {"campIntro"};
	};
	class Tanoa : CAWorld {
		cutscenes[] = {"campIntro"};
	};
	class Stratis : CAWorld {
		cutscenes[] = {"campIntro"};
	};
	class VR : CAWorld {
		cutscenes[] = {"campIntro"};
	};
	class Noe : CAWorld {
		cutscenes[] = {"campIntro"};
	};
	class Desert_Island : CAWorld {
		cutscenes[] = {"campIntro"};
	};
	class eden : CAWorld {
		cutscenes[] = {"campIntro"};
	};
	class cain : CAWorld {
		cutscenes[] = {"campIntro"};
	};	
	class abel : CAWorld {
		cutscenes[] = {"campIntro"};
	};
    class Intro : CAWorld {
		cutscenes[] = {"campIntro"};
	};	
	initWorld = "Intro";
	demoWorld = "Intro";
};

 

Share this post


Link to post
Share on other sites
4 minutes ago, Gunter Severloh said:

A Cutscene something like this 😉

or this

or this

or this

or this

or this

or this

or this

or even this

 

or a gameplay scene?

Yes it is, Like in the video

Share this post


Link to post
Share on other sites
class campIntro { directory = "Eaglets\Intro.intro"; };

I am not too sure if that is the correct  way of defining an intro. If someone else can confirm that is fine then ignore the rest of my post.
Is .intro even usable in Arma 3? I don't know but here is the config I use for my own Arma unit's custom main menu video:

 

Spoiler


 


class CfgMissions

{

    class Cutscenes

    {

        class spg_menara_intro

        {

            directory="Spg_intro\Menara_intro.Altis";

        };

    };

};

 

In Menara_intro.Altis I use the initIntro.sqf to play the actual video. "Spg_intro\" refers to an addon that I made specifically to store the into mission. I.e. in the config file I specify Arma mission from an addon as the cutscene and have a mission intro in that mission that is then used in the main menu. Hope this helps.

  • Like 1

Share this post


Link to post
Share on other sites
2 hours ago, Reeveli said:

class campIntro { directory = "Eaglets\Intro.intro"; };

I am not too sure if that is the correct  way of defining an intro. If someone else can confirm that is fine then ignore the rest of my post.
Is .intro even usable in Arma 3? I don't know but here is the config I use for my own Arma unit's custom main menu video:

 

  Reveal hidden contents


 



class CfgMissions

{

    class Cutscenes

    {

        class spg_menara_intro

        {

            directory="Spg_intro\Menara_intro.Altis";

        };

    };

};

 

In Menara_intro.Altis I use the initIntro.sqf to play the actual video. "Spg_intro\" refers to an addon that I made specifically to store the into mission. I.e. in the config file I specify Arma mission from an addon as the cutscene and have a mission intro in that mission that is then used in the main menu. Hope this helps.

Thanks for the hint, but it doesn't work

 

.intro - name of the island in CUP

 

The island appears for half a second and then disappears

Share this post


Link to post
Share on other sites

Might be a problem in the intro mission itself then, not the config.

  • Like 1

Share this post


Link to post
Share on other sites
11 hours ago, Reeveli said:

Might be a problem in the intro mission itself then, not the config.

I tried to create a new scenario with the camera, nothing worked

Share this post


Link to post
Share on other sites

Late reply, i will show you what i have setup with those videos i posted, but not today, have other things im working on

only issue i have with my intros is they only play after you exit like arsenal or another map, not apon start.

  • Like 1

Share this post


Link to post
Share on other sites

Here are the scripts being used in my menu video, this is not my work btw, i had acquired this from a friend back in 2015 who was

helping me on my IFA3WarMod with configs,  the videos, and the added names

in all the script lines are my work, scripts overall are not my creation.

 

Also this is a mod that runs, not anything i have in a mission.

 

Missions folder

IFA3WARModIntro.VR

  • mission.sqm
  • initIntro.sqf

initIntro.sqf

Spoiler

 

cutText ["", "BLACK FADED", 69];
enableEnvironment false;
showCinemaBorder false;

//videosintro = ["IFA3WARMod_client\video\FGH.ogv", "IFA3WARMod_client\video\IFA3WARMOD.ogv"] call BIS_fnc_selectRandom;

while {true} do
{
    _video = ["IFA3WARMod_client\video\IFA3WARMOD1.ogv"] spawn BIS_fnc_playVideo;
    waitUntil {scriptDone _video};    
};

 

 

Video folder

  • IFA3WARMOD1.ogv

CfgMissions.hpp

Spoiler

// Generated by unRap v1.06 by Kegetys

class CfgMissions {
    class Cutscenes {
        class IFA3WARModIntro {
            directory = "IFA3WARMod_client\missions\IFA3WARModIntro.VR";
        };
    };
};

CfgPatches.hpp

Spoiler

// Generated by unRap v1.06 by Kegetys
class CfgPatches {
    class IFA3WARMod_client {
        units[] = {};
        weapons[] = {};
        requiredVersion = 1;
        requiredAddons[] = {A3_UI_F, "a3_map_altis_scenes", "a3_map_vr_scenes", "a3_map_stratis_scenes"};
    };
};

CfgWorlds.hpp

Spoiler

// Generated by unRap v1.06 by Kegetys

class CfgWorlds {
    class CAWorld;    // External class reference
    
    class Altis : CAWorld {
        cutscenes[] = {"IFA3WARModIntro"};
    };
    
    class Stratis : CAWorld {
        cutscenes[] = {"IFA3WARModIntro"};
    };
    
    class VR : CAWorld {
        cutscenes[] = {"IFA3WARModIntro"};
    };
    
    class LIBWorld : CAWorld {
        cutscenes[] = {"IFA3WARModIntro"};
    };
    
    class staszow : LIBWorld {
        cutscenes[] = {"IFA3WARModIntro"};
    };
    
    class Panovo : CAWorld {
        cutscenes[] = {"IFA3WARModIntro"};
    };
    
    class Baranow : Staszow {
        cutscenes[] = {"IFA3WARModIntro"};
    };
    
    class ivachev : Staszow {
        cutscenes[] = {"IFA3WARModIntro"};
    };
    
    class Colleville : Staszow {
        cutscenes[] = {"IFA3WARModIntro"};
    };
    initWorld = "VR";
    demoWorld = "VR";
};

config.cpp

Spoiler

// config.bin - 20:05:21 09/12/15, generated in 0.18 seconds
// Generated by unRap v1.06 by Kegetys
// Separate rootclasses: Enabled, Automatic comments: Enabled

#include "CfgPatches.hpp"
class RscChatListDefault;    // External class reference
class RscText;    // External class reference
class RscEdit;    // External class reference
class RscDisplayChannel;    // External class reference
#include "RscChatListMission.hpp"
#include "RscChatListMap.hpp"
class RscPicture;    // External class reference
class RscControlsGroup;    // External class reference
class RscStandardDisplay;    // External class reference
class RscPictureKeepAspect;    // External class reference
#include "RscDisplayMain.hpp"
#include "RscBackgroundLogo.hpp"
#include "RscDisplayStart.hpp"
#include "RscDisplayNotFreeze.hpp"
#include "RscDisplayLoadMission.hpp"
#include "RscTitles.hpp"
#include "CfgMissions.hpp"
#include "CfgWorlds.hpp"

  • IFA3WARMod_logo.paa

RscBackgroundLogo.hpp

Spoiler

// Generated by unRap v1.06 by Kegetys

class RscBackgroundLogo : RscPictureKeepAspect {
    text = "\IFA3WARMod_client\IFA3WARMod_logo.paa";
};

RscChatListMap.hpp

Spoiler

// Generated by unRap v1.06 by Kegetys

class RscChatListMap : RscChatListDefault {
    x = 0.0;
    y = 7777;
    w = 1.0;
    rows = 2;
};

RscChatListMission.hpp

Spoiler

// Generated by unRap v1.06 by Kegetys

class RscChatListMission : RscChatListDefault {
    x = 0.0;
    y = 7777;
    w = 1.0;
    rows = 5;
};

RscDisplayLoadMission.hpp

Spoiler

// Generated by unRap v1.06 by Kegetys

class RscDisplayLoadMission : RscStandardDisplay {
    class controls {
        class LoadingStart : RscControlsGroup {
            class controls {
                class Logo : RscPictureKeepAspect {
                    text = "\IFA3WARMod_client\IFA3WARMod_logo.paa";
                };
            };
        };
    };
};

RscDisplayMain.hpp

Spoiler

// Generated by unRap v1.06 by Kegetys

class RscDisplayMain : RscStandardDisplay {
    class controls {
        class GameLogo : RscPicture {
            text = "\IFA3WARMod_client\IFA3WARMod_logo.paa";
        };
    };
};

RscDisplayNotFreeze.hpp

Spoiler

// Generated by unRap v1.06 by Kegetys

class RscDisplayNotFreeze : RscStandardDisplay {
    class controls {
        class LoadingStart : RscControlsGroup {
            class controls {
                class Logo : RscPictureKeepAspect {
                    text = "\IFA3WARMod_client\IFA3WARMod_logo.paa";
                };
            };
        };
    };
};

RscDisplayStart.hpp

Spoiler

// Generated by unRap v1.06 by Kegetys

class RscDisplayStart : RscStandardDisplay {
    class controls {
        class LoadingStart : RscControlsGroup {
            class controls {
                class Logo : RscPictureKeepAspect {
                    text = "\IFA3WARMod_client\IFA3WARMod_logo.paa";
                };
            };
        };
    };
};

RscTitles.hpp

Spoiler

// Generated by unRap v1.06 by Kegetys

class RscTitles {
    class SplashArma3 {
        class Picture : RscPicture {
            text = "\IFA3WARMod_client\IFA3WARMod_logo.paa";
        };
    };
};

  • stringtable.xml

===========

All these scripts and files are in a folder titled  IFA3WARMod_client

then i pbo that and run it as a mod.

 

 

 

 

  • Like 1

Share this post


Link to post
Share on other sites
3 minutes ago, Gunter Severloh said:

Here are the scripts being used in my menu video, this is not my work btw, i had acquired this from a friend back in 2015 who was

helping me on my IFA3WarMod with configs,  the videos, and the added names

in all the script lines are my work, scripts overall are not my creation.

 

Also this is a mod that runs, not anything i have in a mission.

 

Missions folder

IFA3WARModIntro.VR

  • mission.sqm
  • initIntro.sqf

initIntro.sqf

  Reveal hidden contents

 

cutText ["", "BLACK FADED", 69];
enableEnvironment false;
showCinemaBorder false;

//videosintro = ["IFA3WARMod_client\video\FGH.ogv", "IFA3WARMod_client\video\IFA3WARMOD.ogv"] call BIS_fnc_selectRandom;

while {true} do
{
    _video = ["IFA3WARMod_client\video\IFA3WARMOD1.ogv"] spawn BIS_fnc_playVideo;
    waitUntil {scriptDone _video};    
};

 

 

Video folder

  • IFA3WARMOD1.ogv

CfgMissions.hpp

  Reveal hidden contents

// Generated by unRap v1.06 by Kegetys

class CfgMissions {
    class Cutscenes {
        class IFA3WARModIntro {
            directory = "IFA3WARMod_client\missions\IFA3WARModIntro.VR";
        };
    };
};

CfgPatches.hpp

  Reveal hidden contents

// Generated by unRap v1.06 by Kegetys
class CfgPatches {
    class IFA3WARMod_client {
        units[] = {};
        weapons[] = {};
        requiredVersion = 1;
        requiredAddons[] = {A3_UI_F, "a3_map_altis_scenes", "a3_map_vr_scenes", "a3_map_stratis_scenes"};
    };
};

CfgWorlds.hpp

  Reveal hidden contents

// Generated by unRap v1.06 by Kegetys

class CfgWorlds {
    class CAWorld;    // External class reference
    
    class Altis : CAWorld {
        cutscenes[] = {"IFA3WARModIntro"};
    };
    
    class Stratis : CAWorld {
        cutscenes[] = {"IFA3WARModIntro"};
    };
    
    class VR : CAWorld {
        cutscenes[] = {"IFA3WARModIntro"};
    };
    
    class LIBWorld : CAWorld {
        cutscenes[] = {"IFA3WARModIntro"};
    };
    
    class staszow : LIBWorld {
        cutscenes[] = {"IFA3WARModIntro"};
    };
    
    class Panovo : CAWorld {
        cutscenes[] = {"IFA3WARModIntro"};
    };
    
    class Baranow : Staszow {
        cutscenes[] = {"IFA3WARModIntro"};
    };
    
    class ivachev : Staszow {
        cutscenes[] = {"IFA3WARModIntro"};
    };
    
    class Colleville : Staszow {
        cutscenes[] = {"IFA3WARModIntro"};
    };
    initWorld = "VR";
    demoWorld = "VR";
};

config.cpp

  Reveal hidden contents

// config.bin - 20:05:21 09/12/15, generated in 0.18 seconds
// Generated by unRap v1.06 by Kegetys
// Separate rootclasses: Enabled, Automatic comments: Enabled

#include "CfgPatches.hpp"
class RscChatListDefault;    // External class reference
class RscText;    // External class reference
class RscEdit;    // External class reference
class RscDisplayChannel;    // External class reference
#include "RscChatListMission.hpp"
#include "RscChatListMap.hpp"
class RscPicture;    // External class reference
class RscControlsGroup;    // External class reference
class RscStandardDisplay;    // External class reference
class RscPictureKeepAspect;    // External class reference
#include "RscDisplayMain.hpp"
#include "RscBackgroundLogo.hpp"
#include "RscDisplayStart.hpp"
#include "RscDisplayNotFreeze.hpp"
#include "RscDisplayLoadMission.hpp"
#include "RscTitles.hpp"
#include "CfgMissions.hpp"
#include "CfgWorlds.hpp"

  • IFA3WARMod_logo.paa

RscBackgroundLogo.hpp

  Reveal hidden contents

// Generated by unRap v1.06 by Kegetys

class RscBackgroundLogo : RscPictureKeepAspect {
    text = "\IFA3WARMod_client\IFA3WARMod_logo.paa";
};

RscChatListMap.hpp

  Reveal hidden contents

// Generated by unRap v1.06 by Kegetys

class RscChatListMap : RscChatListDefault {
    x = 0.0;
    y = 7777;
    w = 1.0;
    rows = 2;
};

RscChatListMission.hpp

  Reveal hidden contents

// Generated by unRap v1.06 by Kegetys

class RscChatListMission : RscChatListDefault {
    x = 0.0;
    y = 7777;
    w = 1.0;
    rows = 5;
};

RscDisplayLoadMission.hpp

  Reveal hidden contents

// Generated by unRap v1.06 by Kegetys

class RscDisplayLoadMission : RscStandardDisplay {
    class controls {
        class LoadingStart : RscControlsGroup {
            class controls {
                class Logo : RscPictureKeepAspect {
                    text = "\IFA3WARMod_client\IFA3WARMod_logo.paa";
                };
            };
        };
    };
};

RscDisplayMain.hpp

  Reveal hidden contents

// Generated by unRap v1.06 by Kegetys

class RscDisplayMain : RscStandardDisplay {
    class controls {
        class GameLogo : RscPicture {
            text = "\IFA3WARMod_client\IFA3WARMod_logo.paa";
        };
    };
};

RscDisplayNotFreeze.hpp

  Reveal hidden contents

// Generated by unRap v1.06 by Kegetys

class RscDisplayNotFreeze : RscStandardDisplay {
    class controls {
        class LoadingStart : RscControlsGroup {
            class controls {
                class Logo : RscPictureKeepAspect {
                    text = "\IFA3WARMod_client\IFA3WARMod_logo.paa";
                };
            };
        };
    };
};

RscDisplayStart.hpp

  Reveal hidden contents

// Generated by unRap v1.06 by Kegetys

class RscDisplayStart : RscStandardDisplay {
    class controls {
        class LoadingStart : RscControlsGroup {
            class controls {
                class Logo : RscPictureKeepAspect {
                    text = "\IFA3WARMod_client\IFA3WARMod_logo.paa";
                };
            };
        };
    };
};

RscTitles.hpp

  Reveal hidden contents

// Generated by unRap v1.06 by Kegetys

class RscTitles {
    class SplashArma3 {
        class Picture : RscPicture {
            text = "\IFA3WARMod_client\IFA3WARMod_logo.paa";
        };
    };
};

  • stringtable.xml

===========

All these scripts and files are in a folder titled  IFA3WARMod_client

then i pbo that and run it as a mod.

 

 

 

 

Thanks!

Share this post


Link to post
Share on other sites

Welcome, not necessary to quote my whole post, you can use either the like thanks on the bottom right of the post, or

type my name with @ and say the same thing. Hope it helps you get at least an idea of what you need to do for what your working on. Cheers!

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

×