Jump to content

[Release] Briefing for Arma3 Epoch


Suppe

Recommended Posts

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-Master

Install:
- 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)

  Reveal hidden contents

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

Link to comment
Share on other sites

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

  On 4/24/2015 at 5:33 AM, Prof.Heini said:

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

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

  On 5/1/2015 at 4:36 PM, simon1603 said:

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

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

Hi, Still getting the duplicate entries, changed the briefing to 0, but not change. Attached a jpg of the briefing

 

post-18108-0-03641700-1430569250_thumb.j

 

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

  • 4 weeks later...

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

  • 10 months later...
  • 2 months later...
  • 2 weeks later...
  • 1 month later...

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

  On 6/30/2016 at 12:18 AM, 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...

Expand  

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

  • 7 months later...

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

  Reveal hidden contents

 

Can anyone point out where I may/could have going wrong please.

cheers

natoed

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...