Basic Enemy AI Module for Falcao's ABS - v1.2 (02/09/2015)

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,162
Reaction score
822
First Language
Hungarian
Primarily Uses
RMVXA
- Script:

- Demo:
Nop, not now! :p

- Author's Notes:
This script will let you setup some basic AI for your enemies without the use of countless switches and condition checks.
You can also save yourself from adding tons of 'use_tool()' script calls and dozens of repeated movement sequences into your event's auto-move routes.
Instead, set up your tool groups in the module settings and call a single script call only to use a pre-made tool group for any enemy. Much faster and easier, at least for me. :p
 
Last edited:

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,162
Reaction score
822
First Language
Hungarian
Primarily Uses
RMVXA
Updated the script with a bunch of new options.


Now you can make some real AI for your enemies.


As a side note, I developed all the checks for a single player game, so there are no checks for followers at all. I don't plan on doing any checks for them, because I completely ignored that part of the ABS, and I don't think I will ever check the code for that, sorry! :p
 

DangerSushi

Villager
Member
Joined
Sep 18, 2012
Messages
29
Reaction score
32
First Language
italian
Primarily Uses
Keep making these scripts for falcao pearl abs and i'll mary you <3
 

vamuse

Villager
Member
Joined
Apr 13, 2016
Messages
15
Reaction score
1
Primarily Uses
N/A
Any idea how you would have AI for taking cover? Like AI runs behind walls or toward certain events in order to hide or dodge fire. Thanks!
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,162
Reaction score
822
First Language
Hungarian
Primarily Uses
RMVXA
That is outside of the scope of this script. 


There are no "walls" in the engine by default. There are unpassable tiles/co-ordinates, but those are not only walls, they can be other characters on map, holes (which aren't much for cover, right?) and anything else where the player can't go normally.


There is also no "fire", it is not defined for the characters, so knowing what is "fire" should also have to be coded. 


And many other specific things need to be added to make what you want.


I like the idea, but it is just not the point of this script. This script aims to control the usage of tools in certain situations. It is not for controlling the reaction for certain tool usage, that is an entirely different part of the AI which, based on the situation, can be much more complicated than simply determining which tools to use when.
 

vamuse

Villager
Member
Joined
Apr 13, 2016
Messages
15
Reaction score
1
Primarily Uses
N/A
But can the probability calculated by the script be applied to move routes? And then the system pathfinds to the nearest region allocated as "cover" if it's health gets below a certain point or if it takes damage several times in a row. Then, it breaks out of that routine and returns to it's regular behavior after a cool down.


I don't think that would be too complicated correct?
 
Last edited by a moderator:

gsuk

Veteran
Veteran
Joined
Jun 24, 2013
Messages
140
Reaction score
10
First Language
English
Primarily Uses
RMVXA
Hi there! I'm using your script and it's awesome!

I have one question - there are plenty of settings for how the enemy behaves at a certain level of HP, but I can't find a similar thing for MP.

I'd like some of my enemies to choose to use absorb MP skills when at low MP. Is this currently possible with this script?
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,849
Messages
1,016,981
Members
137,563
Latest member
cexojow
Top