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 25, 2012 at 12:24 am #44013
MiDKnighT
ModeratorQuote:Okay, something to bring up only because its happened quite a few times now. I actually have smart guys w/ Negate using it before I've even cast anything on the party. Any ideas?Ya that's normal right now. I can address that later. There's no A.I. for negate (other than to use it if Ce Mian is on).
Quote:EDIT1: found another duel bug, it made the sprite @ the top of the formation disappear (Zhuge Liang) and axed Zhang Fei in the second slot, but he was still visible with full life… gonna try to reproduce itI haven't seen that with the latest code. Any steps to reproduce or text you see before it happens would be good to know.
July 25, 2012 at 1:45 am #44014MiDKnighT
ModeratorDuel To Do List:
– Double wound possibility – DONE
– Fix battle end bug – DONE
– Make it less likely that weaker generals accept duels – DONE
– Winner but nobody wounded possibility – DONE
– Spoils for the winner – DONE
– Loser flee possibility
– Duel A.I.
– KILL possibility, "No Kill" list, and "Mismatch" list
– Explore duel target taunting back further… (may not be feasible)
– Explore duel target stepping out further… (may not be feasible)
To add winner but nobody wounded possibility + spoils for the winner:
0x49A0:
A20086BDA5BAC5BBB007A20186BD4CF0
89E5BBC90AB0034C608AC93A90034CB0
8D20F08720CB86C955B005A9744CB086
A96C20C08B20408DE03DD0034CA58D20
408BA47820A18A20C386A478C955B008
20CE8AA9704CB08620BC8AA96E4CB086
A5BBE5BAC90AB0034C608AC93A90034C
008E20F08720CB86C955B005A9754CB0
86A96D20D08BA678A478BDE46185BEAA
20D088864A98AA857920D088854B2040
8DE03DD0034CA58D20408BA4BE20A18A
20C386A4BEC955B00A20F08720CE8AA9
704CB08620F08720BC8AA96E4CB08600
20F08720C086C9C0B005A9724CB08620
408DA678A478BDE461AA20D088E03DD0
034CA58D864A98AA857920D088E03DD0
034CA58D854B20F08720408DA9734CB0
86A201C0059002A200BD28623D3A819D
2862BD2A623D3A8A8D2A6260A201C005
9002A200BD2C621930819D2C6260A201
C0059002A200BD2E621930819D2C6260
0x4DC0: 4CB189
0x4E10: 4C028A
Spoils for the winner = Li Jian and Yi Xin status cleared and a 2/3rd chance of Qi Shou for the winning general and a 1/3rd chance of Bei Ji for the winning general.
There are a couple of text changes too for the "add winner but nobody wounded possibility". Underneath the "Both were wounded" text:
73
[OFFICER] and
[OFFICER-2] have
both been wounded!
74
Although unharmed,
[OFFICER-2]
was clearly[>]
outfought.[END]
75
Although unharmed,
[OFFICER]
was clearly[>]
outfought.[END]
I assume you'd prefer to add these via DoaEditor.
July 25, 2012 at 3:20 pm #44016sonic.penguin
ModeratorMight change the "[OFFICER]'s troop gain speed" to something like they are in a frenzy or something…
July 25, 2012 at 3:53 pm #44017MiDKnighT
ModeratorI would change the text on the "fled" one. I'm actually going to write another outcome where they flee and get punished (lose Qi Shou, lose Bei Ji, and get Yi Xin status).
"Flee" will only happen if one duel participant is completely outmatched (Lu Bu vs Song Yong). So in other words, I have these duel outcomes:
Close Match:
– Draw (2/3rd chance)
– Both participants An Sha'd (1/3rd chance)
Clear Winner:
– One person is An Sha'd (2/3rd chance)
– Winner but both parties unharmed (1/3rd chance)
Mismatch (Lu Bu vs Song Yong) – This part is not done yet
– One person is An Sha'd (1/3rd chance)
– Loser flees and is his own men are disgusted (Yi Xin, etc…) (1/3rd chance)
– Loser gets KILLED (An Sha'd and removed from the game) (1/3rd chance but this will also have stat protections and a no kill list. If the officer is protected it will just be An Sha).
I'm open to suggestions on the mismatch percentages.
Also what do you think about the Duel accept/reject stuff now? Good?
July 25, 2012 at 4:13 pm #44018sonic.penguin
ModeratorYeah, actually I upped the INT for auto-accept to 170 only b/c I'm considering strategist types to be 200+ but so far its working atm. I'll be posting some pics in a second of the essential classes I've divided up.
Would people under 175 ish STR still be dueling or would you make that your mismatch code?
July 25, 2012 at 4:21 pm #44019MiDKnighT
ModeratorQuote:Yeah, actually I upped the INT for auto-accept to 170 only b/c I'm considering strategist types to be 200+ but so far its working atm. I'll be posting some pics in a second of the essential classes I've divided up.So they have to be 170 INT to make an informed decision on whether to duel? Your talking about this value?
0x4537: 96–>78
Since I made dumb (weak) generals less likely to duel I might up that number back up from 120.
Quote:Would people under 175 ish STR still be dueling or would you make that your mismatch code?If they are dumb (under the 0x4537 threshold) they will always reject if they are under 100 STR and RARELY accept if they are in the 100-175 range. The lower their STR the more rare they accept. However, if they do accept and it's up against someone like Lu Bu it won't go well for them :twisted:
If they are pretty smart (above the 0x4537 threshold) but below the 220 INT threshold they could still accept if they are under 100 STR but only if they have a 20+ STR advantage over their opponent.
July 25, 2012 at 4:21 pm #44020MiDKnighT
ModeratorQuote:Yeah, actually I upped the INT for auto-accept to 170 only b/c I'm considering strategist types to be 200+ but so far its working atm. I'll be posting some pics in a second of the essential classes I've divided up.So they have to be 170 INT to make an informed decision on whether to duel? Your talking about this value?
0x4537: 96–>78
Since I made dumb (weak) generals less likely to duel I might up that number back up from 120.
Quote:Would people under 175 ish STR still be dueling or would you make that your mismatch code?If they are dumb (under the 0x4537 threshold) they will always reject if they are under 100 STR and RARELY accept if they are in the 100-175 range. The lower their STR the more rare they accept. However, if they do accept and it's up against someone like Lu Bu it won't go well for them :twisted:
If they are pretty smart (above the 0x4537 threshold) but below the 220 INT threshold they could still accept if they are under 100 STR but only if they have a 20+ STR advantage over their opponent.
July 25, 2012 at 5:20 pm #44021sonic.penguin
ModeratorHigh Strategist Tactic Features:
*High Success, High Damage
*Healing capabilites
*Resurrection capabilities
*Defense Tactic: Thwart (No Tactic Damage)
Types: Zhuge Liang, Sima Yi, Cao Cao, Lu Xun types
High Warrior Tactic Features:
*Medium Success,Medium/High Damage
*Ansha capabilities
*Advanced Healing capabilites
*Basic resurrection capabilities
*Defense Tactic: Evade (No Physical Attack Damage)
Types: Zhao Yun, Zhang Liao types
Low Strategist Tactic Features:
*Medium Success, Medium Damage Tactics
*Basic Healing capabilites
*Basic Resurrection capabilities
*Defense Tactic: Protect (50% Fire/Water)
Types: Cao Ren, Cheng Pu types
Low Warrior Tactic Features:
*Low Success, Variable Damage Tactics (Low-High)
*No healing capabilities
*No resurrection capabilities
*Defense Tactic: Guard (50% Physical Attack)
Low Range Types: Zhang Fei, Xu Zhu, Gan Ning
High Range Types: Guan Yu, Huang Zhong, Zhou Tai
July 25, 2012 at 7:29 pm #44022sonic.penguin
Moderatorran into a problem, a weak general requested a duel w/ one of my officers and lost, he then did a "ghost", sprite disappearing but not hp
July 25, 2012 at 7:54 pm #44023MiDKnighT
ModeratorQuote:ran into a problem, a weak general requested a duel w/ one of my officers and lostHaven't done Duel A.I. yet. But when that's done weak generals won't request duels much.
Quote:he then did a "ghost", sprite disappearing but not hpRuh roh. Let me try to reproduce.
July 25, 2012 at 8:27 pm #44024MiDKnighT
ModeratorDuel To Do List:
– Double wound possibility – DONE
– Fix battle end bug – DONE
– Make it less likely that weaker generals accept duels – DONE
– Winner but nobody wounded possibility – DONE
– Spoils for the winner – DONE
– Add Negate A.I. (someone unrelated) – DONE
– Loser flee possibility – DONE
– Duel A.I.
– KILL possibility, "No Kill" list, and "Mismatch" list
– Explore duel target taunting back further… (may not be feasible)
– Explore duel target stepping out further… (may not be feasible)
To add Negate A.I., loser flee possibility (when overmatched) and some buggie fixes:
0x40C9: 4C4081000000
0x4150:
C919D017A007A200A9007D2362E8E888
10F8C900F0034CA883A0194C00800000
0x4220: EAEAEAEAEAEAEAEAEA
0x4660:
18A201A4BFC0059002A200BD2C625930
819D2C62BD2E625930819D2E62A201A4
BEC0059002A200A4BFBD28621930819D
2862EAA96AA6BDE0009002A96B4CB086
20F087A9624CB0864A4A4A6000000000
0x4880:
20408C4CE28900000000000000000000
A64BBDB4616000000000000000000020
508CA678BDE461AA20D088864A4C3B8A
0x49B0:
89E5BBC90AB0034C608AC93090034CB0
8D20F08720CB86C955B0054C7088EAEA
A96C20C08B20408DE03DD0034CA58D20
408BA47820A18A20C386A478C955B008
20CE8AA9704CB08620BC8AA96E4CB086
A5BBE5BAC90AB0034C608AC93090034C
D08D20F08720CB86C955B0054C8F88EA
EAA96D20D08BA678A478BDE46185BEAA
0x4DC0:
20C386C955B00A4CC089C9AAB0034C00
8E20608BA67986BFA67886BE4C508600
20C386C955B00A4C118AC9AAB0034C50
8E20508BA67886BF20D088AA864BA679
86BE4C50860000000000000000000000
4CC08900000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
4C118A00000000
July 25, 2012 at 8:40 pm #44025MiDKnighT
ModeratorQuote:he then did a "ghost", sprite disappearing but not hpJust saw this. Will fix.
EDIT: FIXED!
0x48B0:
A64BBDA86160000000000000000020D0
88E007B001AA6020D088E00790018A60
0x4A30:
20AE88864A98AA857920B788854B2040
0x4DE0:
20C386C955B00A4C118AC9AAB0034C50
8E20508BA67886BF20D088C9079001AA
864BA67986BE4C508600000000000000
July 25, 2012 at 10:10 pm #44026MiDKnighT
ModeratorAnd a question – have you seen any enemies using raise on alive guys still? I think I saw that when I was testing.
July 25, 2012 at 10:31 pm #44027sonic.penguin
ModeratorHaven't seen it yet but I'll keep an eye open. This dueling definitely makes it interesting. Sometimes I just ask for duels with guys to make their guys stop attacking me :P
Will try the fix as well
July 26, 2012 at 12:09 am #44028Xu Yuan
ParticipantYou fellows are really turning a fairly simple RPG into another monster all together! And I can say that I whole heartedly approve. Much like the RTK games there's little point to use anything but the best officers, but to start individualizing types and sub-types is a great step to making officers unique!
-
AuthorPosts
- You must be logged in to reply to this topic.

