Ent text

From Valve Developer Community
Revision as of 02:36, 15 November 2007 by TroceRlabo (talk | contribs)
Jump to navigation Jump to search

interference theory fast furious cars blowjob facials chicago realty realestate agents celebrity upskirts attention v cop 2 money for sex dorm jerk off greek girls little teens bikini dd dirty adult stories canadian diamonds lloyd banks cuckold wife sex engine net 10 colorado springs real estate listing new jersey lottery men masterbating bring the pain drafting paper grow lights fire trucks online flowchart creator sexy sounds increased discharge early pregnancy great legs ragnarok online guild average weather in florida jenna loves briana video jerry classic nudes industrial rubber mouldings equal economic opportunity teen titan hentai basmati rice appalachian trail hotdogs massive tits white wine sexy black teens phoenix cart racing taos vacation rentals naked run video background free milf pics extreme beast sex hard banging fursuit sex lactate teen drug addiction ball gagged casey eat her out free porn stories girls and horses doll palace mother daughter lesbians crosby stills nash and young barcode videoproiectoare kodak ls753 snowboard homage to my hips bible gateway african american female actresses maxim girl gallery i appreciate that email las vegas exotic dancers bunny teens michelle johnson melissa joan heart nude weed identification free sex picture galleries diablo ii shocker brother sex with sister morpeus p2p kids vitamins non nude babes st catherines university planet summer toshiba notebooks jennifer connelly the impossibles business notes where is the vin located on a 1932 dodge ohio lotto agoraphobia medical release form sports m www hg com wedding show illinois wolfenstein riding bareback taylor rain teen incest Template:Wrongtitle

The ent_text console command is a debugging tool for examining an entity's internal state. When enabled on an entity, appropriate data for that entity class will be displayed via text overlayed onscreen. It's extremely useful for debugging entity logic problems and AI problems.

Example

Ent_text display for an NPC and a prop_physics in HL2's d1_trainstaion_03.bsp

An example of ent_text in action. The display has been turned on for the npc_citizen seated in the chair, and for the prop_physics resting on the shelf. See below for a breakdown of the information displayed.

Notes

The information displayed for an entity by the ent_text command differs for each entity type. In general, the information is fairly self explanatory, so this section will only go into a couple of the main entity types that are commonly investigated using this command.

  • Base Entity Information (displayed for all entities)
    • (<entity index>) Name: <targetname> (<classname>)
      If the entity has no targetname, the targetname field will display the entity classname instead.
  • Model Information (displayed for all entities that use models)
    • Model: <model name>
    • Sequence: <sequence index> <activity / sequence name>
    • Cycle: <anim cycle> (<anim time>)
  • NPC Information (displayed for all NPCs)
    • Health: <health>
    • Stat: <AI state>
    • Move: <movement method>
    • Behv: <active behavior, if any>
    • Schd: <active schedule name>
    • Task: <activate task name> <task index in active schedule>
    • Actv: <current activity> (<ideal activity>) (<root / untranslated activity>)
    • Vel: <absolute velocity X Y Z> Ang: <angular velocity X Y Z>
      This will only appear if the NPC is moving and/or rotating.
    • Stress: <amount of physics stress on the NPC>
    • HAS FL_FLY
      This will only appear if the NPC currently has the FL_FLY flag set.
    • Enemy too far to attack
      This will appear if the NPC has the COND_ENEMY_TOO_FAR condition set.
    • Squad Leader
      This will appear if the NPC is the leader of the squad it is in.
  • Prop_Physics Information
    • Mass: <mass in kgs> kg / <mass in lbs> lb (<real world object of similar mass>)
    • Stress: <amount of physics stress on the NPC>
    • Motion Disabled
      This will appear if the object has had its motion disabled (usually due to the mapmaker setting the appropriate flag)
    • Base PropData: <prop data specified by this prop's model>
    • Breakable Chunks: <number of generic gibs this object breaks into> (Max size <maximum size of generic gibs used>)
    • Health: <health>, collision group <collision group>


Caveats

  • Some entities do not require a physical location to perform their function. For these entities, Hammer doesn't export an origin, and as a result, when you ent_text them, their text will appear at the world origin, not the position they appear in Hammer. In general, these entities have classnames beginning with env_ or logic_.

Usage

  • ent_text
    • This will toggle the entity text display for the entity under your crosshair, if any. Note that this only works for entities that are solid (i.e. can be "hit" by the trace).
  • ent_text <entity index>
    • This will toggle the entity text display for the entity matching the specified entity index, if any.
  • ent_text <name>
    • This will toggle the entity text display for all entities whose classname matches the specified name, or whose targetname matches the specified name.