Mapbase extends what types of weapons and abilities NPCs can use.

đź“„ Note: Most of what's covered by this article applies to humanoid NPCs only (npc_citizen, npc_combine_s, etc.)

Increased weapon portability

The following table shows which HL2 NPCs are capable of using various weapons in vanilla Source 2013:

Weapon Male npc_citizen and allies Female npc_citizen and allies npc_metropolice npc_combine_s
weapon_pistol Partially Partially Yes No
weapon_smg1 Yes Yes Yes Yes
weapon_ar2 Yes Yes No Yes
weapon_shotgun Yes Yes No Yes
weapon_357 No No No No
weapon_crossbow No No No No
weapon_rpg Yes Yes No No
weapon_crowbar Partially Partially Yes No
weapon_stunstick Partially Partially Yes No
weapon_citizenpackage Yes Yes No No
weapon_citizensuitcase Yes No No No

This table shows which NPCs are capable of using those weapons in Mapbase:

Weapon Male npc_citizen and allies Female npc_citizen and allies npc_metropolice npc_combine_s
weapon_pistol Yes Yes Yes Yes
weapon_smg1 Yes Yes Yes Yes
weapon_ar2 Yes Yes Yes Yes
weapon_shotgun Yes Yes Yes Yes
weapon_357 Yes Yes Yes Yes
weapon_crossbow Yes Yes Yes Yes
weapon_rpg Yes Yes Partially Partially
weapon_crowbar Partially Partially Yes Yes
weapon_stunstick Partially Partially Yes Yes
weapon_citizenpackage Yes Yes Yes Yes
weapon_citizensuitcase Yes Yes Yes Yes

Many of these weapons use completely new animations which are detailed in Custom Animations.

Grenades and alt-fire capabilities

In vanilla Source 2013, only npc_combine_s is capable of using grenades or a weapon’s secondary attack, and weapon_ar2 is the only weapon it can use the secondary attack with. Mapbase expands both of these capabilities to almost all human NPCs and also gives them the ability to use weapon_smg1’s secondary attack.

For non-soldiers, the desired capability must be enabled through a dedicated “Grenade capabilities” keyvalue. This allows you to have a NPC use grenades, its alt-fire ability, or both.