Home   Help Search Login Register  

Author Topic: SOLVED Why wont briefing work?  (Read 2684 times)

0 Members and 1 Guest are viewing this topic.

Offline stephen271276

  • Members
  • *
SOLVED Why wont briefing work?
« 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??
« Last Edit: 16 Feb 2011, 16:36:55 by stephen271276 »

Offline Zipper5

  • BIS Team
  • ****
Re: Why wont briefing work?
« Reply #1 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.

Offline stephen271276

  • Members
  • *
Re: Why wont briefing work?
« Reply #2 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(
« Last Edit: 16 Feb 2011, 12:23:34 by stephen271276 »

Offline Zipper5

  • BIS Team
  • ****
Re: Why wont briefing work?
« Reply #3 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
« Last Edit: 16 Feb 2011, 13:23:07 by Zipper5 »

Offline stephen271276

  • Members
  • *
Re: Why wont briefing work?
« Reply #4 on: 16 Feb 2011, 13:35:43 »
Thanks man
Got it working, Watch this space for my first Mission.