Staredit Network > Forums > SC2 Assistance > Topic: "Charging weapon" until you click a target
"Charging weapon" until you click a target
May 29 2010, 7:32 pm
By: Devourer  

May 29 2010, 7:32 pm Devourer Post #1

Hello

I'm in need of help once again :P
so, the question:
How can I make a weapon which is shotable -lets say- every second (cooldown=1sec) but when you do not immediately shot it charges. Like, every three seconds not attacking with the weapon adds, maybe 5, damage to the weapon's next shot. Also, a limit would be nice as well (maximal 25 damage or similiar).

Any way to do so?
Explanation with screenshots would be more than welcome :)



Please report errors in the Staredit.Network forum.

May 29 2010, 8:45 pm Temp Post #2



No screen shots right now but I do have an idea on how to do this. You have a periodic behaviour which uses an effect that applies another behaviour, this behaviour modifies the attack of the current unit by 5 and can stack to 5. Now you modify the marine weapon to cause a set effect, this set effect causes the marine damage effect and then a new effect that removes the add damage behaviour. You will also need a disable validator on the periodic behaviour that checks if the unit is attacking.

I attached a map that does this for you to look at to make up for screenshots.

Attachments:
WeaponCharge.SC2Map
Hits: 3 Size: 168.21kb



None.

May 29 2010, 8:59 pm Devourer Post #3

Hello

wow that looks pretty awesome and works just well :)
Err, is there a way to make a blue plasma ball (photon cannon attack) in front of the unit and make it bigger every time the damage increases? Quite new with the data editor, sorry :)



Please report errors in the Staredit.Network forum.

May 29 2010, 9:24 pm Temp Post #4



Not in the data editor alone without creating/modifying a model. With triggers it may be possible though I will have to look into it.



None.

May 30 2010, 12:23 am bobo Post #5



trying to make Samus eh lol =D



None.

May 30 2010, 1:27 am ImagoDeo Post #6



Quote from bobo
trying to make Samus eh lol =D

Exactly what I was thinking.

Have fun recreating Metroid, DeV.



None.

May 30 2010, 10:47 am Devourer Post #7

Hello

Quote from ImagoDeo
Quote from bobo
trying to make Samus eh lol =D

Exactly what I was thinking.

Have fun recreating Metroid, DeV.
haha :D
Na, not going to make metroid. Going to make a map which is not based on any other game than sc2.



Please report errors in the Staredit.Network forum.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[08:43 am]
TheHappy115 -- Yea, thats the issue. Thanks. It would also explain why my deleted map couldn't get updated. Updated version reduced collision on units (only thing added) since was dodging game (players collide with each other)
[05:26 am]
Ultraviolet -- If so, I'd just focus on getting them on scmscx.com and then you can link to that in the showcase thread for your maps
[05:25 am]
Ultraviolet -- I can't upload my EUD maps, I think the DLDB has some issue with handling them. Are you trying to upload EUD maps?
[2024-5-28. : 2:06 am]
TheHappy115 -- Its been awhile but ever since I requested one of the Maps I posted to be deleted since I couldn't delete it myself (or update it), I haven't been able to upload any more maps. Any reason for that?
[2024-5-26. : 7:14 pm]
Kyradax -- Hi
[2024-5-26. : 5:05 pm]
O)FaRTy1billion[MM] -- :wob:
[2024-5-25. : 9:22 am]
Zycorax -- :wob:
[2024-5-23. : 3:50 pm]
Ultraviolet -- :wob:
[2024-5-23. : 6:26 am]
UndeadStar -- :wob:
[2024-5-22. : 6:10 am]
Riney -- Somethings never change.
Please log in to shout.


Members Online: Roy, Zergy, Ultraviolet