Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
iceman11a

briefing doesn't show in game play

Recommended Posts

I did another search like you guys want me too and I guess no one else has this problem. Any way I created 3 files.

1) init.sqf

2) briefing.sqf

3) description.ext

-init.sqf

execVM "briefing.sqf";

-briefing.sqf

player createDiaryRecord ["Diary", ["Intel", "Protect troops and Air base from an attack."]];

tskobj_1 = player createsimpletask["Protect Air Base"];

tskobj_1 setSimpleTaskDescription ["Protect troops and Air base from an attack.", "Objective 1", "Protect Air Base"];

description.ext

//Mission Header

class header

{

gametype = SinglePlayer;

};

onloadmission = "Fear starts here";

onloadmissiontime = false;

This is how I have the files setup and I put them into the mission folder. When I run the mission and play the game. Nothing shows up.

PLEASE any one have any ideas.

Share this post


Link to post
Share on other sites

ArmA2 needs briefing.html to exist, even if it's blank, for the briefing to display.

Share this post


Link to post
Share on other sites

so what your saying is that I need a file called briefing.html in the missions folder and it has to be blank. The file I mean. The briefing.html file has to be blank.

Share this post


Link to post
Share on other sites

Thanks. I just copied a file in to the missions folders and called it briefing.html and well it still doesn't work.

When I run the mission and I press 'M' I should see the briefing in there and well there's nothing there.

Share this post


Link to post
Share on other sites

Yes, that was right and wrong, Still nothing shows in the map. I have 3 choices.

Map

Notes - Is blank

units - Just tells me who I'm grouped with

When I start the mission. I see my Mission name displays just before the mission starts and that's all I see that's changed

Share this post


Link to post
Share on other sites
Thanks. I just copied a file in to the missions folders and called it briefing.html and well it still doesn't work.

When I run the mission and I press 'M' I should see the briefing in there and well there's nothing there.

Is it an actual html file or is it just a text file or something that you've named briefing.html?

Share this post


Link to post
Share on other sites

Sorry that's way over my head

---------- Post added at 05:07 PM ---------- Previous post was at 05:06 PM ----------

Is it an actual html file or is it just a text file or something that you've named briefing.html?

Yes, it's a html file. Windows says it is in the windows exploy!.

Share this post


Link to post
Share on other sites

Try this for your briefing.html. You'll probably need to right click and save as.

Here is something else you can try for your init.sqf:

if ((!isServer) && (player != player)) then

{

waitUntil {player == player};

};

[] execVM "briefing.sqf";

Share this post


Link to post
Share on other sites

You don't need a description.ext for SP missions and they tend to fuck things up. Try removing it. Also trying using the briefing in a completely separate mission.

And about the briefing.html, you only need this for the pre-mission briefing to start, but the map Notes and Tasks should show up even if you don't have it.

Share this post


Link to post
Share on other sites

Ok, well I deleted the description.ext file and the briefing.html file and they still don't show up. Have you tried it on your end to see if the Notes and tasks even show in the map of the game.

Share this post


Link to post
Share on other sites

tsk1 = player createSimpleTask ["Lie in wait"];

tsk1 setSimpleTaskDescription ["Go blow up a Mcdonalds.", "Lie in wait", ""];

player setCurrentTask tsk1;

Try making your tasks look like that.

Share this post


Link to post
Share on other sites

Thanks. But that didn't work too. I all so had it added in the map in a trigger. and the briefings or tasks still don't show up.

Share this post


Link to post
Share on other sites

Well here's a very simple briefing that works, for a mission I just released. See if it works in your mission. If it doesn't we at least know that the problem isn't in your text.

// Created in A2B Editor by EMSI

player createDiaryRecord ["Diary", ["Execution", "The Chernarussians have left their vehicles behind in Novy Sobor, and our men are lying in wait. They should be told to hold their fire until the head of the enemy column is about 50 meters from our enfilade position. Assigning specific targets is an option, but my men should do fine on their own. I won't risk their lives hunting down every last enemy, but don't intend to leave anything alive on the road. If things get too hot and we are in danger of being overrun, I'll radio headquarters for reinforcements and try to escape with my men."]];

player createDiaryRecord ["Diary", ["Mission", "We have set up an L-shaped ambush using the treeline north of the road, and will hit them as soon as they leave Novy Sobor. Spotters in town counted three fully-loaded trucks, which means about eighty dismounted men. We are outnumbered four to one, but all my men have chosen their positions carefully, and the CDF have no technicals to support them. Hopefully we will be able to catch them in the open and mow them down in the road. After we have done as much damage as possible, we will withdraw back over the hill to the north, and stay on hand to await any punitive measures sent by the CDF."]];

player createDiaryRecord ["Diary", ["Situation", "Civil war looms in newly-independent Chernarus. The largely Russian population of Zagoria province voted against secession and is pushing for unification with the rump USSR. Ethnic conflict is already rife in the north and northeast of the region, Vybor, Krasnostav and the coast around Berezino especially. Meanwhile, the CDF is planning a show of force in the mostly-Chernarussian center of the province, marching a large body of infantry east from the Sobors. We are worried what will happen if they enter the mixed towns of Guglovo and Staroye, so our militia is planning to ambush them along the road. I command a well-equipped force of twenty or so, mostly demobilized Red Army, police and interior troops. A civil war is coming, so it may as well start here."]];

tsk3 = player createSimpleTask ["Withdraw"];

tsk3 setSimpleTaskDescription ["I know the CDF won't be expecting an attack like this, but getting out alive is still a serious concern. Novigrad has been massing a lot of air power and armor nearby, and they could come down on us in an hour or so. We want to stay in the area to make sure nothing else reaches Guglovo, but if they see us disappear behind Lesnoy Khrebet and think we've made ourselves scarce, so much the better. Eluding National Party fighters will be more difficult, but at least we have more firepower than them.", "Withdraw", ""];

tsk2 = player createSimpleTask ["Spring the trap"];

tsk2 setSimpleTaskDescription ["I'll wait for the lead man to reach a certain point, that wrecked car for example, and then order everyone to open fire. It's my choice how much attention I draw to myself, and whether I run up and down the line, lie down and shoot, or just watch. The main thing is not to let the enemy push past our position along the road. If they retreat in any other direction, that's fine.", "Spring the trap", ""];

tsk1 = player createSimpleTask ["Lie in wait"];

tsk1 setSimpleTaskDescription ["I have a few minutes to find a good position from which to oversee the ambush. My men all have their orders, and I should only rearrange a few of them, if any.", "Lie in wait", ""];

player setCurrentTask tsk1;

If the problem is in your mission, then start cutting out elements, testing each time (you don't have to save). Get rid of the complex stuff like triggers first until it's just bare bones and there's nothing that could possibly be sabotaging it.

Also check the RPT to see if it says anything unusual.

Share this post


Link to post
Share on other sites

It's an encoding thing. You have some hidden character after "execVM" in your init.sqf. Remove that and all is well.

Open the file in Notepad to see it.

execVM? "briefing.sqf";

is what you'll see.

Share this post


Link to post
Share on other sites

I just tested your mission, after the popup on that download site almost froze my computer. Got these in the RPT:

Error in expression <ions\samaritan.Zargabad\init.sqf"

execVM "briefing.sqf";

>

Error position: < "briefing.sqf";

>

Error Invalid number in expression

File C:\Users\Michael\Documents\ArmA 2\missions\samaritan.Zargabad\init.sqf, line 1

Error in expression <2\missions\samaritan.Zargabad\init.sqf"

execVM "briefing.sqf";

>

Error position: <execVM "briefing.sqf";

>

Error Generic error in expression

File C:\Users\Michael\Documents\ArmA 2\missions\samaritan.Zargabad\init.sqf, line 1

Error in expression <ions\samaritan.Zargabad\init.sqf"

execVM "briefing.sqf";

>

Error position: < "briefing.sqf";

>

Error Invalid number in expression

File C:\Users\Michael\Documents\ArmA 2\missions\samaritan.Zargabad\init.sqf, line 1

You should play with showscripterrors turned on. That RPT readout played right out on my screen and told me something was wrong.

Kylania: Look's like you interpreted those results before I even posted them.

Share this post


Link to post
Share on other sites
I just tested your mission, after the popup on that download site almost froze my computer. Got these in the RPT:

You should play with showscripterrors turned on. That RPT readout played right out on my screen and told me something was wrong.

Kylania: Look's like you interpreted those results before I even posted them.

I'm sorry I have no idea why your getting all of those errors. The post before yours is the one that helped me to fix this.

---------- Post added at 08:51 PM ---------- Previous post was at 08:48 PM ----------

It's an encoding thing. You have some hidden character after "execVM" in your init.sqf. Remove that and all is well.

Open the file in Notepad to see it.

execVM? "briefing.sqf";

is what you'll see.

I don't know why, I didn't see the ? like you did. It just wasn't there. So what I did was I deleted the lines after execVM and then I added the "briefing.sqf" back in and tested and now it's working.

Thank you. I never would have seen it. I'm glad I let you guys download the mission.

This post Closed

Share this post


Link to post
Share on other sites
Sign in to follow this  

×