npc_combine_s
npc_combine_s  - это   npc, доступно для 
 Half-Life 2, 
 Half-Life 2: Episode One, 
 Half-Life 2: Episode Two и 
 Half-Life 2: Deathmatch.
Описание
Это Солдат Альянса (англ. Combine Soldier). Он доступен в трёх вариантах: Обычный Солдат, Солдат Нова Проспект и Элитный Солдат
Их ИИ ориентируется на стратегии блицкрига. Они продвигаются с флангов, бросают гранаты, чтобы выкурить врага из укрытия, игнорируют атаки и попросту подавляют свою цель. В свою очередь, отрядный ИИ действует по этой тактике: двое будут стрелять, пока остальные находятся в укрытии (незначительно изменяется в зависимости от расстояния).
Выделенные консольные переменные
- sk_combine_s_health
 
- <целое> Изначальное количество здоровья Обычного Солдата и Солдата Нова Проспект
 
- sk_combine_s_kick
 
- <целое> Урон от рукопашной атаки Обычного Солдата и Солдата Нова Проспект
 
- sk_combine_guard_health
 
- <целое> Изначальное количество здоровья Элитного Солдата
 
- sk_combine_guard_kick
 
- <целое> Урон от рукопашной атаки Элитного Солдата
 
Ключевые параметры
- {| class="mw-collapsible mw-collapsed" style="background:rgba(0,0,0,0.05) ;float:no;margin-bottom:1em;margin-left:0;padding-right:0.5em;border:1px solid rgba(255,255,255,0.1); border-left:solid 1px #8bb9e0; padding-left:1em;"
 
|+ style="text-align:left; white-space:nowrap; font-weight:bold; color:#ddd; " | BaseNPC keyvalues | CBaseCombatCharacter:
- Relationship (Relationship) <строка> Отсутствует в FGD!
 - <string|targetname or classname> <string|disposition> <int|rank>
 - Changes whether this entity likes or dislikes certain other things. Used like the ai_relationship entity, with this entity as the subject.
 - Values for 
dispositionare:D_HT: HateD_FR: FearD_LI: LikeD_NU: Neutral
 
- Physics Impact Damage Scale (physdamagescale) <число с плавающей запятой>
 - Multiplier for damage amount when this entity is hit by a physics object. With a value of 0 the entity will take no damage from physics.
 
CAI_BaseNPC:
- Target Path Corner (target) <целевой объект>
 - The path_corner that this NPC will move to after spawning.
 
- Squad Name (squadname) <строка>
 - NPCs that are in the same squad (i.e., have matching squad names) will share information about enemies and will take turns attacking and covering each other.
 
- Hint Group (hintgroup) <строка>
 - 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.
 
- Hint Limit Nav (hintlimiting) <булева переменная>
 - Limits NPC to using specified hint group for navigation requests. Does not limit local navigation.
 
- Sleep State (sleepstate) <варианты выбора>
 - Holds the NPC in stasis until specified condition. See also Wake Radius and Wake Squad.
- 0: None
 - 1: Waiting for threat
 - 2: Waiting for PVS
 - 3: Waiting for input, ignore PVS
 - 4: Auto PVS
 - 5: Auto PVS after PVS
 
 
- Wake Radius (wakeradius) <число с плавающей запятой>
 - Auto-wake if player comes within this distance.
 
- Wake Squad (wakesquad) <булева переменная>
 - Wake all of the NPCs squadmates if the NPC is woken.
 
- Enemy Filter (enemyfilter) <целевой объект>
 - Filter entity to test targets against.
 
- Ignore unseen enemies (ignoreunseenenemies) <булева переменная>
 - Prefers visible enemies, regardless of distance or relationship priority.
 
DamageFilter:
- Damage Filter (damagefilter) <целевой объект>
 - Name of the filter_damage_type entity that controls which entities can damage us.
 
|}
- waitingtorappel
 
- <boolean> Если установлено, этот NPC появляется подвешенным в воздухе, и будет ожидать ВВОДА "BeginRappel" (input). Когда это происходит, появляется верёвка, затем он скользит по ней вниз. Когда он достигает земли NPC отбросит веревку и попробует продвинуться на пару шагов для того, что бы освободить место следующему NPC. NPC не будет пробовать освободить место, если это невозможно выполнить сделав пару шагов вперёд.
 
- additionalequipment
 
- <выбор> Weapons
 
Буквенное значение Описание weapon_ar2 Винтовка AR2 weapon_shotgun Дробовик weapon_smg1 SMG1 (Пистолет-пулемёт) weapon_stunstick Электрошок 0 Ничего 
- NumGrenades
 
- <целое> Количество гранат
 - Используйте 999999 для неограниченного
 
- model
 
- <файл модели/выбор>
 
Буквенное значение Описание models/combine_soldier.mdl Обычный солдат models/combine_soldier_prisonguard.mdl Солдат Нова Проспект models/combine_super_soldier.mdl Элитный солдат 
- <boolean> Если установлено, солдат буде прижимать игрока (Продвигаться).
 
Флаги
- Wait Till Seen : [1]
 - Prevents this NPC from seeing (or being seen) until it enters a player's viewcone.
 
- Gag : [2]
 - Won't make IDLE sounds until it's angry.
 
- Fall to ground (unchecked means teleport to ground) : [4]
 
- Drop Healthkit : [8]
 - Causes this NPC to drop an item_healthvial upon dying.
 
- Efficient : [16]
 - Don't acquire enemies or avoid obstacles
 
- Wait For Script : [128]
 - Forces this NPC to "wait" in an idle state until it finishes playing a scripted_sequence.
 
- Long Visibility/Shoot : [256]
 - By default, increases a NPC's sight range to 
6,000units and allows it to attack from anywhere within that distance. 
- Fade Corpse : [512]
 
- Think outside PVS : [1024]
 - Allows this NPC to run its regular AI outside of any player's PVS.
 
- Template NPC : [2048]
 - Marks this NPC as a template for entities like npc_template_maker. The NPC will not spawn on its own. This is not needed for point_template.
 
- Do Alternate collision for this NPC (player avoidance) : [4096]
 
- Don't drop weapons : [8192]
 
- 65536 : Start LookOff
 
- Used when only what combine to react to what the spotlight sees (Реагировать только на то, в точке внимания)
 
- Не выкидывать гранаты
 
- Не выбрасывать альтернативные припасы для винтовки AR2
 
Ввод (Inputs)
- BeginRappel
 
- Начать спускаться по верёвке
 
- LookOn
 
- Видеть нормально
 
- LookOff
 
- Не смотреть самостоятельно, использовать глаза других членов отряда
 
- StartPatrolling
 
- Патрулировать независимо от того простаивает или встревожен.
 
- StopPatrolling
 
- Прекратить патрулировать, когда простаивает или встревожен.
 
- ThrowGrenadeAtTarget <цель_назначения>
 
- Кинуть гранату в указанную цель.
 
Вывод (Outputs)
- OnRappelTouchdown
 
- Выполняется, когда выполнен спуск по верёвке