Bot npc archer: Difference between revisions
m (Nesciuse moved page Bot npc archer/en to Bot npc archer without leaving a redirect: Move en subpage to basepage)  | 
				m (Classifying as model entity)  | 
				||
| Line 1: | Line 1: | ||
{{LanguageBar}}  | {{LanguageBar}}  | ||
{{ent not in fgd}}  | {{ent not in fgd}}  | ||
{{this is a|  | {{this is a|model entity|game=Team Fortress 2|name=bot_npc_archer}}  | ||
{{CD|CBotNPCArcher|bot_npc_archer.cpp}}  | {{CD|CBotNPCArcher|bot_npc_archer.cpp}}  | ||
Revision as of 03:30, 19 May 2025
bot_npc_archer  is a   model entity  available in 
 Team Fortress 2.
| CBotNPCArcher | 
Entity description
This is a NextBot using the models\player\sniper.mdl model which wields a Huntsman. 
It will go into humiliation pose unless one of the following entities is present on the map:
If at least one of those entities exists, the archer will shoot any BLU player which can be attacked. The NPC aims for heads and aims ahead in case a target is moving. When a BLU player is killed by a headshot from this entity, the kill feed will display an environmental headshot death icon. In the case of a bodyshot, a regular environmental death will be shown. Despite first appearances, this NPC is teamless, and can take and give damage to RED or BLU players. A similar teamless state has been seen with poor coding.
Dedicated console variables
| Cvar/Command | Parameters or default value | Descriptor | Effect | 
|---|---|---|---|
| tf_bot_npc_archer_arrow_damage | 75 | arbitrary float | Determines the arrow damage of NPC archer arrows. | 
| tf_bot_npc_archer_health | 100 | arbitrary integer | Determines the health of NPC archer bots. | 
| tf_bot_npc_archer_shoot_interval | 2 | arbitrary float | Determines the interval at which NPC archer bots fire. | 
| tf_bot_npc_archer_speed | 100 | arbitrary integer | Unused. |