Description: by HellSpawn, reviewed by Ogodei
Categories: File Guides (1.1x)
PetType.txt file guide.
The following is the description of what the columns from PetType.txt do.
pet type = name of the pet type, referred by the "pettype" column in skills.txt.
idx = id number of the pet type
group = This is a softcoded field, and assigns each minion to a specific "group" . Pets in the same group tend to exclude each other, so that you can only have one pet type of the group at a time.
basemax = Basemax does not interfere with the skill quantity formula. It is relevant for pets summoned with oskills or with some bonuses that updates from time to time, like sets. I have made some tests and it turns out that if you set a high number here, you aren't likely to lose pets generated via set bonuses (which either grant +skills or +oskills).
warp = This field states if the minion is teleported with you (1) or dies when you teleport or warp to other areas (0)
range = Use this field if you want your pets to stay alive when you teleport even if "warp" is set to 0 . Keep in mind, however, that your minions will still die if your distance from them exceeds 41 sub-tiles (notice: a good vanilla example of this is the Sorceress' Hydra). These minion's death is only trigger by teleporting. If you keep venturing far they will just disappear as the other normal pets do
partysend = I didn't find any real use for that.
unsummon = Can the pet be unsummoned with the 'unsummon' skill? Set it to 1 for unsummonable pets.
automap = is the pet displayed on the map? Set it to 1 to make this happen
name = string file for the text under the pet's icon (taken from the .tbl files)
drawhp = is the pet's life displayed under its icon? Set it to 1 to make it happen, but be warned that the HP display will be canceled when you summon more than 1 pet belonging to this type.
icontype = the type of the pet icon:
CODE: Select all
0 - no icon 1 - Show Icon, but not quantity 2 - Show Icon and quantity 3 - Show Icon, but not quantity
mclass1-4 = the alternative (of the same type) pets' hcldx numbers taken from Monstats.txt . A typical example of this are Hirelings and Golems.
micon1-4 = the alternative pet's .dc6 icons, that depends on the mclass1-4 fields.
eol = end of line.
Link to this article: Select all
[url=https://d2mods.info/forum/kb/viewarticle?a=355&sid=6f23dae7a7e8a7dbbdaef54298c35b13]Knowledge Base - PetType.txt[/url]