1. Home
  2. Unity RTS Engine
  3. NPC Factions
  4. NPC Resource Manager

NPC Resource Manager

The NPC Resource Manager is responsible for managing faction resources.

When creating a new NPC Manager object using the RTS Engine menu. The NPC Resource Manager is a component of the new NPC Manager’s ‘NPCResourceManager’ child object.

  1. Resource Need Ratio Range (>= 1.0): When the faction wants to spend X amount of a resource type, it must have X*Resource_Need_Ratio of that resource type.
  2. Resource Exploit Ratio Range (between 0.0 and 1.0): This defines the ratio of the resources that can be collected to the available resources in the faction’s territory.

How can we help?