#Misc.txt custom item teleporting to a level - a couple questions

1 messages · Page 1 of 1 (latest)

hardy folio
#

Hey there,

if it's possible, can a PD2 dev shed some light on the values that can be found in Misc.txt, that are related to items warping player to a level (dcma, luca, maps etc.)?

I figured out that len column is the ID from levels.txt, but what are the values 1,2,3,666 in calc1? What's the difference between missiletype 584 vs 622?

Thanks in advance.

void bear
#

Hi, missileType for map items is used for Object IDs to use as portals. 584 is the standard red portal, 622 is a grey portal (like the one-time use ones).

Len column is indeed the ID form Levels.txt

I'm pretty confident the calc1 field is no longer used, it used to be somewhat related to map tiers but we have a different system now as the tiers are a bit more involved and there is more hardcode related to them. On that note, the maptier from spellDesc only relates to the displayed tier on the item and does not actually affect the tier itself. That is all just done by updating the relevant fields in Levels.txt / MonStats.txt as well as a bunch of hardcode (like which sigils to drop, stuff like that). Not the most modding-friendly I'll admit.

hardy folio
#

Thank you very much for the insight!

hardy folio
#

One more question, is the number of portals tied to the portal type? Like if I use the gray type will it spawn more than one portal on the fountain?