the Phrozen Forums
  General Mod Making
  Adding Cube to starting items.

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:   Adding Cube to starting items.
Sear999
Squire

Posts: 39
From: California
Registered: Jul 2001

posted 06 December 2001 18:22     Click Here to See the Profile for Sear999   Click Here to Email Sear999        Reply w/Quote   
I'm having some problems adding the Horadric cube (spelling?) to the starting items of charcters. I've add it's code (box) to the charstats.txt in the Itemtype6 field and set the number of the Itemtype6count field to 1. Do you have to set something in the ItemType6 Location field?

Any help is appriciated

IP Logged

internet_roadkill
Squire

Posts: 33
From: IL, USA
Registered: Sep 2001

posted 06 December 2001 19:13     Click Here to See the Profile for internet_roadkill   Click Here to Email internet_roadkill        Reply w/Quote   
You need to set the location field to the value for the characters inventory. I'm not sure what the value is off the top of my head, but you can look it up by finding the code for either town portal(tsc) or identify(isc) scrolls and using the same location value. That should be all you need to get it working.

IP Logged

jbouley
Forum Admin.

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

posted 06 December 2001 19:17     Click Here to See the Profile for jbouley   Click Here to Email jbouley        Reply w/Quote   Visit jbouley's Homepage!
I seem to recall that the location code # for the inventory is 0...though I'm going from memory so double-check...however, there's something else to consider here: Is the item level of the cube too high for a beginning character? I'm not sure if that matters or not. I'm pretty sure people have spawned the Cube on starting characters...

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

internet_roadkill
Squire

Posts: 33
From: IL, USA
Registered: Sep 2001

posted 06 December 2001 19:19     Click Here to See the Profile for internet_roadkill   Click Here to Email internet_roadkill        Reply w/Quote   
I just took a look at charstats.txt, and it seems blizzard has changed the codes used since I last worked with starting inventory. There doesn't seem to be any code used for items that go directly into inventory.

You could try replacing the code for either of the scrolls with box, and leaving everything else the same. It might not do anything, but it could solve the problem.

IP Logged

Forsaken
Honorary Warlord

Posts: 397
From: Dutch guy in France
Registered: Sep 2001

posted 07 December 2001 05:29     Click Here to See the Profile for Forsaken   Click Here to Email Forsaken        Reply w/Quote   
Just enter box and as quantity set 1. Nothing else. That should do the trick just fine...

------------------
So much bandwidth, so little time

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