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.

[[AC: {{Literature}}]]
* In the {{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.

* In ''VideoGame/{{Yakuza}}: Dead Souls'', 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. Crossbows are universally and unconditionally awful.
* ''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, similarly to the Gimli example given above, 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.
*** Don't underestimate [[RockBeatsLaser rocks]], though. Many a new player has been undone by wild forest men with rocks and sticks.
* 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, opposed to every other melee weapons 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 a shotgun, it is slow to fire and reload, and its spread makes it hard to use beyond medium range. The pistol is really the only reasonable weapon in his personal arsenal if he needs to fight beyond his SentryGun's effective range.
*** Actually, the pistol do suffer from bullet spread quitte heavily, making it unsuitable for long rage fight and it's damage, while not laughable, is pretty poor compared to the shotgun from close to mid-range. And since 7 out the 9 classes in the game are primarly focused on close-range fights, thanks to the bullet spread mechanic of the game, your shotgun is in fact a pretty good option, putting you at an advantage in direct combat against Medics, Snipers and Spies alike.
*** The shotgun is in fact the secondary weapon for half of the cast: The Soldier, the Heavy, the Pyro all wield a shotgun on top of their regular weapon. And while it isn't nearly as flashy or as powerful as their primary, all of them do benefit from it: The Soldier's Rocket Launcher can empty his clip rather quickly, and it's often a better idea to switch to your shotgun to finish off your foe, the time it takes for the Heavy to wind up his minigun can be used instead to land two to three shotgun shot, and without it, the Pyro can no longer hit anything that stands in more than two feets away from him.
* Many melee specialists in ''TabletopGame/{{Warhammer 40000}}: DawnOfWar'' have a ranged weapon or an upgrade that gives them one.
* The pistol in ''VideoGame/{{Warhawk}}'' is weak and can't damage vehicles, but has infinite ammo.
* In ''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, a rare aversion of HandCannon[[note]]against Special Infected, anyway; against the Commons it's a OneHitKill ''anywhere'', which in Realism Mode is a feature only shared by the [[{{BFG}} M60 heavy machine gun]][[/note]]. 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.
** Also averted elsewhere. A few of melee powersets available to players include a ranged attack (SuperStrength, [[DishingOutDirt Stone Melee]], Spines, [[WolverineClaws Claws]] and Kinetic Melee) which is no weaker than their other attacks. Their range may be shorter than a Blaster, and they lack a full ranged attack chain, but the attack is more than capable of putting the hurt on a runner or an enemy that hangs back.
** Also by level 41 all players could choose from ancillary power pools that gave access to abilities they would not normally have for their archetype: for example all melee archetypes would gain access to one or two ranged attacks while ranged archetypes gained access to weaker versions of the defensive shields enjoyed by the melee archetypes.
* Not a single weapon, but Lenneth's ability to equip bows is likely this in the first ''ValkyrieProfile'' 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.
* All of the melee weapon styles in ''DCUniverseOnline'' offer some manner of ranged attack capability, via some combination of RazorWind, ThrowingYourSwordAlwaysWorks, ShockwaveClap, throwing rocks, shuriken, or a straight-up [[ElementalAttacks elemental]] ChargedAttack.
* While not deliberate, many 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 {{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]]

[[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.