Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: More Qs about AI script
More Qs about AI script
Mar 3 2008, 2:00 pm
By: gaiaguerrilla  

Mar 3 2008, 2:00 pm gaiaguerrilla Post #1



Tazers to me should I be asking what's already plain as day in the help menu or common sense. I'm just not getting it all.

Regarding triggers in SC1 Brood War "AI script at location"

(1) Did I miss a build command for actions? Do I have to tell it to create objects instead of build them? I can't tell a specific unit to build a specific thing or use a specific ability, without physically playing it, can I?

(2) Can you suggest a short recipe for making a band of Protoss, Zerg, and Terrans aggressive? I don't really need them smart. I just want them ravenous for resources, and intent on building big armies to hit the player (or anyone, including the player). Or at least heavily fortify their base? ("make area priority" I'm guessing). I got some advice on this, but I must still be doing some things wrong.

The challenges I have in mind for the game are not "kill them before they kill you." You have to take control of certain units before they kill you, and even keep some alive.

(3) My other goal: When a player is brought down to a single unit, they are immediately given the tools to build a new base (eg: one gatherer and 400 mineral). Can I just make the AI want to build a base and start grabbing resources / fortifying, as soon as they have those new tools?

Thanks in advance for any help.



None.

Mar 3 2008, 5:54 pm LoveLess Post #2

Let me show you how to hump without making love.

Quote from gaiaguerrilla
Tazers to me should I be asking what's already plain as day in the help menu or common sense. I'm just not getting it all.

Regarding triggers in SC1 Brood War "AI script at location"

(1) Did I miss a build command for actions? Do I have to tell it to create objects instead of build them? I can't tell a specific unit to build a specific thing or use a specific ability, without physically playing it, can I?
Nope. Blizzard didn't include a "Build..." command.

Quote from gaiaguerrilla
(2) Can you suggest a short recipe for making a band of Protoss, Zerg, and Terrans aggressive? I don't really need them smart. I just want them ravenous for resources, and intent on building big armies to hit the player (or anyone, including the player). Or at least heavily fortify their base? ("make area priority" I'm guessing). I got some advice on this, but I must still be doing some things wrong.

The challenges I have in mind for the game are not "kill them before they kill you." You have to take control of certain units before they kill you, and even keep some alive.
No clue. Just use the AI scripts that you've been provided.

Quote from gaiaguerrilla
(3) My other goal: When a player is brought down to a single unit, they are immediately given the tools to build a new base (eg: one gatherer and 400 mineral). Can I just make the AI want to build a base and start grabbing resources / fortifying, as soon as they have those new tools?
AIs are really not well programmed IMO. They just kind of... quit after a while and theres not much you can do about it. I am not too knowledgable about AIs, but I've provided what I can.



None.

Mar 3 2008, 6:04 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

1) AIs are not orders for the comps (except a few obvious). Think of them as programs that make the comp follow a specific build order and evaluate when to attack where.

2) There are several scripts that make a comp aggressive and expansive. Look in your Starcraft folder for the file "staredit.hlp" and choose "Using Triggers -> Triggers: AI Scripts" for a quite detailed description on what all those AIs will do.
You can still make your own "attack scripts" by triggers. Like this:

Comp Player
Condition:

<your choice>
Actions:
Create x units for comp player at 'base'
Order all units at base to attack/patrol to 'enemy'

3) AFAIK all AIs need at least a main building (Nexus, CC or Hatch) and expect 4 workers. So that will be the minimum you should give him.

If you need more specific information you should ask more specifically. ;)




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[07:36 am]
Oh_Man -- have i ever told u guys my SC2 pro-gamer story
[11:30 pm]
Ultraviolet -- That's strange, it looks like you targeted the base image file (sometimes people make the mistake of just using the imgur page link which doesn't work for embedding) but it still didn't work it sounds like.
[03:34 pm]
ManCubuS -- Used : " [img=https://i.imgur.com/gpOjTuD.jpeg] "
[03:28 pm]
ManCubuS -- Even tried with imgur, doesn't attach.
[03:14 pm]
ManCubuS -- I should try a workaround, thanks! Sadly imgur is blocked in my country for some unknown reason.
[03:05 pm]
NudeRaider -- I think SEN has trouble with https or hotlinking is forbidden. It certainly is nothing about the size, it just fails to get any size. You can get it working if you use imgur and include the actual image link for the img tag. Like this: [img=https://i.imgur.com/ddYqXZa.jpeg]
[11:15 am]
ManCubuS -- Hey fellas! Anyone knows why when I try to upload an image it says "failed to get image size"? I even tried making it so small. Imgur isn't working here and I tried postimg no luck.
[2026-7-23. : 6:40 am]
Oh_Man -- true
[2026-7-23. : 3:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
[2026-7-23. : 1:40 am]
Oh_Man -- tthen u come to SCBW and it's like - upload WAV, play WAV.... sigh why cant it be that easy
Please log in to shout.


Members Online: Oh_Man