Object Import Tool – Arma Reforger

From Bohemia Interactive Community
(Created Initial Page)
 
m (Fix)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Wiki|WIP|Formatting/Appearance}}
{{Infobox/WorkbenchPlugin
|name= CSV Object Import
|editor= world
|descr= A plugin to mass-import terrain objects
|file= {{Link|enfusion://ScriptEditor/scripts/WorkbenchGame/WorldEditor/SCR_ObjectImportPlugin.c}}
|shortcut=
}}
The '''CSV Object Import''' {{Link|Arma Reforger:World Editor}} plugin allows users to parse a CSV file to mass-import objects in the currently-selected world layer.


'''Objects Importer Tool'''


The Objects Importer Tool is a Arma Reforger Plugin that allows users to create objects in world builder based on CSV data.
== CSV File Format ==
<br>
As of v1.6.0, this tool can be found in Plugins -> CSV Object Import


Required CSV Line Syntax:
CSV lines must be formatted the following way:
resourceHash posX posY posZ quatX quatY quatZ quatW scale


<code>"FullPrefabResourceName" PosX PosY PosZ QuatX QuatY QuatZ QuatW Scale
where:
</code>
* resourceHash: the ResourceName (or {GUID}) to be placed
* posX posY posZ: the relative or absolute (depending on {{hl|Relative Y}} setting)
* quatX quatY quatZ quatW: a {{Link|https://en.wikipedia.org/wiki/Quaternions_and_spatial_rotation|quaternion}} determining Prefab's angles
* scale: the wanted Prefab's scale


&nbsp;
{{Feature|important|
* Prefab resource name MUST be in double quotes. Single quotes or no quotes '''will''' cause a parsing error.
* As of {{GVI|armaR|1.6.0}}, only '''spaces''' are supported as data field separation.
* As of {{GVI|armaR|1.6.0}}, the parser expects '''exactly''' nine fields.
}}


Notes:
 
* Prefab resource name MUST be in double quotes. Single quotes or no quotes will cause a parsing error.
{{GameCategory|armaR|Modding|Official Tools|World Editor Tools}}
* CSV delimiter MUST be a space character. Commas will cause a parsing error.
* The governing script is: <code>SCR_ObjectImportPlugin</code>

Latest revision as of 14:00, 29 January 2026

CSV Object Import

World Editor plugin


A plugin to mass-import terrain objects

File: SCR_ObjectImportPlugin.c

The CSV Object Import World Editor plugin allows users to parse a CSV file to mass-import objects in the currently-selected world layer.


CSV File Format

CSV lines must be formatted the following way:

resourceHash posX posY posZ quatX quatY quatZ quatW scale

where:

  • resourceHash: the ResourceName (or {GUID}) to be placed
  • posX posY posZ: the relative or absolute (depending on Relative Y setting)
  • quatX quatY quatZ quatW: a quaternion determining Prefab's angles
  • scale: the wanted Prefab's scale
  • Prefab resource name MUST be in double quotes. Single quotes or no quotes will cause a parsing error.
  • As of armareforger-symbol black.png 1.6.0, only spaces are supported as data field separation.
  • As of armareforger-symbol black.png 1.6.0, the parser expects exactly nine fields.