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.
[12:30 am]
ClansAreForGays -- When you join a pub lobby because you see 7/8 players, but then realize host is bating you with computers. :flamer: :flamer:
[2024-10-30. : 11:48 pm]
O)FaRTy1billion[MM] -- :wob:
[2024-10-30. : 6:24 pm]
Ultraviolet -- :wob:
[2024-10-29. : 4:33 pm]
Vrael -- :wob:
[2024-10-29. : 1:32 pm]
Zoan -- :wob:
[2024-10-28. : 5:21 pm]
Ultraviolet -- :wob:
[2024-10-27. : 4:34 pm]
jjf28 -- :wob:
[2024-10-27. : 9:01 am]
Zycorax -- :wob:
[2024-10-27. : 3:31 am]
RIVE -- :wob:
[2024-10-26. : 7:12 pm]
Ultraviolet -- :wob:
Please log in to shout.


Members Online: lil-Inferno