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.
[03:08 pm]
Oh_Man -- example of wat u mean?
[05:59 am]
NudeRaider -- *is
[05:17 am]
NudeRaider -- despite all its flaws the sound design its fantastic
[10:29 pm]
Oh_Man -- homeworld 3 = massive disappointment
[2024-5-14. : 10:05 am]
Moose -- ya
[2024-5-14. : 5:23 am]
zsnakezz -- yes
[2024-5-12. : 8:51 pm]
l)ark_ssj9kevin -- Are you excited for Homeworld 3?
[2024-5-12. : 8:44 pm]
l)ark_ssj9kevin -- Hi Brusilov
[2024-5-12. : 4:35 pm]
O)FaRTy1billion[MM] -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
my server that was hosting it died
[2024-5-10. : 8:46 pm]
NudeRaider -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
https://armoha.github.io/eud-book/
Please log in to shout.


Members Online: 3harpere823rM9