User Tools

Site Tools


arma2:missions:html_briefing_to_sqf

This is an old revision of the document!


Convert OFP / ArmA briefing.html to ArmA 2 briefing.sqf

Convert OFP / ArmA briefing.html to ArmA 2 briefing.sqf script file.

Use Powergrep to do the initial converting the html code to ArmA 2 compatible sqf script. With delimited regular expressions use this:

<a href="marker:(.*?)">(.*?)</a>===<marker name = '\1'>\2</marker>

If you must do it manually, do it like this:

<a href="marker:
replaced with:
<marker name='

">
replaced with:
'>

</a>
replaced with:
</marker>

With that change your markers are compatible. Next you need to manually copy paste the relevant text from the html into your new sqf script, yes there is no automated one click method to magically convert a briefing, some manual work is required.

arma2/missions/html_briefing_to_sqf.1372051626.txt.gz · Last modified: 2013-06-24 05:27 by snakeman