Staredit Network

Staredit Network -> UMS Assistance -> idk how to make insane comps build on..
Report, edit, etc...Posted by White-Fire on 2004-12-06 at 22:25:46
i am makeing a new insane computer map.. it is kinda ezer then i thaught smile.gif . but i dont now how to make computers build on there own... is it a trigger or .. i just dont know O.o
Report, edit, etc...Posted by DT_Battlekruser on 2004-12-06 at 23:08:34
"RUNAISCRIPT ... Campaign Insane at location"

Replace the ... with a race
Report, edit, etc...Posted by SA_Max71 on 2004-12-07 at 11:38:52
the location should be nearby(/over?) some minerals and gas. and the trigger shouldn't apply to every single comp.
Report, edit, etc...Posted by DISTURBED on 2004-12-07 at 12:25:32
QUOTE(DT_Battlekruser @ Dec 7 2004, 12:08 AM)
"RUNAISCRIPT ... Campaign Insane at location"

Replace the ... with a race
[right][snapback]107439[/snapback][/right]


Just be assured, AI triggers don't always work... Some trigger and all may have interfeired with it.
Report, edit, etc...Posted by AqoTrooper on 2004-12-07 at 12:36:23
QUOTE(DISTURBED @ Dec 7 2004, 08:25 PM)
Just be assured, AI triggers don't always work... Some trigger and all may have interfeired with it.
[right][snapback]107541[/snapback][/right]

AI triggers will always work as long as they are activated, but each works differently... there is a page in Blizzard.com explaining that but I'll sumerise it to:
AI's like "[insert race] custom level" will expand and attack like comps in melee maps.
AI's like "[insert race] campaign [insert difficulty]" will only build units, attack you, and rebuild buildings that they already had, they won't expand or actually try to win the game.

so you might've used the campaign AI and the computer did nothing since it didn't had any buildings and you expected it to build them and do something... but the AI worked, it was just the wrong one.

I'll look for the link in blizzard.com and post it here when I find it for a further information...

[edit] here it is:
QUOTE
Scripts available in Run AI Script At Location:

Any scripts marked with [Expansion] prior to their names have two selections.  One selection will be with the [Expansion] predicate, the other without.  If you choose a script that has the [Expansion] predicate, the AI will utilize the new units that have been included in Brood War.
[Expansion] Terran Custom Level – The computer will build a town, expand that town, and attack any enemies that it encounters on the map.
[Expansion] Zerg Custom Level – The computer will build a town, expand that town, and attack any enemies that it encounters on the map.

[Expansion] Protoss Custom Level – The computer will build a town, expand that town, and attack any enemies that it encounters on the map.
[Expansion] Terran Campaign Easy – The computer will only build basic units (Goliaths, non-cloaking Wraiths, non siege-mode Tanks, etc.)
[Expansion] Terran Campaign Medium – The computer will build all basic units, and research the basic level technologies. Science vessels and “nukes” are not researched.
[Expansion] Terran Campaign Difficult – The computer will build all units with all research abilities.

[Expansion] Terran Campaign Insane – The computer will build all units and research abilities.  After doing so, the computer will school you in the art of playing Starcraft.
[Expansion] Terran Campaign Area Town – The computer will harvest only, no attack. This is useful for “mining” bases.
[Expansion] Zerg Campaign Easy – The computer will build all basic units (Mutalisks, Zergling, etc.)
[Expansion] Zerg Campaign Medium – The computer will build all basic units, and research the basic level technologies. The computer will continue to research until the Ultralisk unit can be produced.

[Expansion] Zerg Campaign Difficult – The computer will build all units, and research all technologies.
[Expansion] Zerg Campaign Insane – The computer will build all units, and research all technologies. After doing so, the computer will school you in the art of playing Starcraft.
[Expansion] Zerg Campaign Area Town – The computer will harvest only, no attack. This is useful for “mining” bases.
[Expansion] Protoss Campaign Easy – The computer will build all basic units (until the Scout units can be produced.)

[Expansion] Protoss Campaign Medium – The computer will build all basic units, and research the basic technology tree (stopping at the Carrier units.)
[Expansion] Protoss Campaign Difficult – The computer will build all units, and research all technologies.
[Expansion] Protoss Campaign Insane – The computer will build all units, and research all technologies.  After doing so, the computer will school you in the art of playing Starcraft.
[Expansion] Protoss Campaign Area Town – The computer will harvest only, no attack. This is useful for “mining” bases.

Set Player To Enemy – This will make all units within a selected region enemies with the player processing the trigger.
Set Player To Ally – This will make all units within a selected region allies with the player processing the trigger.
Value this Area Higher – This will set a region as “important” to the computer AI. After this has been processed, the computer will send forces to this region to defend it.
Enter Closest Bunker – All units within the region specified will enter the closest bunker, as long as a bunker is available for them to enter.

Enter Transport – All units within the region specified will enter the closest transport, as long as a transport is available for them to enter.
Exit Transport – All units within a transport in the region specified exit that transport.

With the exception of Area Town scripts, only one Campaign AI script should be run for each player.  Each Campaign AI Script is associated with a Location. This Location must be centered near a source of Minerals and a source of Vespene Gas.
Campaign AI scripts are designed to start with an advantage over the player in initial resources and units. They will attempt to wear down players over time. They do not expand aggressively and perform best if supplied with enough starting resources to build through the technology tree (roughly 6000 each of gas and minerals).

Custom AI scripts are designed to start with the same resources as other players. They expand to gain new resources and attack players aggressively. Only one Custom AI script should be run for each player. They should not be used with Campaign AI scripts.

Copyright © 1997 Blizzard Entertainment.  All Rights Reserved.
Report, edit, etc...Posted by LegacyWeapon on 2004-12-07 at 15:54:49
And we have Staredit tutorials for almost anything tongue.gif
http://www.staredit.net/index.php?act=tuto...le=AI%20Scripts
Next Page (1)