This shows you the differences between two versions of the page.
Last revision Both sides next revision | |||
arma2:missions:html_briefing_to_sqf [2011-07-01 12:36] snakeman created html_briefing_to_sqf initial page. |
arma2:missions:html_briefing_to_sqf [2013-06-24 05:27] snakeman real regex config added. |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Convert ArmA briefing.html to ArmA 2 briefing.sqf ====== | + | ====== Convert OFP / ArmA briefing.html to ArmA 2 briefing.sqf ====== |
- | Convert ArmA briefing.html to ArmA 2 briefing.sqf script file. | + | 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: | Use Powergrep to do the initial converting the html code to ArmA 2 compatible sqf script. With delimited regular expressions use this: | ||
<code> | <code> | ||
- | <a href="marker:===<marker name=' | + | <a href="marker:(.*?)">(.*?)</a>===<marker name = '\1'>\2</marker> |
- | ">==='> | + | |
- | </a>===</marker> | + | |
</code> | </code> | ||