Staredit Network > Forums > SC2 Assistance > Topic: Customize AI
Customize AI
Nov 19 2012, 7:03 pm
By: payne  

Nov 19 2012, 7:03 pm payne Post #1

:payne:

For my Impossible Scenarios map, I'd like Raven to actually cast spells when they are attacked. Same for High Templars, Ghosts, and such.

How do I create such a customized AI?



None.

Nov 19 2012, 7:12 pm DevliN Post #2

Woah

As far as I know, for a custom AI you'd have to set up triggers for each unit based on what you'd want them to do. For example with a High Templar, you can set it up so that they only cast Psi Storm when they are near a group of units as opposed to one unit. This is just my guess, though, as I had to do this for custom units I've made.



:devlin: Currently Working On: :devlin:
Myself

Nov 26 2012, 1:02 am payne Post #3

:payne:

I ended up doing triggers, just like you said, using the "Order Unit" action and the "Unit is attacked" event. Works well. :)



None.

Nov 26 2012, 1:08 am DevliN Post #4

Woah

Sweet, good to know. It gets tricky sometimes with custom abilities, but other than that I like how simple it is to set up custom AI. :D



:devlin: Currently Working On: :devlin:
Myself

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:34 pm]
Symmetry -- :wob:
[2026-7-01. : 4:42 am]
Zycorax -- :wob:
[2026-6-30. : 6:38 pm]
Ultraviolet -- :wob:
[2026-6-29. : 2:13 pm]
Vrael -- pee poo sibling
[2026-6-28. : 7:00 pm]
Symmetry -- poo poo papa
[2026-6-28. : 2:46 pm]
lil-Inferno -- pee pee child
[2026-6-27. : 6:10 pm]
Ultraviolet -- sweet summer child
[2026-6-26. : 10:31 am]
NudeRaider -- blessed innocent soul knows nothing of the strife we had before EUDs were discovered :teehee:
[2026-6-23. : 3:29 am]
DarkenedFantasies -- Probably just didn't care. For example, at some point before release, they've updated the graphics of some of the Protoss buildings (Forge, CyberCore, Citadel, Observatory, Arbiter Tribunal), but instead of properly re-rendering them with edited 3D models, they did crappy copy-paste jobs on the rendered graphics.
[2026-6-22. : 8:35 pm]
Ultraviolet -- :wob:
Please log in to shout.


Members Online: Moose