Testing new base items

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
oli25
Posts: 50
Joined: Sun Sep 18, 2011 9:38 pm

Testing new base items

Post by oli25 » Mon Aug 06, 2018 1:00 pm

How can I test new base items that I have added into game if the work correctly? I saw a method to force a unique/set item to drop from a monster but nothing for base items.

User avatar
Black_Eternity
Senior Moderator
Angel
Posts: 908
Joined: Wed May 25, 2011 11:50 pm
United States of America

Re: Testing new base items

Post by Black_Eternity » Mon Aug 06, 2018 2:15 pm

You can create a new treasureclass to test, just reference your new item code, link it to a monster and done.
Official Phrozen Keep Discord
Common Modding tools: link
My Resource Packs: link

User avatar
Fawahar
Posts: 52
Joined: Wed Mar 01, 2017 9:09 pm

Re: Testing new base items

Post by Fawahar » Tue Aug 07, 2018 8:18 am

You can try as well adding the item in shop.
Image

P.J.
Posts: 65
Joined: Wed Jan 13, 2010 7:47 pm
Russia

Re: Testing new base items

Post by P.J. » Thu Aug 09, 2018 5:18 pm

You can also add some easy test cube recipes to test (smth like "mana potion -> your item" and etc)

oli25
Posts: 50
Joined: Sun Sep 18, 2011 9:38 pm

Re: Testing new base items

Post by oli25 » Fri Aug 10, 2018 12:04 am

Thank you everyone for your answers!

@Black_Eternity - I have never actually touched this kind of stuff in my mod yet, so I will try other ways which seem easier to do...

@Fawahar - I have some problems with forcing items to appear in shops, for example I have set all values to 1 for certain weapon at charsi (just like some items which she sells have) and it didn't work, so I'm kinda confused...

@P.J. - Haven't thought of that and this one seems easy to do, thanks!

User avatar
Black_Eternity
Senior Moderator
Angel
Posts: 908
Joined: Wed May 25, 2011 11:50 pm
United States of America

Re: Testing new base items

Post by Black_Eternity » Fri Aug 10, 2018 1:13 am

For forcing an item in shop you should also set PermStoreItem to 1, and multibuy if you wish.
Official Phrozen Keep Discord
Common Modding tools: link
My Resource Packs: link

oli25
Posts: 50
Joined: Sun Sep 18, 2011 9:38 pm

Re: Testing new base items

Post by oli25 » Fri Aug 10, 2018 10:56 am

Cool, works now, thanks!
So the new weapon doesn't show the weapon class that is supposed to be next to the attack speed. It uses a new item type I created in ItemTypes.txt. How can I define the weapon class? PS I want it to be separate line of scythes that only necro can use.
Image

User avatar
Black_Eternity
Senior Moderator
Angel
Posts: 908
Joined: Wed May 25, 2011 11:50 pm
United States of America

Re: Testing new base items

Post by Black_Eternity » Fri Aug 10, 2018 11:59 pm

You'll need to reference which itemtype you want it to be in Equiv2 in itemtypes. So for a necro only polearm your equiv1 should be necr, and equiv2 should be pole (if that the class you want)
Official Phrozen Keep Discord
Common Modding tools: link
My Resource Packs: link

oli25
Posts: 50
Joined: Sun Sep 18, 2011 9:38 pm

Re: Testing new base items

Post by oli25 » Sat Aug 11, 2018 12:58 am

ohhh, it's quite obvious actually, now I fully understand how do item types work, thanks again Black_Eternity! ;)

Post Reply

Return to “General Mod Making”