OAC:HowToConvertMissionsAndShare: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Some wiki formatting)
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Image:Banner biki.jpg]]
[[File:Banner biki.jpg]]


=VI. How to convert missions and share=
= VI. How to convert missions and share =


==Mission Conversion Guide==
== Mission Conversion Guide ==


In your OAC folder you find a folder called powerGREP configs:<br>
In your OAC folder you find a folder called powerGREP configs:<br>
'''.\arma\x\oac\powergrep-configs'''
'''.\arma\x\oac\powergrep-configs'''


# Download the free [http://www.powergrep.com/download.html PowerGREP Free Evaluation Version].
# Download the free {{Link|http://www.powergrep.com/download.html|PowerGREP Free Evaluation Version}}.
# Open the software.
# Open the software.
# Ctrl+O ('''Open action''' / yellow folder in the mid) - select first powerGREP config from OAC: '''arma_convert_description_1._setSemicolonAtTheEndOfLine_in_everyLine.pga'''
# Ctrl+O ('''Open action''' / yellow folder in the mid) - select first powerGREP config from OAC: '''arma_convert_description_1._setSemicolonAtTheEndOfLine_in_everyLine.pga'''
Line 15: Line 15:
# Ctrl+F9 ('''Replace''' button in the top mid).
# Ctrl+F9 ('''Replace''' button in the top mid).
# Repeat step 3 to 6 of this guide for '''all''' OAC powerGREP configs.
# Repeat step 3 to 6 of this guide for '''all''' OAC powerGREP configs.
# Run powerGREP config number two again ('''arma_convert_description_2._removeSemicolonAtTheEndOfLine_in_everyLineNonMeantToBe.pga''').
# Run powerGREP config number two again<br>('''arma_convert_description_2._removeSemicolonAtTheEndOfLine_in_everyLineNonMeantToBe.pga''').
# Test your mission/campaign ingame and fix any remaining errors.
# Test your mission/campaign ingame and fix any remaining errors.{{Clear}}[[File:Oac_powergrep_tut.jpg|thumb|left|600px|OAC powerGREP tutorial]]{{Clear}}
 
<br clear="all" />
[[Image:Oac_powergrep_tut.jpg|thumb|600 px|OAC powerGREP tutorial|left]]
<br clear="all" />


'''The powerGREP configs should do like 90% of the work for you already'''.
'''The powerGREP configs should do like 90% of the work for you already'''.


The powerGREP configs contain regex to do an advanced search and replace operation.<br>
The powerGREP configs contain regex to do an advanced search and replace operation.<br>
More information on [http://www.regular-expressions.info/ http://www.regular-expressions.info/].
More information on {{Link|https://www.regular-expressions.info/}}.


==Missing addons==
 
== Missing addons ==


At times the missions contain missing addons, vehicle or units.
At times the missions contain missing addons, vehicle or units.
Line 33: Line 30:
It is '''NOT''' recommended to replace them yourself or exchange the classes in the mission.sqm and scripts.
It is '''NOT''' recommended to replace them yourself or exchange the classes in the mission.sqm and scripts.


Instead please [[OAC:Project#Support_OAC|contact us]] to have your missing addon, vehicle or unit included in the [[OAC compatibility addon]].<br>
Instead please create a ticket in the {{Link|link= http://dev-heaven.net/projects/oac/issues|text= OAC issue tracker}} and add the information about the missing addon,
vehicle or unit with class name, example mission and best a link to the actual OFP addon.<br>
We will included it in the [[OAC compatibility addon]] to solve in on the global level.<br>
This will replace all instance magically without mission modification by a simple class replacement as part of the addon.<br>
This will replace all instance magically without mission modification by a simple class replacement as part of the addon.<br>


'''It will speed up the process, if you can suggest an unit/vehicle or even class mapping yourself'''.
'''It will speed up the process, if you can suggest an unit/vehicle or even class mapping yourself'''.


==Share==


=Back to OAC Home=
== Share your contributions ==
 
Contributions are:
* Updated or improved missions or campaigns
* Your own mission or campaign conversions
* Your own replacement addons for OFP classes
 
See [[OAC:HowToImproveTheCompatibilityAddon|Git: Source control system]] how to share your work with the OAC project and its fans.
 
= Back to OAC Home =


[[OAC:Project#The_seven_roads_to_OAC_-_subpage_link_overview|The seven roads to OAC - subpage link overview]]
[[OAC:Project#Subpage_link_overview|The seven roads to OAC - subpage link overview]]

Latest revision as of 21:07, 17 April 2024

Banner biki.jpg

VI. How to convert missions and share

Mission Conversion Guide

In your OAC folder you find a folder called powerGREP configs:
.\arma\x\oac\powergrep-configs

  1. Download the free PowerGREP Free Evaluation Version.
  2. Open the software.
  3. Ctrl+O (Open action / yellow folder in the mid) - select first powerGREP config from OAC: arma_convert_description_1._setSemicolonAtTheEndOfLine_in_everyLine.pga
  4. Select your mission / campaign folder (Path on the left mid).
  5. Shift+Ctrl+I (Inlude all folders and subfolders).
  6. Ctrl+F9 (Replace button in the top mid).
  7. Repeat step 3 to 6 of this guide for all OAC powerGREP configs.
  8. Run powerGREP config number two again
    (arma_convert_description_2._removeSemicolonAtTheEndOfLine_in_everyLineNonMeantToBe.pga).
  9. Test your mission/campaign ingame and fix any remaining errors.
    OAC powerGREP tutorial

The powerGREP configs should do like 90% of the work for you already.

The powerGREP configs contain regex to do an advanced search and replace operation.
More information on https://www.regular-expressions.info/.


Missing addons

At times the missions contain missing addons, vehicle or units.

It is NOT recommended to replace them yourself or exchange the classes in the mission.sqm and scripts.

Instead please create a ticket in the OAC issue tracker (dead link) and add the information about the missing addon, vehicle or unit with class name, example mission and best a link to the actual OFP addon.
We will included it in the OAC compatibility addon to solve in on the global level.
This will replace all instance magically without mission modification by a simple class replacement as part of the addon.

It will speed up the process, if you can suggest an unit/vehicle or even class mapping yourself.


Share your contributions

Contributions are:

  • Updated or improved missions or campaigns
  • Your own mission or campaign conversions
  • Your own replacement addons for OFP classes

See Git: Source control system how to share your work with the OAC project and its fans.

Back to OAC Home

The seven roads to OAC - subpage link overview