Is there an explanation of how item cost is derived online somewhere? If so, my search skills are failing me.
I've looked into itempropdef.2da, iprp_costtable.2da, and subtables like iprp_meleecost, but that doesn't paint a whole picture for me.
In particular, I've seen that having more properties on an item makes each of those properties (effectively) more expensive, and cost can vary based on the inventory slot of the item (a belt with Haste is cheaper than boots with Haste).
Any help you can offer is appreciated.
What's the formula for calculating item cost?
Débuté par
BCH
, mars 19 2012 02:47
#1
Posté 19 mars 2012 - 02:47
#2
Posté 19 mars 2012 - 03:44
You should really crosspost your request to the scripting forum. The folks there are more likely to be able to help you find an answer. You can also continue your research using the NWN Omnibus, which can be downloaded from the NWVault. If you do, be sure to view the tutorial video. The NWN Omnibus contains a ton of material you can search against all at once, including offline copies of several of the old Bioware forums. For the kind of information you're looking for, it's very useful.
#3
Posté 19 mars 2012 - 05:33
ItemCost = [BaseCost + 1000*(Multiplier^2 - NegMultiplier^2) + SpellCosts]*MaxStack*BaseMult + AdditionalCost
http://social.biowar...6284320#6285176
Umm Looks like Im missing part of the formula in the thread. Ill try and correct it tonight.
EDIT: Ok the only thing missing off the formula was the AdditionalCost, It was not that important to the discution in the other thread.
http://social.biowar...6284320#6285176
Umm Looks like Im missing part of the formula in the thread. Ill try and correct it tonight.
EDIT: Ok the only thing missing off the formula was the AdditionalCost, It was not that important to the discution in the other thread.
Modifié par Lightfoot8, 19 mars 2012 - 08:05 .
#4
Posté 19 mars 2012 - 08:14
Thanks, both! I see now several places where my search attempt failed. :-)





Retour en haut






