Staredit Network > Forums > SC1 UMS Theory and Ideas > Topic: Cloaking Detection System
Cloaking Detection System
Aug 12 2008, 3:06 am
By: The Great Yam  

Aug 12 2008, 3:06 am The Great Yam Post #1



It's fairly easy to detect if a unit uncloaks. However, determining when it DOES cloak is a bit harder. The principle works like this:

You have a computer owned ground unit in the top right corner, with a location placed over it. The player owning the ghost must be unallied and the ghost cannot be invincible. A constantly trigger detects if the computer unit is in that location. If it is, it runs AI script "Send all units on Random Suicide Missions". If the ghost is uncloaked, it can "see it" via computer's cheap ability to see the whole map, and it tries to leave the location and attack. If it is cloaked, it will just sit there.

When it leaves the location it is important to return it to the location so it can't actually find the ghost and kill it (you can enclose it with DTs if you want).

Now detecting cloaking, rather than uncloaking is a bit more complicated. In this system, every time the computer unit is in that location, a death count is added. Every time it leaves the location it is reset to 0.

Now an important thing to note is that a certain amount of death counts will be reached before it is reset (I believe it is determined by unit size + speed). It is important to find out the number for the unit you are using (a devouring one/upgraded zergling is the best unit to use, as it is very fast). You set the number that determines if the unit is cloaked (the computer unit will be still) one death count higher than this number.

For example, when a devouring one tries to leave the location it can reach 3 death counts. So, if it isn't moving the computer's death counts can reach 4, and the unit is cloaked. Then you can use this however you want (make sure to reset energy when the unit is not cloaked).

This could probably be used with wraiths as well.



None.

Aug 12 2008, 3:10 am O)FaRTy1billion[MM] Post #2

👻 👾 👽 💪

Is the whole deathcount thingy for the unit being in the location? If you use an inverted location, there can be a 1px coordinate that is the ONLY area the unit will be detected (even being 1px off center will make it not in the location.)



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Aug 12 2008, 3:22 am KrayZee Post #3



Wraiths are the very same as well.



None.

Aug 12 2008, 3:36 am Falkoner Post #4



Wouldn't this require having a computer completely given over to cloak detection? since random suicide missions is a full AI, rather than just at a location?



None.

Aug 12 2008, 4:52 am KyleIs1337 Post #5



And wouldn't it go after other units owned by you...



None.

Aug 12 2008, 2:48 pm The Great Yam Post #6



Yeah, it is something of a one trick horse, you will need to dedicate an entire player for each cloaked unit.

The main use I could think for this is for an RPG or single-player map, where a player controls their actions via a ghost.

I think it's fairly useful in an RPG situation where you don't want your main unit to look like an evil worm (Defiler) or be a ship (corsair).

Oh, and on an unrelated note: I can't seem to disable nuking capability in SCMDraft, I've tried disabling both nukes and their silos and neither does anything (there is still the greyed out option).



None.

Aug 12 2008, 2:56 pm Lethal_Illusion Post #7



I made a map that detected cloaking for a friend a while ago.

Here it is.

Attachments:
Cloak Detection.scm
Hits: 13 Size: 39.52kb



None.

Aug 14 2008, 2:44 am KyleIs1337 Post #8



Lethal, I opened that map and placed a marine and then it couldn't cloak because there was a different unit that the wraith would always go after.



None.

Aug 14 2008, 5:37 am Lethal_Illusion Post #9



Quote from KyleIs1337
Lethal, I opened that map and placed a marine and then it couldn't cloak because there was a different unit that the wraith would always go after.
That doesn't matter in this case, since Wilhem is making a one-unit-per-player map.



None.

Aug 14 2008, 7:35 am The Great Yam Post #10



People seem to miss my point: this is intended for RPGs/arena maps, etc.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:57 am]
maxar39174 -- Outdoor gym and fitness equipment manufacturer and suppliers https://mountwoodco.com/outdoorgym-equipment-manufacturer-in-uttar-pradesh.php
[06:57 am]
maxar39174 -- Outdoor gym and fitness equipment manufacturer and suppliers https://mountwoodco.com/outdoorgym-equipment-manufacturer-in-uttar-pradesh.php
[06:57 am]
maxar39174 -- Outdoor gym and fitness equipment manufacturer and suppliers https://mountwoodco.com/outdoorgym-equipment-manufacturer-in-uttar-pradesh.php
[06:56 am]
maxar39174 -- Outdoor gym and fitness equipment manufacturer and suppliers https://mountwoodco.com/outdoorgym-equipment-manufacturer-in-uttar-pradesh.php
[06:56 am]
maxar39174 -- Outdoor gym and fitness equipment manufacturer and suppliers https://mountwoodco.com/outdoorgym-equipment-manufacturer-in-uttar-pradesh.php
[06:56 am]
maxar39174 -- Outdoor gym and fitness equipment manufacturer and suppliers https://mountwoodco.com/outdoorgym-equipment-manufacturer-in-uttar-pradesh.php
[06:56 am]
maxar39174 -- Outdoor gym and fitness equipment manufacturer and suppliers https://mountwoodco.com/outdoorgym-equipment-manufacturer-in-uttar-pradesh.php
[05:02 am]
Oh_Man -- whereas just "press X to get 50 health back" is pretty mindless
[05:02 am]
Oh_Man -- because it adds anotherr level of player decision-making where u dont wanna walk too far away from the medic or u lose healing value
[05:01 am]
Oh_Man -- initially I thought it was weird why is he still using the basic pre-EUD medic healing system, but it's actually genius
Please log in to shout.


Members Online: Roy