Author
|
Topic: adding-item qs
|
Baz Honorary Warlord
   
Posts: 687 From: The Netherlands Registered: Nov 2001 |
posted 13 January 2002 13:17
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

|
KieferHub Lord
 
Posts: 109 From: Germany Registered: Nov 2001 |
posted 13 January 2002 13:49
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"

|
Baz Honorary Warlord
   
Posts: 687 From: The Netherlands Registered: Nov 2001 |
posted 14 January 2002 12:43
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

|
jbouley Forum Admin.
    
Posts: 4907 From: Portland, Maine, USA Registered: Jan 2001 |
posted 14 January 2002 15:48
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

|
Baz Honorary Warlord
   
Posts: 687 From: The Netherlands Registered: Nov 2001 |
posted 15 January 2002 07:05
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

|
jbouley Forum Admin.
    
Posts: 4907 From: Portland, Maine, USA Registered: Jan 2001 |
posted 15 January 2002 16:29
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

|