[Resolved] Item Always Unique

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.

Moderators: Doombreed-x, Nefarius, GuyAskingQuestion, talonrage

Post Reply
User avatar
Kieran
Angel
Posts: 564
Joined: Mon Oct 22, 2007 9:46 am
Location: England

[Resolved] Item Always Unique

Post by Kieran » Thu Oct 05, 2017 5:46 pm

Hello Guys,

I have created two new tiers of items called Epics and Collectors. They have a new "normal" base item and then a variety of unique options.

For Example:

Collectors Bone Helm (Normal Quality) -> Collectors Unique Bone Helm (Unique Quality)

Now I only ever want the Collectors Bone Helm to spawn as a unique, never as its Normal Quality.

I am using this column in Armour.txt

--------------------------------------------------------------

unique
1 = only unique version
0 = no restrictions

This is used by quest items, to ensure there's only a Unique version of the item.
If a non-quest item set this column to 1, then only Unique versions of this item will spawned.

--------------------------------------------------------------

As well as setting the unique column in TreasureClassEx.txt to 1024.

Unfortunately, and whilst it is rare the item sometimes drops as its normal quality.

Does anybody have any idea how to prevent this?

Kind Regards,

Kieran
Last edited by Kieran on Thu Oct 05, 2017 11:09 pm, edited 1 time in total.

User avatar
k0r3l1k
Angel
Posts: 581
Joined: Sun Sep 09, 2007 3:11 am
Location: Arizona, Prescott
United States of America

Re: Item Always Unique

Post by k0r3l1k » Thu Oct 05, 2017 6:08 pm

Make sure nolimit is set to 1 in uniqueitems.txt, also level has to be 1 or else rares will spawn if clvl is too low
Image

User avatar
Kieran
Angel
Posts: 564
Joined: Mon Oct 22, 2007 9:46 am
Location: England

Re: Item Always Unique

Post by Kieran » Thu Oct 05, 2017 7:34 pm

k0r3l1k wrote:Make sure nolimit is set to 1 in uniqueitems.txt, also level has to be 1 or else rares will spawn if clvl is too low
They are all set to 1 and the level in uniqueitems.txt is set at 100 and in armour.txt / weapons.txt they are also set at 100.

Monsters that drop them are set at level 100+ too.

User avatar
k0r3l1k
Angel
Posts: 581
Joined: Sun Sep 09, 2007 3:11 am
Location: Arizona, Prescott
United States of America

Re: Item Always Unique

Post by k0r3l1k » Thu Oct 05, 2017 8:32 pm

Ok so it sounds like you have to change their item types. So duplicate helm row and set equiv1 to helm. Then make sure the new helm row has 0 in the treasureclass column. This will prevent armo102+ from choosing these items. Unfortunately you'll have to do this for each itemtype.
Image

User avatar
Kieran
Angel
Posts: 564
Joined: Mon Oct 22, 2007 9:46 am
Location: England

Re: Item Always Unique

Post by Kieran » Thu Oct 05, 2017 11:10 pm

k0r3l1k wrote:Ok so it sounds like you have to change their item types. So duplicate helm row and set equiv1 to helm. Then make sure the new helm row has 0 in the treasureclass column. This will prevent armo102+ from dropping choosing these items. Unfortunately you'll have to do this for each itemtype.
I see, thanks mate!

Going to have a dig around before I go on a copy and paste mission :cry:

I've done this mate but I am still getting the normal quality item dropping :cry:

I'll show you an example:

Image



Edit Again:

It appears that I only get these normal drops from SuperUnique monsters. Not sure why that is. I'm still testing.

Edit Again:

Managed to trace it down to 1 superunique that was lower level than required to spawn the unique version. Purely user error!

Thanks for the help Korelick!

Post Reply

Return to “General Mod Making”