Suppe Posted April 22, 2015 Report Share Posted April 22, 2015 Briefing example for Arma3 Epoch Mod, by GBR Suppe Because many Admins do not even understand a briefing ?!? Download: https://github.com/GBR-Suppe/briefing-MasterInstall: - Copy the briefing.sqf in your epoch.Mission. - Add to your init: [] execVM "briefing.sqf"; - Description.ext // Line 22 briefing = 1; - Edit the briefing.sqf !!! - If you want colours in the briefing: (Thanks to Darce) Use html colour tags (RGB = #RRGGBB) <font color='#FF0000'>Red Dot</font>: Dead Trader<br/> and it appears like ... Red Dot: Dead Trader use img tags for images, <img image='map.paa' /> will show the image <img image='art\map.paa' width= 360 height= 360/> will set it's size to 360 x 360 Suppe Sneakydude, -CJ-, celticwarrior06 and 1 other 4 Link to comment Share on other sites More sharing options...
Prof.Heini Posted April 23, 2015 Report Share Posted April 23, 2015 I have taken your Briefing.sqf. First time I have edited it. It don't work. I have tested your original, too. Fail. Where's the mistake? I have edited Init.sqf and onPlayerRespawn.sqf 2 Times [] execVM "briefing.sqf"; ???? Init.sqf #include "A3EAI_Client\A3EAI_initclient.sqf"; call compile preProcessFileLineNumbers "cmEarplugs\config.sqf"; if(hasInterface)then{execVM "semClient.sqf"}; [] execVM "briefing.sqf"; [] execVM "scripts\fn_statusBar.sqf"; [] execVM "IgiLoad\IgiLoadInit.sqf"; onPlayerRespawn.sqf [] execVM "briefing.sqf"; ////////////////////////////////////////////////////////////////////////// //START EARPLUGS CODE waitUntil {vehicle player == player}; waituntil {!isnull (finddisplay 46)}; ////////////////////////////////////////////////////////////////////////// _OPRbreathing = alive player; _OPRtrig=true; _OPRdude = player; while {_OPRtrig} do { sleep 0.001; if (_OPRbreathing) then { _OPRstartingpos = position player; sleep 0.001; _OPRposition = position _OPRdude; _OPRstationary = _OPRstartingpos select 0 == _OPRposition select 0 && _OPRstartingpos select 1 == _OPRposition select 1; if (_OPRstationary) then {} else {_OPRtrig=false;}; }; }; uisleep 1; if (isNil {player getVariable "Has_EPEH_Loop"}) then {player setVariable["Has_EPEH_Loop", "NEVER"];}; ////////////////////////////////////////////////////////////////////////// 5 fadeSound 1; earplugsout=true; SuperFunEPEHVariable = false; ///////////////////////////////////////////////////////////////////////// _hasEPEH = player getVariable "Has_EPEH_Loop"; if ((_hasEPEH == "NEVER")) then {[] spawn cm_EPEH_Loop;[] spawn cm_EP_LOOP;}; if (cmEarplugsKeyPressEnabled) then { [] spawn {cmKeyPress = (findDisplay 46) displayAddEventHandler ["KeyDown","if ((_this select 1) == cmEarplugs_hotkeyDIKCodeNumber) then {[] call cm_Earplugs_FUNc;};"];}; }; //cmEARPLUGS CODE END ////////////////////////////////////////////////////////////////////////// Link to comment Share on other sites More sharing options...
Suppe Posted April 23, 2015 Author Report Share Posted April 23, 2015 the briefing work 100 %..... is your briefing in your script folder or the main folder ? Link to comment Share on other sites More sharing options...
Prof.Heini Posted April 23, 2015 Report Share Posted April 23, 2015 OK, It works. ^^ Description.ext!!!! briefing = 1; Link to comment Share on other sites More sharing options...
Suppe Posted April 23, 2015 Author Report Share Posted April 23, 2015 ahhh, ok... sry... added to mainpost..... Link to comment Share on other sites More sharing options...
Prof.Heini Posted April 24, 2015 Report Share Posted April 24, 2015 OK, Thank u! I have got another question! If the Players are dead, the Briefing disappear! Where can I fix them? Link to comment Share on other sites More sharing options...
Suppe Posted April 24, 2015 Author Report Share Posted April 24, 2015 OK, Thank u! I have got another question! If the Players are dead, the Briefing disappear! Where can I fix them? for this case is the onplayerRespawn.... Link to comment Share on other sites More sharing options...
cyncrwler Posted April 30, 2015 Report Share Posted April 30, 2015 Thanks for the share Suppe! Link to comment Share on other sites More sharing options...
simon1603 Posted May 1, 2015 Report Share Posted May 1, 2015 Hi great script, many thanks, one issue that i am having is that all the menu items, epoch tips etc are duplicate twice. Everything looks to be correct, dont have any errors. Any ideas would be appreciated, again many thanks for sharing. simon Link to comment Share on other sites More sharing options...
Suppe Posted May 1, 2015 Author Report Share Posted May 1, 2015 Hi great script, many thanks, one issue that i am having is that all the menu items, epoch tips etc are duplicate twice. Everything looks to be correct, dont have any errors. Any ideas would be appreciated, again many thanks for sharing. simon hey, try to open your Description.ext!!!! and change briefing=1; to briefing=0; Link to comment Share on other sites More sharing options...
Neo Posted May 2, 2015 Report Share Posted May 2, 2015 hI, NICE WORK , i have this problem- waitUntil {vehicle player == player}; waitu" 02.05.2015 09:51:28: Neo (XXXXXXXXXXXXX) ca43a5d1304156bc7ba5752a25fa2352 - #22 "#line 1 "mpmissions\__CUR_MP.Altis\onPlayerRespawn.sqf" [] execVM "briefing.sqf"; waitUntil {vehicle player == player}; waitu" anyone can fix please?¿? Link to comment Share on other sites More sharing options...
Suppe Posted May 2, 2015 Author Report Share Posted May 2, 2015 @ Neo You get a kick for this ? try to start without the onPlayerRespawn.sqf. Link to comment Share on other sites More sharing options...
simon1603 Posted May 2, 2015 Report Share Posted May 2, 2015 Thanks for the swift reply, I will change the setting today and see if it sort the issue. Many thanks Suppe Simon Link to comment Share on other sites More sharing options...
simon1603 Posted May 2, 2015 Report Share Posted May 2, 2015 Hi, Still getting the duplicate entries, changed the briefing to 0, but not change. Attached a jpg of the briefing Its not actually causing an issue, just would like the briefing to work the way you have made it :). This is what I have in my init.sqf - if(hasInterface) then{ [] execVM "addons\service_point\service_point.sqf"; [] execVM "addons\Status_Bar\init_statusBar.sqf"; [] execVM "briefing.sqf"; }; Followed by welcome credits and earplugs but wanted to keep the post short. Going to read up now on how to do spoilers. EDIT found out how to do it. Regards Simon Link to comment Share on other sites More sharing options...
Suppe Posted May 2, 2015 Author Report Share Posted May 2, 2015 @ simon... please delete the onPlayerRespawn.sqf. with the onPlayerRespawn.sqf it duplicate, without not... Link to comment Share on other sites More sharing options...
simon1603 Posted May 2, 2015 Report Share Posted May 2, 2015 Fantasitic, working fully. Many thanks again. Simon Link to comment Share on other sites More sharing options...
Darce Posted May 27, 2015 Report Share Posted May 27, 2015 Nice one Suppe! :) and if you want colours, use html colour tags (RGB = #RRGGBB) <font color='#FF0000'>Red Dot</font>: Dead Trader<br/> and it appears like ... Red Dot: Dead Trader use img tags for images, <img image='map.paa' /> will show the image <img image='art\map.paa' width= 360 height= 360/> will set it's size to 360 x 360 Link to comment Share on other sites More sharing options...
Suppe Posted May 27, 2015 Author Report Share Posted May 27, 2015 @ Darce Thanks for the color Info :D i will add the info in the mainpost, Thanks :) Link to comment Share on other sites More sharing options...
Tarabas Posted April 10, 2016 Report Share Posted April 10, 2016 That script worked fine for me till now it's nomore shown in 0.3.8.0 edited sandbox_config.hpp to briefing = 1; but briefing is nomore working for me Link to comment Share on other sites More sharing options...
VAKE Posted June 19, 2016 Report Share Posted June 19, 2016 I'm having the same issue as Tarabas. Link to comment Share on other sites More sharing options...
Schrubbdiwupp Posted June 30, 2016 Report Share Posted June 30, 2016 With this on the top of the script it works everytime you go on the Map... if (!isDedicated) then { waitUntil { alive player && time > 0 && !isnull (finddisplay 46)}; sleep 5; Works perfect for my Server... Link to comment Share on other sites More sharing options...
Hux Posted August 2, 2016 Report Share Posted August 2, 2016 I get this error when I'm joining server: Warning Message: File mpmissions\__CUR_MP.Tanoa\description.ext, line 10: .briefing: Member already defined. I know of no other place I have: briefing = 1; How do I fix this? Thank you. Link to comment Share on other sites More sharing options...
Hux Posted August 2, 2016 Report Share Posted August 2, 2016 On 6/29/2016 at 5:18 PM, Schrubbdiwupp said: With this on the top of the script it works everytime you go on the Map... if (!isDedicated) then { waitUntil { alive player && time > 0 && !isnull (finddisplay 46)}; sleep 5; Works perfect for my Server... Would you mind showing your briefing.sqf ? I tried adding that code but I couldn't get it to work. Thank you. Link to comment Share on other sites More sharing options...
natoed Posted March 22, 2017 Report Share Posted March 22, 2017 Hi All, Well the briefing is hit and miss for me. Some times it works and some times it doesn't. When I relog its shows up (most of the time) but all Channels I have disabled are in enabled, all of them, its got me fucked. my sandbox_config.hpp disableChannels[]={{0,true,true},{1,true,true},{2,true,true},{3,false,false},{4,false,false},{5,true,false},{6,false,true}}; // allow text only on radio chat enableItemsDropping = 0; briefing = 1; debriefing = 0; I run the briefing.sqf from my initPlayerLocal.sqf with [] execVM "2dmin\addons\briefing\briefing.sqf"; briefing.sqf below Spoiler // Server Briefing by GBR Suppe diag_log format['Loading Briefing']; if (!hasInterface) exitWith {}; waitUntil {!isNuLL(uiNameSpace getVariable ["EPOCH_loadingScreen",displayNull])}; waitUntil {isNuLL(uiNameSpace getVariable ["EPOCH_loadingScreen",displayNull])}; player createDiarySubject ["menu0", "Status Bar"]; player createDiarySubject ["menu1", "Server Rules"]; player createDiarySubject ["menu2", "Building Rules"]; player createDiarySubject ["menu3", "Cloning Cost"]; player createDiarySubject ["menu4", "Random Spawns"]; player createDiarySubject ["menu5", "Looting"]; player createDiarySubject ["menu6", "How to Info"]; player createDiarySubject ["menu7", "Missions"]; player createDiaryRecord ["menu0", ["Status Bar","<br/> It is now configurable by the player.<br/> Key to switch between Status Bar options is right shift key.<br/> Status Bar full size.<br/> Status Bar half size.<br/> Status Bar small size.<br/> Status Bar off.<br/> <br/> Earplugs<br/> Are automatically inserted/removed when entering/exiting vehicles.<br/> or manually via the No:4 key, whatever floats your boat.<br/> Both scripts written by Ignatz-He-Man thx for sharing.<br/> "]]; player createDiaryRecord ["menu1", ["Server Rules","<br/> There are no rules, SO do as YOU please.<br/> Glitchers/Exploiters are not welcome so FUCK OFF.<br/> So don't be a shitcunt, play fair...<br/> <br/> THIS IS NOT A CAREBEAR SERVER.<br/> <br/> Can't TAKE it....THEN dont GIVE it.<br/> Karma's a bitch, it will fuck you both ways.<br/> <br/> Don't Ask for Handouts and or TP's.<br/> If you get DC'ed and or ARMA'ED then Run.<br/> Why! cause thats arma for you.<br/> "]]; player createDiaryRecord ["menu2", ["Building Rules","<br/> Build where YOU like, But build where YOU can.<br/> Unmaintained jammers despawn on the 8th Day.<br/> Currently using the below epoch building setup.<br/> Max of 2 Jammer per Group.<br/> Jammer range is 150 meters.<br/> Max Height is 1000 meters.<br/> Max building parts is 12000<br/> Max gates is 80.<br/> Max doors is 50.<br/> <br/> To Prevent Glitchers/Exploiters, you must Build YOUR base Accordingly.<br/> Done right it will STOP those shitcunts.<br/> Also a good roof due to Sling Bombing.<br/> So don't be a shitcunt, play fair<br/> "]]; player createDiaryRecord ["menu3", ["Clone Replacement Cost","<br/> $500 Krypto per Death, A new body costs Krypto.<br/> This can lead to a negative bank balance.<br/> "]]; player createDiaryRecord ["menu4", ["Random Spawns","<br/> Select the spawn portal you want...haha<br/> <br/> Western - spawn in altis somewhere.<br/> Centre - spawn in altis somewhere.<br/> Eastern - spawn in altis somewhere.<br/> <br/> It adds a sense of direction to your destination.<br/> Love of that unknown, chance encounters...<br/> "]]; player createDiaryRecord ["menu5", ["Looting","<br/> Customised semi-tiered dayz style loot spawner.<br/> Epoch loot spawning system has been reduced for the above.<br/> <br/> Rumor has it, offshore platforms and crashsite's have the best loots...<br/> Custom Crafting....WIP Coming soon<br/> "]]; player createDiaryRecord ["menu6", ["How to Info","<br/> EVR Storms<br/> Thought to caused by cascading inverse nanite energies of unknown origins.<br/> The only known short-term protection avilable is Quartz as it absorbs,<br/> energies from the storm, once and once only, before being destroyed.<br/> So stockup on (Quartz) radios, the only source of quartz in Altis-Z.<br/> <br/> Rearming and Repairing<br/> This is done via the TentHangars, You will find them.<br/> There is a Krypto COST Per Action.<br/> You must have the Krypto on your player BTW.<br/> Its no cheap either.<br/> <br/> Refueling<br/> This can be done manually with jerry cans.<br/> Empty and full jerry cans can be looted.<br/> Siphoning fuel with empty jerry cans from other vehicles or Fuel Stations.<br/> Planning maybe required...is that a refueling pod at the club...<br/> <br/> Autolockpicking<br/> You can lockpick any vehicle or lockable Epoch door.<br/> Requires - 1 x Hotwire Kit, 1 x Quartz Radio plus 300 Energy.<br/> Must be with in 2m for scroll options to become activate.<br/> Its funnny in a way, so enjoy.<br/> Note: Watch out for car thieves...<br/> <br/> Attach Explosives<br/> You can attach an explosive charge to any vehicle or lockable Epoch door.<br/> Requires - 1 x Explosive Charge.<br/> Must be with in 2m for scroll options to become activate.<br/> Oh the joy, I love this, do you!<br/> <br/> Vehicle Rentals<br/> Check out our Vehicle Rentals.<br/> They only last one server session but they are cheap.<br/> Rental Trader is by the helipad at Club Sodomy.<br/> Marked with the Yellow dot on the map.<br/> Note: Vehicle will spawn 2 meters infront of renter, so be careful...<br/> No refunds or replacements available.<br/> "]]; player createDiaryRecord ["menu7", ["Missions","<br/> Most Missions are announced and marked on the map.<br/> Other Missions are not, Those are for you to find.<br/> <br/> Note:<br/> Captured Mission Vehicle cannot be sold nor saved to the database.<br/> Its the ONLY way to get a OP armed vehicle, for a short time anyway.<br/> <br/> Why! Cause it make the game way to easy.<br/> I like the FV-720 Mora, cough cough AP rounds in the right spot...<br/> "]]; diag_log format['Briefing Loaded']; Can anyone point out where I may/could have going wrong please. cheers natoed Link to comment Share on other sites More sharing options...
He-Man Posted March 22, 2017 Report Share Posted March 22, 2017 Add an uisleep 30 before. Should fix it natoed 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now