Maximum Product Price

Discussions about modding and share your mods with other players in this forum.
Post Reply
Dvale
Posts: 4
Joined: Tue Nov 09, 2021 11:14 am

Maximum Product Price

Post by Dvale »

Hello!

How exactly should the "Maximum Product Price" option work? I tried setting this option to 30000/50000/100000 and nothing changes... For example, I set the standard price for a motorcycle 30000/50000/100000, but motorcycles and cars have the same starting and maximum price. Do I misunderstand how this should work or I do something wrong? And btw...all changes below 20000 work fine.
Attachments
Maximum allowed price for Auto
Maximum allowed price for Auto
Clip2net_211109143205.png (50.49 KiB) Viewed 951 times
Maximum allowed price for Moto
Maximum allowed price for Moto
Clip2net_211109143152.png (53.15 KiB) Viewed 951 times
Base price for Car
Base price for Car
Clip2net_211109143056.png (51.15 KiB) Viewed 951 times
Base price for Moto
Base price for Moto
Clip2net_211109143043.png (52.61 KiB) Viewed 951 times
Chenged "Product_Types.DBF"
Chenged "Product_Types.DBF"
Clip2net_211109142615.png (11.97 KiB) Viewed 951 times
MOD txt changet "Maximum Product Price"
MOD txt changet "Maximum Product Price"
Clip2net_211109142423.png (11.31 KiB) Viewed 951 times
saffgee
Mod Expert
Mod Expert
Posts: 301
Joined: Sat Jan 28, 2017 2:28 pm

Re: Maximum Product Price

Post by saffgee »

If I remember correctly, the maximum product price sets the highest base amount a product can have. In other words if you coded motorcycles to have 50k price in the .dbf, but did not add that line in the mod description file, then it will default the base value back to the maximum value, which is 20k if memory serves.
In my own mod the maximum product price value is set to 100k and works fine - based on your screenshots I'd have to say your default value looks like it has gone back to 20k (so the 50k cap change is not being "read in"). Therefore, I'd say this means there must be something wrong with either the text file (are you sure this version of the mod is the one you are selecting and loading) or you haven't packaged the mod itself correctly (you think you changed the values in the .dbf, but then did not package those changes into a new mod file).
Dvale
Posts: 4
Joined: Tue Nov 09, 2021 11:14 am

Re: Maximum Product Price

Post by Dvale »

saffgee wrote: Wed Nov 10, 2021 10:39 pm Therefore, I'd say this means there must be something wrong with either the text file (are you sure this version of the mod is the one you are selecting and loading) or you haven't packaged the mod itself correctly (you think you changed the values in the .dbf, but then did not package those changes into a new mod file).
Yes, I'm sure that packaged, selecting and loading correct version, coz there many changes and all work fine except "Maximum product price". I tryed different combinations, but nothing help:( As you can see on screens Moto price is equal Car price, but it should be more if "Maximum product price" work, or should be 1/2 of Car price by default. But it is not 10k and not 50k, it's 20k...

If I set prices below 20k - all fine, but when I try set something more than 20 - all products with higher prices just set as 20k. I thought may be there grammatical error in string "Maximum product price=50000" , but it copy/pasted from the mod guide...
saffgee
Mod Expert
Mod Expert
Posts: 301
Joined: Sat Jan 28, 2017 2:28 pm

Re: Maximum Product Price

Post by saffgee »

I've looked into this and in hindsight I have to say I am not so sure this mechanic is working as designed after all. My highest priced item is 31,000, followed by then 22,000. Neither of these numbers is high enough to definitively say that maximum product price works - both are cars and typically in any given game they are midgame products as the production chain is quite complex. I regularly see these items pricing close to 100,000 in game, but this is due to lots of different factors playing in; inflation, marketing, local competition, etc.

I would suggest you submit a bug report and get this looked at, because at this stage although I haven't tested it exhaustively myself, I cannot realistically say anymore that it definitely does work. :geek:
User avatar
David
Community and Marketing Manager at Enlight
Posts: 9356
Joined: Sat Jul 03, 2010 1:42 pm
Has thanked: 17 times
Been thanked: 48 times

Re: Maximum Product Price

Post by David »

The problem has been fixed. Please download the latest patch v7.1.10 from https://www.capitalism2.com/forum/viewt ... f=7&t=8514
Post Reply