RealTime icon indicating copy to clipboard operation
RealTime copied to clipboard

Make construction speed depended on building height.

Open Sipke82 opened this issue 6 years ago • 3 comments

I love the realism the lowered construction speed gives, perhaps we can extend this even further by decreasing the construction speed if buildings get taller. image In the image above, you can see low density pub and a high rise office, their construction started at the same day.

Sipke82 avatar Jul 16 '18 16:07 Sipke82

A deep investigation shows that it's actually not possible without a great effort. Since this doesn't add any real value to the mod, I decided to not implement this. Having too many method patches only for such a tiny feature seems unreasonable to me.

dymanoid avatar Aug 11 '18 20:08 dymanoid

Instead of building height, what about building level?

For example, if we assume low density level 1 takes X time to build, then:

Density Level Multiplier
Low 1 1 * x
Low 2 1.1 * x
Low 3 1.2 * x
Low 4 1.3 * x
Low 5 1.5 * x
High 1 1.8 * x
High 2 1.9 * x
High 3 2.1 * x
High 4 2.5 * x
High 5 3.0 * x

Building type (RICO) could apply some additional multiplier, for example:

  • Residential: 1.0
  • Commerce: 1.1
  • Industry:
    • Generic: 1.2
    • Oil: 1.3
    • Ore: 1.5
    • Farming: 1.0
    • Forestry: 0.8
  • Office: 1.6

Multiplier values above are just guesstimates, some trial and error would be required to get nice values.

originalfoo avatar Nov 21 '19 14:11 originalfoo

The thing is, introducing any logic that differs from "return some constant value for all buildings" will cause a performance drop. I did not measure the real impact, however.

Furthermore, I must admit that I was wrong about my assumptions: there is a way to get the target building height without additional patches. So theoretically, this can be implemented in scope of Real Time.

I move this issue back to the Real Time repo.

dymanoid avatar Nov 22 '19 19:11 dymanoid