Full Version : Backpack Question on Paperdoll mobile
xmlspawner >>Scripting Support >>Backpack Question on Paperdoll mobile
<< Prev | Next >>
Erica- 02-26-2008
Got a another question ok on osi i open my paperdoll and from there where backpack is shows name only Backpack doesnt display weight or contents . Now my question is which im sure your going to say container script where in there where backpack is how do i make it not show display weight and display contents only for paperdoll cause remember theres backpacks that you can buy off npc so those should show the display and contents its only for paperdoll mobile that shouldnt show that.
Is there anyway to do this and what would i add Thanks ArteGordon.
Erica- 02-26-2008
Oh btw thanks the idea for the Treasure changes worked.
OPPS hehe posted this about treasure wrong post.
Erica- 02-27-2008
Ok i knew this would happen ok on paperdoll wont show the weight but shows item contents and if you have a backpack or buy one they also take theses affect i only want paerdoll backpack to do this any suggestion on this and the contents items as well heres what i added so for so im must be missing something.

CODE
public override bool DisplayWeight { get { return false; } } public virtual bool DisplaysContent{ get{ return false; } }
public override void Serialize( GenericWriter writer )

Greystar- 02-27-2008

QUOTE (Erica @ February 27, 2008 06:33 pm)
Ok i knew this would happen ok on paperdoll wont show the weight but shows item contents and if you have a backpack or buy one they also take theses affect i only want paerdoll backpack to do this any suggestion on this and the contents items as well heres what i added so for so im must be missing something.

CODE
public override bool DisplayWeight { get { return false; } } public virtual bool DisplaysContent{ get{ return false; } }
public override void Serialize( GenericWriter writer )

I'm not sure but i think the backpack on the paperdoll is the same as the "Normal" backpack so if you disable display weight it'll be like that for ALL "Normal" backpacks. I think the only way around that is create a "New" backpack and make it so that (on an none production shard) it replaces all Player Packs, or on a production shard make it so vendors sell a new pack and disable the display stuff on the "Normal" pack... sorry if that was confusing but I couldn't think of a clearer way to say it.