Jump to content
Sign in to follow this  
Wiki

Weird problem with briefing

Recommended Posts

hi guys.

I have this problem, and don't know how to solve it.

in some campaigns I've made (and in the one i'm currently working on), in some missions the briefing doesn't shows up at the briefing step.

I have ALL the needed files in my folder:

-init.sqf

-briefing.sqf

-briefing.html

the weird thing is that I just copy/past those files from one mission to another one, and it works in mission A, mission B, but it won't work in mission C... or mission D... whatever....

i really DON'T KNOW why it sucks...

here are the files from a working mission

init.sqf

"alpha" setMarkerPos [-(getMarkerPos "alpha" select 0),-(getMarkerPos "alpha" select 1)];

"bravo" setMarkerPos [-(getMarkerPos "bravo" select 0),-(getMarkerPos "bravo" select 1)];

"charlie" setMarkerPos [-(getMarkerPos "charlie" select 0),-(getMarkerPos "charlie" select 1)];

"delta" setMarkerPos [-(getMarkerPos "delta" select 0),-(getMarkerPos "delta" select 1)];

"echo" setMarkerPos [-(getMarkerPos "echo" select 0),-(getMarkerPos "echo" select 1)];

"foxtrot" setMarkerPos [-(getMarkerPos "foxtrot" select 0),-(getMarkerPos "foxtrot" select 1)];

execVM "briefing.sqf";

{

_x setVariable ["BIS_noCoreConversations",true];

} forEach allUnits;

briefing.sqf

player createDiaryRecord ["Diary",["Author","<br/><br/><img image=Baussant.jpg' width='200' height='200'/><br/><br/> ADO© Le Cardinal]];

player createDiaryRecord ["Diary",["Recommended loadout","Satchel charges"]];

player createDiaryRecord ["Diary",["Support","None"]];

player createDiaryRecord ["Diary",["Intel","Try to avoid Maruko as much as possible."]];

player createDiaryRecord ["Diary",["Briefing","We're going to launch a raid to destroy the enemy air force and neutralize the northern airport.<br/>Before engaging our planes, the AA defences must be destroyed: this is vital, otherwise we won't be able to hit them hard.<br/><br/>You will be inserted <marker name=insertion'>on the coast</marker>, south of Maruko .<br/>You must destroy the AA defences around the airport: two Tunguska <marker name='aa1'>here</marker> and <marker name='aa2'>here</marker>, and a Shilka <marker name='aa3'>in the city</marker>.<br/>When all the AA are destroyed, move to <marker name='extraction'>extraction</marker>, board in the boat and exfiltrate.]];

player createDiaryRecord ["Diary",["Situation","A few days ago, an overturn has lead Lingor into a big crisis. The president of Lingor has been killed with his whole family, and the UN base has been attacked - all the soldiers were slaughtered.<br/>The rebels, helped by a part of the army, have taken the power and rule the northern part of the country.<br/><br/>Hopefully, the French base at the south airport is still operationnal, but we must retake the initiave asap!"]];

Obj1=player createSimpleTask ["task1"];

Obj1 setSimpleTaskDescription ["Land <marker name=insertion'>on the coast</marker> without being detected, then proceed to objective.","Land on the coast","Land];

Obj1 settaskstate "assigned";

player setcurrenttask Obj1;

Obj1 setSimpleTaskDestination (getMarkerPos "insertion");

Obj2=player createSimpleTask ["task2"];

Obj2 setSimpleTaskDescription ["Find and destroy the <marker name=aa3'>Shilka</marker>.","Destroy the Shilka","Shilka];

obj2 setsimpletaskdestination (getmarkerpos "aa3");

Obj3=player createSimpleTask ["task3"];

Obj3 setSimpleTaskDescription ["Find and destroy the <marker name=aa1'>first Tunguska</marker>.","Destroy the first Tunguska","Tunguska];

obj3 setsimpletaskdestination (getmarkerpos "aa1");

Obj4=player createSimpleTask ["task4"];

Obj4 setSimpleTaskDescription ["Find and destroy the <marker name=aa2'>second Tunguska</marker>.","Destroy the second Tunguska","Tunguska];

obj4 setsimpletaskdestination (getmarkerpos "aa2");

Obj5=player createSimpleTask ["task5"];

Obj5 setSimpleTaskDescription ["Move to <marker name=extraction'>extraction</marker>, board in the boat and exfiltrate. We can't let the insurgents use it.","Extraction","Extraction];

obj5 setsimpletaskdestination (getmarkerpos "extraction");

briefing.html

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=windows-1250">

<title>Briefing</title>

</head>

<body bgcolor="#ffffff">

<hr>

<br />

<h2><a name="Debriefing:End1"></a></h2>

<br />

<p>Great job: the AA threat is history! Now, we can engage our air force.</p>

<br />

</body>

</html>

here are the files from a mission where it doesn't work

init.sqf

"alpha" setMarkerPos [-(getMarkerPos "alpha" select 0),-(getMarkerPos "alpha" select 1)];

"bravo" setMarkerPos [-(getMarkerPos "bravo" select 0),-(getMarkerPos "bravo" select 1)];

execVM "briefing.sqf";

{

_x setVariable ["BIS_noCoreConversations",true];

} forEach allUnits;

briefing.sqf

player createDiaryRecord ["Diary",["Author","<br/><br/><img image=Baussant.jpg' width='200' height='200'/><br/><br/> ADO© Le Cardinal]];

player createDiaryRecord ["Diary",["Support","2x SA-330 Puma for transport<br/><br/>1x EC-665 Tigre<br/>(available when AA is destroyed)"]];

player createDiaryRecord ["Diary",["Recommended loadout","AT weapons"]];

player createDiaryRecord ["Diary",["Briefing","<marker name=obj1'>village of Villon</marker&gt]];

player createDiaryRecord ["Diary",["Situation",""]];

Obj1=player createSimpleTask ["task1"];

Obj1 setSimpleTaskDescription ["Take <marker name=obj1'>Villon</marker> and secure it.","Take Villon","Villon];

Obj1 settaskstate "assigned";

player setcurrenttask Obj1;

Obj1 setSimpleTaskDestination (getMarkerPos "obj1");

Obj2=player createSimpleTask ["task2"];

Obj2 setSimpleTaskDescription ["Take <marker name=obj2'>Palida</marker> and secure it.","Take Palida","Palida];

obj2 setsimpletaskdestination (getmarkerpos "obj2");

Obj3=player createSimpleTask ["task3"];

Obj3 setSimpleTaskDescription ["Move to the <marker name=obj3'>extraction point</marker> and board in the chopper.","Extraction","Extraction];

obj3 setsimpletaskdestination (getmarkerpos "obj3");

Obj4=player createSimpleTask ["task4"];

Obj4 setSimpleTaskDescription ["Intel says there might be 1 or 2 Shilka(s) in the area.<br/>Destroy them to have an EC-665 Tigre for air cover.","[Optionnal] Destroy the Shilkas",""];

briefing.html

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=windows-1250">

<title>Briefing</title>

</head>

<body bgcolor="#ffffff">

<hr>

<br />

<h2><a name="Debriefing:End1">Mission Successful!</a></h2>

<br />

<p>Great job! The enemy air force is totally destroyed, so are their helicopters. We have the air supremacy in Lingor, and it will definitely help us for the ground operations.</p>

<br />

</body>

</html>

what the damn is wrong?

is there a difference somewhere? cause I can't find it...

so I don't know why it doesn't work...

someone can help please??

thanks

Edited by Wiki

Share this post


Link to post
Share on other sites

In the second part you called the file bienfing.sqf.

:D

Share this post


Link to post
Share on other sites

yeah, well, error fixed.

but it still doesn't fix my real problem.... :'(

Share this post


Link to post
Share on other sites

I've searched in all the other topics about that problem, but nothing works.

I DO have my briefing.html, there is nothing mission in the text etc...

it just sucks, dunno why...

Share this post


Link to post
Share on other sites

ok, I've just checked something:

in my mission, there are 2 groups of 8 ppl + 3 helicopters.

the briefing doesn't show up.

but when I delete 5 ppl in my group, then the briefing shows up.

anyone has an idea why it works that way?

why I must delete 5 men of mine to have it work?

thanks

Edited by Wiki

Share this post


Link to post
Share on other sites
ok, I've just checked something:

in my mission, there are 2 groups of 8 ppl + 3 helicopters.

the briefing doesn't show up.

but when I delete 5 ppl in my group, then the briefing shows up.

anyone has an idea why it works that way?

why I must delete 5 men of mine to have it work?

thanks

As a wild guess - AIUI the mission.sqm is the first file read by the game. If there's even a trivial error there it can screw up later activities. I had a number of problems with DAC until I found a typo in the default RU camp configuration. I assume you've looked at the .rpt & used Squint to check all the files. Is 5 units the minimum number you need to delete?

Hope this doesn't seem like teaching one's grandmother to suck eggs! I've played several of your missions & enjoyed them, btw.

BR

Orcinus

Share this post


Link to post
Share on other sites

@Orcinus

i haven't noticed anything peculiar in the mission.sqm

btw, glad you liked my missions

@PvPscene

yes i do.

as i said, the briefing works in other missions, and when I delete the units.

i think it wouldn't work at all if the debriefing was equal to 0.

so i really don't know where it come from...

Share this post


Link to post
Share on other sites

so, I'm still making mission for my campaign, and I still have the bug.

I created a mission, and as long as I have no more than 6 units of my side, the briefing and notes appear when I do shift+preview.

as soon as there are more than 6 units from my side, the briefing disappears.

I can view it ONCE the mission is launched, but not during the briefing screen...which also means that there can not be any weapon selection - nor any information for the player about what to do in the mission - until the mission starts...

anyone has found a solution? or encounter this problem too?

Share this post


Link to post
Share on other sites

Can you specify the circumstances, specifically whether there are any mods running? The briefing texts suggest at least the island is a custom one, but are there any additional mods active? In my experience various mods take up an extraordinary lot of processing capacity once a mission initialises, resulting in the initialisation instructions in the mission files not executing correctly whereas the same missions will execute properly without running any mods.

Regards,

Sander

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×