OFPEC Forum

Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting General => Topic started by: stephen271276 on 16 Feb 2011, 11:30:00

Title: SOLVED Why wont briefing work?
Post by: stephen271276 on 16 Feb 2011, 11:30:00
ive created a briefing via A2B and saved it in my mission folder as briefing.sqf
Then Ive run it in the init.sqf but for some reason it wont show up when i preview the mission? can anyone help?
Other things in my init.sqf run fine but the briefing I m ade just wont show up??
Title: Re: Why wont briefing work?
Post by: Zipper5 on 16 Feb 2011, 12:00:48
Your mission needs to have a briefing.html file, but it only needs to include the debriefing sections.
Title: Re: Why wont briefing work?
Post by: stephen271276 on 16 Feb 2011, 12:12:59
So I need a briefing .sqf and a briefing.html?
Do you have a template html file handy?
It doesnt tell you this in any tutorial I can see? :o(
Title: Re: Why wont briefing work?
Post by: Zipper5 on 16 Feb 2011, 13:20:13
Yes, you need both. Here's a template:
Code: [Select]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
</head>
<body>
<h2><a name="debriefing:end1"></a><br>
End #1
</h2><br><p>
End #1 debriefing screen text.
</p><br><hr>
<h2><a name="debriefing:end2"></a><br>
End #2
</h2><br><p>
End #2 debriefing screen text.
</p><br><hr>
<h2><a name="debriefing:end3"></a><br>
End #3
</h2><br><p>
End #3 debriefing screen text.
</p><br><hr>
<h2><a name="debriefing:end4"></a><br>
End #4
</h2><br><p>
End #4 debriefing screen text.
</p><br><hr>
</body>
</html>
The reason there's lack of info on this is because... Well... Most mission makers nowadays are MP only for some reason, and in MP it always shows the briefing screen before you start the mission regardless of whether or not there's a briefing.html file present in the mission's folder.

Heck, I bet you could ask today's mission making community if they knew you needed a briefing.html file to show a briefing before the mission begins when working in SP, and 90% of them wouldn't know it. :P
Title: Re: Why wont briefing work?
Post by: stephen271276 on 16 Feb 2011, 13:35:43
Thanks man
Got it working, Watch this space for my first Mission.