While most {{Emergency Weapon}}s are close-ranged melee weapons in the hands of characters who normally fight at long range, sometimes the inverse happens and a character who specializes in primarily close-range fighting lands in a situation that cannot be resolved without ''some'' manner of long-range striking ability.

The Ranged Emergency Weapon is generally not very effective as an attack (it's usually not an actual gun or bomb), but it may be enough to, say, flip a door switch behind that open mesh grate.

This is fairly rare, mainly due to the story wanting to focus more on the melee action: If a guy is an awesome swordsman why make him use a gun or bow? Also, there's a tendency for good guys in fiction to be great shots whatever their melee skills. However, a handful of characters graduated from the ImperialStormtrooperMarksmanshipAcademy even as they kick ass at melee.

In movies, a character without such a weapon can always rely on ThrowingYourSwordAlwaysWorks; unfortunately very few video games give you that option.

Contrast PunchPackingPistol, for when a sidearm is comparable or sometimes even superior to the main arsenal.

[[AC:Anime and Manga]]
* ''Manga/{{Berserk}}'': Against the various horrible monsters he fights on a near-daily basis, Guts' bandolier of throwing knives sees comparatively little use compared to his {{BFS}} and ArmCannon (both the crossbow and the actual cannon). Against mere human bandits and such, they work just fine.

[[AC: {{Literature}}]]
* In the Literature/{{Dragonlance}} novel ''Dragons of Winter Night'', when Sturm needs to buy time for Laurana to use the [[AncientArtifact Dragon Orb]], he decides that he needs to draw the attacking dragons toward him, and fires a bow at them to do so, even though he never otherwise uses a ranged attack.
* ''Literature/TheDresdenFiles'': Harry Dresden, a wizard with a long trail of burned-down buildings behind him, carries a .44 revolver for emergencies. Also, the laws of magic forbid killing humans with magic, but leave killing with weapons to the far more forgiving mortal authorities most of the time.

* In ''VideoGame/YakuzaDeadSouls'', the Pistol has infinite ammo, making it this for most characters. The only exception is Akiyama, whose primary weapon is a pair of pistols, which serves to ease the player into the game (since Akiyama is the first playable character).
* The video game version of ''Film/TheLordOfTheRings'' gives Gimli throwing axes. They're by far the least effective of the characters' ranged weapons (with the possible exception of the hobbits knives in the ''Return of the King'') and are slow to throw, but they're useful for dealing with archers or enemies who are a long way away.
* ''VideoGame/DragonAgeOrigins'' uses Strength to determine whether a character can wield big melee weapons and Dexterity for bows. There are also Strength-based crossbows to provide Warriors with an ranged option. which is ironic given that crossbows' whole point is ''not'' relying on muscle. They also suck in the game.
* ''VideoGame/{{Darksiders}}'' gives War a gun and a boomerang for long-range work, but there's no question that he's a melee-character - neither of them can do much of any damage, but there are a few situations where you're forced to use them on enemies you either can't reach, or don't want to be standing next to. Additionally, the boomerang can be upgraded to ricochet many times between several enemies, tying them up well enough for War to finish what he's doing and come beat them up.
* In ''VideoGame/HeroesOfTheLance'', Flint Fireforge has a single axe he can throw in addition to his melee axe.
* Throwing knives in ''VideoGame/MountAndBlade'' require no skill in throwing to use and take up 1 of your 4 weapon slot (opposed to a bow/crossbows 1 another for ammo) but do poor damage. Their primary use is to give a sword/shield/lance user some range. Many infantry units have a chance at having proper throwing weapons at creation. And there are rocks for people who are really short of money.
* Hand axes and Javelins in ''Franchise/FireEmblem'' have the attack power of the most basic axes/lances with lower accuracy and much lower durability, but have a range of 1 or 2 tiles, as opposed to every other melee weapons' range of 1. (There are stronger versions with the strength of higher grade weapons, but they are rare and typically [[TooAwesomeToUse can not be bought]].)
* Possible in ''VideoGame/{{Diablo}}'' for the warrior. The bow is hardly his most useful weapon but it can be handy if an enemy is behind a grate or if you need to exchange fire with something that won't let you close enough to engage in melee for a meaningful length of time.
* The ''VideoGame/TeamFortressClassic'' Engineer gets a railgun that doesn't share its ammo with any of his other weapons. It's practically useless due to its low rate of fire and damage output, suggesting it was included for this reason.
* The Engineer of ''VideoGame/TeamFortress2'' carries a pistol and more ammo than he can likely spend in one life. While he has the gool ol' {{shotgun|sAreJustBetter}} as a primary, it is slow to fire and reload, and its spread makes it hard to use beyond medium range, so the pistol's the only real option to hit anything past sentry range.
* Many melee specialists in ''TabletopGame/{{Warhammer 40000}}: VideoGame/DawnOfWar'' have a ranged weapon or an upgrade that gives them one, pretty much only useful against flyers due to the inaccuracy of firing while moving.
* The pistol in ''VideoGame/{{Warhawk}}'' is weak and can't damage vehicles, but has infinite ammo.
* In ''VideoGame/{{Rune}}'': Halls Of Valhalla'' and possibly Rune itself too, any weapon can be thrown with the obvious backdraw of not having said weapon in your hands anymore. In player versus player duels, throwing your last remaining melee weapon is usually unexpected and can bring victory, but if it fails you're weaponless. You can pick up one of every kind, giving you quite an arsenal to throw with. You can also pick up chopped off pieces of enemies and throw those. Ineffective, but funny.
* Both ''VideoGame/Left4Dead'' games feature pistols with [[BottomlessMagazines an endless supply of magazines]] as your sidearms. [[PunchPackingPistol That's not to say they're ineffective, as even on Advanced (Hard) mode they'll down common zombies in three body shots and kill any Special Infected in less than fifteen; they're decent-to-good on anything that isn't called Witch or Tank]]. ''VideoGame/Left4Dead2'' adds the Desert Eagle ("[[AKA47 Magnum Pistol]]") as an alternative to your regular pistol. Should you decide to pick up a melee weapon to replace your sidearm, get knocked on the ground and it becomes a single pistol. This is justified though, as melee weapons are a one hit kill against almost all infected, and being downed is supposed to put you at a disadvantage. The chainsaw also becomes a single pistol when it runs out of fuel. Clearly, in the south they've run out of places to stash their guns.
* In ''VideoGame/CityOfHeroes'' when the custom mission creator was released it was possible to make custom enemies with no ranged attacks allowing a ranged character to fly up and fight them in perfect safety. Consequently all custom enemies with a melee attack set now get Throwing Knives or Shuriken as a ranged attack power. Much earlier, a quintet of origin-based attacks was introduced to guarantee that all players had at least one (very weak) ranged attack.
* ''VideoGame/ValkyrieProfile'':
** Not a single weapon, but Lenneth's ability to equip bows is likely this in the first game. While there's no enemies that can't ever be reached by melee, an early boss battle has a powerful mage protected by a pair of very durable henchmen, which you'd have to break through to reach the mage with melee, during which the mage will be pounding you with spells. It's possible to have recruited an archer prior to this, but just in case you haven't, the game advises you to switch Lenneth from her usual sword to a bow.
** The Valkyries are consummate warriors in the game's universe just like in RealLife (Real Myth?). There's a reason her FinishingMove has a bow version as well as a sword version.
* In ''VideoGame/WorldOfWarcraft'' all ranged weapons are this for all classes except Hunters. They consist of guns, bows, crossbows and throwing knives for warriors and rogues and wands for mages, priests and warlocks. The most common use of them is ''initiating'' battle from a distance in order to lure mobs to a more favourable position[[note]]Technically that's the most common use that actually involves ''using'' said weapon. For most classes it's just another slot's worth of stat-bonus-granting gear.[[/note]].
* Most [=WoW=] or ''{{VideoGame/Lineage 2}}'' inspired [=MMOs=] have ranged weapons serve this purpose for melee characters. In the case of the [[AnAdventurerIsYou Party tank]], a solo ranged pull is often safer than running into the middle of the room with the Taunt key held down as it allows the player to control how much aggro he gets and what mobs notice him. More recently, they have stopped bothering with actual ranged weaponry for any class other than dedicated ranged fighters and instead give them fairly weak abilities that serve the same purpose.
* All of the melee weapon styles in ''VideoGame/DCUniverseOnline'' offer some manner of ranged attack capability, via some combination of RazorWind, ThrowingYourSwordAlwaysWorks, ShockwaveClap, throwing rocks, shuriken, or a straight-up elemental ChargedAttack.
* While not deliberate, many VideoGame/ModernWarfare2 players have been absolutely shocked when a knife rusher (commando-marathon-lightweight) actually shot at them, since they (usually) rely on {{One Hit Kill}}s from their melee.
* Back in the days of VideoGame/{{Quake}} 1, there were a lot of mods intended to provide a set of alternate classes and weapons to play with, usually including a melee fighter. As the game's maps used a lot of shoot-to-activate switches, the mods tended to include a key binding to throw a rock for minimal damage. (The "Hitscan sword" alternative was rare.)
* In the ''Xtended'' mod for ''[[Videogame/{{X}} X3: Terran Conflict]]'', the [[MagicTool Repair Laser]] normally mounted on the EVA space suit is replaced by a pathetically weak Impulse Ray Emitter on difficulties past "Easy". Its only practical use is for shooting down incoming missiles, because [[SinkTheLifeBoats enemy NPCs don't stop shooting when you bail out]].
* At some point in ''VideoGame/StarWarsRepublicCommando'', you will likely run out of ammo for your SwissArmyWeapon and find yourself resorting to the weak and extremely underwhelming DC-15s blaster pistol. Its two main benefits are that it never runs out of ammo and that it's mostly accurate. Beyond that, it's only got eight shots in its magazine at a time, recharges slowly, doesn't do a lot of damage, and using it forces you to switch away from your main gun and the rather powerful [[{{Vibroweapon}} vibroblade]] installed in your armor's knuckle plate. It is considerably more effective to avoid spending your last few regular rounds just so you can blade-punch your opponents, rather than shoot them with the blaster pistol -- inexplicably, using the pistol forces you to rely on an equally weak and underwhelming PistolWhip for your melee attack instead of the much more useful vibroblade.
* In the ''VideoGame/MetroidPrime'' games, Samus' Power Beam is either this or BoringYetPractical. No, you won't be blasting them with pure dark energy, or freezing them solid, or spraying them with burning-hot plasma, but those things take ammo. The Power Beam has infinite ammo, fires ''very'' fast, and is generally the thing to use for those pesky FragileSpeedster enemies you come upon fairly often.
* ''VideoGame/SeriousSam'' has infinite ammo for his pistols, though the magazine has to be taken out and reinserted for the [[MatterReplicator ammo generator to work]].
* In ''[[Videogame/MechWarrior MechWarrior Living Legends]]'', all but the most [[CripplingOverspecialization overspecialized]] [[HumongousMecha Battlemechs]] carry either a long-range weapon (for a CloseRangeCombatant) or a short range weapon (for a LongRangeFighter) for backup. The Bushwacker "Delta" for example, has a long range large X-pulse laser which it can spam until it gets within range of its far more effective [[BeamSpam medium X-pulses]] and [[MacrossMissileMassacre short range missiles]]. On the opposite extreme, the Vulture "Alpha" carries a pair of extreme range [[MagneticWeapons Gauss Rifles]] backed up by a single short range missile launcher for point defense against enemy [[PoweredArmor battlearmor]]
* Mercy's sidearm in ''VideoGame/{{Overwatch}}''. It fires a slow-moving and easily dodged projectile, meaning the player has to LeadTheTarget, but is accurate and packs a fair sting. It suffices for self-defense in emergency situations, as well as things like spooking twitchier snipers or clearing out Symmetra's short range turrets.

[[AC: TabletopGames]]
* This sort of thing used to be ridiculously common in ''TabletopGame/DungeonsAndDragons'', before Fourth Edition. In all earlier editions, the main factor in hitting with a weapon is your Base Attack Bonus (or [=THAC0=], in AD&D), which is the same value for melee and ranged attacks, so an otherwise melee-focused character could still probably hit with a bow or a thrown weapon if the situation called for it. Most characters would carry around a backup weapon, "just in case". In Fourth Edition, a character won't possibly hit with any weapon outside of that character's narrow focus, so the rules give most classes abilities that let them use their main focus somehow at range (often relying on the rule that any thrown weapon immediately reappears in the attacker's hand after it does damage, so the fighter would just gain abilities to throw his InfinityPlusOneSword in the off case that he can't get up and beat someone down with it directly). Spellcasters, who would previously carry a crossbow in case they ran out of spells, are instead incapable of running out of spells.
* ''Tabletopgame/BattleTech'''s close-ranged [[HumongousMecha Battlemechs]] often mount a fairly long ranged backup weapon such as a long-range-missile launcher or a large laser. They generally don't carry enough ammo or [[OverHeating heatsinks]] to fire them for long, leaving them as finishing weapons or for plinking at enemies as they close the gap.

[[AC: RealLife]]
* The [[http://en.wikipedia.org/wiki/FP-45_Liberator Liberator Pistol,]] made during WWII was a crude, single shot .45 caliber pistol. It was intended to be dropped into occupied territory and be used by resistance groups to kill occupying soldiers and take their much better weapons. It never saw much use in Europe, but was employed in numbers in the Philippines and China.
** Due to its unrifled barrel, though, the "ranged" part is debatable. Its real value was as ParanoiaFuel for occupiers in territories the Liberators were dropped over - they would inevitably find some and figure out what was going on, but they couldn't possibly know ''exactly'' how many were dropped overall or whether they had rounded them all up; any random civilian an occupying soldier came across on a patrol could have had one hidden in their pocket, waiting for an opportunity to shoot them in the back and take their gun.