the Phrozen Forums
  General Mod Making
  adding-item qs

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone! next newest topic | next oldest topic
Author Topic:   adding-item qs
Baz
Honorary Warlord

Posts: 687
From: The Netherlands
Registered: Nov 2001

posted 13 January 2002 13:17     Click Here to See the Profile for Baz   Click Here to Email Baz        Reply w/Quote   
I've just added a new item (Wizard Robe of Cold Resistance), but how can I give it a standard cold resistance bonus? (normal 10%, nm 25%, hell 50%)

------------------
Give me fuel, give me fire, give me all that I desire

IP Logged

KieferHub
Lord

Posts: 109
From: Germany
Registered: Nov 2001

posted 13 January 2002 13:49     Click Here to See the Profile for KieferHub   Click Here to Email KieferHub        Reply w/Quote   
well you can't give him a different bonus in normal / nm / hell but you can give him an so called autoprefix. If you add not only one autoprefix (let's they you add 3) then you can set the first autoprefix to work from ilvl 1 to 35 (which should be normal) and from 36 to 80 (for nightmare) and one for 81+ (for hell)

you will find "auto prefix" column in armor.txt and weapon.txt

to define the attributs you will have to edit "automagic.txt"

IP Logged

Baz
Honorary Warlord

Posts: 687
From: The Netherlands
Registered: Nov 2001

posted 14 January 2002 12:43     Click Here to See the Profile for Baz   Click Here to Email Baz        Reply w/Quote   
Hmmm... the image from my armor is kinda screwed up... my armor is 3 height and 2 width, but it isn't in the middle from the squares. When I look at the image, it's not in the middle, but up-left in the corner... how do I fix that?

------------------
Give me fuel, give me fire, give me all that I desire

IP Logged

jbouley
Forum Admin.

Posts: 4907
From: Portland, Maine, USA
Registered: Jan 2001

posted 14 January 2002 15:48     Click Here to See the Profile for jbouley   Click Here to Email jbouley        Reply w/Quote   Visit jbouley's Homepage!
Did you set the height and width columns in armor.txt to match those of your graphic?

That's the only thing that would be messing you up, unless the actual graphic is mis-sized, perhaps.

------------------
- JEFF
"A hero is no braver than anyone else. He is only brave five minutes longer."
For my latest mod (for LoD/expansion), download Version 1.0 of Sanctuary in Chaos - Or for old stuff (for classic D2), visit my orignal mod site at www.planetdiablo.com/sanctuary

IP Logged

Baz
Honorary Warlord

Posts: 687
From: The Netherlands
Registered: Nov 2001

posted 15 January 2002 07:05     Click Here to See the Profile for Baz   Click Here to Email Baz        Reply w/Quote   
OK, the image is fine now, bit how can I give a item a standard bonus? (I wanna give my Wizard Robe of Cold Resistance a bonus of 10% to Cold Resistance) Can somebody give me a very detailed explanation about doing this?

------------------
Give me fuel, give me fire, give me all that I desire

IP Logged

jbouley
Forum Admin.

Posts: 4907
From: Portland, Maine, USA
Registered: Jan 2001

posted 15 January 2002 16:29     Click Here to See the Profile for jbouley   Click Here to Email jbouley        Reply w/Quote   Visit jbouley's Homepage!
Well, it was mentioned earlier you could use automagic.txt.

I suggest you look in armor and take a peek at the class-specific items that have a number in the auto prefix column.

Then go to automagic.txt and you will be able to find all the entries in that "group number"

It's pretty easy.

Just pick an automagic number that isn't being used yet. Put it in the automagic column in your armor.txt row.

Go to automagic.txt and add a new line. Use the existing rows as a guide. Just make sure the number in the group column is the same as the number you put in the automagic column in armor.txt. Put the cold resistance code and values in the mod1 columns...that sort of thing. Pretty easy, actually.

------------------
- JEFF
"A hero is no braver than anyone else. He is only brave five minutes longer."
For my latest mod (for LoD/expansion), download Version 1.1 of Sanctuary in Chaos or at this mirror site

- Or for old stuff (for classic D2), visit my orignal mod site at www.planetdiablo.com/sanctuary

IP Logged

All times are Central Standard Time

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | The PhrozenKeep

© PhrozenKeep.com . all buttons made by the Evilenglishman . swords and shields by DigiBO.


Ultimate Bulletin Board 5.47c