Humpabry Posted December 26, 2014 Report Share Posted December 26, 2014 ty very much On 12/26/2014 at 10:07 PM, Gr8Boi said: Change the DB Values to suit your needs. Chnage db+1 to db+3 class cfgMusic { class intro { name = "intro"; sound[] = {"custom\IntroSong.ogg", db+1,1}; }; }; ty very much Link to comment Share on other sites More sharing options...
Gr8 Posted December 27, 2014 Author Report Share Posted December 27, 2014 On 12/26/2014 at 10:26 PM, Humpabry said: ty very much ty very much Glad i could help Link to comment Share on other sites More sharing options...
William Posted December 27, 2014 Report Share Posted December 27, 2014 Works Amazing, thanks a bunch. Link to comment Share on other sites More sharing options...
Gr8 Posted December 27, 2014 Author Report Share Posted December 27, 2014 On 12/27/2014 at 5:29 AM, William said: Works Amazing, thanks a bunch. Glad to hear that Link to comment Share on other sites More sharing options...
Liqu1dShadow Posted December 27, 2014 Report Share Posted December 27, 2014 works well, thank you Out of interest, whats the cords to get the text on the far right like in the video, the default cords leave the text just to the left of the player Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted December 27, 2014 Report Share Posted December 27, 2014 On 12/27/2014 at 9:44 AM, Liqu1dShadow said: works well, thank you Out of interest, whats the cords to get the text on the far right like in the video, the default cords leave the text just to the left of the player That video was made with the original version of this script, which I'm still using. I tried the newest version and the credits didn't show up so I went back to the old version since it worked fine. This is the code I'm using: Reveal hidden contents // FILENAME: server_WelcomeCredits.sqf // ===== // SCRIPT NAME: Server Intro Credits Script by IT07 // SCRIPT VERSION: v1.3.7 BETA // Credits for original script: Bohemia Interactive http://bistudio.com // ========== SCRIPT CONFIG ============ _onScreenTime = 6; //how long one role should stay on screen. Use value from 0 to 10 where 0 is almost instant transition to next role //NOTE: Above value is not in seconds. It is percentage. Default: 6 // ==== CUSTOMIZING THE CREDITS === // If you want more or less credits on the screen, you have to add/remove roles. // Watch out though, you need to make sure BOTH role lists match eachother in terms of amount. // Just take a good look at the _role1 and the rest and you will see what I mean. // == CUSTOMIZING TEXT COLOR == // Find line 49 and look for: color='#f2cb0b' // #f2cb0b is the HTML color code for the text. As well as #FFFFFF in the row below it. // Find the color code you want here: http://html-color-codes.info // ===== // ==== SCRIPT START ==== sleep 15; //Wait in seconds before the credits start after player IS ingame _role1 = "Welcome to"; _role1names = ["Killin Zedz Epoch Altis"]; _role2 = "Website"; _role2names = ["KillinZedz.net"]; _role3 = "Teamspeak"; _role3names = ["ts3.killinzedz.net"]; _role4 = "Admin contact"; _role4names = ["admin@killinzedz.net"]; _role5 = "Server Hosted by"; _role5names = ["VertHosting"]; { sleep 2; _memberFunction = _x select 0; _memberNames = _x select 1; _finalText = format ["<t size='0.60' color='#f2cb0b' align='right'>%1<br /></t>", _memberFunction]; _finalText = _finalText + "<t size='0.75' color='#FFFFFF' align='right'>"; {_finalText = _finalText + format ["%1<br />", _x]} forEach _memberNames; _finalText = _finalText + "</t>"; _onScreenTime + (((count _memberNames) - 1) * 0.5); [ _finalText, [safezoneX + safezoneW - 0.8,0.50], //DEFAULT: 0.5,0.35 [safezoneY + safezoneH - 0.8,0.7], //DEFAULT: 0.8,0.7 _onScreenTime, 0.5 ] spawn BIS_fnc_dynamicText; sleep (_onScreenTime); } forEach [ //The list below should have exactly the same amount of roles as the list above [_role1, _role1names], [_role2, _role2names], [_role3, _role3names], [_role4, _role4names], [_role5, _role5names] //make SURE the last one here does NOT have a , at the end ]; ReDBaroN 1 Link to comment Share on other sites More sharing options...
TrunksBLN Posted December 27, 2014 Report Share Posted December 27, 2014 Hey Guys... where can i found the Init.sqf ? in the a3_epoch_server.pbo? Link to comment Share on other sites More sharing options...
daftill Posted December 27, 2014 Report Share Posted December 27, 2014 TrunksBLN, u have to create one and put the following in // Welcome Credits[] execVM "custom\welcome.sqf"; Link to comment Share on other sites More sharing options...
mouxritsa Posted December 27, 2014 Report Share Posted December 27, 2014 On 12/25/2014 at 4:49 PM, Gr8Boi said: Does this have anything to do with welcome messages? yes Link to comment Share on other sites More sharing options...
Humpabry Posted December 27, 2014 Report Share Posted December 27, 2014 On 12/27/2014 at 11:58 AM, TrunksBLN said: Hey Guys... where can i found the Init.sqf ? in the a3_epoch_server.pbo? no just go into your MP Missions folder and select epoch.altis/chernarus/stratis which ever map you use. unpack it so you see your description.ext + mission.sqm right click and create new .txt file called init and rename the txt to sqf so your file will be called init.sqf and that should work if you dont see file extensions just create a .txt file and call it anything.... go into it and type a random word then press save as>>>name init.sqf and in the drop down box select all files and this will make your init.sqf TrunksBLN 1 Link to comment Share on other sites More sharing options...
Gr8 Posted December 27, 2014 Author Report Share Posted December 27, 2014 On 12/27/2014 at 9:50 AM, BetterDeadThanZed said: That video was made with the original version of this script, which I'm still using. I tried the newest version and the credits didn't show up so I went back to the old version since it worked fine. This is the code I'm using: Any errors? Just dont apear at all? what about the music Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted December 27, 2014 Report Share Posted December 27, 2014 On 12/27/2014 at 7:05 PM, Gr8Boi said: Any errors? Just dont apear at all? what about the music I didn't use the music. The welcome credits didn't work. The original version works fine so I don't see a need to use the newer version or to troubleshoot. Link to comment Share on other sites More sharing options...
Richie Posted December 27, 2014 Report Share Posted December 27, 2014 The new version works fine for me but i like the location of the old script. Link to comment Share on other sites More sharing options...
mouxritsa Posted December 27, 2014 Report Share Posted December 27, 2014 One thing I have understood that in other works and not others that become it;On the server I tried many times not become anything in epoch mod tried and A3Wasteland_v1.0b.Altis nor there works but wasteland and can not work because some files are different aswaitUntil {! isNuLL (uiNameSpace getVariable ["EPOCH_loadingScreen", displayNull])};waitUntil {isNuLL (uiNameSpace getVariable ["EPOCH_loadingScreen", displayNull])};if someone can help me please.And the other thing I've seen I do not know if I say correctly that the upload from your home server which is easy, and if you buy server (Nitrado) like me is very difficult. Do not tell for help on the forum is all German and I do not know why not help. Sorry for my english google translation Link to comment Share on other sites More sharing options...
Gr8 Posted December 27, 2014 Author Report Share Posted December 27, 2014 This is a Epoch Forum, we cannot help you in other mods sorry Link to comment Share on other sites More sharing options...
sendjes Posted December 28, 2014 Report Share Posted December 28, 2014 I get confused with the various exceptions, what exactly do I need to alter to not get this: 28.12.2014 16:24:30: sendjes (192.168.1.2:2316) xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx - #20 "#line 1 "mpmissions\__CUR_MP.Chernarus\init.sqf" [] execVM "custom\welcome.sqf";" ? Link to comment Share on other sites More sharing options...
Richie Posted December 28, 2014 Report Share Posted December 28, 2014 On 12/28/2014 at 3:34 PM, sendjes said: I get confused with the various exceptions, what exactly do I need to alter to not get this: 28.12.2014 16:24:30: sendjes (192.168.1.2:2316) xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx - #20 "#line 1 "mpmissions\__CUR_MP.Chernarus\init.sqf" [] execVM "custom\welcome.sqf";" ? Your question was answered on the first page, see Link to comment Share on other sites More sharing options...
sendjes Posted December 28, 2014 Report Share Posted December 28, 2014 I tried that, but I still get kicked. *EDIT* Added this helped. Link to comment Share on other sites More sharing options...
TrunksBLN Posted December 28, 2014 Report Share Posted December 28, 2014 Hey again... the messages works fine but the sound did not play.. I got this after spawn on my server "Sound intro not found" my description.ext looks like this wreckManagerMode = 1; wreckLimit = 2; wreckRemovalMinTime = 60; wreckRemovalMaxTime = 360; class CfgRemoteExecCommands {}; class cfgSound { class intro { name = "intro"; sound[] = {"custom\intro.ogg", db+1,1}; }; }; and my welcome.sqf playSound "intro"; // This calls the code inside of description.ext // i have put my intro.ogg into the custom folder. Whats wrong? Link to comment Share on other sites More sharing options...
Gr8 Posted December 28, 2014 Author Report Share Posted December 28, 2014 Make Sure your audio is in your custom folder and in .ogg file format Link to comment Share on other sites More sharing options...
sendjes Posted December 28, 2014 Report Share Posted December 28, 2014 So far so good, now I was wondering, how to I repositioning the text? I would like to have on the Right side of the screen, much like in the video. Link to comment Share on other sites More sharing options...
TrunksBLN Posted December 28, 2014 Report Share Posted December 28, 2014 yes. its in my custom folder in the epoch.Altis.pbo and its a ogg file Still the same error :/ Link to comment Share on other sites More sharing options...
Gr8 Posted December 29, 2014 Author Report Share Posted December 29, 2014 Still Testing the positions to fit it at the right of the screen. Also implementing a server logo image in the credits sendjes 1 Link to comment Share on other sites More sharing options...
Dew Posted December 29, 2014 Report Share Posted December 29, 2014 thanks alot its working great ;) Link to comment Share on other sites More sharing options...
Tywin Posted December 29, 2014 Report Share Posted December 29, 2014 Im getting kicks at line 20 anyone know what to add to restrictions? Link to comment Share on other sites More sharing options...
Recommended Posts