Enfusion Blender Tools: Objects Tools – Arma Reforger

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{TOC}}
{{TOC}}


== 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 ==
== 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 recognized suffixes & prefixes is attached below.


Sort Objects have following optional parameters:
Sort Objects have following optional parameters:
Line 52: Line 54:




{{Feature|important|This functionality depends on [[Arma_Reforger:Enfusion_Blender_Tools#Installation|'''Enfusion Blender Tools Data''']] being installed correctly. Without it, '''layer presets & game materials''' will be missing!}}




Line 58: Line 59:


[[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 67: 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]]
=== 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
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

Latest revision as of 16:51, 17 February 2023

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 recognized 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