[1.10] Revive AI improvements 2.0

This forum is for discussions on how to edit what can not be edited through the txt files, needless to say this isn't about battle net hacking.

Moderators: Nefarius, Havvoric

Post Reply
User avatar
Ogodei
Senior Moderator
Champion of the Light
Posts: 473
Joined: Thu Mar 10, 2016 8:31 am
Italy

Hand-picked

[1.10] Revive AI improvements 2.0

Post by Ogodei » Mon Aug 22, 2016 10:56 am

Hello guys :) I discovered new things about the Revived monsters, and wanted to share them with you.
Note: While in the thread they're called "Revived", keep in mind that this code also handles the super uniques and the random bosses minions!

Code: Select all

6FCF0DD9   75 1E           JNE SHORT 6FCF0DF9
This is the conditional jump that forces Revived minions to move away from the owner, and yes, even during combat (-_-). I think it's a Blizz leftover from v1.00, when the Revived actually could collide with players. Fix it by changing into JE.

Code: Select all

6FCF0DF9   83F8 14          CMP EAX,14
this handles the distance from the owner in order to trigger the AI pathing.

Code: Select all

6FCF0E0E   6A 14            PUSH 14
This push handles the range ( in sub tiles ) that the revived will keep from their owner while following him.
Reduce it in order to have the revived better keep the pace with you.

Code: Select all

6FCF0DFE   6A 28            PUSH 28

This push states the velocity bonus that revived will get when trying to reach their owner

Theernestrain
Posts: 12
Joined: Mon Mar 12, 2018 9:39 am

Re: [1.10] Revive AI improvements 2.0

Post by Theernestrain » Thu Mar 15, 2018 3:45 pm

Hey!

Where is this file located? When you say, "Fix it by changing it to JE", what do you mean?

User avatar
Ogodei
Senior Moderator
Champion of the Light
Posts: 473
Joined: Thu Mar 10, 2016 8:31 am
Italy

Hand-picked

Re: [1.10] Revive AI improvements 2.0

Post by Ogodei » Thu Mar 15, 2018 3:57 pm

Hello,

Sorry, these are among my very first code edits, and I didn't know it was necessary to specify such things!

All of these codes are in D2Game.

Theernestrain wrote:
Thu Mar 15, 2018 3:45 pm
When you say, "Fix it by changing it to JE", what do you mean?
I mean that you have to change that JNE SHORT 6FCF0DF9 into JE SHORT 6FCF0DF9. But, iirc, you can simply turn it into a JMP , so that the scattering behavior gets disabled for both players and super uniques \ random bosses

Theernestrain
Posts: 12
Joined: Mon Mar 12, 2018 9:39 am

Re: [1.10] Revive AI improvements 2.0

Post by Theernestrain » Thu Mar 15, 2018 11:58 pm

I understand man, thanks. I am going to look into these. Maybe you can also help me with the problem I just posted on forum when you get a chance. Would appreciate it. Currently needs to be approved by moderator though.

Ruffneck
Posts: 5
Joined: Sat Jun 15, 2019 9:07 pm
Canada

Re: [1.10] Revive AI improvements 2.0

Post by Ruffneck » Mon Jun 17, 2019 9:47 pm

Any chance for a tutorial for 1.13c ?

Post Reply

Return to “Code Editing”