General Information Edit
Usually, programs have no use for weapons, as threats to systems are frequently dealt with by the ICPs, (ICPs themselves use the basic Disc primitive commonly) however sometimes it is nescessary for programs to defend themselves, or in the case of specialized software such as Anti-Virus software, use weapons for offence. Scince their emegence sometime in the late '90s, weapons have been utilized to great effectiveness by Anti-Virus and Anti-Spyware programs. They have also, however, found their way into the hands of some of the deadliest viruses written, and have made malware and resource hogs even more deadly.
The basics Edit
A weapon in the Tron Universe is a specialized piece of code, used to forcibly remove (or destroy) energy from a program, thus hurting and (if used continously) eventually derezzing the program. The method varies, but weapons usually work by either pumping a small packet (or several) of explosive energy into the target, or by striking the target at a high rate of speed with the weapon itself charged with explosive energy. There are also piercing weapons, that literally sclice into a shell's code and rip out energy from inside the target. Weapons are unlike other code used by programs, as they commonly require the use of a primitive, which then has weapon code added into it by the program using it. This modifies the primitive into whatever form is dictated by the code. Weapons are only compatible with one particular kind of primiteive, and will not function with any other, unless the code is significantly modified. Weapons' pysical forms usually resemble real-world weapons like swords, guns, tazers, and frisbees (albeit far more deadly).
There are four basic types of primitives:
1. The Disc. Not to be confused with the data disc, the disc is just what it sounds like. a small, thin, flat and circular disc. The program using it throws the disc at his opponant, and when the disc impacts the target (and inflicts damage) or some hard surface, it ricohets, and will continue to until it returns to the thrower. It is currently considered impossible to catch a disc thrown by another program, as it would only damage the attemptee. Discs are fairly common, and weapons are not frequently used on them, as they are not heavily modifiable.
2. The Rod. The rod was actually originally used only as a container for a Light Cycle script. While it is still used for this task, the fact that the rod is able to contain, then run the script for an object as large (but as relatively complex) as a Light Cycle has made it a surprisingly capable Primitive. The rod is without a doubt the most versitale of the four primitives. It can project the lol, suffusion, and normal shock.(the suffusion and lol are from the older grid in tron 2.0) As a primitive, the rod can be broken in half, then if both broken ends are touched to an object (or program), large amounts of deadly energy will be coarsed through the target in question. While it's basic attack is useful in certain instances, it's clumsyness (needing to touch both ends) and relative non-deadlyness mean you rarely see a Rod without a weapon added.
3. The Ball. The ball is a rather unusual primitive. It is simply a small sphere or corrupted code and energy mixed together into a compact size. Balls are the only known primitives that actually are made from parts of programs- ball primitives are made as a by-product from a virus corrupting a program. When corrupted, the Zlot takes part of it's own energy and corrupts it, thus creating a small shere with explosive power. It is possible for a non-corrupted program to use ball primitives, bowever it still draws it's energy from the same place: the pogram using it. Ball primitives, when thrown against a solid surface, explode in a medium-size burst of energy and fragmented data, which damages anything (or one) in the blast radius. Weapons for the ball usually do not stray far from the primitive in terms of design; usually just ball launchers of some kind.
4. The Mesh. It usually it a flat, purple, triangular object. However, when activated, one 'corner' of the mesh pulls outward, opening slightly, while the rest of the inside of the mesh stretches forward, leaving a handhold on the side opposit the stretched corner. It then functions much like a real-world machine gun, firing continuous bursts of small explosive energy pellets. Meches are rather uncommon, mostly due to the fact that the mesh is only really used by Datawraiths or programs who managed to snatch one from an fCon file packet. There is not a lot of weapons for the mesh, consiquentially. The mesh does, however, have the unique ability to absorb energy into itself, such as in the case of the Energy Claw, which drains energy from the victim to the user, or the Prankster bit's implosive abilities.
5. The baton. The baton is the stick attached to a program's leg in tron legacy. It may produce a light cycle like listed above and can turn into a pole or staff. It also turns into a data katana which is one of clu 2's weapons. The baton is the tron legacy's version of a rod and may resemble it. The baton is not the rod if your wondering. It is more modern and has more simple weapons. Every program (or at least the important ones) have a baton. It suplies the program with defense and the ability to get around faster. The baton is the key to a program's survival against viruses and clu's sentrys.
It must also be noted that Primitives cannot be stored in a program itself, unlike code, it must be worn on the body or carried. They can still be placed into archive bins and the like, however.