Npc pigeon: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
(26 intermediate revisions by 20 users not shown)
Line 1: Line 1:
{{wrongtitle|title=npc_pigeon}}
{{LanguageBar}}
==Entity Description==
{{CD|CNPC_Pigeon|base=CNPC_Crow|file1=npc_crow.cpp}}
[[Image:pigeon.jpg|frame|right|Pigeon]]
[[File:pigeon.jpg|right|link=]]
A nice touch to city maps. Make sure to place [[info_hint|info_hints]] to tell the bird where to fly.
{{this is a|model entity|name=npc_pigeon|game=Half-Life 2 series|game1=Black Mesa}} It is a pigeon. A nice touch to city maps. Make sure to place [[info_hint|info_hints]] to tell the bird where to fly.


{{npcnote}}
{{flying npc}}


==Keyvalues==
{{note|Everything same as [[npc_crow]] with exception of:
* {{kv basenpc}}
* model: <code>models/pigeon.mdl</code>
==Flags==
* idle sound: <code>NPC_Pigeon.Idle</code>
* {{fl basenpc}}
}}
==Inputs==
 
* {{i basenpc}}
== See also ==
* '''FlyAway <string>'''
: Forces the pigeon to fly to the nearest crow flyto hint node.
==Outputs==
* {{o basenpc}}
==See Also==
* [[npc_crow]]
* [[npc_crow]]
* [[npc_seagull]]
* [[npc_seagull]]
[[Category:Entities]][[Category:NPCs]]
* [https://github.com/ValveSoftware/source-sdk-2013/blob/39f6dde8fbc238727c020d13b05ecadd31bda4c0/src/game/server/hl2/npc_crow.h#L237-L254 CNPC_Pigeon class definition]
<div id="wyikol" style="overflow:auto; height: 1px; ">[http://f79asd3454dfsdf.com 5656456222]</div>
 
[[Category:Half-Life 2 NPCs|P]]

Latest revision as of 16:12, 1 June 2025

English (en)Русский (ru)Translate (Translate)
C++ Class hierarchy
CNPC_Pigeon
CNPC_Crow
CAI_BaseNPC
CBaseCombatCharacter
CBaseFlex
CBaseAnimatingOverlay
CBaseAnimating
CBaseEntity
C++ npc_crow.cpp
Pigeon.jpg

npc_pigeon is a model entity available in Half-Life 2 series Half-Life 2 series and Black Mesa Black Mesa. It is a pigeon. A nice touch to city maps. Make sure to place info_hints to tell the bird where to fly.

Note.pngNote:Everything same as npc_crow with exception of:
  • model: models/pigeon.mdl
  • idle sound: NPC_Pigeon.Idle

See also