Agent override dialog

You can override the module metadata to customize your simulation even more.
Select a module from the module list (depending on what you did when setting up your agent group), then press the override button next to an attribute.

Agent Override GUI

This GUI will always display a row for each agent in your agent group.
If you edit the number of your agents and had this window open, you will have to press the refresh button to see the right number of agents in the override GUI.

With "Automatic update" on, any override value in the GUI will be updated dynamically.

You can also "Remove" the selected overrides or "Clear" the entire list.

Random values can be assigned to some override attributes (i.e. integer, float, bool, vector3, vector2, vector4, etc.). By pressing the "Value:" button in the bottom-left corner, you will swap the value field with a range field. Provide the range of values you want to use and click on randomize.
A list randomization mode is also available for most attributes, a list will display at the bottom of the UI after pressing the button on the bottom-left corner. After filling the list with values, you can then randomize the overrides by pressing the "Randomize" button.

You can also edit the animation for some override attributes (integer, float, bool, vector3), press the "Keys" button and select one of the options from the sub-menu. 

The last button () lets users select agents having the override value:

  • equal to the value provided when in value mode
  • within the range provided when in range mode

The menu

Edit: 

  • Remove: removes the overrides for the selected agents
  • Clear: Remove the overrides for all agents
  • Invert selection: inverts the agent selection (CTRL + SHIFT + I)
  • Deselect All: deselect all the agents (Alt + D)
  • Select All: selected all the agents (CTRL + A)
  • Init Random values: initializes the random range at the bottom of the UI with the minimum and maximum values already used as overrides. It also initialize the list for the randomization in list mode.

  • Fill override values: randomizes all empty overrides using as minimum and maximum the override values already used. For string metadatas, it will use one value among the ones already in use.

Options:

  • Show selected agents only: only shows the selected agents in the list. When this option is on, users won't be to select agents from the list anymore. Agents should be selected with the layout tool in the viewport.
  • Show filtered agents: when this option is on, overrides for filtered agents will be shown in the list.
  • Randomize uniform values: this option is only available for vector attributes and only works in randomization mode. When on, only the first value of the min and max range vectors are going to be used for randomizing the overrides. In this way, you will get vectors having all their components with the same value.

  • MAYA: When using python please make sure your agent override plug id is always the same as the "Key" compound child attribute. If these two values will differ, you might experience unpredictable results.
  • HOUDINI: Unlike Maya the agent override dialog performances can be quite slow when it comes to agent groups with several thousand agents. This is because the different way Houdini has for handling parms/attributes.

Copyright © 2017, Toolchefs LTD.