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
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.

|
jbouley Forum Admin.
    
Posts: 4907 From: Portland, Maine, USA Registered: Jan 2001 |
posted 07 December 2001 15:49
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

|
jbouley Forum Admin.
    
Posts: 4907 From: Portland, Maine, USA Registered: Jan 2001 |
posted 07 December 2001 15:51
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

|
nullwulf Serf
Posts: 11 From: Raleigh, NC, USA Registered: Nov 2001 |
posted 07 December 2001 16:25
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.

|
Apocalypse Demon Moderator
   
Posts: 4023 From: Mississauga, Ontario Registered: Oct 2001 |
posted 07 December 2001 16:45
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

|
nullwulf Serf
Posts: 11 From: Raleigh, NC, USA Registered: Nov 2001 |
posted 07 December 2001 16:52
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.

|
nullwulf Serf
Posts: 11 From: Raleigh, NC, USA Registered: Nov 2001 |
posted 07 December 2001 17:04
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.

|
Apocalypse Demon Moderator
   
Posts: 4023 From: Mississauga, Ontario Registered: Oct 2001 |
posted 07 December 2001 17:29
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

|
jbouley Forum Admin.
    
Posts: 4907 From: Portland, Maine, USA Registered: Jan 2001 |
posted 07 December 2001 18:54
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

|