AI with no base
Aug 27 2015, 5:43 am
By: Chamomile  

Aug 27 2015, 5:43 am Chamomile Post #1



I have a survival-style scenario, the type where you have to fend off waves of enemy attacks without retaliating. The attacks in fact come from offscreen - the enemy has no base. Is there any AI setting that will cause them to throw their spawned troops at the nearest enemy? I tried the strategic suicide mission AI setting but it doesn't seem to have done anything. AI troops spawn and do nothing. Map is attached (and not balanced - if the enemy attacks properly as it is mission critical buildings are destroyed way before the player can get a base up and running, but that's another issue).

Post has been edited 1 time(s), last time on Aug 27 2015, 5:04 pm by Chamomile.



None.

Aug 27 2015, 9:42 am Excalibur Post #2

The sword and the faith

Map is not attached.

Do you spawn the units via triggers or are you looking for the AI to build them out of production structures?

Is there a reason an Order Patrol To Location wouldn't work?




SEN Global Moderator and Resident Zealot
-------------------------
The sword and the faith.

:ex:
Sector 12
My stream, live PC building and tech discussion.

Aug 27 2015, 5:09 pm Chamomile Post #3



Hm. The map really doesn't want to attach for some reason. Keeps saying "move failed."

The units are spawning from triggers. Using Order triggers can work, but I've had trouble getting those triggers to effectively randomize targets in the past. Using set switch random and a set of triggers tied to the randomized switch to choose targets seems like it should work in theory, but for whatever reason in practice it led to one set of targets being chosen over the other 90% of the time. If there's not a way to get the AI working I'll use patrol Orders in a pattern to spread the attacks around, but that'll be pretty predictable and I'd prefer it were less.



None.

Aug 27 2015, 5:48 pm NudeRaider Post #4

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

Make sure the computer is not defeated, has a start location, and the ai is not spammed.
Also make sure the player setting is not neutral.

Then I think there's a bug that can break a computer player, but I could be wrong. Still, if nothing else helps try using another player or save the map in another editor.




Aug 27 2015, 8:00 pm Moose Post #5

We live in a society.

For that particular AI script, you would have to run the AI script again each time you make units that you want to use it. It won't affect units created after the script is run.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:27 am]
m.0.n.3.y -- Maybe because it's an EUD map?
[03:27 am]
m.0.n.3.y -- Can't upload maps to the DB. Error says "The action you have performed caused an Error". Any word?
[07:46 am]
RIVE -- :wob:
[2024-4-22. : 6:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
Please log in to shout.


Members Online: Roy, RIVE, NudeRaider