Author Topic: Store Pricing  (Read 683 times)

Offline Wounded_Lion

  • Planewalker
  • *****
  • Posts: 208
  • Gender: Male
  • Dungeon Dweller
Store Pricing
« on: November 19, 2005, 09:30:57 PM »
Does anyone know the forumla by which Base Price, Sell Markup, Reputation, and Charisma determine item price?  I have experimented with the engine without success; the engine often generates prices that are non-integer multiples of the base price (example = 129.69696969696969697% markup)... yet all modifiers are integers... so how can this be?  I am skilled in algebra but not a mathmetics expert in general.  Many thanks for any enlightenment that you can provide.

a W.L.

Offline Wounded_Lion

  • Planewalker
  • *****
  • Posts: 208
  • Gender: Male
  • Dungeon Dweller
Re: Store Pricing
« Reply #1 on: November 22, 2005, 01:37:01 PM »
So...  we all know that REPMODST.2DA determines percentage markup or markdown of the base price based on reputation...  right?  IESDP indicates that this file uses charisma to determine percentage markup or markdown, but the file name itself and the fact that there are 20 columns as opposed to 25 would seem to indicate that reputation is actually used.  So... the next question that I have is thus:  how does charisma affect item price?  There is an NPC reaction modifier file associated with charisma, but nothing I have found seems to control percentage markup or markdown based on charisma.

a W.L.

Offline Echon

  • Global Moderator
  • Planewalker
  • *****
  • Posts: 1941
  • Gender: Male
    • The Fields of the Dead
Re: Store Pricing
« Reply #2 on: November 22, 2005, 02:49:56 PM »
CHRMODST.2DA (for BG:TotSC):

Code: [Select]
2DA V1.0
0
  1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16  17  18  19  20  21  22  23  24  25
1 0 0 0 0 0 0 0 0 0 0  0  0  0  0  0  -5 -10 -15 -20 -25 -25 -25 -25 -25 -25

-Echon

Offline Wounded_Lion

  • Planewalker
  • *****
  • Posts: 208
  • Gender: Male
  • Dungeon Dweller
Re: Store Pricing
« Reply #3 on: November 22, 2005, 03:48:34 PM »
Hmm...  weird.  Either I missed this file somehow or my BGII installation does not include it for some reason...  Of course, I have made some stupid mistakes lately...   ;)  must be something in the water here.  I'll check this out later (I am away from home right now).  Thanks.

a W.L.

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: