Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: attack only by infested terrans
attack only by infested terrans
Aug 30 2009, 7:34 pm
By: okeee  

Aug 30 2009, 7:34 pm okeee Post #1



I want a few buildings to be attacked and destroyed by infested terrans only, so no other unit should be able to attack the buildings. But I can't move any of the other units away from those buildings or destroy them, so is it possible?
What things could I try to sort off get that the buildings can only be attacked by infested terrans?



None.

Aug 30 2009, 7:39 pm Devourer Post #2

Hello

You could give all buildings (just example numbers) a HP of 500 and give the infested terran a damage of 501 damage or such.
Now you just need to add a trigger which sets all buildings HP to 100% (make sure no other unit makes more than 501 damage)



Please report errors in the Staredit.Network forum.

Aug 30 2009, 7:51 pm okeee Post #3



But the problem is, if there are multiple siege tanks for example, and fire at the same time, the buildings would still be destroyed.

I'd rather avoid it, but I wouldn't really mind if the buildings would be able to be attacked by other units, but they have to be destroyed by infested terrans only.



None.

Aug 30 2009, 7:53 pm Devourer Post #4

Hello

Quote from okeee
But the problem is, if there are multiple siege tanks for example, and fire at the same time, the buildings would still be destroyed.

I'd rather avoid it, but I wouldn't really mind if the buildings would be able to be attacked by other units, but they have to be destroyed by infested terrans only.

You know what hyper triggers are? They let all triggers without a wait handle very very fast, means even when 100 siege tanks are attacking the building and it's hp always been set to 100% the chances that they will kill the building are very low or it is not even possible.

I doubt that there is a way to see which unit killed what building.



Please report errors in the Staredit.Network forum.

Aug 30 2009, 8:02 pm okeee Post #5



I know about hyper triggers, I have to avoid them for this map though. But these are the kind of solutions i was looking for, maybe there are some other ways?



None.

Aug 30 2009, 8:04 pm Jack Post #6

>be faceless void >mfw I have no face

Make it invincible, and only when ITs are close does it become attackable. Add in the building hp/IT attack thing, and it should work 98 percent of the time.



Red classic.

"In short, their absurdities are so extreme that it is painful even to quote them."

Aug 30 2009, 9:29 pm theleo_ua Post #7



Quote from Devourer
even when 100 siege tanks are attacking the building and it's hp always been set to 100% the chances that they will kill the building are very low or it is not even possible. .

I cant beleive that but I will test


Quote from okeee
I want a few buildings to be attacked and destroyed by infested terrans only, so no other unit should be able to attack the buildings. But I can't move any of the other units away from those buildings or destroy them, so is it possible?
What things could I try to sort off get that the buildings can only be attacked by infested terrans?

What about make 3000 hp and 249 armor to Building and 9999 damage to infested? (infested has less then half damage to buildings as I know)

By the way - how much of units with maximum damage on your map you need to give 3000 damage to 249 armor-based Building?



None.

Aug 30 2009, 11:24 pm Neki Post #8



Quote from name:zany_001
Make it invincible, and only when ITs are close does it become attackable. Add in the building hp/IT attack thing, and it should work 98 percent of the time.
You could do this, or you could just simply destroy the building every time an IT got close to a building, he wouldn't need to attack. You would either need to use a location over every building you wanted like this, or you could cycle through the buildings with one location, assuming that you don't need to use their functions.



None.

Aug 31 2009, 12:58 am poison_us Post #9

Back* from the grave

Moving to an invalid location except when an IT is near should work.
Move the building to a location that's off the map, which makes most attacks on it useless. The computer tries to move it, but can't, and attacks are canceled. If you were using hypertriggers, this would be very effective, but you mentioned you can't. I don't understand why you can't, because there are several workarounds for wait blocks, but...




Aug 31 2009, 2:54 am XGenesis Post #10



I may be wrong, but I think he also wants IT's to be able to auto-target it.



None.

Aug 31 2009, 11:47 am ShredderIV Post #11



depending on what you're map is like, you could make the it's a seperate force, and make the buildings allied to everyone but those it's, and have an auto ally feature, so then te it's will auto attack, but nothing else can target the buildings to destroy them.



None.

Sep 1 2009, 2:37 pm NudeRaider Post #12

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

Quote from Devourer
even when 100 siege tanks are attacking the building and it's hp always been set to 100% the chances that they will kill the building are very low or it is not even possible. .
Wrong. Take 6 tanks with 100 siege damage each, move them in range, wait for them to stop, siege them all at once and watch the 500 hp building blow.
Hypertriggers "only" make triggers fire every 2nd frame and it's not hard to coordinate siege tanks to fire within one frame.

Quote from okeee
I know about hyper triggers, I have to avoid them for this map though. But these are the kind of solutions i was looking for, maybe there are some other ways?
You never have to avoid them. Actually you should always use them! Makes every map so much better.
Don't be lazy, get rid of wait blocks. UMS Assistance is standing by to help you out with any problems on the way. SEN stands for quality maps!




Sep 1 2009, 6:48 pm theleo_ua Post #13



Quote from NudeRaider
Quote from Devourer
even when 100 siege tanks are attacking the building and it's hp always been set to 100% the chances that they will kill the building are very low or it is not even possible. .
Wrong. Take 6 tanks with 100 siege damage each, move them in range, wait for them to stop, siege them all at once and watch the 500 hp building blow.
Hypertriggers "only" make triggers fire every 2nd frame and it's not hard to coordinate siege tanks to fire within one frame.

I think so, so I will not test this:)


About hypers - they must have for every map, but if you have 8 humans in map and want to made wait triggers (not hypers) for all players - hypers may cause errors I think and can be avoided.

BTW = my Crazy CPU and TMA maps are without hypers (because I didnt know about hypers when made this maps and all humans have wait triggers in this maps).

And you remember, what lol was on first versions of Castle Fight with wrong hypers:)



None.

Sep 3 2009, 4:28 pm okeee Post #14



Making the buildings only attackable when infested terrans are around is not really useful, the area is surrounded by lots of units and infested terrans are among them. Also, i can't put the infested terrans in another force, they should come from infested command centers of the player, which has the other units as well.



None.

Sep 3 2009, 5:12 pm NudeRaider Post #15

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

Then I think moving the buildings to an invalid location should do the trick.
Most units won't be able to target the building, but you can manually explode the infested at the buildings. Afaik splash damage is dealt even when always moving.




Sep 4 2009, 1:50 am fire1337 Post #16



Or you could put locations on the buildings.
When an IT gets close, give it to the enemy of the building you want dead.

I dont know, thats just my 2 cents.
Also, since you want to avoid hyper triggers, do this:

Condition:
Switch 1 is set.

Action:
Wait for 0 seconds
Wait for 0 seconds
Wait for 0 seconds
Wait for 0 seconds
Wait for 0 seconds
etc.

Then copy and paste that trigger 2 more times.

Then add locations on the buildings you want only killable by ITs, and when an IT gets close to the building, enable switch 1.
Get it?



None.

Sep 4 2009, 7:56 am NudeRaider Post #17

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

Quote from fire1337
Also, since you want to avoid hyper triggers, do this:

Condition:
Switch 1 is set.

Action:
Wait for 0 seconds (x62)
preserve

Then copy and paste that trigger 2 more times.

Then add locations on the buildings you want only killable by ITs, and when an IT gets close to the building, enable switch 1.
Get it?
That wouldn't work, because hyper triggers take about a minute to turn off when the condition becomes false.

Use switch hypers (wiki) if you want to switch them off instantly.




Oct 2 2009, 4:23 pm okeee Post #18



What are values for invalid locations? -1 does not seem to work.



None.

Oct 2 2009, 5:51 pm NudeRaider Post #19

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 enter coordinates that are outside map boundaries. Or just move it to water. In case it's flying move it to a location with air units blocking the air space.




Oct 2 2009, 8:02 pm theleo_ua Post #20



Can you explain why you can't use 3000 hp and 249 armor Buildings and 9999 damage of infested?



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:18 am]
Sylph-Of-Space -- No complaints here, i'm just curious!
[11:05 pm]
Ultraviolet -- :wob:
[03:55 pm]
Zoan -- :wob:
[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
[2024-5-16. : 10:07 pm]
lil-Inferno -- nah
Please log in to shout.


Members Online: Roy, NudeRaider