Site hosted by Angelfire.com: Build your free website today!

Nefarius’s Idiot proof guide of how to make a mod for Diablo ii

 

 

Contents:

1.      what is a mod?

2.      basic stuff you’ll need

3.      How to make a simple items mod

4.      how to make a simple boss mod

5.      how to make a simple skill mod

6.      how to make overall gameplay changes

7.      ideas for mods

8.      stuff you must know

9.      where can I reach you???

 

 

1.      what is a mod?

 

 

a mod is a modification of a game such as Diablo ii

which gives you new features the original game hasn’t given you (like: new

items, new monsters and any other changes in the game play).

 

2.      basic stuff you’ll need

 

to make mods you will need certain programs such as:

1.      mpq2k

2.      Microsoft excel (or any other spreadsheet program).

3.      paint shop pro (or any other image editing program that allows you to apply palettes to an image).

4.      tbl editor

5.      hex editor(note: you will need a hex editor only if you plan to hex edit dlls).

6.      dc6con

7.      psidc6

8.      mpqview

9.      uniq_ed91g

 

most of this stuff is freeware so its for free some of the programs in the list

are not freeware so you will need to either get a trial or buy the full program.

 

Here is a link to a page having all the freeware on it

www.phrozenkeep.com 

 

3.      how to make a simple items mod

 

here you will learn how to ad a new item to the game and make all items dropped

rare, and allows how to modify unique and set items.

 

First how to modify set and unique items

Open up uniq_ed91g choose the unique item from the pull down above and simply

start changing its modifiers with the options to your right(now this was not so

hard) now press spawn on button (below the unique items stats) press on it now a

message will appear and say apply to patchstring.tbl choose yes and you have

modified the unique item(now you will need a chareditor to ad the unique item to

your char and test your new mod).

To modify sets you will use the same program as above

Just below the about button is a invisible button (it will get marked if you

scroll over it) the set editor screen will appear (it works similar to the

unique editing screen so there is no big need to explain)

 

Make all items dropped rare

 

Open up mpqview and choose load data file form the file pull down, choose

d2datall.txt(it comes with the viewer)

Now choose load archive choose patch_d2.mpq choose a file called itemratio.txt

from the list, press save and open it with excel now a message will appear on

the screen saying would you like to blah blah blah... press ok now you will see

some strange numbers on your screen here is what you have to change.

 

I changed the raredividor and rare columns to 1

now you will have to put the file back into your mpq so it will work in the

game. First after you made these changes press save button in excel it will make

2 messages appear on your screen press ok on both.

Now make sure the modified itemratio.txt(make sure you always make a backup for

the original) is inside the same folder as mpq2k, now go down into your start

menu and choose run now a small message like thing will appear type into it

command.com a black dos window will appear on your screen in this window find

the folder you keep all the following files in(all files have to be in the same

folder for it to work) mpq2k, itemratio.txt, patch_d2.mpq if you found the

folder type in mpq2k the program will respond and show you a list of options,

now type in:

 

Mpq2k a patch_d2.mpq itemratio.txt data\global\excel\itemratio.txt

 

If you made everything correctly you may take the modified patch_d2.mpq file

back into your Diablo II directory, notice when you play the game some of the

rare items you have equipped may “morph” (change modifiers), and you will find

almost only rare(yellow items).

 

Making a new item

 

Well now after you did really some of the mod basics you will Probaly want to

advance to an higher level, making new items is such a level, first you will

need 3 files that are found in your patch_d2.mpq file(if some of them are not

open d2data.mpq with the mpqview, the files are: weapons.txt, treasureclass.txt,

string.tbl

First open up weapons.txt(in excel) and choose the

first row (hand axe) right click the row and choose copy

and paste as new row(make sure it pastes it below the hand axe row now its time

to start changing the new items stats first go to mindam maxdam columns and

change it to whatever(note mindam can not pass 100)

 

 

As you can see I also changed the name column next we will have to change the

items code go to code column

 

 

change the code to something else NOTE: never ever ad a code twice except if you

know what your doing!!!

 

Because it is a cloned hand axe you will be able to buy it at charsi once in the

game(note: there some columns that determine which vendor will be able to sell

the item called (charsi min, charsi max...) like this for each vendor.

 

Next open up treasureclass.txt(you actually don’t have to do that but if you

don’t the item will not be dropped by monsters) in treasureclass.txt simply ad

your new code to all the act1 rows you will find in here save both files and

exit excel.

 

Next open up the tbl editor(if you don’t know what that is read section 2) once

open select string.tbl here you will now see a enormous list of cods at the left

screen side and what they mean on the right side(note if you don’t ad a new code

to string.tbl the game may mess up!!!)

Choose the ad code button(+) and type in the code you gave your new weapon

(note: a weapon code may NOT be bigger then 3 letter, numbers note also that

capital letters are considered other letters (small a is not the same as capital

a) after you have ad the code you will have to ad what will be displayed on the

playing screen in the right screen half type in what the name of the item will

be. If you made everything until here correctly you will now only need to ad the

files to your mpq here are the paths to ad the files:

 

Mpq2k a patch_d2.mpq weapons.txt data\global\excel\weapons.txt

 

Mpq2k a patch_d2.mpq treasureclass.txt data\global\excel\treasureclass.txt

 

Mpq2k a patch_d2.mpq string.tbl data\local\LNG\eng\string.tbl

 

4.      how to make a simple boss mod

 

here we will learn how to make a boss mod what means that you will be able to

fight bosses everywhere!!!

For this you will need the following files:

Levels.txt, monstats.txt. open up monstats.txt with excel and go down to row

258(Izual) change spawnable column to 1. save monstats.txt(note: for these of

you that don’t know what’s the difference between row and column, column is a

vertical line |, and row is a horizontal line ___.), choose save and load

levels.txt into excel here you will need to edit a bit more, go to mtot column

and change that into 1 (choose the first row (bloodmoor) called wilderness 1 now

go to the columns m1-m25 and make all of them into 0 next go to column m1 and ad

256 into this row (its 258 -2) now go to column monumin and monumax and make

them both 1 next go to column utot and make that column 1 make columns u1-25 all

0 now make column u1 into 256 save your work and exit excel. Now you will need

to put the files back into your mpq, like all those before run mpq2k an type in:

 

Mpq2k a patch_d2.mpq monstats.txt data\global\excel\monstats.txt

 

Mpq2k a patch_D2.mpq levels.txt data\global\excel\levels.txt

 

Launch Diablo ii and go into the bloodmoor you will be surprised!!!

 

Note: for full brief on monstats.txt go to www.phrozenkeep.com 

 

For full brief on levels.txt go to my site http://nefarius.go2click.com

 

5. how to make a simple skill mod

 

No no no I am not teaching you how to change the skill gfx, if you wanna learn

that go to www.phrozenkeep.com

 

Here you will learn how to make all skills available at any level and without

the need to ad points to weak skills to unlock the skills coming after them.

You will need the following file: skills.txt

Open up skills.txt in excel, now go to row reqlevel and make em all 1 next go to

the rows reqskill1-3 and make them all 0 save your work and exit excel ad the

file to your mpq at this location:

 

Mpq2k a patch_D2.mpq skills.txt data\global\excel\skills.txt

 

6. How to make overall gameplay changes

 

This is actually not a tutorial like the above it simply will explain what a

overall gameplay change is and how you best make them. A overall gameplay change

is for example what I did in my xyrax(if you haven’t played this mod then take a

look) here--> http://nefarius.go2click.com I changed the exp you get from

monsters in normal and much more also ad masses of new items and new and unused

monsters but still the best way to look at total gameplay conversion is to make

your Diablo ii version into 1.03 and download the kagero mod(one of the first

mods I have played).

 

7. Ideas for mods

 

Easily this is al up to you... once you will advance to dll hacking nothing is

impossible... but for the case you have no imagination, eg: you can make all new

skill trees and skills by modifying the existing ones even make the titlescreen

change ad your own grafics to the game and much more!!!

 

8. stuff you have to know

 

mods are not considered cheating even some people might say so, according to

blizzard entertainment(the creators of Diablo ii) its ok to make mods as long as

you don’t mess with the copyright and the enduser agreement, but this may not be

so for other games, so I advise you make mods only if you don’t get in trouble

from it!!! Also mods may not be sold for profit of any kind all mods must be

freeware if you want money for mods make your own game and don’t mess with other

games!!! Also I don’t have any responsibility with what you do with this file...

this file is not endorsed by any one not even the author himself any uses or

misuses are at your own responsibility and are nor condoned by the author!!!

 

9. where can I reach you???

 

You may reach me under this email address Nefariusdx@hotmail.com 

 

 

 

 

 

 

 

 

Back to Tutorials Page