Mortar Synth SNPC
Mortar Synth SNPC, the unfought enemy used by the Combine, seen in the Citadel, also the first npc ever to use the default flying behavior.
Attributes:
– 100 health
– Sensing (hears world sounds such as SOUND_COMBAT)
– Wawes around while standing
– Flinch anims
– Can be gibbed on death
– Can be physcannon punted (the first snpc ever to be punted properly)
– Bullet hits leave sparks instead of bleeding
This NPC can:
– Fly all around (use air navigation when possible)
– Investigate sound sources
– Establish line of sight against enemies behind covers by moving left, right, up or down.
– Keep distance between enemy while fighting against.
– Suppress enemy forces and make them retreat towards their bunkers.
Weapons:
– Mortar grenade: Throws a grenade from its catapult. Also fires an SMG Grenade at intervals.
– Energy wave: Two waves which distort their enemies’ view. (can also be punted backwards)
Console variables:
sk_mortarsynth_health_2: Defines mortarsynth health
sk_mortarsynth_near_dist: Defines at which distance should mortar synth start moving backwards towards enemy.
sk_mortarsynth_far_dist: Defines at which distance should mortar synth be able to attack its enemy.
sk_mortarsynth_grenade_speed: Defines the normal frag grenade velocity (not the SMG Grenade) launched by the mortar synth.
sk_mortarsynth_smg_grenade_speed: Defines the SMG Grenades launch velocity thrown by mortar synths.
sk_mortarsynth_grenade_enabled: Enables or disables mortar synth’s grenade firing behavior.
sk_mortarsynth_smg_grenade_enabled: Enables or disables mortar synth’s SMG grenade firing behavior.
sk_mortarsynth_smg_grenade_time: Defines after how many seconds the mortarsynth will launch another SMG Grenade. 0 will always launch a SMG Grenade.
sk_mortarsynth_always_energy: When enabled, tells all mortar synths to unleash an energy wave regardless of enemy health and flying condition.
g_debug_mortarsynth_grenade: While "developer" command is 1, mortar synth will draw lines and spheres that visualize whether it can pinpoint a grenade trajectory hit within the given velocity and gravity.