Home › Forums › Destiny of an Emperor › DoaE Artificial Intelligence Enhancements + New Tactics
Tagged: Destiny of an Emperor, Destiny of an Emperor hack, Destiny of an Emperor hacking, Destiny of an Emperor Rom, DoaE artificial intelligence, NES AI, NES Artificial Intelligence, NES hacking, ROM Hacking, Yuan Shu
- This topic has 645 replies, 10 voices, and was last updated 4 years, 9 months ago by
MiDKnighT.
-
AuthorPosts
-
July 23, 2012 at 3:58 pm #43953
MiDKnighT
ModeratorMy next order of business…
– See if I can do the An Sha without calling An Sha code.
– Make "An Sha" outcome less likely. Maybe a winner with no An Sha.
July 23, 2012 at 3:59 pm #43954MiDKnighT
ModeratorQuote:question, if you lose, does your own guy get ansha'd?Yes, try offering a duel with a weak general to a strong general.
Quote:and next would a "guard" fix be too much?For now yes… I still have a ton more I want to do with Duel + another enhancement I've been thinking about. But…I can do a quick check to see how hard it would be to do.
July 23, 2012 at 4:09 pm #43955DragonAtma
ModeratorYou know, we really should have some tactics for Str and Agi characters… here are some suggestions, and presumably an RPS of Str > Int > Agi > Str)
Str. tactics, group 1:
* Rush: 1.25 times normal damage.
* Charge: Double normal damage, but lowered accuracy.
* Onslaught: All five members do a normal attack, but with the user's Str (which is presumably quite high!). Only usable by whoever's in slot 1.
Str. tactics, group 2:
* Assault: Double damage, but only if the target is using an Int tactic.
* Destroy: Double damage, but the user takes double Agi damage this turn.
* Interrupt: Normal damage, but if the target's using an Int tactic, the int tactic is canceled (and delayed until just after the Interrupt user).
Agi tactics, group 1:
* Flank: Standard damage formula, uses Agi not Str.
* Blitz: Standard damage, goes ahead of anyone else, uses Agi not Str.
* Feint: Double normal damage, lowered accuracy, uses Agi not Str.
Agi tactics, group 2:
* Harrass: Standard damage, may Yi Xin the target, uses Agi not Str.
* Surround: 1.25 times normal damage (double that if the target is using a Str tactic), uses Agi not Str.
* Cover: Non-Int attacks on an ally have a 50% chance of hitting the user instead.
Str Tactics:
* Standard attacks (except with bow and crossbow)
* The six listed above
* An Sha
* Bei Ji
* Cheng Nei
* Duel
Agi tactiocs:
* Standard attacks with Bow or Crossbow
* The six listed above
* Fu Bing
* Gui Huan
* Qi Shou
* Tui Lu
Int tactics:
* All fire tactics
* All water tactics
* Ce Mian
* Ji Mian
* Jie Ce
* Li Jian
* Yi Xin
Obviously, this is just a suggestion, but it beats having Zhang Fei go "Attack… Attack… Attack… get An Sha'd… Attack…"
July 23, 2012 at 4:27 pm #43956MiDKnighT
ModeratorOuch Atma… Lot of problems with that. Namely that I can't expand the number of available tactics without extreme difficulty. Extreme = 100x beyond anything I could possibly commit to.
Reasonably we are limited to 30 tactics. Any new tactics and we'd have to replace existing tactics which is what I did here.
I changed:
Cheng Nei
Wuo Jian
Shui Jian
to:
Charge
Protect (which adds Cheng Nei+Wuo Jian+Shui Jian status)
Duel
If we were to have more than 30 different tactics probably the best way is to consolidate tactics like I did with "Protect". But we've already consolidated all the weaker tactics…
As for STR and AGI, they have gotten plenty of love.
STR: Charge + Duel
AGI: Agility based attacks.
But, I do have plans on giving the STR guys another couple of tactics… And to do this I would be consolidating the fire and water tactics into 4 tactics each (instead of 5). Then we could have 2 additional non-elemental damage tactics that always succeed and are based on STR. We could call them "Arrows" and "X-Bows" or something…
I am also thinking of exploring having all damage and healing tactics more level based. Ie…if you cast Lian Huo at level 10 it will be stronger than if you were on level 1.
Man I'm making a lot of work for myself :?
July 23, 2012 at 4:33 pm #43957DragonAtma
ModeratorIf you're doing that, then you might as well consolidate the fire and water into three tactics:
(1) Standard formula, int-based, raised damage, targets one.
(2) Standard formula, int-based, targets all.
(3) Standard formula, int-based, raised damage, targets all.
But shouldn't it be possible to check elsewhere to view additional tactics, just as you did that for extra faces?
July 23, 2012 at 4:38 pm #43958MiDKnighT
ModeratorQuote:But shouldn't it be possible to check elsewhere to view additional tactics, just as you did that for extra faces?That would be the way to do it but it would still be extremely difficult and space is still a problem. On all the expanded ROM pages we can't access the memory. Neither Lud nor I could fix that. That's why with all of our enhancements we have to jump to page 1E (expanded page) then jump to somewhere else, then switch back to a page from the original ROM where our enhancement lives. If we could truly use expanded ROM space for code (with access to memory) we'd have unlimited coding potential… But unless someone smarter than me can figure out why the expanded ROM pages can't use available memory we're limited on space. For unknown reasons this doesn't seem to be a problem for portraits and sprites, but only with FCE Ultra… Other emulators can't read the expanded pages at all.
Fortunately for "Duel" I discovered some space on the original ROM that we could use. There was space used for Japanese character graphics that we don't use in the English version. That's where all the Duel and enhanced An Sha code lives.
July 23, 2012 at 7:39 pm #43959MiDKnighT
ModeratorI got the double kill working! There will be a somewhat rare chance that both duel participants get wiped out!
July 23, 2012 at 7:50 pm #43960sonic.penguin
ModeratorActually, I've already done this in my mod by tinkering around. If you've seen my Bushido/Musou tactic based off Fu Bing, since its based off of a characters attack, its really pretty weak at low levels but increases as players level up/get better weapons. Now with that said, I eliminated the level 1 and 2 Fire and Water tactics to make new tactics for later on in the game because there really was almost nowhere to even use the first 2 water tactics in the game anyways, and most people barely even used the 3rd one either! (generalizing…)
Anyways, before I put all that code in, is there something I should change for the double ansha in a duel or did you edit the code above?
July 23, 2012 at 8:00 pm #43961sonic.penguin
ModeratorHmm, something went wrong… when the battle ended the screen turned black and froze lol. Anyways, did you mean to repeat this line? Also, I challenged a brigand force to a duel, wonder if that had anything to do with it…
0x7A19A: 8A2024D14C4FBA
0x7A19A: 8A2024D14C4FBA
EDIT: now just freezing altogether when using it heh, weird, maybe I'll have to re-input everything…
July 23, 2012 at 8:04 pm #43962MiDKnighT
ModeratorQuote:Anyways, before I put all that code in, is there something I should change for the double ansha in a duel or did you edit the code above?I just edited.
Quote:Hmm, something went wrong… when the battle ended the screen turned black and froze lol.Anything special you were doing?
Quote:Anyways, did you mean to repeat this line?Oops, no…
July 23, 2012 at 8:06 pm #43963sonic.penguin
ModeratorNope, just tried dueling random people. I'll try re-inputting the code to see if I messed up somewhere. I didn't delete the text though in DOAEditor like you mentioned though
July 23, 2012 at 8:14 pm #43964sonic.penguin
ModeratorYeah, its locking up whenever anyone accepts, or when a battle ends and no one has accepted the duel even though I've used the duel tactic
July 23, 2012 at 8:26 pm #43965MiDKnighT
ModeratorNot doing that for me. Maybe something isn't copied right or I might have missed something in the hex copy. Should I give you a patch?
July 23, 2012 at 8:30 pm #43966sonic.penguin
ModeratorIf you can just patch w/ that new stuff. If I dont use duel at all, the battle ends just fine, no problems. Protect works fine, no bugs atm
July 23, 2012 at 8:36 pm #43967MiDKnighT
ModeratorThis IPS patch just contains the new tactics:
-
AuthorPosts
- You must be logged in to reply to this topic.

