Profile: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "All Real Virtuality games allow you to create multiple profiles. Personal settings like video configuration, campaign progress or controls assigments are saved in profile...")
 
m (Categorize to used ArmA: Editing instead of unused Armed Assault: Editing)
(3 intermediate revisions by one other user not shown)
Line 14: Line 14:
|[[File:ofp 1.00.gif]]
|[[File:ofp 1.00.gif]]
|'''[[Arma: Cold War Assault]]'''
|'''[[Arma: Cold War Assault]]'''
|<code><span style="color:green">%Arma: CWA directory%</span>\Users\<span style="color:green">ProfileName</span>\</code>
|<code><span style="color:green">Arma: CWA directory</span>\Users\<span style="color:green">ProfileName</span>\</code>
|N/A
|N/A
|-
|-
Line 43: Line 43:


== Contents ==
== Contents ==
* '''<span style="color:green">ProfileName</span>.<span style="color:darkorange">Extension</span>''' - file with all basic profile settings.
=== Files ===
* '''<span style="color:green">ProfileName</span>.<span style="color:darkorange">Extension</span>''' - file with all basic profile settings. Commonly reffered to as a '''profile file'''.
* '''<span style="color:green">ProfileName</span>.vars.<span style="color:darkorange">Extension</span>''' - file with scripted variables used by scenarios or modules. See [[#scripting|Scripting]] section below for more details. The file is binarized, which means it's encrypted and cannot be opened as a plain text and saved afterwards. This is to prevent cheating by editing values of certain variables.
* '''<span style="color:green">ProfileName</span>.vars.<span style="color:darkorange">Extension</span>''' - file with scripted variables used by scenarios or modules. See [[#scripting|Scripting]] section below for more details. The file is binarized, which means it's encrypted and cannot be opened as a plain text and saved afterwards. This is to prevent cheating by editing values of certain variables.
* '''<span style="color:green">ProfileName</span>.3den.<span style="color:darkorange">Extension</span>''' - [[Eden Editor]] specific settings.
* '''<span style="color:green">ProfileName</span>.3den.<span style="color:darkorange">Extension</span>''' - [[Eden Editor]] specific settings.
* '''UserInfo.cfg''' - file with all basic profile settings used in Arma: CWA.
* '''UserInfo.cfg''' - file with all basic profile settings used in Arma: CWA.
* '''''Compositions'''''
=== Folders ===
* '''''Missions'''''
* '''''Compositions''''' - [[Eden_Editor:_Custom_Composition|custom compositions]] saved by the editor
* '''''MPMissions'''''
* '''''Missions''''' - scenarios saved by [[Eden Editor]]
* '''''Saved'''''
* '''''MPMissions''''' - scenarios saved by [[Eden Editor]] when it was opened on a server
* '''''UserSaved'''''
* '''''Saved''''' - savegames of scenarios and campaigns. Also contains local versions of subscribed Steam scenarios.
* '''''Screenshot''''' - folder where pictures are saved by [[screenshot]] command. By default limited to 250 MB to prevent abuse, see the command page for description how to increase the size.
* '''''UserSaved''''' - savegames of scenarios previewed in the editor.


== Scripting ==
== Scripting ==
 
You can save any variable to the profile using [[profileNamespace]] command. This is used to preserve persistant information like character progress, resources or various mod settings.
profileNamespace setVariable ["myVariable",1];
This will save it to namespace, but not yet to the file itself, so restarting would not preserve the variable. To mirror the namespace into the file, call:
[[saveProfileNamespace]]
Once set, you can retrieve the variable using:
_maVar = profileNamespace getVariable "myVariable";
{{Important|Do not save large amount of data to the profile! The larger the profile file gets, the slower it loads!}}


[[Category:Arma 3: Editing]]
[[Category:Arma 3: Editing]]
[[Category:ArmA 2: Editing]]
[[Category:ArmA 2: Editing]]
[[Category:Armed Assault: Editing]]
[[Category:ArmA: Editing]]
[[Category:Operation Flashpoint: Editing]]
[[Category:Operation Flashpoint: Editing]]

Revision as of 16:59, 3 May 2018

All Real Virtuality games allow you to create multiple profiles. Personal settings like video configuration, campaign progress or controls assigments are saved in profile files.

Directory

Path varies depending on a project, see following table for specific directories.

Green text means variable based on your local settings.

Icon Game Path Extension
ofp 1.00.gif Arma: Cold War Assault Arma: CWA directory\Users\ProfileName\ N/A
arma 1.00.gif Arma: Armed Assault My Documents\ArmA\
My Documents\ArmA Other Profiles\ProfileName\
*.ArmAProfile
arma2 1.00.gif Arma 2 My Documents\ArmA 2\
My Documents\ArmA 2 Other Profiles\ProfileName\
*.ArmA2Profile
arma2oa 1.51.gif Arma 2: Operation Arrowhead *.ArmA2OAProfile
TKOH 1.00.gif Take On Helicopters My Documents\Take On Helicopters\
My Documents\Take On Helicopters Other Profiles\ProfileName\
*.TakeOnHProfile
arma3 1.00.gif Arma 3 My Documents\Arma 3\
My Documents\Arma 3 - Other Profiles\ProfileName\
*.Arma3Profile

Contents

Files

  • ProfileName.Extension - file with all basic profile settings. Commonly reffered to as a profile file.
  • ProfileName.vars.Extension - file with scripted variables used by scenarios or modules. See Scripting section below for more details. The file is binarized, which means it's encrypted and cannot be opened as a plain text and saved afterwards. This is to prevent cheating by editing values of certain variables.
  • ProfileName.3den.Extension - Eden Editor specific settings.
  • UserInfo.cfg - file with all basic profile settings used in Arma: CWA.

Folders

  • Compositions - custom compositions saved by the editor
  • Missions - scenarios saved by Eden Editor
  • MPMissions - scenarios saved by Eden Editor when it was opened on a server
  • Saved - savegames of scenarios and campaigns. Also contains local versions of subscribed Steam scenarios.
  • Screenshot - folder where pictures are saved by screenshot command. By default limited to 250 MB to prevent abuse, see the command page for description how to increase the size.
  • UserSaved - savegames of scenarios previewed in the editor.

Scripting

You can save any variable to the profile using profileNamespace command. This is used to preserve persistant information like character progress, resources or various mod settings.

profileNamespace setVariable ["myVariable",1];

This will save it to namespace, but not yet to the file itself, so restarting would not preserve the variable. To mirror the namespace into the file, call:

saveProfileNamespace

Once set, you can retrieve the variable using:

_maVar = profileNamespace getVariable "myVariable";
Do not save large amount of data to the profile! The larger the profile file gets, the slower it loads!