cloaking
Jul 14 2008, 4:03 pm
By: gam_crazy  

Jul 14 2008, 4:03 pm gam_crazy Post #1



i read the post about cloaking pylons, and tried to cloak a terran firebat after reading how to do it. In the example on that post he used waits. I cant use waits because of hyper triggers, and when i disable then enable the firebat, if i go down to where it is, there is a doodad sitting there and the game crashes. Also i cant move the unit with triggers after, being disabled, enabled, or changed player. Can you stuff using the doodad state without using waits??



None.

Jul 14 2008, 4:20 pm Ahli Post #2

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

you can use a death count timer instead. The waits have only the effect that they let out 1/8 game second. With hypertriggers you can just build a small dc timer:

set dc to 1 //start the process

between every line is a single trigger explained
_____________________________
dc = (exactly) 1 -> create 1 firebat, disable doodad state
_____________________________
dc = 2 -> enable doodad state
_____________________________
dc = 3 -> disable doodad state
_____________________________
dc = 4 -> order to move
_____________________________
dc = 5 -> move the unit away and give it to the player, set DC to 0
_____________________________
dc > (at least) 1 -> set dc to 0
_____________________________
and don't forget to preserve trigger in every trigger ;P.

That should work, or?
I'm not used to disabling different units. It should work like this or do you need to wait longer?

Post has been edited 1 time(s), last time on Jul 14 2008, 6:41 pm by Ahli. Reason: made a mistake in the triggers ;P now it works falkoner ^^




Jul 14 2008, 5:29 pm NudeRaider Post #3

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

You can use hyper triggers and waits the same time:

Either give the hypers to a player who doesn't run the cloak triggers
- OR -
if you have the hyper triggers for all players simply move them to the bottom of the list.

Usually it's preferrable to use death counters but in this case you'd need a bunch of triggers which is probably not necessary.




Jul 14 2008, 6:28 pm Falkoner Post #4



Actually, that's not a doodad there, it's a sprite, this sprite to be exact:

And most units will create it above them when they change into a state that will cause a crash, now, often enabling the unit after they enter that state will make it so they no longer crash, but many units crash, whether or not you do it right, you just have to test them out.

And Ahli, you'd want those triggers in reverse order, so they don't just trigger the conditions for eachother all in a line.



None.

Jul 15 2008, 1:08 am O)FaRTy1billion[MM] Post #5

👻 👾 👽 💪

You only need to wait after set doodad state... Everything else can be lumped together.

And that is a doodad sprite.



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!

Jul 15 2008, 1:25 am The Great Yam Post #6



Have you guys ever figured out why that is the sprite that crashing units usually create?



None.

Jul 15 2008, 1:52 am O)FaRTy1billion[MM] Post #7

👻 👾 👽 💪

Because its ID is 0. I never knew anyone was wondering. :O



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!

Jul 15 2008, 6:21 am Vrael Post #8



On a related note, I'm cloaking a hydralisk in my map. Now, about 90% of the time it works fine. I'm using a death-count-timer disable-enable-enable method. But occasionally, it still crashes. Here is the error I get: "The exception unknown software exception (0xc0000005) occurred in the application at location 0x004d541e" Then I click "ok" and starcraft closes. Can anyone tell me what that error means (I don't hex edit anything) and a way to fix it? I'm not even sure what's happening differently that 10% of the time.
The way my cloaking system is setup, you bring your dude to a beacon somewhere, and it creates a hydralisk for a computer player that you do not share vision with at the top of the map (so that the sprites don't build up since this can happen multiple times), then it disables enables enables moves it, teleports it to the selection area and gives it to you. Any ideas?



None.

Jul 15 2008, 9:22 am NudeRaider Post #9

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

I suppose it depends on which frame of the hydralisk animation is showing.
Would make sense, since BCs (or was it another unit?) work fine until you fly south.

In those 90% is it stable after you successfully cloaked? In that case you could make it more reliable when you find out which frame(s) cause a crash and order the unit the opposite direction just before cloaking it.




Jul 15 2008, 11:17 am rockz Post #10

ᴄʜᴇᴇsᴇ ɪᴛ!

Quote from Vrael
On a related note, I'm cloaking a hydralisk in my map. Now, about 90% of the time it works fine. I'm using a death-count-timer disable-enable-enable method. But occasionally, it still crashes. Here is the error I get: "The exception unknown software exception (0xc0000005) occurred in the application at location 0x004d541e" Then I click "ok" and starcraft closes. Can anyone tell me what that error means (I don't hex edit anything) and a way to fix it? I'm not even sure what's happening differently that 10% of the time.
The way my cloaking system is setup, you bring your dude to a beacon somewhere, and it creates a hydralisk for a computer player that you do not share vision with at the top of the map (so that the sprites don't build up since this can happen multiple times), then it disables enables enables moves it, teleports it to the selection area and gives it to you. Any ideas?
If you're only cloaking hydras, create a burrowed hydra, then order it to move, then make an arbiter, in 3 trigger runs on hypers. Instant permacloak.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Jul 15 2008, 4:47 pm Falkoner Post #11



Quote
Instant permacloak.

Until you burrow again :P The disable enable enable method keeps them cloaked, even when you burrow.



None.

Jul 15 2008, 6:15 pm rockz Post #12

ᴄʜᴇᴇsᴇ ɪᴛ!

who needs burrowing, anyway? They're invisible already...



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Jul 15 2008, 6:26 pm Vrael Post #13



The other 90% of the time the hydralisk is stable. I have no idea how to figure out what frame it crashes on, unless it can be determined from the error I posted up above.

Rockz, would your method be something like this:

Conditions: 2 death of unit Y
Actions: Create 1 Arbiter at Location X



Conditions: 1 death of unit Y
Actions: Order Hydralisk at Location X to Move to Wherever
Add 1 death of unit Y


Conditions: "Time to make the hydralisk!"
Actions: Create 1 burrowed Hydralisk at Location X
Add 1 Death of Unit Y

Is that right? Just have each trigger run on a separate cycle?

And how would I go about figuring out which frame is the problem?



None.

Jul 15 2008, 6:29 pm Falkoner Post #14



Just try ordering it in a random direction, and if it doesn't crash, stick with it.



None.

Jul 15 2008, 7:03 pm rockz Post #15

ᴄʜᴇᴇsᴇ ɪᴛ!

Quote from Vrael
The other 90% of the time the hydralisk is stable. I have no idea how to figure out what frame it crashes on, unless it can be determined from the error I posted up above.

Rockz, would your method be something like this:

Conditions: 2 death of unit Y
Actions: Create 1 Arbiter at Location X



Conditions: 1 death of unit Y
Actions: Order Hydralisk at Location X to Move to Wherever
Add 1 death of unit Y


Conditions: "Time to make the hydralisk!"
Actions: Create 1 burrowed Hydralisk at Location X
Add 1 Death of Unit Y

Is that right? Just have each trigger run on a separate cycle?

And how would I go about figuring out which frame is the problem?
That looks right. Test it out to make sure it works, that's how I did it, but I didn't bother to save the map, since it's only 3 triggers.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[12:34 pm]
NudeRaider -- curiosity kills the cat!
[06:18 am]
Sylph-Of-Space -- No complaints here, i'm just curious!
[11:05 pm]
Ultraviolet -- :wob:
[2024-5-18. : 3:55 pm]
Zoan -- :wob:
[2024-5-18. : 10:34 am]
NudeRaider -- SEN doesn't rely on spammers initiate its sleep cycle. It hat fully automated rest and clean-up phases. Please understand that this is necessary for the smooth operation of the site. Thank you.
[2024-5-18. : 3:45 am]
Sylph-Of-Space -- Does the shoutbox get disabled when there's spammers?
[2024-5-17. : 6:47 am]
NudeRaider -- lil-Inferno
lil-Inferno shouted: nah
strong
[2024-5-17. : 5:41 am]
Ultraviolet -- 🤔 so inf is in you?
[2024-5-17. : 4:57 am]
O)FaRTy1billion[MM] -- my name is mud
[2024-5-17. : 4:35 am]
Ultraviolet -- mud, meet my friend, the stick
Please log in to shout.


Members Online: l)ark_ssj9kevin