Template:L4D series navbits table: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "The * character designates a name created by the community for easy identification. {{tip|Any attribute here can be used in func_nav_attribute_region by inserting their b...")
 
m (Use <includeonly> and <onlyinclude> instead of <noinclude>. Added a Template "Template:Lang")
Line 1: Line 1:
The * character designates a name created by the community for easy identification.
{{lang|Template:L4D series navbits table}}
<onlyinclude><includeonly>The * character designates a name created by the community for easy identification.


{{tip|Any attribute here can be used in [[func_nav_attribute_region]] by inserting their bit value as a [[flag]]!}}{{ExpandBox|{{todo|The following needs to be checked for {{game name|l4d|name=Left 4 Dead}}:
{{tip|Any attribute here can be used in [[func_nav_attribute_region]] by inserting their bit value as a [[flag]]!}}{{ExpandBox|{{todo|The following needs to be checked for {{game name|l4d|name=Left 4 Dead}}:
Line 131: Line 132:
| <code>COMPASS_WESTNORTH</code>*  || <code>1 <nowiki><<</nowiki> 31 (-2147483648)</code>
| <code>COMPASS_WESTNORTH</code>*  || <code>1 <nowiki><<</nowiki> 31 (-2147483648)</code>
|}
|}
</div>
</div></includeonly></onlyinclude>
<noinclude>
{{documentation}}
{{documentation}}
<!-- Add categories to the /doc subpage, not here -->
<!-- Add categories to the /doc subpage, not here -->
</noinclude>

Revision as of 17:01, 15 October 2021


English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history
Icon-translate.png
This template uses a strings subpage
Please follow the format on this subpage(s) to add translations.

A template for a chart consisting all of Left 4 Dead 2 Left 4 Dead 2 nav attributes's bits. Not only it makes things more tidy with a template, this chart may be present in multiple pages for the future.

Example

{{L4D series navbits table}}

will:
The * character designates a name created by the community for easy identification.
Tip.pngTip:Any attribute here can be used in func_nav_attribute_region by inserting their bit value as a flag!
TODO: 
Todo: The following needs to be checked for Template:Game name:
  1. Compass Bitflags - Spawn Attributes
  2. NAV_MESH_FLOW_BLOCKED - Base Attributes
  3. NAV_MESH_OUTSIDE_WORLD - Base Attributes
  4. NAV_MESH_MOSTLY_FLAT - Base Attributes
Base Attributes
Name Bit
CROUCH 1 << 0 (1)
JUMP 1 << 1 (2)
PRECISE 1 << 2 (4)
NO_JUMP 1 << 3 (8)
STOP 1 << 4 (16)
RUN 1 << 5 (32)
WALK 1 << 6 (64)
AVOID 1 << 7 (128)
TRANSIENT 1 << 8 (256)
DONT_HIDE 1 << 9 (512)
STAND 1 << 10 (1024)
NO_HOSTAGES 1 << 11 (2048)
STAIRS 1 << 12 (4096)
NO_MERGE 1 << 13 (8192)
OBSTACLE_TOP 1 << 14 (16384)
CLIFF 1 << 15 (32768)
TANK_ONLY 1 << 16 (65536)
MOB_ONLY 1 << 17 (131072)
PLAYERCLIP
(only in Left 4 Dead 2)
1 << 18 (262144)
BREAKABLEWALL
(only in Left 4 Dead 2)
1 << 19 (524288)
NAV_MESH_FLOW_BLOCKED* 1 << 27 (134217728)
NAV_MESH_OUTSIDE_WORLD 1 << 28 (268435456)
NAV_MESH_MOSTLY_FLAT 1 << 29 (536870912)
NAV_MESH_HAS_ELEVATOR 1 << 30 (1073741824)
NAV_MESH_NAV_BLOCKER 1 << 31 (-2147483648)
L4D Series
Navigation Attribute
Bits
Spawn Attributes
Name Bit
(No name) 1 << 0 (1)
EMPTY 1 << 1 (2)
STOP_SCAN 1 << 2 (4)
BATTLESTATION 1 << 5 (32)
FINALE 1 << 6 (64)
PLAYER_START 1 << 7 (128)
BATTLEFIELD 1 << 8 (256)
IGNORE_VISIBILITY 1 << 9 (512)
NOT_CLEARABLE 1 << 10 (1024)
CHECKPOINT 1 << 12 (4096)
NO_MOBS 1 << 13 (8192)
THREAT 1 << 14 (16384)
RESCUE_VEHICLE 1 << 15 (32768)
RESCUE_CLOSET 1 << 16 (65536)
ESCAPE_ROUTE 1 << 17 (131072)
DOOR or DESTROYED_DOOR 1 << 18 (262144)
NOTHREAT
(only in Left 4 Dead 2)
1 << 19 (524288)
LYINGDOWN
(only in Left 4 Dead 2)
1 << 20 (1048576)
COMPASS_NORTH* 1 << 24 (16777216)
COMPASS_NORTHEAST* 1 << 25 (33554432)
COMPASS_EAST* 1 << 26 (67108864)
COMPASS_EASTSOUTH* 1 << 27 (134217728)
COMPASS_SOUTH* 1 << 28 (268435456)
COMPASS_SOUTHWEST* 1 << 29 (536870912)
COMPASS_WEST* 1 << 30 (1073741824)
COMPASS_WESTNORTH* 1 << 31 (-2147483648)