Updated Jasperre's AI

Updated Jasperre's AI to 1.4, fixed a few other coding bugs & fully compiled module.
This commit is contained in:
Jaysyn904
2021-08-30 17:31:44 -04:00
parent 2e0b5b615b
commit 1c1c90e986
404 changed files with 11239 additions and 7881 deletions

View File

@@ -1,27 +1,26 @@
/************************ [On Heartbeat - Animations] **************************
/*/////////////////////// [On Heartbeat - Animations] //////////////////////////
Filename: J_AI_Heart_aimat
************************* [On Heartbeat - Animations] **************************
///////////////////////// [On Heartbeat - Animations] //////////////////////////
To keep the heartbeat small, I've divided all the bits that MIGHT fire
into other scripts. This makes it smaller, and faster.
I've also shortened the perception script too - and along with the heartbeat
is the largest, Out-Of-Combat script. It isn't divided up by execute scripts,
but should be leaner.
************************* [History] ********************************************
///////////////////////// [History] ////////////////////////////////////////////
1.3 - Added to speed up heartbeat and keep filesize down on un-used parts.
************************* [Workings] *******************************************
1.4 - Changed to nw_i0_generic, as to include all animations, whatever NwN version.
///////////////////////// [Workings] ///////////////////////////////////////////
This is executed as file HEARTBEAT_ANIMATIONS_FILE, from the heartbeat
script (Default1, or onheartbeat). It can run by itself, using the SoU
animations - better then me changing and making my own, as they are vastly
improved from NwN!
///////////////////////// [Arguments] //////////////////////////////////////////
Arguments: N/A
///////////////////////// [On Heartbeat - Animations] ////////////////////////*/
It is Not called if AI_VALID_ANIMATIONS AI Integer is not set.
************************* [Arguments] ******************************************
Arguments:
************************* [On Heartbeat - Animations] *************************/
// SoU Animations file.
#include "x0_i0_anims"
// Generic Include File. This contains animations whatever NwN version it is.
#include "NW_I0_GENERIC"
void main()
{
@@ -37,8 +36,4 @@ void main()
{
PlayImmobileAmbientAnimations();
}
else
{
DeleteLocalInt(OBJECT_SELF, "AI_INTEGER" + "AI_VALID_ANIMATIONS");
}
}