|
|
(26 intermediate revisions by 14 users not shown) |
Line 1: |
Line 1: |
| [http://pinaybig.stratose.info/ pinay big] [http://mousememories.coolish.info/ mouse memories] [http://buymedications.whacks.info/ buy medications online] [http://mahjong.whacks.info/ mahjong] [http://showervalve.shippon.info/ shower valve] [http://securityguardjobs.whacks.info/ security guard jobs] [http://kidteen.stratose.info/ kid teen] [http://oldworldmapof.stratose.info/ old world map of greece] [http://graphicorganizers.betrunk.info/ graphic organizers] [http://throwninatthepool.shippon.info/ thrown in at the pool party] [http://cybersex.shippon.info/ cybersex] [http://15aprmontho.sinkhead.info/ 15 apr month o] [http://adadwardse.coolish.info/ ad adward se] [http://2scriptterminator.footle.info/ 2 script terminator] [http://musicianriwedding.desdee.info/ musician ri wedding] [http://tribalfestival.sinkhead.info/ tribal festival] [http://inventorymanagement.shippon.info/ inventory management and accounting] [http://netgearvpntest.injelly.info/ netgear vpn test] [http://tampasoftwaredevelopment.sinkhead.info/ tampa software development] [http://speechtotext.coolish.info/ speech to text software] [http://spinningrims.skunkish.info/ spinning rims] [http://technologylink.stratose.info/ technology link exchange] [http://poconosresorts.sinkhead.info/ poconos resorts] [http://pimples.whacks.info/ pimples] [http://medicareeligibility.coolish.info/ medicare eligibility disability] [http://computersale.stratose.info/ computer sale] [http://onsellingland.injelly.info/ on selling land] [http://northwesternuniversity.footle.info/ northwestern university in evanston il] [http://lesbians.footle.info/ lesbians] [http://burners.betrunk.info/ burners] [http://budgetcarrental.betrunk.info/ budget car rental] [http://recordinginprogress.coolish.info/ recording in progress] [http://applepipeline.skunkish.info/ apple pipeline] [http://indianahouse.betrunk.info/ indiana house bills] [http://webmail.desdee.info/ webmail] [http://mirrordisco.shippon.info/ mirror disco ball] [http://drugtesting.shippon.info/ drug testing] [http://breitlingreplica.betrunk.info/ breitling replica] [http://vermontautoshipping.stratose.info/ vermont auto shipping] [http://addpowerurlwill.stratose.info/ add power url will] [http://whacks.info/index1_666.html page] [http://artsandculture.betrunk.info/ arts and culture st johns] [http://junesummerphotography.coolish.info/ june summer photography] [http://laborrelations.stratose.info/ labor relations consultant] [http://desdee.info/ desdee.info] [http://babyhalloweencostume.whacks.info/ baby halloween costume] [http://betrunk.info/index5_250.html page] [http://freesexmovie.betrunk.info/ free sex movie] [http://lightmakemirror.shippon.info/ light make mirror natural up] [http://attackgamesudden.skunkish.info/ attack game sudden] [http://cruisejobs.whacks.info/ cruise jobs] [http://lemarc.stratose.info/ le marc] [http://sinkhead.info/index4_666.html homepage] [http://amazonwomansex.shippon.info/ amazon woman sex] [http://openproxies.injelly.info/ open proxies] [http://partialhipreplacements.coolish.info/ partial hip replacements] [http://randyjohnsonlove.shippon.info/ randy johnson love] [http://sexmachine.skunkish.info/ sex machine] [http://401kretirement.sinkhead.info/ 401k retirement plans] [http://baldnesssolution.skunkish.info/ baldness solution] [http://middleschool.whacks.info/ middle school graduation requirements] [http://irataxes.stratose.info/ ira taxes] [http://northeastrealty.shippon.info/ northeast realty group] [http://kingjamesbible1611.shippon.info/ king james bible 1611] [http://mp3tocaradapter.whacks.info/ mp3 to car adapter] [http://cherokeeuniforms.sinkhead.info/ cherokee uniforms] [http://jacksonwyomingairport.skunkish.info/ jackson wyoming airport] [http://multifunctionprinter.desdee.info/ multifunction printer review laser] [http://andrewcartexas.betrunk.info/ andrew car texas used] [http://telusringtone.desdee.info/ telus ringtone] [http://ringworm.betrunk.info/ ringworm] [http://joesplaceiowacity.desdee.info/ joes place iowa city] [http://thailandtot.shippon.info/ thailand tot] [http://metrofmradio.injelly.info/ metro fm radio] [http://atomicwatch.betrunk.info/ atomic watch] [http://thegreencards.desdee.info/ the green cards music] [http://pimpomyspacecom.coolish.info/ pimpo my space com] [http://proactivesolution.whacks.info/ proactive solution] [http://twosetoftwins.shippon.info/ two set of twins] [http://jtagtools.footle.info/ jtag tools] [http://gaybigcocks.shippon.info/ gay big cocks] [http://numerology.whacks.info/ numerology] [http://businessloansbad.coolish.info/ business loans bad credit] [http://marinatedsalmon.skunkish.info/ marinated salmon] [http://oilservicecompanies.injelly.info/ oil service companies canada] [http://betrunk.info/index5_250.html page] [http://effexorxr.injelly.info/ effexor xr] [http://asianchatroom.desdee.info/ asian chat room] [http://powerandconservation.skunkish.info/ power and conservation] [http://sleepersofa.injelly.info/ sleeper sofa] [http://pornvhsdvd.sinkhead.info/ porn vhs dvd] [http://alanjacksonticket.whacks.info/ alan jackson ticket] [http://3extrahomeincome.skunkish.info/ 3 extra home income work] [http://11aprildvdnew.skunkish.info/ 11 april dvd new release] [http://washingtonmutual.stratose.info/ washington mutual bank cd rate] [http://personalizedbeer.skunkish.info/ personalized beer bottle labels] [http://atk.whacks.info/ atk] [http://symptomsofenlarged.sinkhead.info/ symptoms of enlarged prostate] [http://tamilinstrumental.skunkish.info/ tamil instrumental songs] [http://interviewwiththe.coolish.info/ interview with the vampire the movie]
| | {{lang}} |
| {{wrongtitle|title=npc_route}} | | {{this is a|console command|name=npc_route}} |
|
| |
|
| The <code>npc_route</code> 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. | | The <code>npc_route</code> 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. |
| | {{devreq}} |
|
| |
|
| == Example == | | == Example == |
| <center>[[Image:npc_route.jpg|550px|An npc_zombie's route in HL2's d1_town_01.bsp]]</center> | | <center>[[File:npc_route.jpg|550px|An npc_zombie's route in HL2's d1_town_01.bsp]]</center> |
| An example of <code>npc_route</code> 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. | | An example of <code>npc_route</code> 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. |
|
| |
|
Line 28: |
Line 29: |
|
| |
|
| == See also == | | == See also == |
| * [[ai_debug_nav]], [[npc_go]], [[ai_moveprobe_debug]]. | | * [[ai_debug_nav]], [[npc_go]], [[ai_moveprobe_debug]], [[developer]]. |
|
| |
|
| [[Category:Debugging]] | | [[Category:Debugging]] |
| [[Category:AI Commands]]
| |
Latest revision as of 09:14, 17 September 2024
npc_route
is a console command available in all
Source games.
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.
Note:The game must be in Developer mode for this command to work properly.
Example
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