Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Need an AI Script
Need an AI Script
This topic is locked. You can no longer write replies here.
Oct 20 2010, 9:45 am
By: DrZygote214  

Oct 20 2010, 9:45 am DrZygote214 Post #1



Hi, I just looked through SCM Draft 2's list of AI scripts, but didn't see what I want.

Basically, I want to set all computer players to unally each other. Then I'll run the usual campaign or custom scripts so that they build and attack each other at random. It would be cool to watch and maybe interfere as a human player.

Anyway, is this possible, and if so, where do I get the script?



None.

Oct 20 2010, 11:47 am NudeRaider Post #2

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

Set alliance status.

It's an action, not an AI script. It works even on neutral computers without AIs.




Oct 20 2010, 1:41 pm rockz Post #3

ᴄʜᴇᴇsᴇ ɪᴛ!

You can't change player 9-12's alliance status though, since they can't run triggers. Players 1-8 can all be changed. For example, you can make player 1 unally player 12, but you can't make player 12 unally player 1.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Oct 20 2010, 1:45 pm DrZygote214 Post #4



Cool! That thing worked!

Yea I noticed it about P9 - P12 as soon as I saw the minerals and vespene geysers were outlined in red. I figured it was only 1-way, because I read somewhere that triggers owned by P9 - P12 are ignored.

But now I have a somewhat related problem. I have to use UMS for this to work, but I'd like everyone (even the computers) to be user-selectable race. So I need triggers that spawn a small base for each player, but it has to be race-specific. In other words, I need a condition: If player x is race Terran/Zerg/Protoss.



None.

Oct 20 2010, 2:55 pm NudeRaider Post #5

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

You can set humans to user select just fine in UMS. They get a main building and 4 workers of the race they chose (or randomized).
Computers have no way of choosing, so you either have to set them as random (they also get a main building and 4 workers of the randomized race) or create triggers that let the player select the computer's race after the game started.




Oct 20 2010, 3:04 pm DrZygote214 Post #6



Wait, am I missing something? Humans can be set to user-selectable, but Computers only have Terran/Zerg/Protoss option. The user-selectable radio button is grayed out for comps.



None.

Oct 20 2010, 3:26 pm NudeRaider Post #7

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

What radio buttons? Are you sure you're using the latest ScmDraft 2 version? (check Mapping tools forum)
There's a drop down which is independent of the player type setting where you can choose user select.
If you choose user select for computers it will be automatically random in the pre game lobby.




Oct 20 2010, 4:17 pm DrZygote214 Post #8



Yeah, mb, I was in staredit by mistake and didn't know it. Intersting (and useful) that user-selectable comps go random. Anyway, everything works now. Thanks a lot.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[10:05 am]
Moose -- ya
[05:23 am]
zsnakezz -- yes
[2024-5-12. : 8:51 pm]
l)ark_ssj9kevin -- Are you excited for Homeworld 3?
[2024-5-12. : 8:44 pm]
l)ark_ssj9kevin -- Hi Brusilov
[2024-5-12. : 4:35 pm]
O)FaRTy1billion[MM] -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
my server that was hosting it died
[2024-5-10. : 8:46 pm]
NudeRaider -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
https://armoha.github.io/eud-book/
[2024-5-10. : 8:36 am]
Brusilov -- Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
[2024-5-09. : 11:31 pm]
Vrael -- :wob:
[2024-5-09. : 8:42 pm]
Ultraviolet -- :wob:
[2024-5-08. : 10:09 pm]
Ultraviolet -- let's fucking go on a madmen rage bruh
Please log in to shout.


Members Online: Kusari, Roy, NudeRaider