Change Horadric Cube quest item to something else

Post here about all aspects of D2 mod making whether it's information, problems or whatever. Please specify whether your post is relating to Classic D2 or the Expansion.

Moderator: Nizari

Post Reply
arva
Posts: 26
Joined: Sat Dec 17, 2016 4:00 pm

Change Horadric Cube quest item to something else

Post by arva » Sun Mar 22, 2020 8:59 pm

I read somewhere in a tutorial far away that seems lost in the void that you can change the Horadric Cube quest item into something else. What you'd need to do is to create a new item that is a copy of the cube and change the type field in Misc.txt
However, when I change the item type "box" into something else (a small charm) I get a crash (error code 02fa1baf).

User avatar
jessedazebra
Junior Member
Paladin
Posts: 124
Joined: Sun Nov 11, 2012 9:46 am
Russia

Re: Change Horadric Cube quest item to something else

Post by jessedazebra » Mon Mar 23, 2020 9:11 am

It's better to change chest drop in the Halls of the Dead Level 3 via code editing, I wouldn't recommend you to do this with text editing, since "box" code uses a lot of checks in dlls.
Here are 2 places I've found some time ago, these are for 1.13c:

Code: Select all

D2Game.dll
; Horadric Cube Halls of the Dead Level 3 chest drop
000CA068   C780 B8000000 62 MOV DWORD PTR DS:[EAX+0B8],20786F62		; box - item code

; Act3 Council Horadric Cube drop
000E7EB6   C781 B8000000 62 MOV DWORD PTR DS:[ECX+0B8],20786F62		; box - item code
Image

Post Reply

Return to “General Mod Making”