Advertisement

Author Topic: How to make a basic briefing in ArmA 2  (Read 53246 times)

0 Members and 1 Guest are viewing this topic.

Offline Wolfrug

  • Addons Depot
  • Former Staff
  • ****
  • Official OFPEC Old Timer
Re: How to make a basic briefing in ArmA 2
« Reply #30 on: 04 Sep 2010, 08:35:00 »
@K9PT

Most probably by using the stringtable exactly as it's supposed to be used, e.g.:

Code: [Select]
LANGUAGE, "English", "Swedish Chef"

STR_Task1, "Attack the meatball fortress.", "Bork bork bork bork köttbullar bork bork";
STR_Task1Desc1, "Meatball fortress", "Bork bork köttbullar";
STR_Task1Desc2, "Meatballs!", "Bork!";

And then use localize instead of writing out the actual pieces of string:

Code: [Select]
Task1 setSimpleTaskDescription [localize "STR_Task1", localize "STR_Task1Desc1", localize "STR_Task1Desc2"];
It's actually a lot easier than the old method which presupposed a different language .html for each language! But then again, the briefing.html is still needed for the debriefing, so I guess you'll still need to add them  ::)

Wolfrug out.
"When 900 years YOU reach, look as good you will not!"

Offline Variable

  • Members
  • *
  • Fighting for peace is like fucking for virginity
    • Comrades in Arms
Re: How to make a basic briefing in ArmA 2
« Reply #31 on: 28 May 2011, 13:27:16 »
Hi, and thank you!
Where should the image must be saved in order to be displayed in the briefing?
Ok, managed that, but now the picture is showing all white. Can someone help?
This is my code:
Code: [Select]
<img image='warheads.jpg' width='200' height='200'/>
« Last Edit: 28 May 2011, 13:56:16 by Variable »

Offline Variable

  • Members
  • *
  • Fighting for peace is like fucking for virginity
    • Comrades in Arms
Re: How to make a basic briefing in ArmA 2
« Reply #32 on: 04 Jun 2011, 00:59:40 »
Managed to fix the problem by converting the JPEG image to PAA.