Bot generator: Difference between revisions
Jump to navigation
Jump to search
m (Stub) |
No edit summary |
||
Line 1: | Line 1: | ||
{{ | {{stub| | ||
* Explain Keyvalues, Inputs, and Outputs}} | |||
{{tf2 point|bot_generator}} | {{tf2 point|bot_generator}} | ||
==Entity description== | ==Entity description== | ||
{{ent|bot_generator}} generates bots. | |||
==Keyvalues== | ==Keyvalues== | ||
{{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.}} | ||
Line 20: | Line 19: | ||
{{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 | {{KV|Difficulty|choices|Set the generated bots' difficulty to this value.}} | ||
<!-- I think these are correct, but I am not sure, you can leave this blank. - ABS --> | |||
:* 0 : Easy | :* 0 : Easy | ||
:* 1 : Normal | :* 1 : Normal | ||
:* 2 : Hard | :* 2 : Hard | ||
:* 3 : Expert | :* 3 : Expert | ||
{{KV BaseEntity}} | |||
==Inputs== | ==Inputs== | ||
{{IO| | {{IO|CommandGoToActionPoint nameof {{ent|bot_action_point}}}} | ||
{{ | |||
{{IO|ClearAttentionFocus}} | {{IO|ClearAttentionFocus}} | ||
{{IO|SetAttentionFocus nameoftarget}} | {{IO|SetAttentionFocus nameoftarget}} | ||
Line 41: | Line 38: | ||
{{IO|SetTeam}} | {{IO|SetTeam}} | ||
{{IO|SetParent}} | {{IO|SetParent}} | ||
{{I BaseEntity}} | |||
==Outputs== | ==Outputs== | ||
{{IO|OnSpawned}} | {{IO|OnSpawned}} | ||
{{IO|OnExpended}} | {{IO|OnExpended}} | ||
{{O BasEntity}} |
Revision as of 14:51, 8 November 2021
bot_generator
is a point entity available in Team Fortress 2.
Entity description
bot_generator generates bots.
Keyvalues
- 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>
- Set the generated bots' difficulty to this value.
- 0 : Easy
- 1 : Normal
- 2 : Hard
- 3 : Expert
Inputs
- CommandGoToActionPoint nameof bot_action_point
- ClearAttentionFocus
- SetAttentionFocus nameoftarget
- SetSuppressFire <integer >
- SetDisableDodge <integer >
- SetDifficulty <integer >
- SetTeam
- SetParent
Outputs
- OnSpawned
- OnExpended