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
-
December 24, 2012 at 6:06 pm #44422
sonic.penguin
ModeratorOkay, so it isn't the first time it has happened, but I've run into a bug that occurs when going All-Out. Will try to make a SS
December 24, 2012 at 6:51 pm #44423MiDKnighT
ModeratorDecember 24, 2012 at 7:31 pm #44424sonic.penguin
ModeratorIts very sporadic and doesn't happen often, but it happens during an All-Out I know that
December 31, 2012 at 12:43 am #44425sonic.penguin
ModeratorI JUST thought of a new idea for AI. What about "assists" that players or enemies can get from other members of their party while attacking? For example, Guan Yu attacks, the agility bonus is added, and Zhang Fei has a random % of assisting him with a bonus strike that does not act to his actual "turn".
This could be in some kind of table like the 'Death' table in dueling for which characters have a 5% chance of another character assisting them in battle with an extra attack?
Sounds complicated…
January 4, 2013 at 6:57 pm #44426sonic.penguin
ModeratorIf you have 1 officer left and you lose the duel, the game crashes. This is VERY likely to happen in this mod especially @ Hu Lao Gate.
January 4, 2013 at 8:25 pm #44427MiDKnighT
ModeratorYou wouldn't just happen to have a save state of that would ya? :)
January 4, 2013 at 9:16 pm #44428sonic.penguin
Moderatorerr, just go into a battle on the Yuan Shao mod and see if it does it :) I don't have one atm but I could probably make one…
January 5, 2013 at 2:31 pm #44429sonic.penguin
ModeratorEmailed it!
January 6, 2013 at 7:40 pm #44430MiDKnighT
ModeratorI see the problem.
$8D7B:4C 37 A3 JMP $A337 A:01 X:00 Y:01 S:2C P:nvUbdIzc
$A337:82 UNDEFINED A:01 X:00 Y:01 S:2C P:nvUbdIzc
It jumps to a location that doesn't exist on the current page.
Should be a fairly easy fix.
January 6, 2013 at 7:50 pm #44431MiDKnighT
ModeratorThanks for the save state. Easy fix:
0x4D8C: From "37 A3" to "A5 8D"
January 6, 2013 at 8:01 pm #44432sonic.penguin
ModeratorNo problem. Don't forget to update the IPS patch.
January 6, 2013 at 8:08 pm #44433MiDKnighT
ModeratorIPS patch and Yuan Shao mod both updated with the fix.
January 6, 2013 at 9:54 pm #44434sonic.penguin
ModeratorRequests:
1. Multi-Heal Elixir + find where elixir HP data is stored
2. Inn Cost Changeable w/out bugs
3. Officer recruitment cost w/ out bugs
4. Once Atma tells us how to get more tactics, a Warp (gullwing) tactic!
January 6, 2013 at 10:51 pm #44435DragonAtma
ModeratorTrying to steal my ideas, are you!? XD
(also it shouldn't be hard to tack that on to Gui Huan…)
January 7, 2013 at 1:52 pm #44436MiDKnighT
ModeratorQuote:Requests:1. Multi-Heal Elixir + find where elixir HP data is stored
2. Inn Cost Changeable w/out bugs
3. Officer recruitment cost w/ out bugs
4. Once Atma tells us how to get more tactics, a Warp (gullwing) tactic!
My work is never done!
The first 3 are doable but I'm running out of the space in the ROM I was using where I overwrote the japanese text graphics. In order to do more major enhancements we'd need to expand the ROM (again) and do as Atma suggested by moving portraits and sprites out of the original ROM pages. This would be a big project.
As for the 4th one, I still don't know how Atma is going to accomplish that. Seems like a big task to expand the # of tactics. I'd love to do it though. We could bring back all the original tactics that we replaced + some new ones. I'm thinking the ultimate goal would be 50+ tactics (one for every level learned).
One (easier) idea that I think could effectively expand the number of tactics is to manipulate these tables:
Quote:0x3bb3f-0x3bb5c- How to target the tactic80 80 00 80 00 80 80 80 00 00 01 01 00 00 01
00 00 00 00 00 00 80 80 01 00 80 01 80 00 00
00 means that no targeting is needed. 80 means an enemy officer is targeted. 01 means that an allied general is targeted.
0x3bb5e-0x3bb7b- Targets all or not
00 00 80 00 80 00 00 00 80 80 00 00 01 01 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 means to use the targeting info gleaned from input (see above). 80 means target all enemy officers, 01 means target all allied officers. Defense tactics, as well as special tactics such as Gui Huan and Tui Lu are special cases, and are simply target-less.
Instead of reading these tables it could use some other criteria to decide if the tactic targets all or not. INT? Current level / AC?
Then you would effectively have a target one / target all version of every tactic!
-
AuthorPosts
- You must be logged in to reply to this topic.

