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)

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

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

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

  • 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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...