User:Orinuse/sandbox/tf bot: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
(-)
Tag: Blanking
 
Line 1: Line 1:


'''This is an user page.'''
<!-- Hack -->
<br>
{{distinguish|User:Orinuse/sandbox/TFBot_Technicialities}}
<br>
{{this is a|point entity|game=Team Fortress 2|name=tf_bot}} A {{ent|NextBot}} entity that acts like a {{ent|player}} entity; They represent the bots in [[Team Fortress 2]], which are officially automatically used in the Training and [https://wiki.teamfortress.com/wiki/Mann_vs._Machine Mann Vs. Machine] modes. Outside of these modes, creation of this entity should be done with the {{ent|tf_bot_add}} command.
{{bug|Creating the entity through {{ent|ent_create}} ''will'' crash the game.}}
{{code class|CTFBot|tf_bot.cpp}}
==Keyvalues==
{{KV TeamNum|tf2=1}}
{{todo|Move most of the niche keys in [[:Template:KV BaseAnimating]] to a new page}}
{{KV BaseAnimating|base=1}}
{{KV BaseEntity|base=1}}
==Inputs==
{{IO|IgnitePlayer|param=integer|{{tf2}} Ignites the entity with a specified lifetime and causes a reaction (sound and speech).}}
{{IO|ExtinguishPlayer|{{tf2}} Extinguishes the entity.}}
{{IO|BleedPlayer|param=integer|{{tf2}} Bleeds the entity with a specified length.}}
{{IO|RollRareSpell|{{tf2}} Forces the entity to roll a rare spell. Only available if spells are enabled on the map.}}
{{IO|SetCustomModel|param=string|{{tf2}} Set a custom entity model ''without'' animations.}}
{{IO|SetCustomModelOffset|param=vector|{{tf2}} Set a custom model position on the entity.}}
{{IO|SetCustomModelRotation|param=vector|{{tf2}} Set a custom model rotation on the entity.}}
{{IO|ClearCustomModelRotation|{{tf2}} Clears the custom model rotation.}}
{{IO|SetCustomModelRotates|param=boolean|{{tf2}} Set if the custom model rotates or not to the entity's angles.}}
{{IO|SetCustomModelVisibleToSelf|param=boolean|{{tf2}} Set if the custom model is visible to the entity, in thirdperson.}}
{{IO|SetForcedTauntCam|param=boolean|{{tf2}} Forces the player into thirdperson mode.}}
{{IO|SpeakResponseConcept|param=string|{{tf2}} Forces the player to speak the specified response concept, an example being <code>halloweenlongfall</code>.}}
{{IO|TriggerLootIslandAchievement|{{tf2}} {{todo}}.}}
{{IO|TriggerLootIslandAchievement2|{{tf2}} {{todo}}.}}
{{IO|RoundSpawn|{{tf2}} {{todo}}.}}
{{I TFTeam}}
{{I BaseCombatCharacter}}
{{I BaseAnimating}}
{{I BaseEntity}}
==Outputs==
{{O BaseAnimating}}
{{O BaseEntity}}
==See Also==
* [https://steamcommunity.com/sharedfiles/filedetails/?id=572409016 'TFBot skill levels explained in excruciating detail' - By Sigsegv]<br>
* [https://steamcommunity.com/sharedfiles/filedetails/?id=1911160067 'MvM - Advanced Popfile Techniques' - By Mince and 8 other collaborators]

Latest revision as of 15:16, 2 July 2024