Author Topic: Enemy AI Update  (Read 4668 times)

Mauron

  • Guru of Reason Emeritus
  • Errare Explorer (+1500)
  • *
  • Posts: 1764
  • Nu-chan
    • View Profile
    • Maurtopia
Enemy AI Update
« on: September 24, 2017, 08:34:43 pm »
Enemy AI documentation

Most conditions and targeting routines are now accurately listed. Actions still need to be updated.

Cherenkov

  • Architect of Kajar
  • Earthbound (+15)
  • *
  • Posts: 23
    • View Profile
Re: Enemy AI Update
« Reply #1 on: September 24, 2017, 08:48:24 pm »
THANK YOU I live for this.

Grobycftw

  • Architect of Kajar
  • Porrean (+50)
  • *
  • Posts: 85
  • Chilling in the Bend of Time
    • View Profile
Re: Enemy AI Update
« Reply #2 on: August 02, 2019, 11:36:38 am »
Hey Mauron , I was wondering if you had any update on AI script :) , I remember you were trying to expand the usable space for AI data , that would be really awesome,  I'll make some research/testing as soon as I can!

Also I'm not sure if you have already cover this up but do you think there could be a way to ever make Tabs for other stats? (like Hit Tab, Stam Tab, HP/MP Tab hehe ) that would also be sweeet!

Zakyrus

  • Entity
  • Magical Dreamer (+1250)
  • *
  • Posts: 1351
  • "Bouncy, bouncy, bouncy... --!!"
    • View Profile
Re: Enemy AI Update
« Reply #3 on: August 02, 2019, 12:12:42 pm »
Enemy AI documentation

Most conditions and targeting routines are now accurately listed. Actions still need to be updated.

FANTASTIC!!
I will be making a video tutorial on AI soon, I will attempt to document this the best I can.

Also I'm not sure if you have already cover this up but do you think there could be a way to ever make Tabs for other stats? (like Hit Tab, Stam Tab, HP/MP Tab hehe ) that would also be sweeet!

That'd be awesome.

~Z

Mauron

  • Guru of Reason Emeritus
  • Errare Explorer (+1500)
  • *
  • Posts: 1764
  • Nu-chan
    • View Profile
    • Maurtopia
Re: Enemy AI Update
« Reply #4 on: August 02, 2019, 01:08:01 pm »
AI expansion: Unfortunately I lost some progress on this, but I'll get back to it soon.

Tabs: HP/MP tabs will be tricky, but the others can be done with the same setup I've been using for my stat growth hack.

Zakyrus

  • Entity
  • Magical Dreamer (+1250)
  • *
  • Posts: 1351
  • "Bouncy, bouncy, bouncy... --!!"
    • View Profile
Re: Enemy AI Update
« Reply #5 on: August 02, 2019, 01:27:43 pm »
Tabs: HP/MP tabs will be tricky, but the others can be done with the same setup I've been using for my stat growth hack.

Sweet. I'll try this out later.

~Z

Grobycftw

  • Architect of Kajar
  • Porrean (+50)
  • *
  • Posts: 85
  • Chilling in the Bend of Time
    • View Profile
Re: Enemy AI Update
« Reply #6 on: August 02, 2019, 03:42:05 pm »
:o You could make those !! Using itemizer and Warrior workshop? or you'll have to make some kinda update for it?
Anyhow if you can manage this, the hack I'm working on atm will take a whole new turn  :D

Mauron

  • Guru of Reason Emeritus
  • Errare Explorer (+1500)
  • *
  • Posts: 1764
  • Nu-chan
    • View Profile
    • Maurtopia
Re: Enemy AI Update
« Reply #7 on: August 02, 2019, 04:34:12 pm »
With Warrior Workshop, I'm working on an update that will allow speed growth or fixed power/stamina/hit/evade/magic/magic defense, or setting individual stat caps for those stats.

The current tab code works as follows:

- If item CD is used, add 1 to power.
- If item CE is used, add 1 to magic.
- Otherwise, add 1 to speed.

The data for tabs is as follows.
CD: 02 0B 01 00
CE: 02 0E 01 00
CF: 00 00 00 00

The first byte determines the item type. 00 defaults to the same code as 02, which is tab. The remaining bytes are ignored, but their data was specified anyway for Power and Magic tabs, so we can guess at their meaning.

The second byte is 0B for Power, and 0E for Magic. In character stats, 0B is Power and 0E is Magic. The third byte in both of those is 01, and they both add 1 to a stat.

Speed being 00 for the first byte makes for a nice failsafe. If that byte is 00, set the second and third bytes to 0D and 01 (Speed + 1 tab).

I'll add expanded tabs to my project list.

IHBP

  • Architect of Kajar
  • Chronopolitan (+300)
  • *
  • Posts: 379
    • View Profile
Re: Enemy AI Update
« Reply #8 on: August 02, 2019, 06:43:44 pm »
I have successfully added HP by event, do you want my notes on that?

Unrelated but since I'm typing, is the default run speed 28?

Mauron

  • Guru of Reason Emeritus
  • Errare Explorer (+1500)
  • *
  • Posts: 1764
  • Nu-chan
    • View Profile
    • Maurtopia
Re: Enemy AI Update
« Reply #9 on: August 02, 2019, 08:40:59 pm »
Was it just load HP, add more, then save it back? I can probably do that easily enough.

I'll check run speed later.

IHBP

  • Architect of Kajar
  • Chronopolitan (+300)
  • *
  • Posts: 379
    • View Profile
Re: Enemy AI Update
« Reply #10 on: August 02, 2019, 10:13:50 pm »
Ya I guess it was, though unlike the other stats it only needs to be saved to one address.

Mauron

  • Guru of Reason Emeritus
  • Errare Explorer (+1500)
  • *
  • Posts: 1764
  • Nu-chan
    • View Profile
    • Maurtopia
Re: Enemy AI Update
« Reply #11 on: August 03, 2019, 12:42:43 am »
Run is 0x20, walk is 0x10.