cost of components/ships

Please post here for questions and discussion about scenario, art and sound modding and the game editor for Distant Worlds.

Moderators: elliotg, Icemania

Post Reply
CariadocThorne
Posts: 13
Joined: Sat May 09, 2020 10:28 am

cost of components/ships

Post by CariadocThorne »

How does the game calculate the cost of a ship? I can't see any thing except the materials needed to build each component.

Am I correct in assuming that the game works out the total amount of materials needed to build all the components in the ship, then multiplies them by the cost of the materials?

If so, increasing the quantity of materials used for each component should increase the cost of the ship corespondingly. Will it also increase the maintenance cost?
RogerBacon
Posts: 724
Joined: Wed May 17, 2000 8:00 am
Location: Miami, Florida, U.S.A.

RE: cost of components/ships

Post by RogerBacon »

ORIGINAL: CariadocThorne

How does the game calculate the cost of a ship? I can't see any thing except the materials needed to build each component.

Am I correct in assuming that the game works out the total amount of materials needed to build all the components in the ship, then multiplies them by the cost of the materials?

If so, increasing the quantity of materials used for each component should increase the cost of the ship corespondingly. Will it also increase the maintenance cost?

Correct on all accounts.
BTC 14UURmC4rD762RStsufKmaUjfXQrBvahU1
ETH 0x7c65139BC82A0BDC5b11F92001D5c5a112219f08
CariadocThorne
Posts: 13
Joined: Sat May 09, 2020 10:28 am

RE: cost of components/ships

Post by CariadocThorne »

Thanks!
Zhuikin
Posts: 15
Joined: Fri May 15, 2020 5:25 pm

RE: cost of components/ships

Post by Zhuikin »

It's not that simple tho.

I mean... this is, at large, how i understand the system as well, but there must be additional factors involved.

Just for example, i just went into one of may saves and checked the cost and resources of a random ship. Here's what it comes out to:
Build cost of: 4173
Maintenance: 1268
(Maintenance at least seems to always come out as 30-ish % of the build cost. There is fluctuation, but it's probably just rounding)

Sum of resource costs at current market: 414.6
(assuming maximum(?) 3.3 per resource, comes out with 1389, close but still not a hit)

PS: My empire has 3% maintenance savings, not sure at which point these are applied (preview in construction ship? List of Existing Ships? Final Budget?), but 3% isn't that big of a difference.
CariadocThorne
Posts: 13
Joined: Sat May 09, 2020 10:28 am

RE: cost of components/ships

Post by CariadocThorne »

Ok, you've inspired me to do some experimentation.

I started a new game, and immediately added a new design with 100 basic reactors and nothing else. Projected ship cost was 12,503, maintenance cost 5,161.

Next, I multiplied the number of each material in a reactor by 10, started another new game with the same settings, and added a new design with 100 reactors and nothing else. Projected ship cost was 125,025, so increased in proportion, but the maintenance cost was 29,271, so increased less than 6 times, rather than the 10x increase I expected.

I'm not sure why the maintenance cost didn't increase as much as expected, but this hopefully bodes well for my plans, as I intend to increase ship construction costs around 4-5x, but maintenance costs by somewhat less (hopefully around 3x), to create a lower ship-count game where each ship really matters and battles are more likely to be between a handful of ships, rather than dozens, and saving ships from a losing battle, or killing most of the attacking fleet, is at least a minor victory.
Zhuikin
Posts: 15
Joined: Fri May 15, 2020 5:25 pm

RE: cost of components/ships

Post by Zhuikin »

Interesting. Have you checked what the current prices of the resources were in both games?
CariadocThorne
Posts: 13
Joined: Sat May 09, 2020 10:28 am

RE: cost of components/ships

Post by CariadocThorne »

Start of a new game, all 3 resources involved were at 0.8
arvcran2
Posts: 2901
Joined: Fri Dec 11, 2020 3:17 pm

RE: cost of components/ships

Post by arvcran2 »

Something is not adding up here ... I have calculated all materials needed to manufacture components for a medium freighter and rated the units at market price all at .8 which was simple.

This yielded 233.6 total cost.

The design screen however shows a purchase cost of 1217.

So 983.4 credits extra to purchase; could this be Manufacturing costs, or maybe hull costs? The actual purchase cost in this case is 421% higher than the cost of the materials.

Furthermore, each component has a a cost described beside the size in the component guide. These are apparently in K units. but are far greater than the affected cost differential when adding or subtracting the component amount.
Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz 2.59 GHz
16.0 GB (15.9 GB usable)
64-bit operating system, x64-based processor
NVIDIA GeForce GTX 965M (4053MB VRAM, 8136MB Shared Memory)
Intel(R) HD Graphics 530 (integrated GPU)
Post Reply

Return to “Design and Modding”