Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: How to Force cast a Queen?
How to Force cast a Queen?
Apr 28 2010, 11:08 am
By: Queen-Gambit  

Apr 28 2010, 11:08 am Queen-Gambit Post #1



I'd like to make a computer Zerg Queen fly over some ground enemies and spawn a broodling without being provoked first. I've tried different orders such as attack/patrol and AI scripts such as Insane campaign. Unless the Queen unit gets attacked, it will ignore the ground enemy units.



None.

Apr 28 2010, 11:22 am Lanthanide Post #2



You can't. The only spells that can be directly controlled by triggers are Recall and Disruption Web. All other spells you must coax the CPU in using it. Some of them are much more reliable than others, such as Optical Flare and Irradiate, but others like Maelstrom and Ensnare are less predictable. Most spells rely on the unit being attacked before it'll be cast, but some like lockdown and defense matrix will be cast whenever an appropriate target is in range.

There's a map in the DLDB somewhere that has examples of how to provoke the computer AI into casting each of the spells that can be provoked, but I can't find it just at the moment.

Edit: I think that map might be part of this pack: http://www.staredit.net/files/1756/

Also see the 3 race spells pages in the wiki, as well as the Unit Types article which has a scrollable box at the bottom that contains some different information on CPU usage compared to the 3 race pages.

Post has been edited 2 time(s), last time on Apr 28 2010, 11:50 am by Lanthanide.



None.

Apr 28 2010, 12:57 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

AI behavior hasn't been researched throroughly, that's why all the Desert Strike versions struggle with units not using their abilities.
However one thing became obvious pretty quickly: For the unit to act on its own (according to the AI script which the computer has applied) it must not have an order.
In addition there must be some triggering event be fulfilled. For a defense matrix, for example, a friendly expensive unit must be attacked and have low hp.

I don't know if there are such triggering events for broodling or what they would be and it's possible they change depending on the AI script you use.
To remove orders from a unit either order it to move or attack to a location and wait until it's there or move it onto itself or to a location outside the map.
If you care to take a look at my DS version in the DLDB you'll see that once queens reach the enemy temple they use their spells liberally.

I hope this general information helps you getting to a solution eventually. And if it does please tell us how. I'm always interested in how to improve AI behavior of my DS version.




Apr 28 2010, 2:24 pm CecilSunkure Post #4



Queens like to brood tanks and goliaths, if I recall correctly from my earlier days of 1v1ing Ai players. I don't think the queen needs to be directly attacked. Try placing a building and a goliath with an invincible queen. Have the goliath attack the building, have the queen have broods researched with enough energy to cast, and see how that works.

Other than solutions like this, you can't make a queen fly around and brood at your will.



None.

Apr 28 2010, 5:48 pm Queen-Gambit Post #5



I actually achieved it on an Impossible level map for the Impossible SEN Project unfortunately I had to reformat drive and lost it :cries: I'll continue to play around with the triggers

PS: its not the one i submitted



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[02:58 pm]
Ultraviolet -- Symmetry
Symmetry shouted: Man I wish we had this tech back in the day when people played ums lmao
fr fr
[02:39 am]
Symmetry -- Man I wish we had this tech back in the day when people played ums lmao
[2026-7-16. : 6:28 am]
NudeRaider -- EUD actions, specifically. The conditions remained. Today we can even have actions again, but they're all virtualized/whitelisted (not sure on the actual technical implementation) so you can only use them for specific intended purposed, not arbitrary code injections.
[2026-7-16. : 6:26 am]
NudeRaider -- I mean yes, maps - through EUDs - were theoretically able to do that as well, but that was patched quickly.
[2026-7-16. : 6:25 am]
NudeRaider -- Symmetry
Symmetry shouted: Ohhh imagine a SC map that could delete itself
not the map, the editor
[2026-7-16. : 2:28 am]
Symmetry -- I vaguely remember Voy doing some ACE back in the day, but I had no idea EUDs could do that kind of shit. I am very much catching up on the technology
[2026-7-16. : 2:28 am]
Symmetry -- Ohhh imagine a SC map that could delete itself
[2026-7-15. : 8:51 pm]
NudeRaider -- Symmetry
Symmetry shouted: NudeRaider Is EUD editor capable of writing shit onto the player's harddrive? That seems like it would be dangerous
yeah an editor that isn't allowed to write files sounds rather pointless, so I'd assume it can. Like most other programs too btw. and yes, obviously that's dangerous, but also kinda necessary. MS introduced that virtualization for exactly that reason.
[2026-7-15. : 4:10 am]
Ultraviolet -- I don't think so. I think they shut that shit down after 1.16, maybe even earlier
[2026-7-15. : 2:19 am]
Symmetry -- NudeRaider
NudeRaider shouted: Symmetry I can't tell if it's relevant. You provided literally no context so I was providing an equally generic answer.
Is EUD editor capable of writing shit onto the player's harddrive? That seems like it would be dangerous
Please log in to shout.


Members Online: Dem0n, IlyaSnopchenko