Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Finding the best AI Script
Finding the best AI Script
Feb 5 2010, 3:08 am
By: Pinky  

Feb 5 2010, 3:08 am Pinky Post #1



Hey I am trying to find the most intelligent AI Script for an RPG I currently use Junk Yard Dog but I am finding in playtesting that it is too easy to micro them (sometimes they just walk back and forth). Does anyone have any good ideas for making intelligent, challenging roaming monsters? Are there better scripts perhaps?



None.

Feb 5 2010, 5:38 am Falkoner Post #2



Junk Yard Dog, and have a location following your hero that orders any units nearby to attack him. Only problem is getting them to JYD again if he manages to run away, not sure how your map works, so I don't know what would be best for it.

The other option is doing like most Open RPGs do and just have a bunch of waypoints for each area that order the monsters in a loop.



None.

Feb 5 2010, 6:15 am Pinky Post #3



Quote from Falkoner
Junk Yard Dog, and have a location following your hero that orders any units nearby to attack him. Only problem is getting them to JYD again if he manages to run away, not sure how your map works, so I don't know what would be best for it.
Yeah that's what I originally had but yeah they would just stand still after you got away. Hmm I just thought of something, having a death counter counting and making it JYD every time the counter hits X then reseting the counter... I will try that later.

Quote from Falkoner
The other option is doing like most Open RPGs do and just have a bunch of waypoints for each area that order the monsters in a loop.
My terrain isn't open enough for something like that to work I think. Also that would use too many locations.



None.

Feb 5 2010, 6:17 am Falkoner Post #4



Quote
Yeah that's what I originally had but yeah they would just stand still after you got away. Hmm I just thought of something, having a death counter counting and making it JYD every time the counter hits X then reseting the counter... I will try that later.

That could definitely work, just be sure to also include an order to any units inside the hero's location at the same time, so they don't just wander away in mid-attack.



None.

Feb 5 2010, 6:27 am Pinky Post #5



Yeah playtesting revealed that worked fine. I have the attack order for the hero location on preserve so there's no problem with them wandering away in mid-attack.

Sometimes a stray Zergling will just stand still though, not too sure about that.



None.

Feb 5 2010, 7:32 pm samsizzle Post #6



Just make some simple condition and order ai. With actual triggers, Its not that difficult to give them simple intelligence.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[11:30 pm]
Ultraviolet -- That's strange, it looks like you targeted the base image file (sometimes people make the mistake of just using the imgur page link which doesn't work for embedding) but it still didn't work it sounds like.
[03:34 pm]
ManCubuS -- Used : " [img=https://i.imgur.com/gpOjTuD.jpeg] "
[03:28 pm]
ManCubuS -- Even tried with imgur, doesn't attach.
[03:14 pm]
ManCubuS -- I should try a workaround, thanks! Sadly imgur is blocked in my country for some unknown reason.
[03:05 pm]
NudeRaider -- I think SEN has trouble with https or hotlinking is forbidden. It certainly is nothing about the size, it just fails to get any size. You can get it working if you use imgur and include the actual image link for the img tag. Like this: [img=https://i.imgur.com/ddYqXZa.jpeg]
[11:15 am]
ManCubuS -- Hey fellas! Anyone knows why when I try to upload an image it says "failed to get image size"? I even tried making it so small. Imgur isn't working here and I tried postimg no luck.
[2026-7-23. : 6:40 am]
Oh_Man -- true
[2026-7-23. : 3:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
[2026-7-23. : 1:40 am]
Oh_Man -- tthen u come to SCBW and it's like - upload WAV, play WAV.... sigh why cant it be that easy
[2026-7-23. : 1:40 am]
Oh_Man -- and no consistent easy to use way to then play the audio either
Please log in to shout.


Members Online: Vrael, Oh_Man