求生之路2导航网格所有属性

From Valve Developer Community
< Zh
Revision as of 23:20, 5 June 2021 by 1416006136 (talk | contribs) (Created page with "{{lang|L4D2 All Nav Meshes Attributes}} {{DISPLAYTITLE:求生之路2导航网格所有属性}} 本简体中文界面由大康翻译。<br> 此页面正在翻译中…… ===...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
English (en)中文 (zh)Translate (Translate)

Warning: Display title "求生之路2导航网格所有属性" overrides earlier display title "List of L4D Series Nav Mesh Attributes". 本简体中文界面由大康翻译。
此页面正在翻译中……

所有属性

导航网格编辑模式下标记区域的可用属性。

导航属性 描述
BATTLEFIELD 指定计划的渐强事件(crescendo event)将发生的区域。Infected spawning, except in Versus modes, will halt so long Survivors reside in it. 事件开始后,丧尸只会在此区域内动态生成和蜂拥而至;如果生还者试图逃离此区域,丧尸便停止生成。

这应该应用于地图的大区域,能够容纳一个 BATTLESTATION 和其中许多感染者的友好生成区域。如果游戏区域包含幸存者逃离此区域的方法,或者游戏场地不断变化(如 Gauntlet 事件),则不应使用此属性。

BATTLESTATION 表示恐慌事件的防御区域,通常在补给/武器旁边。仅用于包含 BATTLEFIELD 或 FINALE 属性的区域。

在《求生之路》求生之路中,生还者机器人可能会在恐慌事件开始前在这些区域漫游和驻留,它们认为自己距离人类玩家不会太远。然而,他们可能会在事件开始时放弃他们的位置,或者它们受到伤害,跑回人类玩家附近。

BREAKABLEWALL 没有效果,也没有被 func_breakable 使用。Template:Todo:zh-cn
CHECKPOINT 指定地图的开始/安全室区域。该回合从幸存者离开该区域时开始,并在结束检查站(安全室)的门关闭且只有幸存者在里面时结束。如果始终处于关卡检查点的终点,则禁止玩家控制的特殊感染者在该区域内生成。
CLIFF 没什么作用。仅由导航生成系统用于在导航方形边缘上保留注释。 (可能告诉游戏幸存者可以挂边并坚持下去。但是,这没有得到证实)
CROUCH Cut down the navigation time needed for this mesh, as bots need to crouch here. Automatically added by anav_analyzesession.

In 求生之路系列求生之路系列, All types of bots crouch automatically independent of navigation meshes. In 反恐精英:起源, This attribute makes bots crouch, like as one expects.

DONT_HIDE Marks areas that are not suitable hiding spots.
待完善: Does this still apply to 求生之路系列求生之路系列? Verify with Boomers or Smokers.
DOOR Marks areas in which a door is located, perhaps just for flow calculations.aA Automatically added by the game during a nav_analyze.
EMPTY Prevents wandering infected from being populated in this location. Useful for places outside the survivors playable area, or any other place you do not want wandering/sleeping infected to spawn (e.g. rooftops & surfaces infected fall off of).
Note.png注意:Does not affect mobs/special-infected.
ESCAPE_ROUTE Basic guideline path of map from start to finish by linking spawns/checkpoints to the ending checkpoint/finale. This path helps the game/AI to make proper decisions based on routes and level progression. Marking areas with this should be left strictly for thenav_analyzecommand.
FINALE Indicates a finale area. Has mostly similar characteristics toBATTLESTATIONattribute, although doesn't mean one can replace the other. LikeBATTLESTATION/code>, this should be used extensively across your finale area, and contain a BATTLESTATION within it.
LYINGDOWN求生之路2 Causes zombies to lie down when not aroused by player. Found inc2m1_highway(Dark Carnival - Motel) along the dead body piles at the freeway ramp, the motel pool of dead bodies, and the stream itself when on the way to Whispering Oaks.
MOB_ONLY Only Infected mobs are capable of accessing this area.

This can't be set manually, and is only set by entities such as func_breakable withAll infectedproperty, or by a func_nav_attribute_region.

NOT_CLEARABLE Prevents an area from being "cleared" by Survivors, and allows infected to spawn here indefinitely; Cleared areas are not used by the Director to spawn infected, and NOT_CLEARABLE modifies such a rule.

Used in the outer-most areas survivors are able to attack or have line-of-sight to, but can't really see (e.g. through fog). A navigation mesh is 'cleared' once survivors view the area, and remove them of all spawned infected.

NO_MERGE Disallows this navigation mesh being merged with other meshes. Only used during navigation mesh generation; trying to apply this otherwise has no effect.
NO_MOBS Prevents infected mobs from spawning in this location. Commonly used to help mobs spawn further away from survivors and in more secluded areas of the map.

Also used to keep sources of mobs from appearing unnatural or odd, such as spawning on rooftops of certain buildings. A clever example of NO_MOBS is in the "drainage" level of the Death Toll campaign. It is used in the long pipes so that infected must spawn in the upper areas and run at you down the lengths of the pipe, rather than just around the corners.

NOTHREAT求生之路2 Navigation meshes with this attribute will not allowTHREATto perform its action when it is applied on itself.
OBSCURED Affects the amount and manner of which infected can spawn. This is a very important navigation attribute, use both wisely and with caution.

There are two primary uses: Indicates that the area is not viewable by survivors, and allows the director to spawn flowing, or large waves of mobs. It is often used in blocked alleyways and other areas that survivors cannot view. The director can still create effective mobs without the use of OBSCURED, but they will usually be further outside the survivor PVS.

Allows infected to spawn even when there is line-of-sight to a survivor. Useful in unreachable areas with heavy fog, or areas with props that don't block line-of-sight in the engine, but still obscure the survivors view on all sides (e.g. bushes & leafy trees). Bot line-of-sight is also blocked to prevent omniscient behavior.
Tip.png提示:Props that have collisions disabled are always unable to block line-of-sight and will need the help of OBSCURED
OBSTACLE_TOP No effect, not related to func_nav_avoidance_obstacle.

Can be found inc1m2_streets's Gunshop. Nav areas with this attribute are seen on top of props that require infected to climb over, such as concrete road blocks and low-lying fences blocking the streets. It is not consistently marked for all the nav areas on top of those props.


待完善: Lacking in info! We need to find out more somehow.
PLAYERCLIP Marked automatically if a brush with the Player clip texture is on it. Automatically considered blocked by Survivors, but infected will still use it - great for creating zombie spawn closets or infected-only ladders.
PLAYER_START This attribute is to be applied in the exact nav mesh area(s) that the players spawn in, so flow computing will work as intended. Only necessary for the first level of each campaign.
PRECISE Defines an area that requires precision to navigate properly. Bots will avoid having random variations to their pathfinding while on areas marked with this.
RESCUE_CLOSET Marks off the location of rescue closets inside the level. Automatically assigned during anav_analyzesession.
RESCUE_VEHICLE Marks where survivors should go to during rescue. Used only in a Finale sequence and remains locked until "FinaleEscapeVehicleReadyForSurvivors" is fired. Area covered in RESCUE_VEHICLE should be the location of the rescue vehicle once it is in position. In some cases, a lead-in must be made to make the path onto the vehicle navigable (see 'No Mercy' finale).
STOP_SCAN Function unknown.
待完善: Properly document
STAIRS Bots treat areas up to 180(?) H/Us high as flat ground; Useful in disallowing Commons from climbing or making Survivor Bots not jump.
Warning.png警告:Chargers and Hunters bots will not their abilities on these areas, presumably they're looking for targets straight ahead of them.
Note.png注意:Commandnav_check_stairscan be useful for reupdating the nav during editing.
TANK_ONLY All bots, but Tanks will only navigate through this. Thus the flow won't compute through navigation meshes using this attribute.

This can't be set manually, and is only set by entities such as prop_dynamic toTank onlyproperty, or by a script_nav_attribute_region.

THREAT Acts as spawn area suggestions for Boss Infected (Tank & wWtch). Only nav areas along theESCAPE_ROUTEpath are candidates forTHREATattribute. If the respective portion of the escape route path has already been reached,THREATwill be removed automatically. Requiresnav_analyzeto appear naturally.
UNDERWATER Added automatically when a navigation mesh is created / generated underwater. Unknown if this does anything..

Obsolete Attributes

Attributes below are defunct leftovers from 反恐精英:起源, but still available to use. They will have no effect on if applied, so the description applies only to 反恐精英:起源.

Note.png注意:The list is not exclusive to 求生之路系列求生之路系列, and also is applicable for 军团要塞2反恐精英:全球攻势.
Attribute Description 反恐精英:起源
AVOID Makes a mesh's navigation time be interpreted as x1.25 more expensive for bots.
待完善: x2 or x1.25?
JUMP Force bots to jump when they enter this mesh. In 求生之路系列求生之路系列, Survivor and Infected bots already automatically jump / climb based on navigation mesh connections.
NO_HOSTAGES
待完善: Don't put hostages here?
NO_JUMP Prevent attempts to jump in this navigation mesh.
RUN Maintain running speed and don't slow down.
STOP Halt for one second when entering this navigation mesh.
STAND Ignore entering crouching.
TRANSIENT Area may be unusable, so consider it expensive to navigate when a round is active.
WALK Hold down the+walkkey.