the Phrozen Forums
  General Mod Making
  New Unique not dropping: Need help with Treasureclassex.txt

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone! next newest topic | next oldest topic
Author Topic:   New Unique not dropping: Need help with Treasureclassex.txt
nullwulf
Serf

Posts: 11
From: Raleigh, NC, USA
Registered: Nov 2001

posted 07 December 2001 15:21     Click Here to See the Profile for nullwulf   Click Here to Email nullwulf        Reply w/Quote   
Here's my problem. I created stats for the Firelizard's Talons in uniqueitems.txt file. I set the completed column to one (and made sure it matched all the other enabled uniques). I checked the expansionstring.tbl and verified that "Firelizard's Talons" was in fact in there. It was. I then modified the treasureclassex.txt file for "Act 1 H2H A" (which is the drop for Zombies). Following what I could understand of Jarulfs post (http://www.planetdiablo.com/phrozenkeep/pktut-treasureclass.htm) I put this info:
NoDrop - 0
Item1 - Firelizard's Talons
Prob1 - 100
Item2 - Firelizard's Talons
Prob2 - 0
Item3 - Firelizard's Talons
Prob3 - 0
Item4 - Firelizard's Talons
Prob4 - 0

(I did 2,3 and 4 because I don't really understand the probability stuff so I figured that would be safe.)

I made a normal game using these modified files (standard -direct -txt settings on a shortcut to run in my mod directory) and went out in search of some zombies. I killed a zombie and a rare set of wyrmhide boots dropped. In fact, every zombie I killed (about 10 in all) dropped a rare set of wyrmhide boots. So, somewhere I have totally screwed up. I'm really not sure where though.

Any help is appreciated.

IP Logged

jbouley
Forum Admin.

Posts: 4907
From: Portland, Maine, USA
Registered: Jan 2001

posted 07 December 2001 15:49     Click Here to See the Profile for jbouley   Click Here to Email jbouley        Reply w/Quote   Visit jbouley's Homepage!
If this the only item dropping in that Treasure Class row, do this:

Set picks to -1

NoDrop to 0

Put the itemcode for the base item of that unique (lsd for longsword, fhl for full helm, whatever) in the Item 1.

Put 1 in the Prob for Item 1

Make sure magic, set and rare are blank. Set the unique column high, to at least 1028. You could also try 2048, 3072 or 4096 if that doesn't work.

The -1 forces the game to pick one item, beginning from the Item 1 entry.

The high setting in unique with the other three left blank should virtually ensure that the one item that drops (whatever that base item is) will be a unique. Thereafter, once the unique version has dropped, it will drop as a rare, I think.

Now, here's where two problems could come in:

1) The level of the base item (or the unique version of the item) is too high for the monster to drop

2) The base item you have is used by more than one unique item, in which case your talons might not drop the first time.

------------------
- JEFF
"A hero is no braver than anyone else. He is only brave five minutes longer."
For my latest mod (for LoD/expansion), download at http://www.fileplanet.com/dl/dl.asp?/planetdiablo/phrozenkeep/mods/sic_beta.zip - Or for old stuff (for classic D2), visit my orignal mod site at www.planetdiablo.com/sanctuary

IP Logged

jbouley
Forum Admin.

Posts: 4907
From: Portland, Maine, USA
Registered: Jan 2001

posted 07 December 2001 15:51     Click Here to See the Profile for jbouley   Click Here to Email jbouley        Reply w/Quote   Visit jbouley's Homepage!
By the way, if you haven't read the Treasure Class tutorial yet, you really should. It looks nasty at first, but it's really good, and if you sit down with the file in front of you...most things will quickly become clear.

------------------
- JEFF
"A hero is no braver than anyone else. He is only brave five minutes longer."
For my latest mod (for LoD/expansion), download at http://www.fileplanet.com/dl/dl.asp?/planetdiablo/phrozenkeep/mods/sic_beta.zip - Or for old stuff (for classic D2), visit my orignal mod site at www.planetdiablo.com/sanctuary

IP Logged

nullwulf
Serf

Posts: 11
From: Raleigh, NC, USA
Registered: Nov 2001

posted 07 December 2001 16:25     Click Here to See the Profile for nullwulf   Click Here to Email nullwulf        Reply w/Quote   
I made the changes that you suggested and I'm still not getting the unique to drop. The item type is ulb (wyrmhide boots). All I get is rare wyrmhide boots. I've tried using the ulb and the item name (as per Jarulfs treasureclass file suggests).

I tested with goldwrap as the Item1 column of the treasureclassex.txt file... ran game and it dropped a rare heavy belt. So, I'm missing something that will require the drop to be unique. It would seem that by putting the items name in the Item field will not always give you the unique. There must be another file (itemratio.txt?) that I can modify that will always make a certain unique drop from a certain monster.

Thanks for the help thus far.

IP Logged

Apocalypse Demon
Moderator

Posts: 4023
From: Mississauga, Ontario
Registered: Oct 2001

posted 07 December 2001 16:45     Click Here to See the Profile for Apocalypse Demon   Click Here to Email Apocalypse Demon        Reply w/Quote   
Does the monster's level equal or exceed the ilvl of the item? If not, they won't drop the unique...

------------------
God gave me a brain to use but I miserably failed to use it to my advantage

IP Logged

nullwulf
Serf

Posts: 11
From: Raleigh, NC, USA
Registered: Nov 2001

posted 07 December 2001 16:52     Click Here to See the Profile for nullwulf   Click Here to Email nullwulf        Reply w/Quote   
Thanks Apoc... just figured that out.

Now to test what happens if I take my newly attributed unique to an unmodified LoD game...

Thanks again jbouley and Apoc.

IP Logged

nullwulf
Serf

Posts: 11
From: Raleigh, NC, USA
Registered: Nov 2001

posted 07 December 2001 17:04     Click Here to See the Profile for nullwulf   Click Here to Email nullwulf        Reply w/Quote   
I got the unique boots to drop in hell mode. I put the items name in the Item1 field (just as Jarulf had suggested could be done) and it did in fact work.

And, I put the boots on and saved/exited. I started a new unmodified game with the character that had the unique boots on. The game didn't crash and loaded just fine.

IP Logged

Apocalypse Demon
Moderator

Posts: 4023
From: Mississauga, Ontario
Registered: Oct 2001

posted 07 December 2001 17:29     Click Here to See the Profile for Apocalypse Demon   Click Here to Email Apocalypse Demon        Reply w/Quote   
I believe the game should recognize items that were already in the game. HOwever, if you make a new base type and have it in your inventory and leave and play the original, it should give you a bad inventory file. But, my uniques don't crash anyways. Atleast not my Cerebus' Bite Hydra Edge or my Souldrain Conquest Sword...

------------------
God gave me a brain to use but I miserably failed to use it to my advantage

IP Logged

jbouley
Forum Admin.

Posts: 4907
From: Portland, Maine, USA
Registered: Jan 2001

posted 07 December 2001 18:54     Click Here to See the Profile for jbouley   Click Here to Email jbouley        Reply w/Quote   Visit jbouley's Homepage!
quote:
Originally posted by nullwulf:
I got the unique boots to drop in hell mode. I put the items name in the Item1 field (just as Jarulf had suggested could be done) and it did in fact work.


Just be careful. Sometimes the name will not work...apparently the long names in particular.

------------------
- JEFF
"A hero is no braver than anyone else. He is only brave five minutes longer."
For my latest mod (for LoD/expansion), download at http://www.fileplanet.com/dl/dl.asp?/planetdiablo/phrozenkeep/mods/sic_beta.zip - Or for old stuff (for classic D2), visit my orignal mod site at www.planetdiablo.com/sanctuary

IP Logged

All times are Central Standard Time

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | The PhrozenKeep

© PhrozenKeep.com . all buttons made by the Evilenglishman . swords and shields by DigiBO.


Ultimate Bulletin Board 5.47c