Staredit Network > Forums > SC2 Assistance > Topic: Duplicating a Weapon
Duplicating a Weapon
Jun 19 2011, 7:54 am
By: Kimaru2  

Jun 19 2011, 7:54 am Kimaru2 Post #1



I'm currently making a test map, the goal being to duplicate an infestor and give it a weapon. I managed to successfully duplicate the infestor, now named Drunk Infestor, and I've chosen to give him the Roach's Acid Saliva weapon, but I want to instead duplicate the weapon so that I can have both the original damage reserved for the roach, and a new damage for my Drunk Infestor. I've spent hours trying to figure out how to duplicate a weapon, especially by looking up tutorials, but many were vague, or didn't cover my issue.

Here's what I have tried:
1. In the Data Editor, I went to Weapons and found Roach - Acid Saliva, and duplicated it. I checked the actor and the damage effect only. This would pretty much work except that now the weapon has 2 actors, Roach Attack and Roach Attack Copy. Also it has 2 damages: Roach - Needle Spines (Damage) and Roach - Needle Spines Copy (Damage). I have no way of deleting one actor and one damage, and in-game, my Drunk Infestor deals the original damage, even though I editted the new one. (Also for some reason, when I duplicated the Roach - Acid Saliva, it too was modified and was given another actor and another weapon. Weird.)

2. Instead of duplicating the roach weapon, I instead went to the Weapons tab and clicked Add Weapon. I named it Drunk Infestor Slime, weapon type Legacy, CWeaponLegacy, Zerg, and Copy from Roach - Acid Saliva. In attempt (1) above, my resultant weapon had 2 actors and 2 damages. This time my weapon has 1 actor and 2 damages, the actor being the same actor as the original Roach - Acid Saliva. Also, this new weapon does not appear as a weapon when I'm going through Combat - Weapons for my infestor.

Thank you. If you need me to provide pictures or anything, let me know.



None.

Jun 19 2011, 4:36 pm Roy Post #2

An artist's depiction of an Extended Unit Death

When you duplicate the weapon and don't select anything else, it should use the same links as the weapon you're duplicating. When you duplicate the weapon and select everything, it creates copies of all the links for the weapon. For flexibility reasons, you should go with the second option.

When you copy the actor, it shouldn't include the original actor in the copied weapon. I am unable to reproduce this, so unless I am misunderstanding you, I can't help you.

You'll want to change the copied "Needle Spines (damage)" effect's amount to change the damage of the attack. Then, when the Infestor attacks using this copied weapon, it should apply the new damage when it hits.

Adding a weapon takes more work, and for something like this, I would recommend trying to get the duplication to work.




Jun 19 2011, 4:52 pm NicholasBeige Post #3



Ignore this. My data editor has done something completely fucking wierd and this isn't working as it is supposed to. Let me fix and edit this soon.

Post has been edited 4 time(s), last time on Jun 19 2011, 5:27 pm by Cardinal.



None.

Jun 19 2011, 7:18 pm Kimaru2 Post #4



Thanks, I think I figured it out. It turns out that when I was duplicating the weapon, I was only checking the actor (Roach Attack) and the Needle Spines (Damage), and not the missile. Because of this, I ended up with an extra actor for my new weapon. I managed to fix it by checking the actor and all effects.

But one question still remains. When my Drunk Infestor attacks, he turns toward his target, but he shoots while standing there as if he's idle. Is there a way to give him an animation to make him look like he's spewing acid?



None.

Jun 19 2011, 7:20 pm DevliN Post #5

OVERWATCH STATUS GO

In the "Events" of the Infestor's Actor, you can set the animations that play when it attacks.



\:devlin\: Currently Working On: \:devlin\:
My Overwatch addiction.

Jun 19 2011, 7:22 pm NicholasBeige Post #6



I havn't been able to figure out why the Roach acid saliva attack doesn't display. In theory it should.

I've copied the action actor for the Roach's saliva attack, and changed the token effects. But it doesn't display. The only way I managed to get it to work was to simply give the Infestor the Roach's weapon and then alter the effects that way. I'll keep playing around.



None.

Jun 19 2011, 10:22 pm Kimaru2 Post #7



Quote from DevliN
In the "Events" of the Infestor's Actor, you can set the animations that play when it attacks.

I did that, but he still stands idle while he attacks. Here's what I inputted:

Abil.Attack (Msg Type: Ability, Source Name: Attack, Sub: (Any)
AnimPlay Attack Attack



None.

Jun 19 2011, 11:29 pm Roy Post #8

An artist's depiction of an Extended Unit Death

The Infestor doesn't have a built-in attack animation. You'll either have to use an existing animation or find/make a custom animation.




Jun 19 2011, 11:30 pm DevliN Post #9

OVERWATCH STATUS GO

You can use the cast animation. Check the Previewer for all the animations you can choose.



\:devlin\: Currently Working On: \:devlin\:
My Overwatch addiction.

Jun 20 2011, 4:38 pm Kimaru2 Post #10



This might sound like a stupid question, but could you tell me where the previewer's at? :bye1:



None.

Jun 21 2011, 1:22 pm Ahli Post #11

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

Quote from Kimaru2
This might sound like a stupid question, but could you tell me where the previewer's at? :bye1:
right click an unit's actor and click preview.
You can cycle through the animations with "+" and "-" buttons on your keyboard.




Jun 23 2011, 6:40 pm Kimaru2 Post #12



Alright thanks!



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[12:30 am]
ClansAreForGays -- When you join a pub lobby because you see 7/8 players, but then realize host is bating you with computers. :flamer: :flamer:
[2024-10-30. : 11:48 pm]
O)FaRTy1billion[MM] -- :wob:
[2024-10-30. : 6:24 pm]
Ultraviolet -- :wob:
[2024-10-29. : 4:33 pm]
Vrael -- :wob:
[2024-10-29. : 1:32 pm]
Zoan -- :wob:
[2024-10-28. : 5:21 pm]
Ultraviolet -- :wob:
[2024-10-27. : 4:34 pm]
jjf28 -- :wob:
[2024-10-27. : 9:01 am]
Zycorax -- :wob:
[2024-10-27. : 3:31 am]
RIVE -- :wob:
[2024-10-26. : 7:12 pm]
Ultraviolet -- :wob:
Please log in to shout.


Members Online: lil-Inferno