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.
[08:05 pm]
Symmetry -- 50% of strings in starcraft are references
[2026-6-07. : 1:59 am]
RIVE -- Lots of fun little nods to different works of others in the cheats too.
[2026-6-06. : 5:17 pm]
Oh_Man -- so i was today years old wen i learned rebel yell starcraft mission is named after a billy idol song. makes me wonder wat other missions are named after songs
[2026-6-04. : 3:42 am]
RIVE -- Hellooooo, Nurse
[2026-6-03. : 4:19 pm]
NudeRaider -- Hello World!
[2026-6-01. : 4:03 pm]
IskatuMesk -- no Hello World? No Hello . jpeg? Not even ddosing some government website? smh my head
[2026-5-31. : 10:02 pm]
Symmetry -- I was really just figuring out how to compile
[2026-5-31. : 10:02 pm]
Symmetry -- I didn't make it do anything
[2026-5-31. : 9:17 pm]
Ultraviolet -- hell yeah. did you have trouble making the button functional, or just haven't gotten there yet?
[2026-5-31. : 8:29 pm]
Symmetry -- I made the marine shoot lasers and gave the medic a nonfunctional button
Please log in to shout.


Members Online: JohnnyTheWolf, Vrael