the Phrozen Forums
  General Mod Making
  adding charm-type items problem

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 charm-type items problem
Baz
Honorary Warlord

Posts: 687
From: The Netherlands
Registered: Nov 2001

posted 31 January 2002 12:36     Click Here to See the Profile for Baz   Click Here to Email Baz        Reply w/Quote   
I tried to add a charm (sounds like no problem) but... I made the charm, gave it all the stats I wanted, made it sellable for 1 gold, and set Charsimin and max both to 1.
And then... I started the game, went to Charsi... but now new items that I added
What could be the problem?

------------------
Give me fuel, give me fire, give me all that I desire

IP Logged

Alkalund
Honorary Warlord

Posts: 964
From: Florianópolis, Santa Catarina, Brazil
Registered: Apr 2001

posted 31 January 2002 12:57     Click Here to See the Profile for Alkalund   Click Here to Email Alkalund        Reply w/Quote   
Check the column before the last one in misc txt (I believe you added your item here), it's called "PermStoreItem". put 1 in this column to make your item always appear in the shopping screen.

------------------
Alkalund

IP Logged

jbouley
Forum Admin.

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

posted 31 January 2002 14:07     Click Here to See the Profile for jbouley   Click Here to Email jbouley        Reply w/Quote   Visit jbouley's Homepage!
If that doesn't work (and it should)...make sure the level of your item isn't too high. I think Act 1 Normal NPCs won't sell items higher than 10th or 12th level...somewhere in that general realm, anyway.

------------------
- JEFF
"A hero is no braver than anyone else. He is only brave five minutes longer."
For my latest mod (for LoD/expansion), download Version 1.1 of Sanctuary in Chaos

- Or for old stuff (for classic D2), visit my orignal mod site at www.planetdiablo.com/sanctuary

[This message has been edited by jbouley (edited 31 January 2002).]

IP Logged

Brother Laz
Honorary Warlord

Posts: 1134
From: the place where angels watch...
Registered: Dec 2001

posted 31 January 2002 14:13     Click Here to See the Profile for Brother Laz   Click Here to Email Brother Laz        Reply w/Quote   
Exactly 12.

------------------
To practice the Arts of Modding is to be Damned.
To master Them is to be Victorious.
-D1 manual

IP Logged

jbouley
Forum Admin.

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

posted 31 January 2002 15:41     Click Here to See the Profile for jbouley   Click Here to Email jbouley        Reply w/Quote   Visit jbouley's Homepage!
Side question: Is there anyplace in the .txt files where it indicates what item level maximum a given NPC will sell? Just curious...

------------------
- JEFF
"A hero is no braver than anyone else. He is only brave five minutes longer."
For my latest mod (for LoD/expansion), download Version 1.1 of Sanctuary in Chaos

- Or for old stuff (for classic D2), visit my orignal mod site at www.planetdiablo.com/sanctuary

IP Logged

Baz
Honorary Warlord

Posts: 687
From: The Netherlands
Registered: Nov 2001

posted 01 February 2002 08:31     Click Here to See the Profile for Baz   Click Here to Email Baz        Reply w/Quote   
OK, I set PermStoreItem to 1 (it worked ), but there r still some problems. I REALLY don't know why they r there. I wrote all the stuff I did, and lets hope that helps...:
Opened misc.txt and did this:
Inserted new row and typed this:
name: Talisman of Chaos
namco: Talisman of Chaos
compactsave: 1
version: 100
level: 30
levelreq: 25
rarity: 12
spawnable: 1
speed: 0
nodurability: 1
cost: 1
gamble cost: 1
code: toc
alternategfx: toc
component: 16
invwidth: 2
invheight: 2
hasinv: 0
gemsockets: 0
gemappytype: 0
flippyfile: flpchml
invfile: toc
uniqueinvfile: left this empty
special: left this empty
Transmogrify: 0
TMogType: xxx
TmogMin and Max: left this empty
useable: 0
throwable: 0
type: scha
type2: left this empty
sound: 37
unique: 0
transparent: 0
transtbl: 5
from lightradius to missiletype: 0
spellicon: -1
from durwarning to gemoffset: 0
BetterGem: non
bitfield1: 0
CharsiMin and Max: 0
all other NPC's: 0
all NPC MagicLvl: 255
Source and Game Art: left this empty
Transform: 0
Invtrans: 0
SkipName: 0
Nightmare and HellUpgrade: xxx
min and maxdam: 0
PermStoreItem: 1
Nameable: 0

OK, this is everything I did in misc.txt. After that, I inserted the new misc.txt to patch_d2.mpq, added invtoc.dc6 to patch_d2.mpq, and added a new string.tbl to patch_d2.mpq.

I loaded a game, but... I saw this: ,but then in 2x2 squares. The game said this:
Talisman of Chaos
Keep in inventory to gain bonus
Required level: 25

I wanna give it the same function as a charm, but with standard bonuses (must be done in automagic.txt, or not?)

This is it... I hope somebody can help me with this annoying problem.

------------------
Give me fuel, give me fire, give me all that I desire

IP Logged

jbouley
Forum Admin.

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

posted 01 February 2002 15:30     Click Here to See the Profile for jbouley   Click Here to Email jbouley        Reply w/Quote   Visit jbouley's Homepage!
I would try using automagic first.

If that doesn't work, make a cube recipe (cubemain.txt) in which the output is the itemcode for your new charm and you fill in the various "mod" columns to give the charm its powers (maximum of five powers). This is what I did for creating various "unique" charms in my mod.

If automagic.txt doesn't work and you need help making a cube recipe, just holler...

------------------
- JEFF
"A hero is no braver than anyone else. He is only brave five minutes longer."
For my latest mod (for LoD/expansion), download Version 1.1 of Sanctuary in Chaos

- Or for old stuff (for classic D2), visit my orignal mod site at www.planetdiablo.com/sanctuary

IP Logged

Myhrginoc
Honorary Warlord

Posts: 1326
From: Percussion U
Registered: Dec 2001

posted 01 February 2002 17:02     Click Here to See the Profile for Myhrginoc   Click Here to Email Myhrginoc        Reply w/Quote   
quote:
Originally posted by Baz:
flippyfile: flpchml
invfile: toc

I saw your inventory file name was 'invtoc.dc6', not just 'toc.dc6'.

IP Logged

General Nutt
Lord

Posts: 123
From: Great White North
Registered: Jan 2002

posted 03 February 2002 13:30     Click Here to See the Profile for General Nutt   Click Here to Email General Nutt        Reply w/Quote   
I tried something similar as above with cube method, and it seems to work but the skill added disappears after the game is reloaded. Do you think the problem is cube related or some thinhg else?

------------------
Speak Softly and carry a big sword (or two)

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