Affix Asset

Creating Affix Categories

To create a new Affix Category asset: Right-click inside your Project folder → Create > Game Creator > Inventory Extended > Affix Category

Each Affix Category represents a single theme of affixes. For example, a Fire category should contain all fire-related affixes.


What are Affix Categories?

Affix Categories allow you to create dynamic item naming systems by grouping related affixes together.

Instead of hardcoding item names, affixes are conditionally applied to items based on rules you define.

This is useful for systems like:

Fire, Ice, or Elemental item naming Conditional prefixes like Broken or Runeforged Dynamic item identity based on properties


How Affix Categories Work

Affix Categories control how affixes are grouped, filtered, and prioritized.

Categories are evaluated when generating an item's name

Each category can contribute a limited number of affixes

Only affixes that pass their conditions are considered

Example

If Fire category Priority is higher than Ice → Fire affixes appear first If Max Allowed is 1 → only one Fire affix is chosen


Category Configuration

Each Affix Category includes the following:

Title Description

Priority Determines order when multiple categories apply Higher values appear first

Max Allowed Per Category Limits how many affixes from this category can be applied

Category Conditions If these are not met, no affixes from this category will be used


Affixes

Each category contains an Affix List.

Use the Add Affix button to create affixes inside the category.

Each affix belongs only to its category.


Affix Configuration

Each affix includes:

Affix Name The text displayed in the item title

Priority Used when multiple affixes from the same category are valid Higher values take precedence

Position Type Defines whether the affix is a Prefix or Suffix

Can Display Conditions Determines whether the affix should appear


Conditions

Conditions allow affixes to react dynamically to item data.

These are typically based on Runtime Item Properties.

Example condition setups:

If Durability = 0 → display Broken as a prefix If item has sockets → display Runeforged

This allows affixes to reflect the current state of the item.


Affix Selection Rules

Affix selection depends on category settings:

If Max Allowed Per Category = 1 Only the highest priority valid affix is used

If Max Allowed Per Category > 1 Multiple affixes can be applied

Affixes are ordered by Priority (highest first)


Item Requirements

Each item that uses affixes must have an Item State.

Enable Use Affixes inside the Item State

If this is disabled, the item will not use affixes


Displaying Affixes

To display the item name with affixes applied:

Use the Set Text instruction Use property Runtime Item State Title

This will automatically include prefixes and suffixes in the final item name.

Last updated