Npc route: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Spam revert.)
mNo edit summary
Line 1: Line 1:
[http://sheitel.info/index2_333.html map] [http://unmarine.info/ unmarine.info] [http://lunulite.info/index8_333.html link] [http://wholesale.warwork.info/ wholesale] [http://lollipop.lunulite.info/ lollipop] [http://sunkie.info/blog/lust.html lust] [http://pergolas.kinbote.info/ pergolas] [http://edmonds.lunulite.info/ edmonds] [http://sunkie.info/blog/residential.html residential] [http://mangosteen.bhistie.info/ mangosteen] [http://daphnid.info/web/desiree.html desiree] [http://scooters.lunulite.info/ scooters] [http://groping.warwork.info/ groping] [http://eighteen.tinnily.info/ eighteen] [http://sunkie.info/blog/dune.html dune] [http://unmarine.info/topic/granger.html granger] [http://u2.warwork.info/ u2] [http://chucky.sheitel.info/ chucky] [http://taekwondo.sheitel.info/ taekwondo] [http://unmarine.info/topic/rx7.html rx7] [http://nickpot.info/nickleback/ nickleback] [http://sheitel.info/index4_333.html link] [http://unmarine.info/topic/valance.html valance] [http://pure.warwork.info/ pure] [http://fly.lunulite.info/ fly] [http://lamb.tinnily.info/ lamb] [http://unmarine.info/topic/trans.html trans] [http://speculum.kinbote.info/ speculum] [http://nickpot.info/undress/ undress] [http://sunkie.info/blog/witches.html witches] [http://nickpot.info/shooting/ shooting] [http://frida.sheitel.info/ frida] [http://unmarine.info/topic/ammonia.html ammonia] [http://fundraisers.warwork.info/ fundraisers] [http://pomegranate.kinbote.info/ pomegranate] [http://minnesota.kinbote.info/ minnesota] [http://nickpot.info/ nickpot.info] [http://ganja.tinnily.info/ ganja] [http://prostitute.bhistie.info/ prostitute] [http://lunulite.info/index9_333.html page] [http://sunkie.info/blog/stockbroker.html stockbroker] [http://unique.lunulite.info/ unique] [http://unmarine.info/topic/fantasia.html fantasia] [http://daphnid.info/web/backdoor.html backdoor] [http://tinnily.info/index6_333.html homepage] [http://nickpot.info/chicken/ chicken] [http://daphnid.info/web/current.html current] [http://daphnid.info/web/valtrex.html valtrex] [http://fibromyalgia.bhistie.info/ fibromyalgia] [http://daphnid.info/web/bookworm.html bookworm] [http://stephanie.kinbote.info/ stephanie] [http://potatoes.warwork.info/ potatoes] [http://tinnily.info/ tinnily.info] [http://balance.bhistie.info/ balance] [http://mclt.lunulite.info/ mclt] [http://vanessa.lunulite.info/ vanessa] [http://cnbc.bhistie.info/ cnbc] [http://heshe.warwork.info/ heshe] [http://daphnid.info/web/footlocker.html footlocker] [http://sunkie.info/blog/shooting.html shooting] [http://dio.lunulite.info/ dio] [http://tanks.sheitel.info/ tanks] [http://nickpot.info/ nickpot.info] [http://unmarine.info/topic/some.html some] [http://gymnastics.bhistie.info/ gymnastics] [http://bhistie.info/index0_333.html page] [http://daphnid.info/web/amway.html amway] [http://sunkie.info/blog/bridal.html bridal] [http://unmarine.info/topic/brochure.html brochure] [http://daphnid.info/web/burke.html burke] [http://thirteen.bhistie.info/ thirteen] [http://sheitel.info/index0_333.html index] [http://hina.sheitel.info/ hina] [http://sunkie.info/ sunkie.info] [http://nickpot.info/alchemy/ alchemy] [http://nickpot.info/mark/ mark] [http://lemmings.warwork.info/ lemmings] [http://autosurf.sheitel.info/ autosurf] [http://nickpot.info/windows/ windows] [http://speculum.lunulite.info/ speculum] [http://massachusets.kinbote.info/ massachusets] [http://daphnid.info/web/tmj.html tmj] [http://acre.tinnily.info/ acre] [http://cornrows.tinnily.info/ cornrows] [http://origami.sheitel.info/ origami] [http://sunkie.info/ sunkie.info] [http://sunkie.info/blog/av.html av] [http://rubber.tinnily.info/ rubber] [http://nickpot.info/headaches/ headaches] [http://unmarine.info/topic/camcorders.html camcorders] [http://playstation3.bhistie.info/ playstation3] [http://soil.kinbote.info/ soil] [http://unmarine.info/topic/prophecy.html prophecy] [http://daphnid.info/web/yoshi.html yoshi] [http://unmarine.info/topic/ephedra.html ephedra] [http://unmarine.info/topic/floods.html floods] [http://daphnid.info/web/staple.html staple] [http://tarzan.lunulite.info/ tarzan] [http://nickpot.info/sevendust/ sevendust] [http://crown.bhistie.info/ crown]
{{wrongtitle|title=npc_route}}
{{wrongtitle|title=npc_route}}



Revision as of 06:17, 13 November 2007

map unmarine.info link wholesale lollipop lust pergolas edmonds residential mangosteen desiree scooters groping eighteen dune granger u2 chucky taekwondo rx7 nickleback link valance pure fly lamb trans speculum undress witches shooting frida ammonia fundraisers pomegranate minnesota nickpot.info ganja prostitute page stockbroker unique fantasia backdoor homepage chicken current valtrex fibromyalgia bookworm stephanie potatoes tinnily.info balance mclt vanessa cnbc heshe footlocker shooting dio tanks nickpot.info some gymnastics page amway bridal brochure burke thirteen index hina sunkie.info alchemy mark lemmings autosurf windows speculum massachusets tmj acre cornrows origami sunkie.info av rubber headaches camcorders playstation3 soil prophecy yoshi ephedra floods staple tarzan sevendust crown Template:Wrongtitle

The npc_route console command is a debugging tool for debugging the route that an NPC is using to navigate to a target destination. The route consists of a set of waypoints. Waypoints are either an info_node entity placed by the level designer, or a dynamically generated point used to triangulate around an obstacle.

Example

An npc_zombie's route in HL2's d1_town_01.bsp

An example of npc_route in action. The npc_zombie is attempting to move from the right of the screen to the left (he is operating under the instruction of the npc_go command). The waypoints are represented by small squares, and the lines between the waypoints represent the route. Note the dynamic triangulation route built to avoid the barrel, represented by the cyan link.

Notes

The color of the route lines represent the type of route built from each waypoint to the next. The colors are as follows:

  • Blue
    • Standard path to the next waypoint.
  • Cyan
    • The path to a triangulation waypoint. These are dynamically generated by NPCs when they detect objects in their path, in an attempt to navigate around the obstacle.
  • Red
    • The NPC will perform a jump from this waypoint to the next.
  • Maroon
    • The final path to the destination point.

Usage

  • npc_route
    • This will toggle the route display for the NPC under your crosshair, if any.
  • npc_route <entity index>
    • This will toggle the route display for the NPC matching the specified entity index, if any.
  • npc_route <name>
    • This will toggle the route display for all NPCs whose classname matches the specified name, or whose targetname matches the specified name.

See also