npc_group

Function used in mission creation.

Properties

General rule : All property beginning with ‘bot_’ are field that are default value for all the bots in the group. In certain case, they can be replaced or merged in the bot definition.

autoSpawn : if checked, the bots of the group are automatically spawn when the group is spawned. Otherwise, you must run an explicit ‘spawn’ action to spawn the bots.

bot_chat_parameters : Describe the reference chat for the bots. Chat is specified with a series of keywords followed by a colon then by parameter(s).

NB: the negator keyword (-shop, -item and –mission) are more used in npc_state_chat nodes to dynamically change the content of the shop/chat.

bot_equipment : Describe the equipment for the bots. Equipment is specified with a series of keywords followed by a colon then by parameter(s). Keywords are case insensitive and must be placed one by line.

New detailed coloration:

Old commands (keep for compatibility and usefulness)

bot_keywords : This is a set of keywords for the bots.

bot_level : This is the level of the generated bot for ‘unamed’ bots. The level is appended to the end of the bot_sheet_server to obtain the server_sheet name.

bot_sheet_client : This is the ‘visual’ sheet for the bots. All visual information are extracted from this sheet (e.g. sex, race, clothes…).

count : This is the number of bots to generate. This should be 0 for named bots (i.e. explicit bot created under the npc_group).

grp_keyword : This is the set of keywords that belong to this group.

See also npc_group_parameter.