Author Topic: Guest party members possible?  (Read 2432 times)

IHBP

  • Architect of Kajar
  • Chronopolitan (+300)
  • *
  • Posts: 379
    • View Profile
Guest party members possible?
« on: November 05, 2018, 06:00:43 pm »
I believe there exists the limited ability to edit enemy AI, if an enemy could be programmed to attack only other enemies then you could have them follow the character the same way Crono's cat does, essentially creating a guest party member.

Acacia Sgt

  • Guru of Reason
  • Zurvan Surfer (+2500)
  • *
  • Posts: 2654
  • Forever loyal to the Acacia Dragoons
    • View Profile
Re: Guest party members possible?
« Reply #1 on: November 05, 2018, 06:09:08 pm »
That's a very interesting idea.

Considering some enemies already do that, at least only through specific cases (like the snakes in the Cursed Woods that attack the frogs as a counterattack), then making it for all their actions shouldn't be that hard, I'd guess.

Mauron

  • Guru of Reason Emeritus
  • Errare Explorer (+1500)
  • *
  • Posts: 1764
  • Nu-chan
    • View Profile
    • Maurtopia
Re: Guest party members possible?
« Reply #2 on: November 05, 2018, 06:28:58 pm »
You could definitely make an enemy that only attacks other enemies, but you couldn't prevent the party from targeting it.

IHBP

  • Architect of Kajar
  • Chronopolitan (+300)
  • *
  • Posts: 379
    • View Profile
Re: Guest party members possible?
« Reply #3 on: November 05, 2018, 06:36:44 pm »
That's not a big deal, just make it impervious to damage since enemies won't target it anyway (invincible guests worked very well in Dragon Quest XI)

It however would need to be programmed to end combat when it's the last one alive. It's pretty situational but still has possibilities.

Acacia Sgt

  • Guru of Reason
  • Zurvan Surfer (+2500)
  • *
  • Posts: 2654
  • Forever loyal to the Acacia Dragoons
    • View Profile
Re: Guest party members possible?
« Reply #4 on: November 05, 2018, 06:40:15 pm »
I agree. Said "guest" could have either insane defense or evasion, or a barrier like some enemies do.

Sure, that means you have an invincible "party member", adding that other enemies wouldn't target it. Then again, sometimes, "guest" party members in games really are invincible, but on the trade-off that they're not THAT good in combat, and/or if the main party is defeated it's still game over even if the guest is still battle-capable.

So perhaps the same could be done here.

IHBP

  • Architect of Kajar
  • Chronopolitan (+300)
  • *
  • Posts: 379
    • View Profile
Re: Guest party members possible?
« Reply #5 on: November 05, 2018, 06:46:07 pm »
That's exactly how it would be, and I think it would be pretty fun to play around with

Mauron

  • Guru of Reason Emeritus
  • Errare Explorer (+1500)
  • *
  • Posts: 1764
  • Nu-chan
    • View Profile
    • Maurtopia
Re: Guest party members possible?
« Reply #6 on: November 05, 2018, 07:02:43 pm »
I've been working on improving AI editing. Right now I need a test of a hack that will be used as a base for the Temporal Flux plugin I'm working on. There should be no visible differences in AI with that patch.

IHBP

  • Architect of Kajar
  • Chronopolitan (+300)
  • *
  • Posts: 379
    • View Profile
Re: Guest party members possible?
« Reply #7 on: November 05, 2018, 07:23:33 pm »
What exactly are the testers of that patch supposed to be looking for? And can I apply it over top of Chrono Trigger Plus?

Mauron

  • Guru of Reason Emeritus
  • Errare Explorer (+1500)
  • *
  • Posts: 1764
  • Nu-chan
    • View Profile
    • Maurtopia
Re: Guest party members possible?
« Reply #8 on: November 05, 2018, 08:37:39 pm »
With the patch, AI behavior should be the same as before. If anything changes, that's something I need to know about.

It should be compatible with Chrono Trigger Plus, but I recommend soft patching in case there are issues.

The patch fixes a couple of glitches with AI, most of which don't take effect in the original game, and alters the AI code to use 3-byte pointers to make expansion easier.

IHBP

  • Architect of Kajar
  • Chronopolitan (+300)
  • *
  • Posts: 379
    • View Profile
Re: Guest party members possible?
« Reply #9 on: November 05, 2018, 09:07:14 pm »
Starting in December I'll be getting back into hacking CT this is not a big deal to test.

Fauntleroy

  • Architect of Kajar
  • Guardian (+100)
  • *
  • Posts: 184
  • Inclinata resurgit
    • View Profile
Re: Guest party members possible?
« Reply #10 on: November 09, 2018, 10:40:08 pm »
Alucard voice: I'm interested in this.

This would make an amazing set piece for my hack.  The "guest member" wouldn't even have to move, but just be present for one battle and occasionally do something moderately helpful.

Has anybody made a proof-of-concept of something like this?

IHBP

  • Architect of Kajar
  • Chronopolitan (+300)
  • *
  • Posts: 379
    • View Profile
Re: Guest party members possible?
« Reply #11 on: November 10, 2018, 12:38:40 pm »
The only thing required to make it work is you need an enemy that A: attacks other enemies and B: ends the battle when its the last one alive.

Currently there are enemies that do those things however none that do both at the same time, hence the reason we need to test Mauron's AI editing code.

Mauron

  • Guru of Reason Emeritus
  • Errare Explorer (+1500)
  • *
  • Posts: 1764
  • Nu-chan
    • View Profile
    • Maurtopia
Re: Guest party members possible?
« Reply #12 on: November 10, 2018, 02:08:41 pm »
It's not impossible with the current code, but AI has to be in the 0xC0000-0xCFFFF range, and Temporal Flux has probably used most of the free space in that range for both your projects. It might be possible to adjust an existing AI, if it has enough space already.

Fauntleroy

  • Architect of Kajar
  • Guardian (+100)
  • *
  • Posts: 184
  • Inclinata resurgit
    • View Profile
Re: Guest party members possible?
« Reply #13 on: November 10, 2018, 10:07:10 pm »
Awesome.  It will be very interesting to see how this develops.