Skip to content
Media 0 for listing Clever Objects

Description

Trailer Video (YouTube)

Documentation (GitHub)

Packaged Example Game (GoogleDrive)

Example Game Project (GitHub)

The Clever Objects system is a flexible and efficient plugin designed to bring life to NPCs and environment with celver slot based actions using in-game objects. Inspired by Unreal Engine’s Smart Objects, Clever Objects offers several advantages, including support for both AI and non-AI characters, and it functions without the need for WorldPartition, and in general easier to implement.

This system creates interactions where characters engage with objects, such as chairs, computers, or beds, through predefined "slots." These slots are managed using GameplayTags, which govern which characters can interact with specific objects. For example, only security NPCs might be allowed to use a "Guard" slot, while engineers could access a slot tagged for "Computer Interaction."

The core workflow includes the following:

  • Defining Slots on Objects: Developers add the CleverSlot component to in-game objects (e.g., chairs, computers) to create interactive slots. Each slot specifies the action to be performed when occupied, such as playing Animation Montage of sitting or using a terminal.
  • Claiming and Using Slots: Characters with the CleverObjectsUser component can search for, claim, and use available slots. The system ensures that only characters with matching GameplayTags or specified conditions can use a particular slot, creating controlled and purposeful interactions.
  • Executing Actions: Once a slot is claimed and then used, a corresponding CleverAction is triggered, governing the character’s behavior—such as animations or interactions. These actions can run for a predefined duration or conclude based on custom criteria.
  • Dynamic Conditions: Using interfaces like CleverObjectsInterface and CleverUserInterface, developers can impose additional conditions for slot usage. This might include time-of-day restrictions or ensuring the character has unlocked access to the relevant areas.

Included formats

  • logo of Unreal Engine format