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.
[03:02 am]
Ultraviolet -- I'm gonna send inf to have sex with their moms
[03:02 am]
Ultraviolet -- fuck those motherfuckers
[11:02 pm]
NudeRaider -- PSA: ASUS apparently decided their RMA department needs to "become profitable" and for a while now outright tries to scam customers. They were called out on it a year ago, promised to change, but didn't. https://www.youtube.com/watch?v=7pMrssIrKcY so my recommendation: Stop buying ASUS, and if you already have and need something RMA'd, make sure to not let them bully you into paying.
[03:08 pm]
Oh_Man -- example of wat u mean?
[2024-5-15. : 5:59 am]
NudeRaider -- *is
[2024-5-15. : 5:17 am]
NudeRaider -- despite all its flaws the sound design its fantastic
[2024-5-14. : 10:29 pm]
Oh_Man -- homeworld 3 = massive disappointment
[2024-5-14. : 10:05 am]
Moose -- ya
[2024-5-14. : 5:23 am]
zsnakezz -- yes
[2024-5-12. : 8:51 pm]
l)ark_ssj9kevin -- Are you excited for Homeworld 3?
Please log in to shout.


Members Online: 1sophiec4522rh2, 8evanc241rg7