Object Import Tool – Arma Reforger

From Bohemia Interactive Community
m (Some wiki formatting)
m (Fix)
 
Line 11: Line 11:
== CSV File Format ==
== CSV File Format ==


The CSV file must be formatted the following way:
CSV lines must be formatted the following way:
  resourceHash posX posY posZ quatX quatY quatZ quatW scale
  resourceHash posX posY posZ quatX quatY quatZ quatW scale
where:
where:
* resourceHash: the ResourceName (or {GUID}) to be placed
* resourceHash: the ResourceName (or {GUID}) to be placed
Line 22: Line 23:
* Prefab resource name MUST be in double quotes. Single quotes or no quotes '''will''' cause a parsing error.
* 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}}, only '''spaces''' are supported as data field separation.
* As of {{GVI|armaR|1.6.0}}, the parser expects nine fields and nine fields only.
* As of {{GVI|armaR|1.6.0}}, the parser expects '''exactly''' nine fields.
}}
}}




{{GameCategory|armaR|Modding|Official Tools|World Editor Tools}}
{{GameCategory|armaR|Modding|Official Tools|World Editor Tools}}

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.