Bot generator: Difference between revisions
Jump to navigation
Jump to search
(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…') |
m (Added missing stuff) |
||
Line 9: | Line 9: | ||
{{KV|Team|choices|Which team this generator is for.}} | {{KV|Team|choices|Which team this generator is for.}} | ||
{{KV|Class|choices|Pick the class to spawn. Picking a specifc class with override bot_roster restrictions.}} | {{KV|Class|choices|Pick the class to spawn. Picking a specifc class with override bot_roster restrictions.}} | ||
{{KV|Spawn Command|choices|Command the bot should execute upon spawning.}} | |||
{{KV|Retain Action On Death|boolean|If Yes, all bots will be told to perform the spawn command. If No, only the first will.}} | {{KV|Retain Action On Death|boolean|If Yes, all bots will be told to perform the spawn command. If No, only the first will.}} | ||
{{KV|Action Point|target_destination|Set this to have the bot travel to a specific action point upon spawning if the proper Spawn Command to be set.}} | |||
{{KV|Spawn Count (<1 {{=}} infinite)|integer|The maximum number of bots to spawn from this generator.}} | {{KV|Spawn Count (<1 {{=}} infinite)|integer|The maximum number of bots to spawn from this generator.}} | ||
{{KV|Spawn Interval|integer|Number of seconds between bots spawning from this generator.}} | {{KV|Spawn Interval|integer|Number of seconds between bots spawning from this generator.}} | ||
Line 16: | Line 18: | ||
{{KV|Suppress Fire|boolean|Setting this to Yes will make the bots not attack.}} | {{KV|Suppress Fire|boolean|Setting this to Yes will make the bots not attack.}} | ||
{{KV|Use Spawn Point|boolean|Setting this to Yes will make the bots spawn from an info_player_teamspawn instead of this generator.}} | {{KV|Use Spawn Point|boolean|Setting this to Yes will make the bots spawn from an info_player_teamspawn instead of this generator.}} | ||
{{KV|Difficulty|choices|I think these are correct, but I am not sure, you can leave this blank. - ABS}} | |||
:* 0 : Easy | |||
:* 1 : Normal | |||
:* 2 : Hard | |||
:* 3 : Expert | |||
==Inputs== | ==Inputs== |
Revision as of 00:10, 10 May 2011
bot_generator
is a point entity available in 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
ortarget
).
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.
- Spawn Command ([todo internal name (i)]) <choices>
- Command the bot should execute upon spawning.
- 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.
- Action Point ([todo internal name (i)]) <targetname>
- Set this to have the bot travel to a specific action point upon spawning if the proper Spawn Command to be set.
- 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.
- Difficulty ([todo internal name (i)]) <choices>
- I think these are correct, but I am not sure, you can leave this blank. - ABS
- 0 : Easy
- 1 : Normal
- 2 : Hard
- 3 : Expert
Inputs
- Enable
- Disable
- SetSuppressFire <integer >
- SetDisableDodge <integer >
- SetDifficulty <integer >
Outputs
- OnSpawned
- OnExpended