Jump to content
Sign in to follow this  
Hoppern

How to get briefing to show up before mission starts?

Recommended Posts

Briefing.html is still used for debriefing messages, too, so it's a nice thing to have.

Share this post


Link to post
Share on other sites

Help? I tried putting the html file.

I have a blank Briefing.html, a Briefing.sqf, init.sqf, and the mission.sqm files.

However when I run in SP missions it still just goes straight to the action?

Many thanks :)

Share this post


Link to post
Share on other sites

can you upload your mission somewhere so we can see it and it's files?

Share this post


Link to post
Share on other sites

You forgot to mention that your mission requires like a GB of addons...

Taking your init.sqf, briefing.html and briefing.sqf and putting them in a mission that won't take me 3 hours of downloading to even look at worked just fine to see the briefing screen in the editor by pressing Shift+Preview or by default after Exporting it to Singleplayer Missions.

Not sure what's wrong, but the code you have should work. Maybe you have too many addons for your game to know what to do anymore? :)

Share this post


Link to post
Share on other sites

Opps sorry my bad :D pressing SHIFT-Preview works from the editor, However SP missions just.... meh. I will upload a mission with the files but with vanilia units.

Could you download Helmand Valley? it would make the mission easier to convert.

---------- Post added at 02:53 PM ---------- Previous post was at 02:36 PM ----------

Heres the updated mission only needs Helmand Valley ;)

EDIT: link was bad. new one

http://www.gamefront.com/files/20643436/Updated3.villa_afgana.7z

Edited by Warrior_of_Arma

Share this post


Link to post
Share on other sites

I put that in my editor folder. Opened it in the editor. Exported to Single Player Missions. Started the mission from Scenarios and got the briefing screen.

Pretty nifty map there though. :)

Share this post


Link to post
Share on other sites

huh?! I tried the same thing and voilia! amazing.. Now if only it did that for the mod version.....:jail: Anyway thanks Kylania! You have been a major help!

Share this post


Link to post
Share on other sites

Glad you got it working. :) Looking forward to when you release that mission.

Share this post


Link to post
Share on other sites

Well I'm writing the readme now! and you can be assured you will be mentioned :D You have my eternal thanks.:notworthy:

Share this post


Link to post
Share on other sites

I am at my Wits end on this and still having same problems like the others with briefing not showing up or at least not most of it.....

I have "Diary"...Intel, Enemy, Friendly, Mission, World Overview......

For some reason, on the ENEMY shows up whether I preview in Editor or save it for a mission game. This is a SP mission I want to release here and Armaholic.

Only 3 addons I am using...@dbo which is purely cometics for the INTRO..@MBG_Buildings for a task I need..@AA2_PLAMOD which is the Chinese mod and going to be the Player, Opfor...

Here are my scripts so far..

//Briefing
execVM "briefing.sqf";

//Disables Player and AI to chat
enableSentences false;


//init.sqf
// Code for convoy defend script
NOTE: This is Norrins script. I may take this out of the mission...

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">Good Work Comrades!</a></h2>
	<br />
	<p>Congratulations on your team being the first unit from China to complete a mission in Chernarus.</p>
	<br />

</body>
</html>

// Created in A2B Editor by EMSI

Player createDiaryRecord ["Diary", ["Enemy Forces", "We expect nomimal U.S. resistances but the CDF will be on full alert and your main threat."]];
player createDiaryRecord ["Diary", ["Friendly Forces", "You have team of 8 loyal men. You will also have the ability to fire one SCUD enemy missile when so notified as a test for our Elite hackers.<br /> 
You will be issued one JLS2 Ballistic Missile <img image='JLS2' width='160' height='200'/> from a Type 095 SSN Nuclear Attack Submarine <marker name=""Han"">SNN "Han" Nuclear Submarine</marker> named the "Han".
<br /> 
We also have the ShiLang, an aircraft carrier floating about 5 miles offshore. <marker name=""Shilang"">Shilang Aircraft Carrier</marker> "]];
player createDiaryRecord ["Diary", ["Mission", "Take out the Radar Jammer, proceed to recon SCUD missile training and investigate a suspected secret Radio Telescope.<img image='bluedish' width='168' height='168'/>"]];
player createDiaryRecord ["Diary", ["Intel", "You are equiped with audio and visual devices in your helmet. We shall be monitoring your progress throughout the mission, giving you updates periodically.<br /> 
The coastal areas between Kamenka, where <marker name='SquadTang'>squad Tang</marker> will land and Balota, with <marker name='SquadShang'>squad Shang</marker> landing at Komanova. Yours shall be closer to <marker name='Balota'>Balota</marker> . Both squads will be softening coastal defenses along with two WZ10 Attack helicopters as the first wave of attack.<br /> 
Proceed in-country for your primary missions.<br />"]];
player createDiaryRecord ["Diary", ["World Overview", "The year is 2015 and wars are won not only by bombs and bullets, but also by Cyberwarfare which the Chinese have been perfecting.<br/>
The Americans and Europeans have seen first hand evidence because they have usually been the victoms of these attacks, with plots carried out by elite Chinese cyber teams located at various Chinese universities<br/>
Major western media had reported that hacked sites included companies and agencies like Google, U.N., the Pentagon, CIA, IMF as well as other European companies and agencies, of course all denied by the Chinese politoburo.<br/>
With the depreciation of the U.S. dollar and the installation of a new world pegged currency, that being the Chinese Yuen, the United States has lost most of it's world military influence and as a result, has had to drastically reduce it's bases world wide, including Chernarus.<br/>
China has taken this opportunity to flex it's military might with the annexation of Taiwan in 2013 and the occupation of the Northern Islands of Japan in 2014 as well as rich oil deposits off the Phillipines, Malaysia and Indonesia.<br />
Most military analyst are predicting a Westward expansion in regards to China's hegemony. It's only a matter of when and where.<br />
As of this time, Russia and China are conducting Naval operations in the Southern waters of Chernarus.  No one would even expect an invasion by the Chinese in this area but one never knows!"]];


taskObj1 = player createSimpleTask ["Demo the Radar"];
taskObj1 setSimpleTaskDescription ["Take out the Radar Jammer using C4 at <marker name=""mkrObj1"">Windy Mountain</marker>so our elite cyber team located on the "Han" may perform their duties in assisting you and your team. ", "Radar Jammer", ""];
taskObj1 setSimpleTaskDestination (getMarkerPos "mkrObj1");
player setCurrentTask taskObj1;
taskObj1 setTaskState "Succeeded";
/* Task Objective 1 */

taskObj2 = player createSimpleTask ["Take out the delegation"];
taskObj2 setSimpleTaskDescription ["Kill all the foreign trainers <marker name='mkrObj2'>here</marker> so you can use the enemy's SCUD when our Cyber team hacks into the SCUD system.", "Take out the delegation", ""];
taskObj2 setSimpleTaskDestination (getMarkerPos "mkrObj2");
player setCurrentTask taskObj2;
taskObj2 setTaskState "Succeeded";
/* Task Objective 2 */


taskObj3 = player createSimpleTask ["Take out AA"];
taskObj3 setSimpleTaskDescription ["Take out the suspected AA with the enemy's SCUD that our elite Cyber team is hacking into <marker name='mkrObj3'>here</marker> and prepare yourself for your final mission, Comrade.", "Take out the AA", ""];
taskObj3 setSimpleTaskDestination (getMarkerPos "mkrObj3");
player setCurrentTask taskObj3;
taskObj3 setTaskState "Succeeded";
/* Task Objective 3 */


taskObj4 = player createSimpleTask ["Recon the RadTel"];
taskObj4 setSimpleTaskDescription ["Comrade, preceed South to Bolata airport and investigate the Radio Telescope<marker name=""mkrObj4"">Radio Telescope</marker>. ", "Recon the RadTel", ""];
taskObj4 setSimpleTaskDestination (getMarkerPos "mkrObj4");
player setCurrentTask taskObj4;
taskObj4 setTaskState "Succeeded";
/* Task Objective 4 */


taskObj5 = player createSimpleTask ["Destroy the Bunker"];
taskObj5 setSimpleTaskDescription ["Comrade. We must not let the scientist and intelligence staff live with what knowledge they have. Take out the Bunker<marker name=""mkrObj5"">Bunker</marker>!", "Destroy the Bunker", ""];
player setCurrentTask taskObj5;
taskObj5 setTaskState "Succeeded";

/* Task Objective 5 */


taskObj6 = player createSimpleTask ["Extraction"];
taskObj6 setSimpleTaskDescription ["Now proceed to the<marker name=""mkrObj6"">Extraction</marker>.", "Extraction", ""];
taskObj6 setSimpleTaskDestination (getMarkerPos "mkrObj6");
player setCurrentTask taskObj6;
taskObj6 setTaskState "Succeeded";
/* Task Objective 6 */

I just realized my TASKOBJ are listed in the wrong order. Could that be it??

Overview HTML

<html>
<head>
	<title>China Takes a Peek</title>
</head>
<body bgcolor="#FFFFFF">
	<p align="center"><img src="PLA" width="280" height="401"></p>
	<p>PLA</p>
</body>
</html>

Could somebody PLEASE kindly give me a hand with this?

If I can get this out of the way, I can do the extra nifty things and get this mission uploaded here and get you going with a new mission!

Again, only the ENEMY section is showing up and not even all of it...

Cheers,

Kommmiekat

Share this post


Link to post
Share on other sites

I noticed a problem with your quotes around SSN "Han" should be SSN 'Han', it should have produced an on screen error report. Are you using -showScriptErrors placed in the target line of the games shortcut.

// Created in A2B Editor by EMSI

Player createDiaryRecord ["Diary", ["Enemy Forces", "We expect nomimal U.S. resistances but the CDF will be on full alert and your main threat."]];
player createDiaryRecord ["Diary", ["Friendly Forces", "You have team of 8 loyal men. You will also have the ability to fire one SCUD enemy missile when so notified as a test for our Elite hackers.<br /> 
You will be issued one JLS2 Ballistic Missile <img image='JLS2' width='160' height='200'/> from a Type 095 SSN Nuclear Attack Submarine <marker name=""Han"">SNN 'Han' Nuclear Submarine</marker> named the 'Han'.
<br /> 
We also have the ShiLang, an aircraft carrier floating about 5 miles offshore. <marker name=""Shilang"">Shilang Aircraft Carrier</marker> "]];
player createDiaryRecord ["Diary", ["Mission", "Take out the Radar Jammer, proceed to recon SCUD missile training and investigate a suspected secret Radio Telescope.<img image='bluedish' width='168' height='168'/>"]];
player createDiaryRecord ["Diary", ["Intel", "You are equiped with audio and visual devices in your helmet. We shall be monitoring your progress throughout the mission, giving you updates periodically.<br /> 
The coastal areas between Kamenka, where <marker name='SquadTang'>squad Tang</marker> will land and Balota, with <marker name='SquadShang'>squad Shang</marker> landing at Komanova. Yours shall be closer to <marker name='Balota'>Balota</marker> . Both squads will be softening coastal defenses along with two WZ10 Attack helicopters as the first wave of attack.<br /> 
Proceed in-country for your primary missions.<br />"]];
player createDiaryRecord ["Diary", ["World Overview", "The year is 2015 and wars are won not only by bombs and bullets, but also by Cyberwarfare which the Chinese have been perfecting.<br/>
The Americans and Europeans have seen first hand evidence because they have usually been the victoms of these attacks, with plots carried out by elite Chinese cyber teams located at various Chinese universities<br/>
Major western media had reported that hacked sites included companies and agencies like Google, U.N., the Pentagon, CIA, IMF as well as other European companies and agencies, of course all denied by the Chinese politoburo.<br/>
With the depreciation of the U.S. dollar and the installation of a new world pegged currency, that being the Chinese Yuen, the United States has lost most of it's world military influence and as a result, has had to drastically reduce it's bases world wide, including Chernarus.<br/>
China has taken this opportunity to flex it's military might with the annexation of Taiwan in 2013 and the occupation of the Northern Islands of Japan in 2014 as well as rich oil deposits off the Phillipines, Malaysia and Indonesia.<br />
Most military analyst are predicting a Westward expansion in regards to China's hegemony. It's only a matter of when and where.<br />
As of this time, Russia and China are conducting Naval operations in the Southern waters of Chernarus.  No one would even expect an invasion by the Chinese in this area but one never knows!"]];


taskObj1 = player createSimpleTask ["Demo the Radar"];
taskObj1 setSimpleTaskDescription ["Take out the Radar Jammer using C4 at <marker name=""mkrObj1"">Windy Mountain</marker>so our elite cyber team located on the 'Han' may perform their duties in assisting you and your team. ", "Radar Jammer", ""];
taskObj1 setSimpleTaskDestination (getMarkerPos "mkrObj1");
player setCurrentTask taskObj1;
taskObj1 setTaskState "Succeeded";
/* Task Objective 1 */

taskObj2 = player createSimpleTask ["Take out the delegation"];
taskObj2 setSimpleTaskDescription ["Kill all the foreign trainers <marker name='mkrObj2'>here</marker> so you can use the enemy's SCUD when our Cyber team hacks into the SCUD system.", "Take out the delegation", ""];
taskObj2 setSimpleTaskDestination (getMarkerPos "mkrObj2");
player setCurrentTask taskObj2;
taskObj2 setTaskState "Succeeded";
/* Task Objective 2 */


taskObj3 = player createSimpleTask ["Take out AA"];
taskObj3 setSimpleTaskDescription ["Take out the suspected AA with the enemy's SCUD that our elite Cyber team is hacking into <marker name='mkrObj3'>here</marker> and prepare yourself for your final mission, Comrade.", "Take out the AA", ""];
taskObj3 setSimpleTaskDestination (getMarkerPos "mkrObj3");
player setCurrentTask taskObj3;
taskObj3 setTaskState "Succeeded";
/* Task Objective 3 */


taskObj4 = player createSimpleTask ["Recon the RadTel"];
taskObj4 setSimpleTaskDescription ["Comrade, preceed South to Bolata airport and investigate the Radio Telescope<marker name=""mkrObj4"">Radio Telescope</marker>. ", "Recon the RadTel", ""];
taskObj4 setSimpleTaskDestination (getMarkerPos "mkrObj4");
player setCurrentTask taskObj4;
taskObj4 setTaskState "Succeeded";
/* Task Objective 4 */


taskObj5 = player createSimpleTask ["Destroy the Bunker"];
taskObj5 setSimpleTaskDescription ["Comrade. We must not let the scientist and intelligence staff live with what knowledge they have. Take out the Bunker<marker name=""mkrObj5"">Bunker</marker>!", "Destroy the Bunker", ""];
player setCurrentTask taskObj5;
taskObj5 setTaskState "Succeeded";

/* Task Objective 5 */


taskObj6 = player createSimpleTask ["Extraction"];
taskObj6 setSimpleTaskDescription ["Now proceed to the<marker name=""mkrObj6"">Extraction</marker>.", "Extraction", ""];
taskObj6 setSimpleTaskDestination (getMarkerPos "mkrObj6");
player setCurrentTask taskObj6;
taskObj6 setTaskState "Succeeded";
/* Task Objective 6 */

You will need to reverse taskOBJ as the last entry taskObj6 one will be listed first.

Edited by F2k Sel

Share this post


Link to post
Share on other sites
hmmm this sounds funny.... I would check if the entries are asigned to the player?:confused:

Umm...Sorry, could you be a bit clearer on that? What entries and where is it assigned on the Player? His Init field?

So sorry for my noobish-ness

I noticed a problem with your quotes around SSN "Han" should be SSN 'Han', it should have produced an on screen error report. Are you using -showScriptErrors placed in the target line of the games shortcut.

OK, I'll check that out now

I hate using the short cut method. I always use Arma 2 Launcher.

So much easier. I'll try to get that into the app.

Thanks!

EDIT: Found the "Show Script Errors" on his app. Great!

Thanks for that advice!

NOTE: New Mission makers...use this! -showScriptErrors

You will need to reverse taskOBJ as the last entry taskObj6 one will be listed first.

Just did it. Thanks. Don't know if it is a fix or not but that is indeed the correct method.

EDIT: Looking much better! Now showing.

About Markers for those who want to know:

You marker should be like this.....<marker name='Shilang'>Shilang Aircraft Carrier</marker>

And not like this.....<marker name="Shilang">Shilang Aircraft Carrier</marker>

or not this.....<marker name=""Shilang"">Shilang Aircraft Carrier</marker>

Ya learn from mistakes!

Edited by Kommiekat

Share this post


Link to post
Share on other sites
Umm...Sorry, could you be a bit clearer on that? What entries and where is it assigned on the Player? His Init field?

So sorry for my noobish-ness

Okay. What method are you using to create the tasks? I use A2B_Editor, I find that it's much easier to create the templates. You just fill out the fields and save to the mission folder.

Here is the link: http://www.armaholic.com/page.php?id=7092

Share this post


Link to post
Share on other sites

Is there a way to make a list in the briefing?

all I have is this in my init:

player createDiaryRecord ["Diary",["Notes","The enemy Infantry will respawn only when the entire squad is killed"]];

player createDiaryRecord ["Diary",["Briefing","Objective of the mission is to kill the enemies"]];

with the ; at the end the briefing shows on top and notes on bottom ingame, but for the notes im trying to have like a list setup instead of using the <br> <br/> thing to separate the lines.

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  

×