Object Import Tool – Arma Reforger
Category: Arma Reforger/Modding/Official Tools/World Editor Tools
Hypoxic125 (talk | contribs) (Created Initial Page) |
Lou Montana (talk | contribs) m (Fix) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{ | {{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. | |||
== 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 {{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 | |||
{{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. | |||
}} | |||
{{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