Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Computer AI, Dispersing
Computer AI, Dispersing
Oct 31 2007, 2:38 am
By: Sie_Sayoka  

Oct 31 2007, 2:38 am Sie_Sayoka Post #1



I need an AI that orders units to disperse to random areas on the map when starting in a location. The units also need to attack any enemies that are along the way. Anyone know of an AI capable of this? I have already tried junkyard dog, it only works if they are in a certain location.



None.

Oct 31 2007, 3:24 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

Quote from Sie_Sayoka
I need an AI that orders units to disperse to random areas on the map when starting in a location. The units also need to attack any enemies that are along the way. Anyone know of an AI capable of this? I have already tried junkyard dog, it only works if they are in a certain location.
You say "units starting in a location" [...] "only works if they are in a certain location" So where's the problem?

But you could try to send them on random suicide missions (ai script).




Oct 31 2007, 3:54 am Oyen Post #3



The random suicide missions would work unless you have other units owned by the player that you dont want suiciding.



None.

Oct 31 2007, 4:12 am Sie_Sayoka Post #4



Quote from NudeRaider
Quote from Sie_Sayoka
I need an AI that orders units to disperse to random areas on the map when starting in a location. The units also need to attack any enemies that are along the way. Anyone know of an AI capable of this? I have already tried junkyard dog, it only works if they are in a certain location.
You say "units starting in a location" [...] "only works if they are in a certain location" So where's the problem?

But you could try to send them on random suicide missions (ai script).

i want units to start in a small location, and end up outside of the location. junkyard dog only works if the unit is inside a location.

Quote from Oyen
The random suicide missions would work unless you have other units owned by the player that you dont want suiciding.

I want only a select few to disperse, in a 3x3 location.



None.

Oct 31 2007, 4:13 am Durandal Post #5



Painstakingly trigger the attack commands for the individual units?



None.

Oct 31 2007, 12:18 pm NudeRaider Post #6

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

Quote from Sie_Sayoka
Quote from NudeRaider
Quote from Sie_Sayoka
I need an AI that orders units to disperse to random areas on the map when starting in a location. The units also need to attack any enemies that are along the way. Anyone know of an AI capable of this? I have already tried junkyard dog, it only works if they are in a certain location.
You say "units starting in a location" [...] "only works if they are in a certain location" So where's the problem?

But you could try to send them on random suicide missions (ai script).

i want units to start in a small location, and end up outside of the location. junkyard dog only works if the unit is inside a location.

Quote from Oyen
The random suicide missions would work unless you have other units owned by the player that you dont want suiciding.

I want only a select few to disperse, in a 3x3 location.
There's a trick that definetely works when you would use order:
Give the units in the 3x3 loc to a free comp player, start the ai in the big location and quickly give the units back to the original player.
Maybe it works even if the units were ordered by junkyard dog. Dunno, just an idea.

The next best thing I can think of is you set up your own random targets and manually order the units.
For example have some obs junkyard dog in the large area.
Then, when the dispersing should take place
1. center a location on 1 obs at that loc (leftmost will be taken)
2. order ONE unit in the 3x3 loc to patrol there.
3. give the obs to another player (for later use) or remove it
4. REPEAT: center on next obs, order next single unit and give obs another player...

If you have really lots of units you can repeat that by giving the obs back to the original player and wait a certain time until the obs have moved enough to appear random.

And no, there's no ai script that can do exactly what you want. But feel free to write one. ;)
When you get deeper into mapping you will notice sc is rly restricted with its possibilities.
Often you will need to find a way complex way that doesn't work perfect to implement a simple idea.




Oct 31 2007, 2:23 pm Sie_Sayoka Post #7



olright thx ill try it out



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[2024-4-27. : 7:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
[2024-4-27. : 6:24 pm]
NudeRaider -- "War nie wirklich weg" 🎵
[2024-4-27. : 3:33 pm]
O)FaRTy1billion[MM] -- o sen is back
[2024-4-27. : 1:53 am]
Ultraviolet -- :lol:
[2024-4-26. : 6:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[2024-4-26. : 6:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[2024-4-26. : 6:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[2024-4-26. : 6:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[2024-4-26. : 6:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
Please log in to shout.


Members Online: Roy, lil-Inferno