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.
[10:18 pm]
Vrael -- who says I'm not a total madman?
[02:26 pm]
UndeadStar -- Vrael, since the ad messages get removed, you look like a total madman for someone that come late
[2024-5-02. : 1:19 pm]
Vrael -- IM GONNA MANUFACTURE SOME SPORTBALL EQUIPMENT WHERE THE SUN DONT SHINE BOY
[2024-5-02. : 1:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[2024-5-01. : 1:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
[2024-4-30. : 7:43 am]
NudeRaider -- Vrael
Vrael shouted: if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
Yeah I'm not a big fan of Westernhagen either, Fanta vier much better! But they didn't drop the lyrics that fit the situation. Farty: Ich bin wieder hier; nobody: in meinem Revier; Me: war nie wirklich weg
[2024-4-29. : 6:36 pm]
RIVE -- Nah, I'm still on Orange Box.
[2024-4-29. : 4:36 pm]
Oh_Man -- anyone play Outside the Box yet? it was a fun time
[2024-4-29. : 12:52 pm]
Vrael -- if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
Please log in to shout.


Members Online: RIVE, Roy