Thursday, June 3, 2010

The Stalker

1. In the Units tab of the Data Editor, right-click and choose add object.
2. Enter a name and ID and make sure of the following settings:
- Based On: CUnit
- Object Family: Melee
- Race: Protoss
- Object Type: Unit
- Copy From: Stalker
3. Still in the Units tab, right-click and choose add object.
4. Enter a name and ID. This unit is going to represent the laser beam projectile shot out by the stalker clone.
5. Make sure the porjectile has the following settings:
- Based On: Missile
- Object Family: Melee
- Race: Protoss
- Object Type: Projectile
- Copy From: Weapon - Stalker
6. In the Weapons tab, right-click and choose add object.
7. Enter a name and ID and make sure of the following settings:
- Weapon Type: Legacy
- Based On: CWeaponLegacy
- Race: Protoss
- Copy From: Stalker - Particle Disruptors
8. In the Effects tab, you'll need to add a new object and base it off of the effect type you are creating. If you are copying every ability of the stalker, you'll need to create a Create Unit, Teleport, Damage, and Launch Missile effects.
9. In the Actors tab, you must create an actor for the new unit, the attack (postfixed with " Attack"; note the space), and Attack Missile. The same process applies to these actors.
a. In the new unit's actor, change the unitName value to the unit you made in step 2.
b. Check the Model settings... make sure they are the following:
- Model: Stalker
- Model (Build): Stalker Warp In
- Model (Placement): Stalker Placement
- Model (Portrait): Protrait - Stalker
c. If the sounds are not working for the stalker, verify the Sounds values are valid.
d. In the Attack actor, point the Impact Effect to the new unit's Damage effect, and point the Launch effect to the new unit's Set effect.
e. Also, in the Events+ settings, make sure all references to "Stalker" are changed to the new unit.
f. In the Attack Missile actor, change the Unit Name to the Weapon unit you created in step 3 and 4.
g. Also, make sure the Attack Missile's model is set to "Stalker Weapon".
10. Link up the unit's weapons and effects to those you just created.

KA-BOOM! You can now add the stalker clone to your map and have some fun with it.

One last note: if you wish to scale your stalker, you need to modify the Height field in the unit's projectile object (the lasers are supposed to come from his eye).

No comments:

Post a Comment