Jump to content

[RELEASE] Welcome Messages v2.1 | Intro Music | Easy Config


Gr8

Recommended Posts

  On 3/31/2015 at 4:12 PM, Didldadl said:

I tried everything again from the beginning.

Still the same issue.

The text works but the music doesnt.

 

The defualt music works, but not yours? Send over the file to me

Link to comment
Share on other sites

Hei. everything works. but i get this weird stuff 

RPT

4:21:35 Error in expression <leep (_tm+_FadeIn+4);
} forEach _ms;
In your Description.ext add this at the bot>
 4:21:35   Error position: <your Description.ext add this at the bot>
 4:21:35   Error Missing ;
 4:21:35 File mpmissions\__cur_mp.Bornholm\custom\welcome.sqf, line 98
 4:21:35 c:\w\stable\futura\lib\network\networkserver.cpp NetworkServer::OnClientStateChanged:NOT IMPLEMENTED - briefing!

that message pops up on screen 2 times when im ingame. login and alittle later. you know what this is ?
Link to comment
Share on other sites

  On 4/1/2015 at 1:50 AM, Finuix said:

 

In your Description.ext add this at the bot>
 4:21:35   Error position: <your Description.ext add this at the bot>
 4:21:35   Error Missing ;
 4:21:35 File mpmissions\__cur_mp.Bornholm\custom\welcome.sqf, line 98

 

 

Look in your description.ext to line 98..... Think you copied to much stuff from the first page....

If you have this in your description.ext....:

  Reveal hidden contents

In your Description.ext add this at the bottom:

class cfgMusic

{

    class intro

    {

        name = "intro";

        sound[] = {"custom\IntroSong.ogg", db+1,1};

    };

};

 

then just delete the first line.....:

  Reveal hidden contents

 

class cfgMusic

{

    class intro

    {

        name = "intro";

        sound[] = {"custom\IntroSong.ogg", db+1,1};

    };

};

Link to comment
Share on other sites

  On 4/1/2015 at 7:10 AM, CH!LL3R said:

Look in your description.ext to line 98..... Think you copied to much stuff from the first page....

If you have this in your description.ext....:

  Reveal hidden contents

In your Description.ext add this at the bottom:

class cfgMusic

{

    class intro

    {

        name = "intro";

        sound[] = {"custom\IntroSong.ogg", db+1,1};

    };

};

 

then just delete the first line.....:

  Reveal hidden contents

 

class cfgMusic

{

    class intro

    {

        name = "intro";

        sound[] = {"custom\IntroSong.ogg", db+1,1};

    };

};

 

My line ends at 68 in my desscription.ext and ithis is the bottom of it.

 

  Reveal hidden contents
class CfgRemoteExecCommands {};
 
class CfgEpochClient
{
buildingNearbyMilitary = 1; //1 to allow building nearby
buildingNearbyMilitaryRange = 300; //Define radius of blocked area
 
buildingRequireJammer = 1; // 1 = to allow building without a jammer 
buildingCountLimit = 200; // how many objects can be built within range of a jammer 
buildingJammerRange = 100; // jammer range in meters
};
 
#include "ZHB\ZHudBuilder.hpp"
class RscTitles
{
#include "ZHB\ZHud.hpp"
};
class CfgFunctions {
#include "ZHB\ZHB_Functions.hpp"
};
 
class cfgMusic
{
    class intro
    {
        name = "intro";
        sound[] = {"custom\IntroSong.ogg", db+1,1};
    };
};

 

Link to comment
Share on other sites

Oh Dude, I'm sorry about that, I didn't read right thru your post....

The error is not in the description, it is in your welcome.sqf and there in line 98. You should have a look there is something wrong.

The error you have says

4:21:35   Error position: <your Description.ext add this at the bot>
 4:21:35   Error Missing ;

I'm sure it's a copy&paste error, cause this sound like an installation step: in your Description.ext add this at the bottom

So have a look at this line and maybe also read install instructions from welcome.sqf to figure out, how much you need to change, or post a few lines before and after line 98 from your welcome.sqf...

And again, sorry Dude for my rapid reading and giving you wrong instructions...

Link to comment
Share on other sites

  On 4/1/2015 at 11:58 PM, CH!LL3R said:

Oh Dude, I'm sorry about that, I didn't read right thru your post....

The error is not in the description, it is in your welcome.sqf and there in line 98. You should have a look there is something wrong.

The error you have says

4:21:35   Error position: <your Description.ext add this at the bot>
 4:21:35   Error Missing ;

I'm sure it's a copy&paste error, cause this sound like an installation step: in your Description.ext add this at the bottom

So have a look at this line and maybe also read install instructions from welcome.sqf to figure out, how much you need to change, or post a few lines before and after line 98 from your welcome.sqf...

And again, sorry Dude for my rapid reading and giving you wrong instructions...

No worries mate. you solved the puzzle. i sure have done a copy paste error ^^

  Reveal hidden contents
    _pX = _x select 2 select 0;
    _pY = _x select 2 select 1;
    _pW = _x select 2 select 2;
    _m = format ["<t size='%1' color='%2' align='%3' font='%4'>%5<br /></t>", _sizeTitle, _colorTitle, _alignTitle, _fontTitle, _t];
    _m = _m + format ["<t size='%1' color='%2' align='%3' font='%4'>%5<br /></t>", _sizeSubText, _colorSubText, _alignSubText, _fontSubText, _s];
    _tm = round (count toArray (_t+_s) / 6 / 2) + 3;
    [ _m, [_pX * safeZoneW + safeZoneX, _pW], [_pY * safezoneH + safezoneY, 1 * safezoneH + safezoneY], _tm, _FadeIn ] spawn BIS_fnc_dynamicText;
    sleep (_tm+_FadeIn+4);
} forEach _ms;
In your Description.ext add this at the bottom:
class cfgMusic
{
    class intro
    {
        name = "intro";
        sound[] = {"custom\IntroSong.ogg", db+1,1};
    };
};

That was on the bottom in the welcome.sqf ... i tend to sit here at night sleepy and doing server stuff. no good combo!

Thanks for the help, most helpful :D

Link to comment
Share on other sites

I had this working 100% fine, Intro credits, intro sound

 

I added in the IgiLoad Script and It's BE filters and suddenly the Welcome Messages and sound have completely stopped.

 

I "//" out the Igiload so it wouldn't be called yet still nothing from the welcome scripts. There are no errors nothing in any of the logs that I can find. Any idea on what could have happened?

 

This is the IgiLoad I used it to the tee and everything worked fine,

Link to comment
Share on other sites

  On 4/8/2015 at 9:54 AM, FrankTheDuck said:

I managed to fix this by launching it from the init.sqf, I did have it loading in via the cam intro script and after addind IgiLoad it appears to have broken that from working.

glad, you got that sorted

Link to comment
Share on other sites

I installed this today and the messages are warking fine but the IntroSong.ogg is not playing in-game for some reason.   The OP download link for IntroSong.ogg is not working so i made my own one and just called it the same as the default would have been   IntroSong.ogg  and placed in beside the Welcome'sqf file within custom folder.

 

Any help would be greatly appreciated.

 

Thanks.

Link to comment
Share on other sites

  On 4/14/2015 at 12:33 PM, Finuix said:

Remember to turn on music in arma 3 game.

 

Tried this already and i just hear the arma 3 intro not the intro song i chose.

Link to comment
Share on other sites

  On 4/14/2015 at 4:36 AM, Gr8 said:

Wtf, What happend to the OP ?

Anyways, here is the link

http://ghostzgamerz.com/downloads/introSong.ogg

 

 

Ok I finally got the script to work today with the music,  it was an issue my end, maybe a typo or something.

 

I also used my own    IntroSong.ogg file which I prefer to the one you linked in the OP

 

Heres a dropbox to my IntroSong.ogg for anyone who might want to use...

 

https://www.dropbox.com/s/sbvo8x52q56pmbs/IntroSong.ogg?dl=0

 

 

Anyway Ghostz Gamerz   thanks for a great script, this will really help make our server and many others look much nicer!

Link to comment
Share on other sites

No, Glad you liked it, Can anyone PM me this script, i will to edit the OP so the formatting is correct again. 

 

I recently wiped my PC and have seem to lost it.

 

I would appreciate that and credit you in the post.

Link to comment
Share on other sites

I've checked everything and I'm sure everything is as instructed in OP. I made custom folder in my epoch.Chernarus.pbo then put welcome.sqf inside. Init and description.ext seems fine too. Can some1 post older version of welcome.sqf script? Maybe something is wrong with code itself.

Link to comment
Share on other sites

  On 4/23/2015 at 7:34 AM, spitF1RE said:

I've checked everything and I'm sure everything is as instructed in OP. I made custom folder in my epoch.Chernarus.pbo then put welcome.sqf inside. Init and description.ext seems fine too. Can some1 post older version of welcome.sqf script? Maybe something is wrong with code itself.

 

OP Updated

Link to comment
Share on other sites

After installing fresh script im getting 

title2         = "Website";
_shorttext2     = "www.my-site>
19:24:30   Error position: <Website";
_shorttext2     = "www.my-site>
19:24:30   Error Missing ;
19:24:30 File mpmissions\__cur_mp.Chernarus\welcome\welcome.sqf, line 31
19:24:30 Error in expression <  = [0.8,0.5,0.4];
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Advertisement
×
×
  • Create New...