Page MenuHomeWildfire Games

Baelish (Emanuele)
User

Projects

User Details

User Since
Feb 18 2024, 1:37 AM (10 w, 4 h)

Recent Activity

Feb 24 2024

Baelish added a comment to D5247: improve starting resource placement.

Yes, if it only has an effect when there is a clear lack of space then I don't have complaints as it shouldn't change competitive gameplay (if the starting radius is the same as previously). That would make the patch good as a standalone though

I agree with you here

Feb 24 2024, 11:30 PM

Feb 23 2024

Baelish added a comment to D5247: improve starting resource placement.

Be careful about that. Depending on how it's done it could have an impact for competitive gameplay. Distance of berries for example is quite important as it can occasionally happen that there is a very early cav raid here and the longer it takes for women to come back to CC, the more are killed. And maybe if a resource is close enough to the CC that can remove the need to build a dropsite to collect it.

Feb 23 2024, 10:42 PM
Baelish added a comment to D5247: improve starting resource placement.

With elexis, we said that a good compromise between probability and resources are 15 angles of 24 degree.
I followed the ticket advice and it was really useless, beacuse it doesn't work. In addition, my first try was a random radius between max and min, according to the ticket, and when it worked, it created anyway an imbalance. There are maps, such as Pompeii, where the player 2 must have all resources very near because it spawnes on a small peninsula. So in a tiny map it's impossible to preserve the balance because the space available to each player is different (i.e. in Pompeii player 1 starts on the continental part of the map and there are not problems for him)

Feb 23 2024, 11:58 AM
Baelish added a comment to D5247: improve starting resource placement.
In D5247#223294, @sera wrote:

Thanks for the rational, tho the idea was to update the summary at the top of this web page. The summary is what the commit message should be based on.

Feb 23 2024, 1:16 AM

Feb 22 2024

Baelish updated the diff for D5247: improve starting resource placement.

respect coding convention

Feb 22 2024, 10:19 PM
Baelish updated the diff for D5247: improve starting resource placement.

The basic idea for animals, berries and mines is to map the entire area surrounding the base in polar coordinates. Integer rages are taken between a minimum and a maximum radius (integers because greater precision is useless and increases the number of points to be calculated, making it slower) and an angle between 0 and 360 (in the code is in radiant) with an interval of 1 degree. In this way we will have 360 times n non-random attempts and we will be certain of finding a place in any situation. The program places the resource as soon as it finds space: for animals it starts from the smaller radius 5 (up to 12), for berries and mines from the larger one 12 (up to 7) and then scales up. This choice was made to minimize the number of attempts and reduce calculations: in the external radius it is more likely to have space, while in the internal one there is no difficulty in placing the animals, which take up less space.

Feb 22 2024, 7:15 PM
Baelish requested review of D5247: improve starting resource placement.
Feb 22 2024, 5:41 PM