New building generating system is strange

Here we talk about TheoTown in general.
User avatar
JustAnyone
Developer
Reactions:
Posts: 3474
Joined: 23 Jul 2017, 12:45
Location: Easter Island
Plugins: Showcase Store

Platform

Re: New building generating system is strange

#1

Post by JustAnyone »

You know Lobby was always a bit strange.

User avatar
Bearbear76
Former Bearbear65
Reactions:
Posts: 5730
Joined: 10 Feb 2017, 14:53
Location: L2 cache
Plugins: Showcase Store

Plugin Creator

Platform

Re: New building generating system is strange

#2

Post 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

User avatar
Lobby
Developer
Reactions:
Posts: 3705
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

Re: New building generating system is strange

#3

Post by Lobby »

There's definitely a bug which leads to that small buildings cannot be replaced by ones with bigger base size :mine

User avatar
Lobby
Developer
Reactions:
Posts: 3705
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

Re: New building generating system is strange

#4

Post 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;

        }
    }

User avatar
malsa
Inhabitant of a Multiverse
Reactions:
Posts: 5085
Joined: 10 Feb 2017, 17:40
Location: Malaysia
Plugins: Showcase Store
Version: Beta

Platform

Re: New building generating system is strange

#5

Post 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 1706 times

when i change the position map
still like that

User avatar
KINGTUT10101
1,000,000 inhabitants
Reactions:
Posts: 2220
Joined: 07 Jul 2016, 22:50
Location: 'Merica
Plugins: Showcase Store
Version: Beta
Contact:

Plugin Creator

Platform

Re: New building generating system is strange

#6

Post by KINGTUT10101 »

That might give other players an advantage over others though. If so, I doubt that would be implemented.

Post Reply Previous topicNext topic

Return to “Game Discussion”