OAC:HowToImproveTheCompatibilityAddon: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
Line 1: Line 1:
[[Image:Banner biki.jpg]]
[[Image:Banner biki.jpg]]


=# VII. How to improve the compatibility addon=
=# VII. How to improve OAC=


Project OAC uses [http://en.wikipedia.org/wiki/Git_%28software%29 Git] as source control (SC) system for the development.
Project OAC uses [http://en.wikipedia.org/wiki/Git_%28software%29 Git] as source control (SC) system for the development.
Line 7: Line 7:
You can:
You can:


* download the complete source with Git
* download the complete source with Git and play-test unreleased missions and campaigns
* improve the existing code
* improve the existing missions and campaigns
* add new class mappings  
* add new class mappings to the OFP compatibility addon


and upload your changes again for everyone to use and improve.
and upload your changes again for everyone to use and improve.
The repository contains all campaigns and missions in development and released, <br>
all their voice files, the OFP music files, replacement addons for community addons,<br>
[[CWR]] and Project 85. The size is 1 GB and growing.
==Git: Source control system==
1) Install git and check out the repository:
* http://dev-heaven.net/wiki/heaven/Git
* http://dev-heaven.net/wiki/heaven/Git_Gui_Guide
IMPORTANT: Download OAC directly into this folder:
.\arma\x\oac
2) Pull (download) and push (upload) are explained in the guide above.
If you have any questions, please use the new OAC forum:<br>
http://dev-heaven.net/projects/oac/boards


==Repository access==
==Repository access==
Line 19: Line 39:
Repository URL:
Repository URL:
  git@git.dev-heaven.net:oac.git
  git@git.dev-heaven.net:oac.git


==Coding standards==
==Coding standards==

Revision as of 19:19, 7 April 2009

Banner biki.jpg

# VII. How to improve OAC

Project OAC uses Git as source control (SC) system for the development.

You can:

  • download the complete source with Git and play-test unreleased missions and campaigns
  • improve the existing missions and campaigns
  • add new class mappings to the OFP compatibility addon

and upload your changes again for everyone to use and improve.

The repository contains all campaigns and missions in development and released,
all their voice files, the OFP music files, replacement addons for community addons,
CWR and Project 85. The size is 1 GB and growing.


Git: Source control system

1) Install git and check out the repository:

IMPORTANT: Download OAC directly into this folder:

.\arma\x\oac

2) Pull (download) and push (upload) are explained in the guide above.

If you have any questions, please use the new OAC forum:
http://dev-heaven.net/projects/oac/boards


Repository access

Send kju your ssh key. Check the ssh guide how to create one for you.

Repository URL:

git@git.dev-heaven.net:oac.git


Coding standards

  • Get a proper text editor like notepad++ or editpadpro.
  • Do not mess up the code:
    • Preceding tabs - NO spaces! - before the code.
    • Correct number of preceding tabs.
    • NO tabs or spaces at the end of the line.
    • Spaces around an equal sign are standard.
    • One space after a colon, not before it.
    • Do not forget a semicolon to end definitions.
    • Use quotes for strings.
    • Correct placement of brackets.
  • Use comments where they are meaningful.
  • Use empty lines to separate code.
  • Order lists alphabetically - use editor functions!
  • Create a file header for addons according to the standard.
  • Name addons according to the standard.


Back to OAC Home

The seven roads to OAC - subpage link overview