Building height (Water Overlay)
Revision as of 09:18, 5 October 2022 by Maxim@tygron.com (talk | contribs) (Created page with "{{construction attributes | <onlyinclude> {{building attributes|type=row|group=Water Overlay |attribute=FLOOR_HEIGHT_M|linkoverride=FLOOR_HEIGHT_M |unit=m |functionvalue=Floor height (m) |description=The height of a floor in a construction. Additionally each section of a construction can have a different amount of floors. }} </onlyinclude> }} __NOTOC__ ===Building height=== Though not an explicit attribute or function value in and...")
Template:Construction attributes
Building height
Though not an explicit attribute or function value in and of itself, the height of a building for the water overlay is calculated as follows:
- construction height = floors * FLOOR_HEIGHT_M
where the FLOOR_HEIGHT_M is the construction's attribute value which dictates the height of an individual floor, and floors is the amount of floors of the construction's section.
Building height in water model
The height of constructions is taken into account when computing the flow of water above ground. Constructions are computed to have at most a height of DESIGN_FLOOD_ELEVATION_M. Lower constructions retain their own construction height. Taller constructions have their height capped at the DESIGN_FLOOD_ELEVATION_M attribute's value.
How-to's
See also
Template:WaterOverlay hydrological construction attribute nav