[Solved] - Ore and Gem value on a map

topic deleted

Information and discussion for custom maps and mods.
Post Reply
Ronald
Posts: 166
Joined: Fri Aug 30, 2019 9:05 pm

[Solved] - Ore and Gem value on a map

Post by Ronald »

.
Last edited by Ronald on Mon Oct 11, 2021 8:01 pm, edited 3 times in total.

FinalLSmasH
Posts: 1
Joined: Sun Sep 22, 2019 1:14 am

Re: Ore and Gem value on a map

Post by FinalLSmasH »

1- What is the total cash value of 1 maptile filled with
Ore 325
Gems 200

single tiles with no resources around it:
Ore 50
gems 100

2 - How can one determine how much ore/gem cash-value is
- count it yourself
- total is shown at the top on the right side of zoom

eskimo
Posts: 333
Joined: Tue Jan 17, 2017 9:59 pm

Re: Ore and Gem value on a map

Post by eskimo »

I believe you can go in multiples of 25$ with ore.

Use the 'total $$$ on map' amount for 1st made ore patch. Then make a note of that number. Times that by 2, then make a new ore patch equalling so the total $$$ on map equals the "times 2" amount.

When adding 3rd,4th, etc, just make a note of the current total amount before and after placing new ore patch, using the difference of those amounts as a guide to the new patch $$ amount.

Sadly yes it's all manual.

Ronald
Posts: 166
Joined: Fri Aug 30, 2019 9:05 pm

Re: Ore and Gem value on a map

Post by Ronald »

.
Last edited by Ronald on Mon Oct 11, 2021 7:40 pm, edited 1 time in total.

User avatar
Graion Dilach
Posts: 277
Joined: Fri May 15, 2015 5:57 pm

Re: [Solved] - Ore and Gem value on a map

Post by Graion Dilach »

The problem with all this is that OpenRA does not store how much resource was placed on to a cell and instead derives the amount of layers from how many nearby resource cells were there and decides this upon map load which necessitates the wide lazy rounded ore blobs in maps and makes small patches (few cells wide) useless.

https://github.com/OpenRA/OpenRA/blob/1 ... er.cs#L133

Ronald
Posts: 166
Joined: Fri Aug 30, 2019 9:05 pm

Re: [Solved] - Ore and Gem value on a map

Post by Ronald »

.
Last edited by Ronald on Mon Oct 11, 2021 7:40 pm, edited 1 time in total.

eskimo
Posts: 333
Joined: Tue Jan 17, 2017 9:59 pm

Re: [Solved] - Ore and Gem value on a map

Post by eskimo »

I think the gradual growth per cell placing is a good aesthetic, but can also pose issues. So being quite meticulous will prevent mis placings that can't be seen which send harvesters on random drives, uneven $$$, uneven growth and uneven harvesting times. But those last two have not been fully tested or acknowledged on more natural looking ore placements.

Matt
Posts: 1144
Joined: Tue May 01, 2012 12:21 pm
Location: Germany

Re: [Solved] - Ore and Gem value on a map

Post by Matt »

I made an unoptimized attempt to show the ore value per patch some time ago: https://github.com/OpenRA/OpenRA/pull/14055

Post Reply