Page 1 of 1

Re: New building generating system is strange

Posted: 25 Aug 2017, 21:47
by JustAnyone
You know Lobby was always a bit strange.

Re: New building generating system is strange

Posted: 26 Aug 2017, 03:22
by Bearbear76
former member wrote:
25 Aug 2017, 20:08
why they all build from the top to the bottom of the map? That's very illogical.
That's hard to make we need more texture then
It's hard to explain but
If the building was made from bottom to top the you'll need the texture between it
For every building that has a different shape and size

Re: New building generating system is strange

Posted: 26 Aug 2017, 12:03
by Lobby
There's definitely a bug which leads to that small buildings cannot be replaced by ones with bigger base size :mine

Re: New building generating system is strange

Posted: 26 Aug 2017, 12:14
by Lobby
Decoration fields couldn't be replaced due to a wrong calculation. Will be fixed, soon :bf

Some :java for you

Code: Select all

    public double getMinDaysUntilReplaced(Building building) {
        if (building.inConstruction() || building.isLocked() || building.isUntouchable()) {
            return Double.MAX_VALUE;
        } else if (building.isEmpty() || building.getBuildingType() == BuildingType.DECORATION) {
            return 0; // This must be -Double.MAX_VALUE instead
        } else {
            double daysBuilt = building.getDaysBuilt(absoluteDay);
            int buildTime = building.getDraft().buildTime;

            return 45 + 1000 * Math.log(1 + 0.01f * buildTime) - daysBuilt;

        }
    }

Re: New building generating system is strange

Posted: 26 Aug 2017, 12:41
by malsa
former member wrote:
26 Aug 2017, 07:52
Bearbear65 wrote:
26 Aug 2017, 03:22
former member wrote:
25 Aug 2017, 20:08
why they all build from the top to the bottom of the map? That's very illogical.
That's hard to make we need more texture then
It's hard to explain but
If the building was made from bottom to top the you'll need the texture between it
For every building that has a different shape and size
You misunderstood me. I mean, why they are building from the North-East to the South-West of the map? That's very unrealistic
yeah you are right former member @Lobby[Posts][PM]i have one question why the building like for example this building
2_20170215_3x_building_package_1_v4_final_1.png
2_20170215_3x_building_package_1_v4_final_1.png (4.33 KiB) Viewed 2526 times

when i change the position map
still like that

Re: New building generating system is strange

Posted: 27 Aug 2017, 07:46
by KINGTUT10101
That might give other players an advantage over others though. If so, I doubt that would be implemented.