Template:KV BaseNPC: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| m (ep1 add) | Gameplayer (talk | contribs)  mNo edit summary | ||
| (35 intermediate revisions by 16 users not shown) | |||
| Line 1: | Line 1: | ||
| {{ | <noinclude>{{lang|Template:KV BaseNPC}}[[Category:Keyvalue Templates|BaseNPC]] | ||
| </noinclude>{{expand|title=BaseNPC keyvalues| | |||
| {{KV BaseCombatCharacter}} | |||
| {{minititle|CAI_BaseNPC}} | |||
| {{KV|Target Path Corner|intn=target|targetname|The {{ent|path_corner}} that this NPC will move to after spawning.}} | |||
| {{KV|Squad Name|intn=squadname|string|NPCs that are in the same [[squads|squad]] (i.e., have matching squad names) will share information about enemies and will take turns attacking and covering each other.}} | |||
| {{KV|Hint Group|intn=hintgroup|string|[[Hint Nodes#Hint Group|Hint groups]] are used by NPCs to restrict their hint-node searching to a subset of the map's hint nodes. Only hint nodes with matching hint group names will be considered by this NPC.}} | |||
| {{KV|Hint Limit Nav|intn=hintlimiting|bool|Limits NPC to using specified hint group for navigation requests. Does not limit local navigation.}} | |||
| {{KV|Sleep State|intn=sleepstate|choices|Holds the NPC in stasis until specified condition. See also <tt>Wake Radius</tt> and <tt>Wake Squad</tt>. | |||
| :* 0: None | |||
| :* 1: Waiting for threat | |||
| :* 2: Waiting for PVS | |||
| :* 3: Waiting for input, ignore PVS | |||
| :* 4: Auto PVS | |||
| :* 5: Auto PVS after PVS}} | |||
| {{KV|Wake Radius|intn=wakeradius|float|Auto-wake if player comes within this distance.}} | |||
| {{KV|Wake Squad|intn=wakesquad|bool|Wake all of the NPCs squadmates if the NPC is woken.}} | |||
| {{KV|Enemy Filter|intn=enemyfilter|targetname|[[Filter]] entity to test targets against.}} | |||
| {{KV|Ignore unseen enemies|intn=ignoreunseenenemies|bool|Prefers visible enemies, regardless of distance or relationship priority.}} | |||
| {{KV DamageFilter}} }} | |||
| : | |||
| | | |||
Latest revision as of 10:27, 25 September 2024
| CBaseCombatCharacter: 
 
 CAI_BaseNPC: 
 
 
 
 
 
 
 
 
 DamageFilter: 
 |