Change the reference of a set but not the name of the set

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

fernsehen123
Posts: 67
Joined: Tue Sep 04, 2012 4:13 am
Germany

Change the reference of a set but not the name of the set

Post by fernsehen123 » Wed Mar 07, 2018 12:26 pm

Hi,

I want to have 2 copies of the Tal Rasha's Wrappings set.
Can I put it like this? The name would be doubled, but they would have different indices..?
And do the set-values from SetItems.txt refer to the index of Sets.txt??

Sets.txt
index = "Tal Rasha's Wrappings" , name = "Tal Rasha's Wrappings"
index = "xTal Rasha's Wrappings" , name = "Tal Rasha's Wrappings"

SetItems.txt
index = "Tal Rasha's Fire-Spun Cloth" , set = "Tal Rasha's Wrappings"
index = "Tal Rasha's Adjudication" , set = "Tal Rasha's Wrappings"
[...]
index = "Tal Rasha's Fire-Spun Cloth" , set = "xTal Rasha's Wrappings"
index = "Tal Rasha's Adjudication" , set = "xTal Rasha's Wrappings"
[...]

gcc
Junior Member
Paladin
Posts: 125
Joined: Thu Apr 14, 2011 6:03 am
Austria

Re: Change the reference of a set but not the name of the set

Post by gcc » Wed Mar 07, 2018 10:05 pm

Do it this way:

SetItems.txt

index = "Tal Rasha's Fire-Spun Cloth" , set = "Tal Rasha's Wrappings"
index = "Tal Rasha's Adjudication" , set = "Tal Rasha's Wrappings"
[...]
index = "xTal Rasha's Fire-Spun Cloth" , set = "xTal Rasha's Wrappings"
index = "xTal Rasha's Adjudication" , set = "xTal Rasha's Wrappings"


Then open patchstring.tbl with a tbl file editor (I use AFJ tbl edit, which is available in download section) and add the strings there.


The "set" column in SetItems.txt refers to the "index" column in Sets.txt

fernsehen123
Posts: 67
Joined: Tue Sep 04, 2012 4:13 am
Germany

Re: Change the reference of a set but not the name of the set

Post by fernsehen123 » Thu Mar 08, 2018 10:50 am

Ah, I get your point.... Every Unique / Set item itself has to have a unique name. Right??
Also I have to use different names for the Runewords... And later on I can change everything in the patchstring.tbl ??

I just consider giving different names that sound like the originals :D
Instead of "The Stone of Jordan" I could name it "The Stone of Israel" an similar stuff...

But I guess using the same names is a bit cooler

gcc
Junior Member
Paladin
Posts: 125
Joined: Thu Apr 14, 2011 6:03 am
Austria

Re: Change the reference of a set but not the name of the set

Post by gcc » Sun Mar 11, 2018 4:59 pm

For uniques you can use the same name, as long as you don't need to make a difference between the items in cube recipes.
For everything else simply use patchstring.tbl to display the same name to the players.

fernsehen123
Posts: 67
Joined: Tue Sep 04, 2012 4:13 am
Germany

Re: Change the reference of a set but not the name of the set

Post by fernsehen123 » Thu Mar 29, 2018 2:45 pm

This is also Patchstring-related, so I put this question here:

Is it possible to have ' inside of items name? For example Rixot's Keen in the UniqueItems.txt ??
Or should I put it Rixots Keen and add

Rixots Keen -> Rixot's Keen

in the Patchstring?

Return to “General Mod Making”