Jump to content
Wolfkrug

How can I get this work please? I been searching for this about 2 days

Recommended Posts

I'm not good at using forums sorry for that, Here is the problem; I downloaded two different scripts but they both have the same named files.....
I think they called "demo mission/script" can someone please explain to me that how can I get this work? Thank you! :^)

8ca0995a35331c2304da9d773a696322.png

  • Like 1

Share this post


Link to post
Share on other sites

The script .sqf files themselves will be in the folders, copy these from all sources into your mission folder,

 

the 'init.sqf' , 'description.ext' and 'mission.sqm' are all mission files for the demo missions.

 

mission.sqm you will get your own when you save mission in EDEN. its all your placed map objects/triggers etc

 

you will need to open the 'init.sqf' and 'description.ext' for EACH script to see how the scripts are called, then make your own merged version that calls all the scripts you want. Its often just a matter of copy/pasting everything into one file.

 

'init.sqf' is an event script that loads when the mission starts, its usually where scripts start from.

 

'description.ext' is for setting mission attributes  and can load config files and stuff.

 

also check out the demo missions to see if theres anything to be added in editor for the scripts to run (i.e. triggers, named objects etc)

 

  • Like 1

Share this post


Link to post
Share on other sites

Additional to the above by @lordfrith make sure the description.ext only holds one of each Cfgs, so it ends up like this:

 

//first description.ext:
class CfgFunctions
{
	class Arithmetic
	{
	};
};

//second description.ext:
class CfgFunctions
{
	class Algebra
	{
	};
};

//merged into this:
class CfgFunctions
{
	class Arithmetic
	{
	};
	class Algebra
	{
	};
};

Cheers

Share this post


Link to post
Share on other sites
//first description.ext:
class CfgSounds
{
    class intro_music
    {
        name = "intro_music"; // Name for mission editor
        sound[] = {\sound\intro_music.ogg, .5, 1.0};
        titles[] = {0, ""};
    };
class magnetic_pulse
    {
        name = "magnetic_pulse";
        sound[] = {"\sound\magnetic_pulse.ogg", 1, 1};
        titles[] = {1, ""};
    };
    class sparks_1
    {
        name = "sparks_1";
        sound[] = {"\sound\sparks_1.ogg", db+10, 1};
        titles[] = {1, ""};
    };
    class sparks_2
    {
        name = "sparks_2";
        sound[] = {"\sound\sparks_2.ogg", db+10, 1};
        titles[] = {1, ""};
    };
    class sparks_3
    {
        name = "sparks_3";
        sound[] = {"\sound\sparks_3.ogg", db+10, 1};
        titles[] = {1, ""};
    };
    class sparks_4
    {
        name = "sparks_4";
        sound[] = {"\sound\sparks_4.ogg", 1, 1};
        titles[] = {1, ""};
    };    
    class sparks_5
    {
        name = "sparks_5";
        sound[] = {"\sound\sparks_5.ogg", db+10, 1};
        titles[] = {1, ""};
    };    
    class after_01
    {
        name = "after_01";
        sound[] = {"\sound\after_01.ogg", 0.5, 1};
        titles[] = {1, ""};
    };
    class after_02
    {
        name = "after_02";
        sound[] = {"\sound\after_02.ogg", 0.7, 1};
        titles[] = {1, ""};
    };
    class 01_atak
    {
        name = "01_atak";
        sound[] = {"\sound\01_atak.ogg", db+10, 1};
        titles[] = {1, ""};
    };
    class 02_atak
    {
        name = "02_atak";
        sound[] = {"\sound\02_atak.ogg", db+10, 1};
        titles[] = {1, ""};
    };
    class 03_atak
    {
        name = "03_atak";
        sound[] = {"\sound\03_atak.ogg", db+10, 1};
        titles[] = {1, ""};
    };
    class 04_atak
    {
        name = "04_atak";
        sound[] = {"\sound\04_atak.ogg", db+10, 1};
        titles[] = {1, ""};
    };
    class 05_atak
    {
        name = "05_atak";
        sound[] = {"\sound\05_atak.ogg", db+10, 1};
        titles[] = {1, ""};
    };
    class 06_atak
    {
        name = "06_atak";
        sound[] = {"\sound\06_atak.ogg", db+10, 1};
        titles[] = {1, ""};
    };

};

//second description.ext:
class CfgSounds
{
    class bones_drop
    {
        name = "bones_drop";
        sound[] = {"\sounds\bones_drop.ogg", db+30, 1};
        titles[] = {};
    };
    class blood_splash
    {
        name = "blood_splash";
        sound[] = {"\sounds\blood_splash.ogg", db+35, 1};
        titles[] = {};
    };
    class zoomin
    {
        name = "zoomin";
        sound[] = {"\sounds\zoomin.ogg", db+25, 1};
        titles[] = {};
    };    
    class 01_blast
    {
        name = "01_blast";
        sound[] = {"\sounds\01_blast.ogg", db+30, 1};
        titles[] = {};
    };
    class 02_blast
    {
        name = "02_blast";
        sound[] = {"\sounds\02_blast.ogg", db+30, 1};
        titles[] = {};
    };
    class 03_blast
    {
        name = "03_blast";
        sound[] = {"\sounds\03_blast.ogg", db+30, 1};
        titles[] = {};
    };
    
// mediu
    class 01_blast_mediu
    {
        name = "01_blast_mediu";
        sound[] = {"\sounds\01_blast.ogg", db+40, 1};
        titles[] = {};
    };
    class 02_blast_mediu
    {
        name = "02_blast_mediu";
        sound[] = {"\sounds\02_blast.ogg", db+40, 1};
        titles[] = {};
    };
    class 03_blast_mediu
    {
        name = "03_blast_mediu";
        sound[] = {"\sounds\03_blast.ogg", db+40, 1};
        titles[] = {};
    };
    
    class 01_far_blast
    {
        name = "01_far_blast";
        sound[] = {"\sounds\01_far_blast.ogg", db+15, 1};
        titles[] = {};
    };    
    class 02_far_blast
    {
        name = "02_far_blast";
        sound[] = {"\sounds\02_far_blast.ogg", db+20, 1};
        titles[] = {};
    };    
    class 03_far_blast
    {
        name = "03_far_blast";
        sound[] = {"\sounds\03_far_blast.ogg", db+10, 1};
        titles[] = {};
    };
    class vortex
    {
        name = "vortex";
        sound[] = {"\sounds\vortex.ogg", db+40, 1};
        titles[] = {};
    };
    class strigat_1
    {
        name = "strigat_1";
        sound[] = {"\sounds\strigat_1.ogg", db+20, 1};
        titles[] = {};
    };
    class strigat_2
    {
        name = "strigat_2";
        sound[] = {"\sounds\strigat_2.ogg", db+20, 1};
        titles[] = {};
    };
    class strigat_3
    {
        name = "strigat_3";
        sound[] = {"\sounds\strigat_3.ogg", db+20, 1};
        titles[] = {};
    };
    class strigat_4
    {
        name = "strigat_4";
        sound[] = {"\sounds\strigat_4.ogg", db+20, 1};
        titles[] = {};
    };
    class strigat_5
    {
        name = "strigat_5";
        sound[] = {"\sounds\strigat_5.ogg", db+20, 1};
        titles[] = {};
    };
    class strigat_6
    {
        name = "strigat_6";
        sound[] = {"\sounds\strigat_6.ogg", db+20, 1};
        titles[] = {};
    };
    class strigat_7
    {
        name = "strigat_7";
        sound[] = {"\sounds\strigat_7.ogg", db+20, 1};
        titles[] = {};
    };
    class strigat_8
    {
        name = "strigat_8";
        sound[] = {"\sounds\strigat_8.ogg", db+20, 1};
        titles[] = {};
    };
    class strigat_9
    {
        name = "strigat_9";
        sound[] = {"\sounds\strigat_9.ogg",db+20, 1};
        titles[] = {};
    };
    class strigat_91
    {
        name = "strigat_91";
        sound[] = {"\sounds\strigat_91.ogg", db+20, 1};
        titles[] = {};
    };
    class strigat_92
    {
        name = "strigat_92";
        sound[] = {"\sounds\strigat_92.ogg", db+20, 1};
        titles[] = {};
    };
    class bodyfall_metal_3
    {
        name = "bodyfall_metal_3";
        sound[] = {"\sounds\bodyfall_metal_3.ogg", db+20, 1};
        titles[] = {};
    };
    class bodyfall_wood_1
    {
        name = "bodyfall_wood_1";
        sound[] = {"\sounds\bodyfall_wood_1.ogg", db+20, 1};
        titles[] = {};
    };
    class bodyfall_wood_2
    {
        name = "bodyfall_wood_2";
        sound[] = {"\sounds\bodyfall_wood_2.ogg", db+20, 1};
        titles[] = {};
    };    
    class bodyfall_wood_3
    {
        name = "bodyfall_wood_3";
        sound[] = {"\sounds\bodyfall_wood_3.ogg", db+20, 1};
        titles[] = {};
    };
};

//merged into this:

class CfgSounds
{
    class intro_music
    {
        name = "intro_music"; // Name for mission editor
        sound[] = {\sound\intro_music.ogg, .5, 1.0};
        titles[] = {0, ""};
    };
class bones_drop
    {
        name = "bones_drop";
        sound[] = {"\sounds\bones_drop.ogg", db+30, 1};
        titles[] = {};
    };
    class blood_splash
    {
        name = "blood_splash";
        sound[] = {"\sounds\blood_splash.ogg", db+35, 1};
        titles[] = {};
    };
    class zoomin
    {
        name = "zoomin";
        sound[] = {"\sounds\zoomin.ogg", db+25, 1};
        titles[] = {};
    };    
    class 01_blast
    {
        name = "01_blast";
        sound[] = {"\sounds\01_blast.ogg", db+30, 1};
        titles[] = {};
    };
    class 02_blast
    {
        name = "02_blast";
        sound[] = {"\sounds\02_blast.ogg", db+30, 1};
        titles[] = {};
    };
    class 03_blast
    {
        name = "03_blast";
        sound[] = {"\sounds\03_blast.ogg", db+30, 1};
        titles[] = {};
    };
    
// mediu
    class 01_blast_mediu
    {
        name = "01_blast_mediu";
        sound[] = {"\sounds\01_blast.ogg", db+40, 1};
        titles[] = {};
    };
    class 02_blast_mediu
    {
        name = "02_blast_mediu";
        sound[] = {"\sounds\02_blast.ogg", db+40, 1};
        titles[] = {};
    };
    class 03_blast_mediu
    {
        name = "03_blast_mediu";
        sound[] = {"\sounds\03_blast.ogg", db+40, 1};
        titles[] = {};
    };
    
    class 01_far_blast
    {
        name = "01_far_blast";
        sound[] = {"\sounds\01_far_blast.ogg", db+15, 1};
        titles[] = {};
    };    
    class 02_far_blast
    {
        name = "02_far_blast";
        sound[] = {"\sounds\02_far_blast.ogg", db+20, 1};
        titles[] = {};
    };    
    class 03_far_blast
    {
        name = "03_far_blast";
        sound[] = {"\sounds\03_far_blast.ogg", db+10, 1};
        titles[] = {};
    };
    class vortex
    {
        name = "vortex";
        sound[] = {"\sounds\vortex.ogg", db+40, 1};
        titles[] = {};
    };
    class strigat_1
    {
        name = "strigat_1";
        sound[] = {"\sounds\strigat_1.ogg", db+20, 1};
        titles[] = {};
    };
    class strigat_2
    {
        name = "strigat_2";
        sound[] = {"\sounds\strigat_2.ogg", db+20, 1};
        titles[] = {};
    };
    class strigat_3
    {
        name = "strigat_3";
        sound[] = {"\sounds\strigat_3.ogg", db+20, 1};
        titles[] = {};
    };
    class strigat_4
    {
        name = "strigat_4";
        sound[] = {"\sounds\strigat_4.ogg", db+20, 1};
        titles[] = {};
    };
    class strigat_5
    {
        name = "strigat_5";
        sound[] = {"\sounds\strigat_5.ogg", db+20, 1};
        titles[] = {};
    };
    class strigat_6
    {
        name = "strigat_6";
        sound[] = {"\sounds\strigat_6.ogg", db+20, 1};
        titles[] = {};
    };
    class strigat_7
    {
        name = "strigat_7";
        sound[] = {"\sounds\strigat_7.ogg", db+20, 1};
        titles[] = {};
    };
    class strigat_8
    {
        name = "strigat_8";
        sound[] = {"\sounds\strigat_8.ogg", db+20, 1};
        titles[] = {};
    };
    class strigat_9
    {
        name = "strigat_9";
        sound[] = {"\sounds\strigat_9.ogg",db+20, 1};
        titles[] = {};
    };
    class strigat_91
    {
        name = "strigat_91";
        sound[] = {"\sounds\strigat_91.ogg", db+20, 1};
        titles[] = {};
    };
    class strigat_92
    {
        name = "strigat_92";
        sound[] = {"\sounds\strigat_92.ogg", db+20, 1};
        titles[] = {};
    };
    class bodyfall_metal_3
    {
        name = "bodyfall_metal_3";
        sound[] = {"\sounds\bodyfall_metal_3.ogg", db+20, 1};
        titles[] = {};
    };
    class bodyfall_wood_1
    {
        name = "bodyfall_wood_1";
        sound[] = {"\sounds\bodyfall_wood_1.ogg", db+20, 1};
        titles[] = {};
    };
    class bodyfall_wood_2
    {
        name = "bodyfall_wood_2";
        sound[] = {"\sounds\bodyfall_wood_2.ogg", db+20, 1};
        titles[] = {};
    };    
    class bodyfall_wood_3
    {
        name = "bodyfall_wood_3";
        sound[] = {"\sounds\bodyfall_wood_3.ogg", db+20, 1};
        titles[] = {};
    };
class magnetic_pulse
    {
        name = "magnetic_pulse";
        sound[] = {"\sound\magnetic_pulse.ogg", 1, 1};
        titles[] = {1, ""};
    };
    class sparks_1
    {
        name = "sparks_1";
        sound[] = {"\sound\sparks_1.ogg", db+10, 1};
        titles[] = {1, ""};
    };
    class sparks_2
    {
        name = "sparks_2";
        sound[] = {"\sound\sparks_2.ogg", db+10, 1};
        titles[] = {1, ""};
    };
    class sparks_3
    {
        name = "sparks_3";
        sound[] = {"\sound\sparks_3.ogg", db+10, 1};
        titles[] = {1, ""};
    };
    class sparks_4
    {
        name = "sparks_4";
        sound[] = {"\sound\sparks_4.ogg", 1, 1};
        titles[] = {1, ""};
    };    
    class sparks_5
    {
        name = "sparks_5";
        sound[] = {"\sound\sparks_5.ogg", db+10, 1};
        titles[] = {1, ""};
    };    
    class after_01
    {
        name = "after_01";
        sound[] = {"\sound\after_01.ogg", 0.5, 1};
        titles[] = {1, ""};
    };
    class after_02
    {
        name = "after_02";
        sound[] = {"\sound\after_02.ogg", 0.7, 1};
        titles[] = {1, ""};
    };
    class 01_atak
    {
        name = "01_atak";
        sound[] = {"\sound\01_atak.ogg", db+10, 1};
        titles[] = {1, ""};
    };
    class 02_atak
    {
        name = "02_atak";
        sound[] = {"\sound\02_atak.ogg", db+10, 1};
        titles[] = {1, ""};
    };
    class 03_atak
    {
        name = "03_atak";
        sound[] = {"\sound\03_atak.ogg", db+10, 1};
        titles[] = {1, ""};
    };
    class 04_atak
    {
        name = "04_atak";
        sound[] = {"\sound\04_atak.ogg", db+10, 1};
        titles[] = {1, ""};
    };
    class 05_atak
    {
        name = "05_atak";
        sound[] = {"\sound\05_atak.ogg", db+10, 1};
        titles[] = {1, ""};
    };
    class 06_atak
    {
        name = "06_atak";
        sound[] = {"\sound\06_atak.ogg", db+10, 1};
        titles[] = {1, ""};
    };

};

I did it like this but It does not work, Anything else is done, I see the script in game but this sound files are killing me.. The script is good looking in game no issue but sounds of the script is not working!!

Share this post


Link to post
Share on other sites

nothing EVER works first time round ;)

40 minutes ago, Wolfkrug said:

"\sound\magnetic_pulse.ogg"

 

40 minutes ago, Wolfkrug said:

"\sounds\bodyfall_wood_2.ogg"

 

some of the file paths are different, are all sound file in one folder named "sounds"? make it so and adjust file paths accordingly

Share this post


Link to post
Share on other sites

Dude why you have you be amazing af!!? Thank you very much!!! ;^D

Grumpy Old Man thank you for teaching me that!

  • Like 2

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

×