Staredit Newtork
Community
StarCraft
Games
Site
Favourites
Detecting Cloak with vHP, or alternatives?

Creator: madroc
Time: Aug 7 2008, 4:24 am

Post #1     madroc Aug 7 2008, 4:24 am

[Avatar]
Inside of a Battlecruiser!!
 offline contact
I'm using vHP (ya know the zerglings under the unit thing) and one of the units is a wraith. How can I detect when he hits the "cloak" button so I can make all those zerglings invincible!

One alternative would be to have a barracks off in the distance where, when he lifts off, it cloaks the wraith and sets a death count and when the death count reaches zero, the wraith uncloaks. Or the player could just make the barracks land to uncloak him. Well that's not actually an option because there is no way to cloak a wraith via triggers. (the only reason I want this feature is for the SFX of having a transparent wraith) Actually there is a way but that involves removing the wraith and creating a cloaked one, but that makes the hotkey go away; I don't like that.

How could I do this? simply making the wraith look transparent via triggers would be sufficent, although it would be much cooler to be able to just hit the cloak button on the wraith itself. I can't use euds.
() )) (CRAYOLA) )) >
Jump in the crayon box and copy/paste this into your signature! You must make it a different color tho.
(signature image)
Build-A-Ship Workshop
Top

Post #2     Kaias Aug 7 2008, 4:34 am

[Avatar]
Thats not going to happen
 offline contact
You can get the sound effects right from SCMDraft.

I don't think there is any easy way of going about it.
Top

Post #3     Lethal_Illusion Aug 7 2008, 4:54 am

[Avatar]
 offline contact
Kenoli had a test map that detected when a unit uncloaked:
http://www.staredit.net/files/339/

I later made a similar map, but mine detects when you cloak (idea from Ocean_of_Fire).
Attachments:
scm file
Cloak Detection.scm (39.52 kb)
9 hits.
Top

Post #4     Kaias Aug 7 2008, 5:03 am

[Avatar]
Thats not going to happen
 offline contact
That test map is hilariously simple. I doubt you have a computer that can fit the role to do it though.

Perhaps the best part is the disabled create/kill observer action. Apparently someone was planning a boom.
This post was edited 1 time, last edit by Kaias: Aug 7 2008, 5:08 am.
Top

Post #5     Lethal_Illusion Aug 7 2008, 5:14 am

[Avatar]
 offline contact
Quote from Kaias
That test map is hilariously simple. I doubt you have a computer that can fit the role to do it though.

Perhaps the best part is the disabled create/kill observer action. Apparently someone was planning a boom.

Yes, I originally made the map for JaFF because he wanted an action button for his pvp map. The only drawback was that a player could use cloak as a defensive ability (give them a second where they aren't being attacked). So I was just messing around and tried to make them visible the entire time (hence moving observers around). I deleted the observers before I posted so no one would be confused, but apperantly I missed some.
Top

Post #6     madroc Aug 7 2008, 5:18 am

[Avatar]
Inside of a Battlecruiser!!
 offline contact
@Kaias - That sniper map will be finished after one more test run! (I just need someone who's willing to do it.. The bad part is that I have a latency problem and thus can't create games, so I need to do the latency trick - This is for this map)

That's really cool and WOULD work great, but the idea behind vHP is that the wraith is invincible and the zerglings underneath are vulnerable. Any way to get around this?
() )) (CRAYOLA) )) >
Jump in the crayon box and copy/paste this into your signature! You must make it a different color tho.
(signature image)
Build-A-Ship Workshop
Top

Post #7     madroc Aug 7 2008, 5:42 am

[Avatar]
Inside of a Battlecruiser!!
 offline contact
I just realized that if I had someone else's (like a neutral player's) burrowed units centered on the wraith instead of his own and that person was unallied to the computer, then have the wraith be vulnerable, have like a million life so he looks invincible, be allied to the computer, but be unallied to a different computer with a goliath who tries to kill the wraith but is in a corner of the map, then it would work fine. Thanks guys! I'll use the map theories in mine.
() )) (CRAYOLA) )) >
Jump in the crayon box and copy/paste this into your signature! You must make it a different color tho.
(signature image)
Build-A-Ship Workshop
Top

Post #8     KyleIs1337 Aug 7 2008, 7:01 am

[Avatar]
I paid -54 minerals for THIS?
 offline contact
Madroc! I want to help you with that map please! <33 I love that idea and I want to work on it with you PM me with your decision :) .

+

This post was edited 1 time, last edit by KyleIs1337: Aug 10 2008, 7:42 pm.
Build-a-Ship Workshop

() )) (CRAYOLA) )) >

Quote from O.o: because I've found my form in your forms where It should not be.
Top

Post #9     NudeRaider Aug 7 2008, 10:45 am

[Avatar]
Write your own destiny, or else someone will write it for you!
 offline contact
To cloak the wraith give it to a comp and move it to a seperate area, let the comp shoot the wraith by an invincible unit with 0 damage, preferably a ghost hero. You sure have one of them to spare, do you? ;) Ghost hit instantly, have a quite long cooldown and do only 1 hit = (0.5 damage, which, iirc, doesn't even affect the wireframe)
The comp wraith will cloak and try to run away. You only have to move the wraith for about 4 trigger loops (test how long actually to let it reliably be hit) then move the wraith back and give it to the original player.
Hotkeys survive the process, as the unitID doesn't change.

To uncloak it via trigger you can only remove its energy for at least 1 trigger loop. That's the only way afaik, although you can't preserve the energy it had before uncloak.
(signature image)
http://sonsofwar.pyrom.net/index.html___0% (user posted image) 100%
Top

Post #10     madroc Aug 7 2008, 6:01 pm

[Avatar]
Inside of a Battlecruiser!!
 offline contact
Awesome!! I didn't know that was possible! That's probably the way I'll do it. Thanks!
() )) (CRAYOLA) )) >
Jump in the crayon box and copy/paste this into your signature! You must make it a different color tho.
(signature image)
Build-A-Ship Workshop
Top
0 members in this topic: None
+ 0 guest(s)


[08:03 am]
[Echo]:] -- Bush is a smart guy.
[07:47 am]
O)MasterJohnny -- Bush is sorry about the economic crisis :D
[07:11 am]
rockz -- Bio>civil
[07:05 am]
[Echo]:] -- Did I mention civils sucks?
[06:58 am]
[Echo]:] -- especially the texan civils, because they only barn raise
You must log in to shout.

©2003-2008 Staredit Network.
Starcraft & Starcraft II are trademarks of Blizzard Entertainment.
Site Index   |   Terms of Service   |   Privacy Policy   |   Contributions