bot_generator

From Valve Developer Community
Revision as of 20:13, 9 May 2011 by Barracuda (talk | contribs) (Created page with '{{tf2 point|bot_generator}} ==Entity description== Controls the creation of bots. ==Keyvalues== {{KV Targetname}} {{KV Angles}} {{KV|Team|choices|Which team this generator is f…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Team Fortress 2 bot_generator is a point entity available in Team Fortress 2 Team Fortress 2.

Entity description

Controls the creation of bots.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Pitch Yaw Roll (Y Z X) (angles) <QAngle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
Team ([todo internal name (i)]) <choices>
Which team this generator is for.
Class ([todo internal name (i)]) <choices>
Pick the class to spawn. Picking a specifc class with override bot_roster restrictions.
Retain Action On Death ([todo internal name (i)]) <boolean>
If Yes, all bots will be told to perform the spawn command. If No, only the first will.
Spawn Count (<1 = infinite) ([todo internal name (i)]) <integer>
The maximum number of bots to spawn from this generator.
Spawn Interval ([todo internal name (i)]) <integer>
Number of seconds between bots spawning from this generator.
Max Active ([todo internal name (i)]) <integer>
Maxmimum number of bots from this generator that can be active at once.
Disable Dodging ([todo internal name (i)]) <boolean>
Setting this to Yes prevent the bots from making erratic movements in an effort to dodge.
Suppress Fire ([todo internal name (i)]) <boolean>
Setting this to Yes will make the bots not attack.
Use Spawn Point ([todo internal name (i)]) <boolean>
Setting this to Yes will make the bots spawn from an info_player_teamspawn instead of this generator.

Inputs

Template:I Angles

Enable
Disable
SetSuppressFire <integerRedirectInput/integer>
SetDisableDodge <integerRedirectInput/integer>
SetDifficulty <integerRedirectInput/integer>

Outputs

OnSpawned
OnExpended