Diary Subjects, Map Markers and View Distance?

Hey about the briefing entries, I have had some success but not complete. The code for getting the briefing in there is actually _null = [] execVM "briefing.sqf"; and I placed it at the bottom of my init.sqf. Unfortunately the briefing entry only shows up on your first login, if you die or exit to the lobby and join back in the briefing won't show up, I am not sure why. If anyone has insight this that would help.
 
Hi all,

I am trying to get the briefing into my dayz server also and have added: _null = [] execVM "briefing.sqf";
to the bottom of my init.sqf but nothing at all show's up =/


init.sqf:

Code:
#include "gcam\config.hpp"
/*   
    INITILIZATION
*/
startLoadingScreen ["","RscDisplayLoadCustom"];
cutText ["","BLACK OUT"];
enableSaving [false, false];
 
//REALLY IMPORTANT VALUES
dayZ_instance = 2211;                    //The instance
dayzHiveRequest = [];
initialized = false;
dayz_previousID = 0;
 
//start spectating
execVM "initSpec.sqf";
 
//disable greeting menu
player setVariable ["BIS_noCoreConversations", true];
//disable radio messages to be heard and shown in the left lower corner of the screen
enableRadio false;
 
//Load in compiled functions
//call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf";                //Initilize the Variables (IMPORTANT: Must happen very early)
call compile preprocessFileLineNumbers "Scripts\variables.sqf";                                    //Initilize the Variables (IMPORTANT: Must happen very early)
progressLoadingScreen 0.1;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf";                    //Initilize the publicVariable event handlers
progressLoadingScreen 0.2;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf";    //Functions used by CLIENT for medical
progressLoadingScreen 0.4;
//call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf";                //Compile regular functions
call compile preprocessFileLineNumbers "Scripts\compiles.sqf";                                    //Compile regular functions
progressLoadingScreen 1.0;
 
"filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
player_spawn_2 = compile preprocessFileLineNumbers "Scripts\player_spawn_2.sqf";
fnc_usec_selfActions = compile preprocessFileLineNumbers "Scripts\fn_selfActions.sqf";
 
if ((!isServer) && (isNull player) ) then
{
waitUntil {!isNull player};
waitUntil {time > 3};
 
};
 
if ((!isServer) && (player != player)) then
{
  waitUntil {player == player};
  waitUntil {time > 3};
};
 
if (isServer) then {
    dogOwner = [];
    _serverMonitor =    [] execVM "\z\addons\dayz_code\system\server_monitor.sqf";
};
gc_veh_flip_script_script_action_manager = execVM "Scripts\gc_veh_flip\action_manager.sqf";
 
if (!isDedicated) then {
    [] execVM "Scripts\kh_actions.sqf";
    [] execVM "Scripts\change_streetlights.sqf";
    //Conduct map operations
    0 fadeSound 0;
    waitUntil {!isNil "dayz_loadScreenMsg"};
    dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");
   
    //Run the player monitor
//===================piXel 15-02-2013===========
    _id = player addEventHandler ["Respawn", {_id = [] spawn player_death; _nul = [] execVM "Scripts\plrInit.sqf";}];
    //dayZ original _id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
    _playerMonitor =    [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
    _nul = [] execVM "Scripts\plrInit.sqf";
//=========================end==================   
    };
"dayzLogin4" addPublicVariableEventHandler {call compile (_this select 1);};
dayzLogin3 = [player];
publicVariableServer "dayzLogin3";
 
_null = [] execVM "briefing.sqf";
 
execVM "R3F_ARTY_AND_LOG\init.sqf"

Here is my briefing.sqf:
Code:
waitUntil {!isNull player && isPlayer player};
 
player createDiarySubject ["bbq", "[TBBQ] Information"];
player createDiarySubject ["server", "[TBBQ] Server Rules"];
player createDiarySubject ["mod", "Server Extra's"];
player createDiarySubject ["bbqserver", "Server F.A.Q"];
 
player createDiaryRecord["bbq",
[
"Contact A Server Admin",
"
<br/>
        We currently have the following active Admins in DayZ<br/><br/>
        Zaqq (Server Owner), Combat Mink, PryMary, The-General4, Bane and Duffy<br/><br/>
        You can contact Admins through these different methods.<br/><br/>
        1) Join our Teamspeak: ts.team-bbq.com:25177<br/>
        2) Leave a message on our forums: www.team-bbq.com<br/>
        3) Send us a message on FaceBook: Team BBQ<br/>
"
]
];
 
player createDiaryRecord["bbq",
[
"Founders And Members",
"
<br/>
        Founders:<br/>
        Zaqq - DayZ Server Owner<br/>
        PryMary - Does Tech Stuff<br/>
        The-General4 - Rages On!<br/>
        Combat Mink - ARMA 3 Server Owner (Now Lift's)<br/><br/>
        Members:<br/>
        Bane<br/>
        Bambi Shevan<br/>
        Duffy<br/>
        Freak<br/>
        Ste Laws<br/>
        Muxa<br/>
        Mandlebrot<br/>
        TobiasBoon<br/>
        Wayne<br/>
"
]
];
 
player createDiaryRecord["server",
[
"Server Rules",
"
<br/>
        No Whining / Moaning / Demands<br/>
        You're Opinions Are Not Important<br/>
        Don't Be A Dick<br/>
        No Voice In Side Chat [When Active]<br/>
"
]
];
 
player createDiaryRecord["server",
[
"Side Chat Rules",
"
<br/>
        NO VOICE IN SIDE CHAT - Use Direct / Vehicle / -> Teamspeak <-<br/>
        English Only<br/>
        No Direct Player Abuse / Racism<br/>
        No Excessive Swearing<br/>
        Don't Be A Dick<br/>
        Offender's Will Be Kicked<br/><br/>
        Repeat Offender's Will Be BANNED<br/>
"
]
];
 
player createDiaryRecord["mod",
[
"Server Anti-Hax Protection",
"
<br/>
        [*] 24/7 Monitoring With TSW Anti-Hax<br/>
        [*] Server Side Protection With IVXX Anti-Hax<br/>
        [*] In-Game Monitoring<br/>
        [*] Active Administration<br/>
"
]
];
 
player createDiaryRecord["mod",
[
"MOD - Perm Day / Clear Skies",
"
<br/>
        Fixed Daytime 24/7<br/>
        Permanent Clear Skies / No Fog<br/><br/>
        Day / Night Cycle Weekend's:<br/>
        When active and it is night the following become active also:<br/>
        [*] Random House Lighting + Radial Ambience<br/>
        [*] Clear Skies + Full Moon<br/>
        Main reason for the addition of the above was to keep daytime only players,<br/>
        but also make it look a bit more real.<br/>
"
]
];
 
player createDiaryRecord["mod",
[
"Permanent Debug Monitor",
"
<br/>
        Slightly modded version of the classic debug monitor (subject to change)<br/>
"
]
];
 
player createDiaryRecord["mod",
[
"Vehicle Re-Fuel",
"
<br/>
        Ability to go to a fuel station and re-fuel the vehicle without Jerry Can's<br/>
        Ability to use Fuel Tank's whilst in a vehicle<br/><br/>
        To Use MOD: Go to fuel station / fuel tank and mouse wheel to 'Refuel' option.<br/>
"
]
];
 
player createDiaryRecord["mod",
[
"Vehicle Tow / Chopper Lift",
"
<br/>
        Larger Vehicles Can Tow Smaller Vehicles<br/>
        Certain Helicopters Can Lift Vehicles<br/><br/>
        To Use MOD (Tow): Use mousewheel whilst having the smaller vehicle to be towed near,<br/>
        look at the smaller vehicle and select 'Tow this vehicle' then look at larger vehicle<br/>
        and use mousewheel again to select 'Tow with this vehicle'.<br/><br/>
        To Use MOD (Helicopter Lift): Auto Hover over a vehicle and if the helicopter can lift the<br/>
        vehicle an option will show on screen to 'Lift vehicle'. If no option shows, use the mousewheel.<br/>
        If no option shows then that helicopter cannot lift that vehicle.<br/>
"
]
];
 
player createDiaryRecord["mod",
[
"Vehice Salvage",
"
<br/>
        Ability To Take Useable Parts From Vehicle's<br/><br/>
        To Use MOD: If a part is salvageable, mousewheel on a vehicle blue text is the salvage part's list,<br/>
        make sure you have enough Inventory space prior to selecting salvage for an item.<br/>
"
]
];
 
player createDiaryRecord["mod",
[
"Dog's",
"
<br/>
        The dog house's with dogs in are located within a random radius of 70 meters of:<br/>
        Bor, Msta, Polana, Vyshnoye, Grishino, Dubrovka. Dog house's with a dog should<br/>
        make a barking sound and are in an 'odd' location.<br/>
"
]
];
 
player createDiaryRecord["bbqserver",
[
"Why Is There So Much Stuff?",
"
<br/>
        The Bases and Checkpoint's were added for extra realism, as any country would create a quarantine zone (Elektro).<br/>
        The MOD's added are for extra realism also:<br/>
        [*] We do test a lot of things out on the server so expect it!<br/>
        [*] We make in-game video's so expect random things in places from time to time<br/>
"
]
];
 
player createDiaryRecord["bbqserver",
[
"The Admin Base Kick?",
"
<br/>
        The [Team BBQ] Base Is Protected By An Invisible Dome Created And Enforced By TSW Anti-Hax<br/><br/>
        So Why Have It? It Is Simple...<br/>
        [*] There is always OP stuff at [TBBQ] base (for filming purposes)<br/>
        [*] If let loose on the population the server would be havoc<br/>
        [*] We want a secure location on our server, for our members<br/>
"
]
];
 
player createDiaryRecord["bbqserver",
[
"Why All The OP Stuff?",
"
<br/>
        [*] We do a lot of in-game filming<br/>
        [*] We test out what we can / can not spawn into the server<br/>
        [*] We only use OP weapons / vehicle's on each other ([Team BBQ] Members)<br/>
        [*] We compensate players if they want to get involved in our activity's with OP items<br/>
"
]
];

I "think" I did everything right, but if someone could point me into anything I have done wrong it would be appreciated.
 
PryMary,

I had the same issues and then It just started appearing for some reason. Like I said it only shows up for the first login of the player and any deaths or log outs remove the entry. I still have yet to find a solution. Sorry man..

Bubble.

PS. will post back if I find anything.
 
I marked my Klen Military Installation with this;
position[]={11475.137,317.29391,11331.216};
name="KlenMilitaryInstallation";
text="Klen Military Installation";
type="waypoint";
colorName="ColorRed";
Useing this code made it work for me, just change the position to your liking.
Do anyone have a list of different "Colors and Markers"?
Like, i want red one my bandit base, blue on the hero base, green on my neutral base.

NVM; Just change "ColorRed" to "Color<YOURCOLOR>"
You can choose between Black, Red, Yellow, Green, Purple, and a few others i cant remember.
 
PryMary,

I had the same issues and then It just started appearing for some reason. Like I said it only shows up for the first login of the player and any deaths or log outs remove the entry. I still have yet to find a solution. Sorry man..

Bubble.

PS. will post back if I find anything.
Yep, i do also have the same thing, i can only see it for 5-10 seconds, then it dissapears, if you find a fix, do tell me :) i will test what i can, and keep my eyes open for a fix.
 
Hi,

I have a while {} that is running on my server for another script, i just added my execVM "briefing.sqf"; on it
And added this block on top of my briefing.sqf :
Code:
if (player diarySubjectExists "rules") exitWith {};
 
player createDiarySubject ["rules", "Informations & règles"];
...

Its working for me, its maybe not the best solution but...
 
Hi,

I have a while {} that is running on my server for another script, i just added my execVM "briefing.sqf"; on it
And added this block on top of my briefing.sqf :
Code:
if (player diarySubjectExists "rules") exitWith {};
 
player createDiarySubject ["rules", "Informations & règles"];
...

Its working for me, its maybe not the best solution but...
Could you paste your briefing.sqf into here?
Cheers!
 
Yep, but its not finished. I just did that this night.

Code:
waitUntil {!isNull player && isPlayer player};
 
if (player diarySubjectExists "rules") exitWith {};
 
player createDiarySubject ["rules", "Informations & règles"];
player createDiarySubject ["faq", "Foire aux questions"];
player createDiarySubject ["hack", "Hack ?! A LIRE !"];
 
player createDiaryRecord["rules",
[
"Contacter un modo / admin",
"
<br/>
      En cours de rédaction...
"
]
];
 
player createDiaryRecord["hack",
[
"Signaler un hacker",
"
<br/>
Pour signaler un hacker veuillez prévenir un Modo/Admin sur Teamspeak ou au moin par email. Soit en passant par votre logiciel de messagerie soit par le biais du formulaire présent sur mon site.
"
]
];
 
player createDiaryRecord["rules",
[
"Règles du serveur",
"
<br/>
        En cours de rédaction...
"
]
];
 
player createDiaryRecord["rules",
[
"Regles du Chat",
"
<br/>
        En cours de rédaction...
"
]
];
 
player createDiaryRecord["faq",
[
"Météo & ambiance",
"
<br/>
        En cours de rédaction...
"
]
];
 
player createDiaryRecord["faq",
[
"Debug Monitor",
"
<br/>
        En cours de rédaction...
"
]
];
 
player createDiaryRecord["faq",
[
"Ravitaillement des véhicules",
"
<br/>
        En cours de rédaction...
"
]
];
 
player createDiaryRecord["faq",
[
"Les chiens",
"
<br/>
      En cours de rédaction...
"
]
];
 
player createDiaryRecord["faq",
[
"Les camps sécurisés",
"
<br/>
      En cours de rédaction...
"
]
];
 
@Deezit
Thanks for uploading, i tested it and i still having the samme issue, might be something in my init that needs to be changed?
Thanks anyway!
 
I also made a script that shows up some markers and the position of my UH1H public transport (updating each 15 seconds if I remember and some extra markers for admins like players positions :) much easier to help people), so I've put the execVM briefing in the while{} of this script.
 
I also made a script that shows up some markers and the position of my UH1H public transport (updating each 15 seconds if I remember and some extra markers for admins like players positions :) much easier to help people), so I've put the execVM briefing in the while{} of this script.
Thats a really cool feature!
By put the execVM briefing in the while{} of this script, i might be confused but i cant understand what you mean about that. Could you try explain in another way?
 
@Deezit
Thanks for uploading, i tested it and i still having the samme issue, might be something in my init that needs to be changed?
Thanks anyway!

My scripts are like that :
init.sqf
Code:
if (!isDedicated) then {
//...your lines...
 
//Markers
_markers = [] execVM "tweaks\markers.sqf";

tweaks/markers.sqf
Code:
private ["_markerstrT", "_posT"];
 
if (isServer) exitWith {}; // only run this on client side
 
_markerstr1 = createMarker ["Transport public 1",[4100.1074,10808.859]];
_markerstr1 setMarkerType "hd_objective";
_markerstr1 setMarkerText "Transport public 1";
_markerstr1 setMarkerColor "ColorBlue";
_markerstr2 = createMarker ["Transport public 2",[4664.9785,2570.5344]];
_markerstr2 setMarkerType "hd_objective";
_markerstr2 setMarkerText "Transport public 2";
_markerstr2 setMarkerColor "ColorBlue";
_markerstr3 = createMarker ["Transport public 3",[9755.792,1890.6976]];
_markerstr3 setMarkerType "hd_objective";
_markerstr3 setMarkerText "Transport public 3";
_markerstr3 setMarkerColor "ColorBlue";
_markerstr4 = createMarker ["Transport public 4",[13123.688,7518.207]];
_markerstr4 setMarkerType "hd_objective";
_markerstr4 setMarkerText "Transport public 4";
_markerstr4 setMarkerColor "ColorBlue";
_markerstr5 = createMarker["Transport public 5",[12109.689,12619.021]];
_markerstr5 setMarkerType "hd_objective";
_markerstr5 setMarkerText "Transport public 5";
_markerstr5 setMarkerColor "ColorBlue";
_markerstr6 = createMarker ["Transport public 6",[6447.8271,7756.0767]];
_markerstr6 setMarkerType "hd_objective";
_markerstr6 setMarkerText "Transport public 6";
_markerstr6 setMarkerColor "ColorBlue";
 
 
_markerstr7 = createMarker ["Zone PvP1",[3382.6121, 7918.1387]];
_markerstr7 setMarkerType "Flag1";
_markerstr7 setMarkerText "Zone PvP";
_markerstr7 setMarkerShape "RECTANGLE";
_markerstr7 setMarkerSize [1200,700];
_markerstr7 setMarkerBrush "FDiagonal";
_markerstr7 setMarkerColor "ColorRed";
_markerstr7 setMarkerDir 44;
_markerstr8 = createMarker ["Zone PvP",[3549.13,7469.67]];
_markerstr8 setMarkerType "hd_objective";
_markerstr8 setMarkerText "Zone PvP";
_markerstr8 setMarkerColor "ColorRed";
 
_markerstr11 = createMarker ["Tentes gratuites",[13266.695,4056.4443]];
_markerstr11 setMarkerType "hd_objective";
_markerstr11 setMarkerText "Tentes gratuites";
_markerstr11 setMarkerColor "ColorGreen";
 
_markerstr12 = createMarker ["Camp de demo pour team",[4700.11,10021.2]];
_markerstr12 setMarkerType "hd_objective";
_markerstr12 setMarkerText "Camp de demo pour team";
_markerstr12 setMarkerColor "ColorBrown";
 
_markerstr12 = createMarker ["Porte-avions",[7727.61,2660]];
_markerstr12 setMarkerType "hd_objective";
_markerstr12 setMarkerText "Porte-avions";
_markerstr12 setMarkerColor "ColorOrange";
 
_markerstr13 = createMarker ["Base Admin",[8649.35,2350.71]];
_markerstr13 setMarkerType "hd_objective";
_markerstr13 setMarkerText "Base Admin";
_markerstr13 setMarkerColor "ColorOrange";
 
_markerstr13 = createMarker ["Base Modos",[11471.2,11356.8]];
_markerstr13 setMarkerType "hd_objective";
_markerstr13 setMarkerText "Base Modos";
_markerstr13 setMarkerColor "ColorOrange";
 
 
_myMarkers = [];
while {true} do
{
    //Execute my briefing if needed
    _null = [] execVM "briefing.sqf";
   
    //Players and Bots markers
    if (!isNull player) then
    {
        _posT = getPos pilot1; //the IA PILOT OF MY UH1H
        _markerstrT = createMarkerLocal ["UH1H de Transport", _posT];
        _markerstrT setMarkerColorLocal "ColorBlue";
        _markerstrT setMarkerTypeLocal "hd_objective";
        _markerstrT setMarkerTextLocal "UH1H de Transport";
       
        _uid = (getPlayerUID player);
        _mechants = ["Bandit1_DZ", "BanditW1_DZ"];
        if ((_uid == "_MY_UID_") or (_uid == "_ANOTHER_UID_ADMIN_")) then
        {
            _i = 0;
            _j = count allUnits;
 
            for "_i" from 0 to _j do
            {
                _unit = allUnits select _i;
                if (alive _unit && player != _unit) then
                {
                    if (isPlayer _unit) then //Players
                    {
                        _unitPos = getPos _unit;
                        _unitName = name _unit;
                        _mygroup = createMarkerLocal [_unitName, _unitPos];
                        _mygroup setMarkerColorLocal "ColorPink";
                        _mygroup setMarkerTypeLocal "hd_objective";
                        _mygroup setMarkerTextLocal _unitName;
                        _myMarkers = _myMarkers + [_mygroup];
                    };
                    if (!isPlayer _unit) then //Bots, Dogs, etc
                    {
                        _unitPos = getPos _unit;
                        _unitName = name _unit;
                        _mygroup = createMarkerLocal [_unitName, _unitPos];
                        _mygroup setMarkerColorLocal "ColorBrown";
                        _mygroup setMarkerTypeLocal "hd_objective";
                        _mygroup setMarkerTextLocal _unitName;
                        _myMarkers = _myMarkers + [_mygroup];
                    };
                   
                };
            };
        };
       
        sleep 5;
       
        {
            deleteMarkerLocal _x;
        } forEach (_myMarkers);
       
        deleteMarkerLocal "UH1H de Transport";
        _markerstrT = objNull;
    };
};

briefing.sqf
Code:
waitUntil {!isNull player && isPlayer player};
 
if (player diarySubjectExists "rules") exitWith {};
 
player createDiarySubject ["rules", "Informations & règles"];
player createDiarySubject ["faq", "Foire aux questions"];
player createDiarySubject ["hack", "Hack ?! A LIRE !"];
 
player createDiaryRecord["rules",
[
"Contacter un modo / admin",
"
<br/>
      En cours de rédaction...
"
]
];
 
player createDiaryRecord["hack",
[
"Signaler un hacker",
"
<br/>
    Pour signaler un hacker veuillez prévenir un Modo/Admin sur Teamspeak ou au moin par email. Soit en passant par votre logiciel de messagerie soit par le biais du formulaire présent sur mon site : http://bantinrs.me/?page=contacter_hack
"
]
];
 
player createDiaryRecord["rules",
[
"Règles du serveur",
"
<br/>
        En cours de rédaction...
"
]
];
 
player createDiaryRecord["rules",
[
"Regles du Chat",
"
<br/>
        En cours de rédaction...
"
]
];
 
player createDiaryRecord["faq",
[
"Météo & ambiance",
"
<br/>
        En cours de rédaction...
"
]
];
 
player createDiaryRecord["faq",
[
"Debug Monitor",
"
<br/>
        En cours de rédaction...
"
]
];
 
player createDiaryRecord["faq",
[
"Ravitaillement des véhicules",
"
<br/>
        En cours de rédaction...
"
]
];
 
player createDiaryRecord["faq",
[
"Les chiens",
"
<br/>
      En cours de rédaction...
"
]
];
 
player createDiaryRecord["faq",
[
"Les camps sécurisés",
"
<br/>
      En cours de rédaction...
"
]
];

Maybe its not the best way to do that but it works here, maybe you will need to adjust your battleye filters.

 
here's how it works:

extract missionfile

extract compiles.sqf from dayz_code.pbo
put it in your missionfile under /fixes/

call it with fixes/compiles.sqf in the init.sqf

extract dynamicweather.sqf (or similar) also from dayz_code.pbo
again put it in the fixes folder of your missionfile

edit the compiles.sqf that it execs the weather script from the fixes folder instead of the dayz_code.pbo

add
setViewDistance 4000;
somewhere in the first couple lines of the init.sqf

edit the weatherscript and change the rain,fog,clouds to your liking

repack mission file and test.



fog is like a viewdistance limiter

0.X means 0 to X% of your viewdistance is in effect.
for example if you use 10000m as viewdistance and have 0.5 (default) as fog value the viewdistance will drop to a minimum of about 50% - 5000m. the fog is random so it will vary between 0 and 0.5

mine is set to 4000 and fog is at 0.25

If i run Taviana, do i use dayz 1.7.4.4 Dayz_Code.pbo or Taviana2.0 Dayz_Code.pbo?
 
Still struggling with this briefing... No matter what i do it still won't show. I am in no need of markers just the briefing.. Why rocket left it out is beyond me but hey ho... If anyone can help me with this I would be eternally grateful.
 
Has there been any developments in the briefing aspect of this discussion?

I spent a good couple hours writing one for my server just to see it get deleted right away after server starts up. Anyone figured out what it is that we have to do in order to prevent this? I saw TorturedChunk and AlienXAS arguing this in another topic and they said something about the server_cleanup.fsm... frankly I don't see the relation, but I'm not that good...

In any case, anyone know a way to make it work?
 
Has there been any developments in the briefing aspect of this discussion?

I spent a good couple hours writing one for my server just to see it get deleted right away after server starts up. Anyone figured out what it is that we have to do in order to prevent this? I saw TorturedChunk and AlienXAS arguing this in another topic and they said something about the server_cleanup.fsm... frankly I don't see the relation, but I'm not that good...

In any case, anyone know a way to make it work?



Hey Deathcall.

I haven't taken the time to read this thread recently, although I have seen it in the past. I have the briefing running fine on all my servers. 1.7.7.1 and previous. Here are the instructions.

1. Create a briefing init file,name is accordingly.
Code:
//this will intialize the briefing, call it from your init.sqf
//Example  _null = [] execVM "folder\briefinginit.sqf";
 
if (isServer) exitWith {}; // only run this on client side
 
while {true} do
{
    //Execute the briefing if needed
    _null = [] execVM "folder\briefing.sqf";
};
I named mine briefinginit.sqf

2. Create your briefing file and name it accordingly.

Example:
//Add the top 2 lines, edit as needed.
waitUntil {!isNull player && isPlayer player};
if (player diarySubjectExists "subject") exitWith {};
player createDiarySubject ["subject", "subject Name"];

player createDiaryRecord["subject",["Something","<br/>
<img image='pics\logo.paa' align='center' width='128' height='128'/><br/>
More Text, Double page break.<br/><br/>
"]];
* place the Orange code at the top of your briefing.sqf file, this will stop it from looping.


3. add _null = [] execVM "folder\briefinginit.sqf"; to the bottom of your init.sqf file.

$$$
 
Back
Top