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.
[2026-6-04. : 3:42 am]
RIVE -- Hellooooo, Nurse
[2026-6-03. : 4:19 pm]
NudeRaider -- Hello World!
[2026-6-01. : 4:03 pm]
IskatuMesk -- no Hello World? No Hello . jpeg? Not even ddosing some government website? smh my head
[2026-5-31. : 10:02 pm]
Symmetry -- I was really just figuring out how to compile
[2026-5-31. : 10:02 pm]
Symmetry -- I didn't make it do anything
[2026-5-31. : 9:17 pm]
Ultraviolet -- hell yeah. did you have trouble making the button functional, or just haven't gotten there yet?
[2026-5-31. : 8:29 pm]
Symmetry -- I made the marine shoot lasers and gave the medic a nonfunctional button
[2026-5-31. : 8:07 pm]
Ultraviolet -- Symmetry
Symmetry shouted: I did my first EUD thing today. Feels like me finding arsenal at age 8 again
haha for sure. in some ways it's even more exciting because you can play EUD maps on regular battle.net, don't need to convince someone to download your mod to play with you. what did you do?
[2026-5-31. : 6:47 pm]
Symmetry -- I did my first EUD thing today. Feels like me finding arsenal at age 8 again
[2026-5-31. : 3:20 pm]
l)ark_ssj9kevin -- le reddit
Please log in to shout.


Members Online: NudeRaider, DarkenedFantasies