Enfusion Blender Tools: Objects Tools – Arma Reforger

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "ized" to "ised")
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{TOC}}


== '''Automatic sorting of objects''' ==
== Introduction ==
Objects Tools are collection of various helper scripts to manage Enfusion specific properties. Those tools are part of [[Arma Reforger:Enfusion Blender Tools|Enfusion Blender Tools]]
 
== Automatic Sorting of Objects ==


[[Image:armareforger-blender-object-tools-overview.png|800px|right]]
[[Image:armareforger-blender-object-tools-overview.png|800px|right]]
'''Sort Objects''' operator is located in side panel of viewport and can be found '''Enfusion Tools''' tab. This tool creates new collections for all objects in the scene similar to the structure that is used in Workbench. That means that for instance all objects with one of the collider prefixes like '''UCL, UTM & similar''', will be assigned to '''Colliders''' collection. Additionally, this tool will also create '''sub collections''' for '''layer presets''' it detected on colliders objects, move all '''empty objects''' to '''Memory Points''' collection, and put all '''armatures''' into '''Skeletons''' collection. Full list of all recognized suffixes & prefixes is attached below.
'''Sort Objects''' operator is located in side panel of viewport and can be found '''Enfusion Tools''' tab. This tool creates new collections for all objects in the scene similar to the structure that is used in Workbench. That means that for instance all objects with one of the collider prefixes like '''UCL, UTM & similar''', will be assigned to '''Colliders''' collection. Additionally, this tool will also create '''sub collections''' for '''[[Arma Reforger:Collision Layer|layer presets]]''' it detected on colliders objects, move all '''empty objects''' to '''Memory Points''' collection, and put all '''armatures''' into '''Skeletons''' collection. Full list of all recognised suffixes & prefixes is attached below.


Sort Objects have following optional parameters:
Sort Objects have following optional parameters:
Line 12: Line 16:


{| class="wikitable"
{| class="wikitable"
|'''Suffix/Prefix'''
! Prefix/Suffix
|'''Collection'''
! Collection
|-
|-
|''UCL_''
| ''UCL_''


''UCX_''
''UCX_''
Line 30: Line 34:


''LC_''
''LC_''
|Colliders
| Colliders
|-
|-
| colspan="1" |''PRT_''
| ''PRT_''
| colspan="1" |Light Portals
| Light Portals
|-
|-
| colspan="1" |''BOXVOL_''
| ''BOXVOL_''
| colspan="1" |Volumetric Boxes
| Volumetric Boxes
|-
|-
|''OCC_''
| ''OCC_''
|Occluders
| Occluders
|-
|-
|''SOCKET_''
| ''SOCKET_''
|Memory Points
| Memory Points
|-
|-
|''_LODxx''
| ''_LODxx''
|LODx
| LODx
|}
|}
{{Clear}}
{{Clear}}


== '''Colliders & Layer Presets setup'''  ==
 
 
 
== Colliders & Layer Presets Setup ==


[[Image:armareforger-blender-object-tools-layers.png|800px|right]]
[[Image:armareforger-blender-object-tools-layers.png|800px|right]]
Before using '''Colliders Setup''' tool, you need to define path to your Reforger data. To do so, go '''Edit →''' '''Preferences → Addons  &''' locate '''3D View: Enfusion Tools''' addons. If it's not already activated then please do so!
Before using '''Colliders Setup''' tool, make sure you that you are running '''Workbench with net API enabled'''. '''Materials Tools''' also depend on correctly sorted objects and at least colliders should be located in separate '''Colliders''' collection in '''Blender.'''{{Clear}}
 
In '''Addon Folders''' field please select folder where you have checked out Reforger data. After that, script will fetch from all gproj data about '''all available LayerPresets''' & list all '''Game Materials''' found in those addons. That check is performed on Blender startup, so this list should be always up to date.
{{Clear}}


[[Image:armareforger-blender-object-tools-layers2.png|1400px]]
[[Image:armareforger-blender-object-tools-layers2.png|1400px]]
Line 61: Line 65:
With '''Collider Setup''' button it is possible to change assigned '''Game Material''' or '''Layer Preset''' for one or multiple selected objects in '''Colliders''' collection (''including sub collections'').
With '''Collider Setup''' button it is possible to change assigned '''Game Material''' or '''Layer Preset''' for one or multiple selected objects in '''Colliders''' collection (''including sub collections'').


 
=== Assigning Layer Presets ===
{{Feature|informative|''Game materials menu omits materials which ends with _base word in order to avoid cluttering the list too much.''}}
 
In '''Object Mode''' material will be applied to whole object and will remove all other materials from it. It is also possible to change '''Layer Presets''' in this mode.
In '''Object Mode''' material will be applied to whole object and will remove all other materials from it. It is also possible to change '''Layer Presets''' in this mode.


[[Image:armareforger-blender-object-tools-colliders.gif]]
[[Image:armareforger-blender-object-tools-colliders.gif]]


Assignment of multiple different game materials per object is possible only in '''Edit Mode.''' Such action can be performed by simply selecting some of the faces and then using '''Colliders Setup''' button
=== Assigning game material ===
{{Feature|informative|''Game materials menu omits materials which ends with _base word in order to avoid cluttering the list too much.''}}
 
Assignment of multiple different game materials per object is possible only in '''Edit Mode'''. Such action can be performed by simply selecting some of the faces and then using '''Colliders Setup''' button


[[Image:armareforger-blender-object-tools-colliders-edit.gif]]
[[Image:armareforger-blender-object-tools-colliders-edit.gif]]


{{GameCategory|armaR|Modding|Tutorials|Official Tools|Enfusion Blender Tools}}
{{GameCategory|armaR|Modding|Tutorials|Official Tools|Enfusion Blender Tools}}

Latest revision as of 21:07, 24 May 2024

Introduction

Objects Tools are collection of various helper scripts to manage Enfusion specific properties. Those tools are part of Enfusion Blender Tools

Automatic Sorting of Objects

armareforger-blender-object-tools-overview.png

Sort Objects operator is located in side panel of viewport and can be found Enfusion Tools tab. This tool creates new collections for all objects in the scene similar to the structure that is used in Workbench. That means that for instance all objects with one of the collider prefixes like UCL, UTM & similar, will be assigned to Colliders collection. Additionally, this tool will also create sub collections for layer presets it detected on colliders objects, move all empty objects to Memory Points collection, and put all armatures into Skeletons collection. Full list of all recognised suffixes & prefixes is attached below.

Sort Objects have following optional parameters:

  • Fold collections - All collections will be automatically folded after this action is activated
  • Hide collections - All collections, except first visual LOD, will be hidden
  • Separate by materials - Objects in LOD collections will be additionally separated by their material
Prefix/Suffix Collection
UCL_

UCX_

UBX_

UTM_

USP_

UCS_

COM_

LC_

Colliders
PRT_ Light Portals
BOXVOL_ Volumetric Boxes
OCC_ Occluders
SOCKET_ Memory Points
_LODxx LODx



Colliders & Layer Presets Setup

armareforger-blender-object-tools-layers.png

Before using Colliders Setup tool, make sure you that you are running Workbench with net API enabled. Materials Tools also depend on correctly sorted objects and at least colliders should be located in separate Colliders collection in Blender.

armareforger-blender-object-tools-layers2.png

With Collider Setup button it is possible to change assigned Game Material or Layer Preset for one or multiple selected objects in Colliders collection (including sub collections).

Assigning Layer Presets

In Object Mode material will be applied to whole object and will remove all other materials from it. It is also possible to change Layer Presets in this mode.

armareforger-blender-object-tools-colliders.gif

Assigning game material

Game materials menu omits materials which ends with _base word in order to avoid cluttering the list too much.

Assignment of multiple different game materials per object is possible only in Edit Mode. Such action can be performed by simply selecting some of the faces and then using Colliders Setup button

armareforger-blender-object-tools-colliders-edit.gif