Eden Editor: Object Categorization

From Bohemia Interactive Community
Revision as of 16:18, 22 January 2016 by Str (talk | contribs) (Created page with "== Hierarchy == right ===Mode Sorting=== # '''Mode''' - All objects placed in ''Objects'' mode # '''Submode''' - Characters and vehicles...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Hierarchy

3den objectCategorization.png

Mode Sorting

  1. Mode - All objects placed in Objects mode
  2. Submode - Characters and vehicles are sorted per side (e.g., BLUFOR), the rest is under Props

Object Sorting

  1. Category - the topmost tree hierarchy item. Characters and vehicles are usually sorted by faction (e.g., NATO), while props are sorted by some shared functionality (e.g., Furniture)
  2. Subcategory - more detailed categorization specific to the main category.
  3. Object - the object asset which can be actually placed. Identified by an icon; categories don't have one.


Configuration

// MODE
// All objects are configured in CfgVehicles (even those which are not vehicles)
class CfgVehicles
{
	class MyObject: Car
	{
		// SUBMODE
		// The side decides under which submode is the object sorted
		// Irrelevant when the class doesn't inherit from AllVehicles or any of its child classes (e.g., Car)
		side = 1;

		// CATEGORY
		// Two ways how to set it exist. When both are present, editorCategory has priority.
		editorCategory = "MyCategory"; // Class from CfgEditorCategories
		faction = "MyCategory"; // Class from CfgFactionClasses

		// SUBCATEGORY
		// Two ways how to set it exist. When both are present, editorSubcategory has priority.
		editorSubcategory = "MySubcategory"; // Class from CfgEditorSubcategories
		vehicleClass = "MySubcategory"; // Class from CfgVehicleClasses
	};
};

Categories and Subcategories