How to increase max sockets for unique, set, rare and magic itmes?

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
Razi198
Posts: 22
Joined: Fri Aug 16, 2019 11:49 am

How to increase max sockets for unique, set, rare and magic itmes?

Post by Razi198 » Fri Sep 13, 2019 7:44 pm

How to increase max sockets for unique, set, rare and magic itmes? It can be done with txt files or it requires Code editing?

User avatar
Lady Isabelle
Junior Member
Champion of the Light
Posts: 263
Joined: Tue Jul 19, 2011 11:36 pm
United States of America

Re: How to increase max sockets for unique, set, rare and magic itmes?

Post by Lady Isabelle » Fri Sep 13, 2019 8:35 pm

Increase an item's maxsockets in weapons/armors.txt. itemtypes.txt also controls at what qlvls can the amount of sockets show up. Note that this won't change Lazruk's restrictions when adding sockets into your magical gear. You can however, have magical items spawn with the 'sock' affix to define how many sockets will spawn on an item with no restriction besides itemtypes.txt.

Razi198
Posts: 22
Joined: Fri Aug 16, 2019 11:49 am

Re: How to increase max sockets for unique, set, rare and magic itmes?

Post by Razi198 » Sat Sep 14, 2019 2:30 pm

I want only unique, set and rare items to have more than 1 socket, for example 3-6 sockets. And so that magic items have more than 2 sockets, for example 3-6 sockets.
Lady Isabelle wrote:
Fri Sep 13, 2019 8:35 pm
Note that this won't change Lazruk's restrictions when adding sockets into your magical gear.
So that was the thing.
Lady Isabelle wrote:
Fri Sep 13, 2019 8:35 pm
You can however, have magical items spawn with the 'sock' affix to define how many sockets will spawn on an item with no restriction besides itemtypes.txt.
How to do it? In which file and in which column do I need to write 'sock' affix?
Last edited by Razi198 on Sat Sep 14, 2019 4:21 pm, edited 1 time in total.

User avatar
devurandom
Forum Regular
Angel
Posts: 795
Joined: Sat Mar 07, 2015 9:07 pm
United States of America

Re: How to increase max sockets for unique, set, rare and magic itmes?

Post by devurandom » Sat Sep 14, 2019 3:11 pm

TXT METHODS

Magic

Magic items can get upto 4 sockets with Jewler's prefix
and 3 sockets with Artisan's prefix.

Set

Check Aldur's Rhythm Jagged Star 3 sockets

Unique

Rune Master Ettin Axe 5 sockets

Rare

2 sockets max with Mechanic's prefix

CODE METHODS

Forcing with code requires code edits for Larzuk Socketing Code and another place i forget where
to bypass the limits of 2 sockets for magic, 1 socket for rare, set, and unique.

Larzuk Socketing
viewtopic.php?t=62121
Assembly Reference | 1.13d Code Edits | UVLoD | BaseMod Plugin

Fiat paper money is the most elaborate and well devised form of slavery the world has ever seen..

Razi198
Posts: 22
Joined: Fri Aug 16, 2019 11:49 am

Re: How to increase max sockets for unique, set, rare and magic itmes?

Post by Razi198 » Sat Sep 14, 2019 7:05 pm

devurandom wrote:
Sat Sep 14, 2019 3:11 pm
Magic items can get upto 4 sockets with Jewler's prefix
and 3 sockets with Artisan's prefix.
I want that all magic items to be dropped with sockets without using prefixes suffixes. Is it possible to do with txt files?

User avatar
Lady Isabelle
Junior Member
Champion of the Light
Posts: 263
Joined: Tue Jul 19, 2011 11:36 pm
United States of America

Re: How to increase max sockets for unique, set, rare and magic itmes?

Post by Lady Isabelle » Sat Sep 14, 2019 10:35 pm

Automagic.txt, then apply the group # of your choosing to *every* autoprefix field for weapons and armors.txt, that way any item that drops can get sockets. If you want to keep the random resists on paladin shields and poison damage on necro heads, just add sock to to all the automagic lines, and *dont* replace their autoprefixes in armors.txt.

Post Reply

Return to “General Mod Making”