AI for Zealots
Nov 13 2021, 6:59 pm
By: Hoangquan123  

Nov 13 2021, 6:59 pm Hoangquan123 Post #1



Can you help me?, I don't know how to make for AI Protoss, I want Zealots attack Terran Supply Depot first. (Picture 1)

I always prevent them to not attack my building by build Terran Supply Depot each gate and I build Marines standing after Supply Depot, then Zealots can't attack Marine because Zealots is prevented by Supply Depot. So, to difficult, I want make for AI Protoss attack Terran Supply Depot first. Do you know how to make it ? Thanks

Attachments:
image_2021-11-14_015852.png
Hits: 5 Size: 552.28kb



None.

Nov 14 2021, 8:01 am TheHappy115 Post #2



I don't know if this can be done with EUD triggers (that's not my thing) but Supply depo have lower priority than marines. In a sense when the zealots are being attacked or near a unit with higher priority, they will always target that higher priority unit (even if they are unreachable). This applies to all AI as far as I know of (also used to cheese 1v7 AIs as you just wall in to stop their forces). I'm not familiar enough with EUD triggers and data memory manipulation but there is probably a way to increase a supply depo's priority.

Alternatively, there is a method in which you can force the supply depo to be attacked by making the Marines an ally and making the supply depo an enemy. This method would be harder because from what I know it takes at least 3 players involving something like this:
Player 1 (Red) Controls the Marines and can attack Zealots
Player 2 (Blue) Controls Zealots and is unallied with Player 3 (supply depo) but allied with Player 1 (marines)
Player 3 (Teal) Controls the Supply Depo

However, to my knowledge, AI characters will still attack allies if they are attacked by said ally (only targeting the unit that initiated the attack). In this case, it still may disrupt the AI and may require to "preserve trigger" the ally status to prevent it from trying to target the marine to focus the supply depo (Hyper triggers definitely prevent it from focusing allies). This, however, creates another problem now that the marines won't get attacked! However, you can attempt to remedy this by having another trigger the makes the zealots unally the marines once the supply depo is either destroyed OR when there are no supply depo at the location.

Unfortunately, this is a bit of a "sloppy" solution but it is only one that I can think of. Maybe someone else may have a solution. (If you just need a wall and don't care what it is, reavers without scarabs also work as a wall and WILL be priority targets even if someone is attacking the zealots. I'm not entirely sure about other structures such as unpowered cannons)

Side Note: There are some AI scripts that are interesting in that they will "acquire" a target and will forcibly attempt to attack it regardless of priority (and will even try to walk around other units to get to it) but I'm not entirely sure what that trigger is as I've never used it



None.

Nov 14 2021, 8:17 am GGmano Post #3

Mr.Pete-Tong

You can also use invinsibility not easy but maybe possible



A Legendary Map Maker, Player. Apparently im more than intresting to observe Irl

you could be the rat??

The maps I made are tweaked into perfection and maximum strategy added

Nov 14 2021, 12:08 pm DaMnUFo0 Post #4



Run AI Script - Set All Units on Strategic Suicide Missions - and hope for the best.

Tinkering around with EUD triggers can also make the behavior of the attack wave to prioritize walls/blockages, but it's been a while since I did such triggers.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[02:53 am]
Mr.BurnLiquid -- Symmetry
Symmetry shouted: I'll check it out this weekend!
Thanks
[02:47 am]
Symmetry -- I'll check it out this weekend!
[02:40 am]
Mr.BurnLiquid -- Symmetry
Symmetry shouted: Another map maker? Damn we really ARE back
I invite you to try out the map I modified. I don't have the creativity to create maps from scratch, but I do have the know-how to modify existing ones; my project is to tweak community campaigns (specifically those with errors—to make them playable.
[02:27 am]
Symmetry -- Another map maker? Damn we really ARE back
[01:51 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Now that I wanted to change my avatar, the error image is showing up, haha.
[01:34 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Mr.BurnLiquid
Mr.BurnLiquid shouted: Ultraviolet Thanks; I'm new to the site and a Spanish speaker. I must have missed the part where it was prohibited—I'll change it now.
I invite you to try out a mission I'm modifying from *StarCraft Reversed*; I'm trying to make it more playable and challenging.
[01:33 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Thanks; I'm new to the site and a Spanish speaker. I must have missed the part where it was prohibited—I'll change it now.
[01:31 am]
Ultraviolet -- Mr.BurnLiquid
Mr.BurnLiquid shouted: Ultraviolet Is it forbidden to have a large avatar?
actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
[12:20 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: https://staredit.net/profile/133367/ dude's avatar is massive
Is it forbidden to have a large avatar?
[12:04 am]
Ultraviolet -- https://staredit.net/profile/133367/ dude's avatar is massive
Please log in to shout.


Members Online: lifebot, Roy