Page MenuHomeWildfire Games

Make the sea ground height of Elephantine independent from the mapsize.
ClosedPublic

Authored by phosit on Sep 17 2023, 12:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Sep 5, 9:43 AM
Unknown Object (File)
Thu, Sep 5, 9:43 AM
Subscribers
Restricted Owners Package

Details

Summary

I increased the number, so that the sea/river is still passable on tiny maps.

Test Plan

Places docks using different map sizes

Diff Detail

Repository
rP 0 A.D. Public Repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Build failure - The Moirai have given mortals hearts that can endure.

Link to build: https://jenkins.wildfiregames.com/job/macos-differential/7297/display/redirect

phosit retitled this revision from Make the height of the sea ground independent from the mapsize. to Make the sea ground height of Elephantine independent from the mapsize..Sep 17 2023, 1:00 PM
sera added inline comments.
binaries/data/mods/public/maps/random/elephantine.js
138 ↗(On Diff #22269)

Doesn't it seems more natural to make shore fixed height?

According to elexis all heights should be scaled by the map size.
For me this makes sense for hills and mountains but definitly not for waves or shores.
I'm uncertain if the sea ground height should be scaled by the map size. Conceptualy it should be treated like hills but in practice a deep see ground hurts performance and isn't noticed by players.

I'd say a map should try to preserve the feel across the different sizes. That isn't the same as blatantly scaling, in fact constructing counter examples isn't all that hard (eg, think of vertical range of ranged units). Also you already violate this supposed rule with your fix. I'd say a map author should go with the most sensible choice case by case.

I know that i violate this rule

Make the shore also independent.

Build failure - The Moirai have given mortals hearts that can endure.

Link to build: https://jenkins.wildfiregames.com/job/macos-differential/7330/display/redirect

Successful build - Chance fights ever on the side of the prudent.

Link to build: https://jenkins.wildfiregames.com/job/vs2015-differential/8419/display/redirect

Probably a different diff, but I think this map should use the Nubia or Sahara biome.

Don't remove the heightWaterLevel constant.

Build failure - The Moirai have given mortals hearts that can endure.

Link to build: https://jenkins.wildfiregames.com/job/macos-differential/7377/display/redirect

Successful build - Chance fights ever on the side of the prudent.

Link to build: https://jenkins.wildfiregames.com/job/vs2015-differential/8466/display/redirect

This revision was not accepted when it landed; it landed in state Needs Review.Oct 29 2023, 3:05 PM
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Owners added a subscriber: Restricted Owners Package.Oct 29 2023, 3:05 PM