I have an idea. It’s somewhat borrowed from normal SF concepts, but the details are mine.
The weapon resembles a largish handgun, a bit larger than a Desert Eagle. The barrel is thicker on all sides. There is no ejector port, instead, a vent is placed here. Air is sucked into the vent and compressed. Power is applied from either a power source in the grip, where a magazine would normally go, or by a belt-worn generator that plugs in (Your choice)
This ionizies the gas. Magnetic coils in the barrel then pull the plasma through, similar to a railgun.
The gun has several drawbacks, though. First, the range isn’t as good as a standard firearm(the bolt begins to dissipate around 800 ft downrange, becoming ineffective around 1100 ft. It is acceptable for close quarters engagements, however. Second, the bolt mostly causes surface heat damage. Lethality is similar to a standard firearm, but the affected area on the torso is larger. Body armor either melts or burns, and several shots may be needed. Third, the fire rate is slowed, about 1 shot every .60 seconds, as the gun has to compress more air.
The gun’s greatest advantage is “unlimited” ammunition, as long as there is a power source.
There is a variant that resembles an H-K MP5. This version uses cartridges of already-compressed gas. Cartridges are loaded in a magazine, similar to an automatic weapon. It has a faster fire rate, slightly slower than an average SMG. The range is extended, as is overall damage. Specifically, it is more penetrating. This variant always uses a belt-worn power source, and is bulkier than a normal SMG. The advantage is ammunition is very light, and ludicrously cheap. A device that provides atmospheric gas can be fitted, giving “unlimited” ammunition at the expense of fire rate. Range and power are unaffected.
No weapon of the type I’ve outlined above works in vacuum or low pressure situations. Either there is no air to compress, or the low atmospheric pressure causes the bolt to dissipate rapidly.
The bolt’s color is determined by the atomic emission color of the gas comprising the bolt. Cartridge-based systems can be fitted with a gas that produces light in the infrared or ultraviolet spectrums, effectively rendering the bolt invisible to the naked eye.
If you really want to get radical, the weapons I’ve outlined can also fire normal ballistic ammunition, but I feel this is pushing the envelope. Just outlining all the options…