Garry's Mod

Garry's Mod

487 ratings
Mortar Synth SNPC
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: NPC
Addon Tags: Roleplay, Realism
File Size
Posted
Updated
1.624 MB
30 Jul, 2021 @ 4:43am
13 Mar, 2024 @ 11:09am
16 Change Notes ( view )

Subscribe to download
Mortar Synth SNPC

Description
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.
99 Comments
TG2D 4 Oct, 2024 @ 6:47pm 
There is a big diffrence.(Crab synth in locked to ground and has a minigun) (The mortar synth can fly and lobs bombs) Small diffrence?
MaliceAndTragedy 10 Aug, 2024 @ 8:30pm 
@fakinmoves There's quite literally no difference, what're you talking about
That One WW2 Cat 10 Aug, 2024 @ 11:08am 
the motar synth is the same thing as the crab synth the crab synth has a minigun and the motar synth shots a SMG granade and shots 2 enegry balls
rajjiasus420 23 Jul, 2024 @ 4:16am 
thank this working
MaliceAndTragedy 7 Jul, 2024 @ 6:38am 
[Mortar Synth SNPC] lua/entities/npc_mortarsynth_2.lua:1286: Tried to use a NULL CLuaEmitter!
1. Finish - [C]:-1
2. OnRemove - lua/entities/npc_mortarsynth_2.lua:1286
3. v - lua/pbc_base/pcl_autorun.lua:1
4. unknown - lua/includes/modules/hook.lua:96
Orzeszek Włoski 13 Jun, 2024 @ 8:45am 
nice work
kwaHliveD  [author] 24 Apr, 2024 @ 12:35pm 
sk_mortarsynth_smg_grenade_time: Defines after how many seconds the mortarsynth will launch another SMG Grenade. 0 will always launch a SMG Grenade.
Chachu 21 Apr, 2024 @ 8:25am 
anyway to disable regular grenades without disabling the smg grenades?
melon_man 3 Feb, 2024 @ 11:49am 
You should add the electric orb it was supposed to originally use.
Wiixle 16 Aug, 2023 @ 7:41pm 
ooh magnusson bomb support would be cool too