Difference between revisions of "Weapons"
m (Reverted edits by 41.237.97.112 (talk) to last revision by Jack) |
|||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | '''Weapons''' are objects that are attached to units in order for them to use their basic attacks. Most units in StarCraft 2 (exceptions being the Overlord, Infestor, High Templar, etc.) have a weapon, and therefore an attack. | |
− | + | Using a combination of [[Effects]], [[Actors]], and [[Units]], weapons can have very different effects. These effects dictate how the weapon works. | |
− | + | == Weapon Effects == | |
− | + | Most commonly, all weapons have a [[Damage]] Effect. Some weapons have a [[Effect#Launch_Missile|Launch Missile]] effect. This missile Effect then links to the Damage Effect that will trigger on impact. Another interesting thing to note is that if you want your unit to have multiple attacks, it will need a [[Create Persistent]] Effect. This Effect links to the "Launch Missile" which it will create persistently (or 'multiple times'). Weapons can also utilize a [[Set]] Effect, which is basically a fancy way of making a group of effects. | |
− | |||
− | |||
− | == | ||
− | |||
− | Most commonly, all weapons have a Damage | ||
− | |||
− | |||
=== Examples === | === Examples === | ||
− | + | *'''Marine - Gauss Rifle''' has a "Damage" effect which does 6 damage. | |
− | *'''Marine - Gauss Rifle''' has a Damage | + | *'''Phase Cannon - Photon Cannon''' has both a Launch Missile and a Damage Effect. |
− | *'''Phase Cannon - Photon Cannon''' has both a Launch Missile and a Damage | + | *'''Missile Turret - Longbolt Missile''' has this Create Persistent, which causes the Launch Missile Effect to be triggered twice. |
− | *'''Missile Turret - Longbolt Missile''' has this Create Persistent, which causes the Launch Missile | + | *'''Marauder - Punisher Grenade'''. The weapon launches missiles (the projectile), and triggers the Set on impact. The Set contains an [[Apply Behavior]] Effect and a Damage Effect. When we upgrade our "Marauders - Concussive Shells," the Apply Behavior Effect (contained within the Set) is activated. Thus all targets hit by the Marauder's attack are slowed. |
− | *'''Marauder - Punisher Grenade'''. The weapon | ||
== [[Movers]] == | == [[Movers]] == | ||
− | + | Every Launch Missile Effect requires a [[Mover]] field. The Mover contains a lot of information about how the projectile works. You can edit the speed at which it travels, the rate at which it accelerates, and even how the missile will move along ht path before reaching its target. | |
− | Every Launch Missile | ||
== Actions and Actors == | == Actions and Actors == | ||
+ | A weapon won't make sounds unless you have properly linked a Combat Action (and its associated [[Sounds]]) to trigger when the Weapon is used. | ||
− | + | == See Also == | |
+ | *[http://www.sc2mod.com/board/index.php?page=Thread&threadID=158 Weapon tutorial, all basic aspects of weapon in data editor] (Flirer, ''Sc2Mod.com'') | ||
[[Category:Stubs]] | [[Category:Stubs]] | ||
Line 32: | Line 25: | ||
[[Category:Reference]] | [[Category:Reference]] | ||
[[Category:Data Editor]] | [[Category:Data Editor]] | ||
+ | [[Category:Catalogs]] |
Latest revision as of 23:35, 27 June 2012
Weapons are objects that are attached to units in order for them to use their basic attacks. Most units in StarCraft 2 (exceptions being the Overlord, Infestor, High Templar, etc.) have a weapon, and therefore an attack.
Using a combination of Effects, Actors, and Units, weapons can have very different effects. These effects dictate how the weapon works.
Weapon Effects
Most commonly, all weapons have a Damage Effect. Some weapons have a Launch Missile effect. This missile Effect then links to the Damage Effect that will trigger on impact. Another interesting thing to note is that if you want your unit to have multiple attacks, it will need a Create Persistent Effect. This Effect links to the "Launch Missile" which it will create persistently (or 'multiple times'). Weapons can also utilize a Set Effect, which is basically a fancy way of making a group of effects.
Examples
- Marine - Gauss Rifle has a "Damage" effect which does 6 damage.
- Phase Cannon - Photon Cannon has both a Launch Missile and a Damage Effect.
- Missile Turret - Longbolt Missile has this Create Persistent, which causes the Launch Missile Effect to be triggered twice.
- Marauder - Punisher Grenade. The weapon launches missiles (the projectile), and triggers the Set on impact. The Set contains an Apply Behavior Effect and a Damage Effect. When we upgrade our "Marauders - Concussive Shells," the Apply Behavior Effect (contained within the Set) is activated. Thus all targets hit by the Marauder's attack are slowed.
Movers
Every Launch Missile Effect requires a Mover field. The Mover contains a lot of information about how the projectile works. You can edit the speed at which it travels, the rate at which it accelerates, and even how the missile will move along ht path before reaching its target.
Actions and Actors
A weapon won't make sounds unless you have properly linked a Combat Action (and its associated Sounds) to trigger when the Weapon is used.
See Also
- Weapon tutorial, all basic aspects of weapon in data editor (Flirer, Sc2Mod.com)