Template:World map with zone tiers

From Caves of Qud Wiki
Revision as of 16:23, 22 June 2022 by Anyama (talk | contribs)
Jump to navigation Jump to search

This template creates a CSS numeric overlay on top of a world map, showing the world map zone tiers.

The provided map must be a 2.133333 aspect ratio map for this to work. That seems to be the default obtained from fullscreen mode based on my own experience and the file history of File:World map.png (uploaded by other users), but just in case your game has a different aspect ratio, you might need to adjust things to get a proper image for this template. By default, the template will use File:World map.png.

The numbers in this template are equal to the values returned by the game's ZoneManager.GetZoneTier() function, which is based on the RegionTier tag of the terrain objects in each world map cell (defined in ObjectBlueprints.xml on each terrain object). These numbers are used for some tier-based calculations in game, but not all such calculations. In some cases, the game instead uses the "world tiers" defined in Text.txt. To view those tiers, refer instead to Template:World map with world tiers.

You can use this wish code to output these values if you'd like to verify or update them.

Parameters

Parameters Description
image Image file name. Uses World map.png by default.

Example

22222222211324444444444444444444444444444444444444444444444442444444422444444444
22222222112224442222222444232333333344434444424444444444444442224422224444444444
22222122211224222222112222333333333334433324424444555555544442222224444444442244
22222222211222211222122224333333333333433332422445555555534444422444444444225224
22222222221112211111112233333333333344433324244443555553333444444444444442555524
22222222222111112222223333333333333343333244244433335533334444433333244442255524
22222222222211222211223333333333333344444224244334333333444443433335224444225524
22222222222211222111232333333333333343334422224334444444444443333335524444225524
22222222222112221112233333333333333343333332244444444444433333333555222244222524
22222222222122212112233343344444333443333333444333344433333333333553352222225524
22222222222111222122233333433333333433333333434333333333333333333455555552225224
22222222222112221222333334444433334433333333333333333333333333333344455552255524
22222222222221222212233333333333344333334333433333333333333333333444455555555244
22222222222222122112244443433333444333333333433333333333333333333333443555555524
22222222222222122212221343333444444333333433333333353335533333333333333355555524
22222222222211112222233333334444443333433444333333555355333333336677337335555524
22222222221111111112223333344444443334433333343333555555536633677776663335555524
22222222211211111211223333344444434333333333333333355555556666666777776733355524
22222222211111111211333334444443333333434443333355555555556666676777677375355524
22222222111111112211333444444333333444444333333335555355566666677777773335555524
22222222211111112113333333413333333343333333333333555355666666666777633355555524
22222221111111112211133334433333333333333333333333333333666666636666333355555524
22222221111111112222133333333333333333333333433333334433666666633333333335555224
22222111111111111222213313331113333333113333333333334333336666663334442222222244
22222111111111122222221111111111111111223333333333333333333333333344444444244444
World map deep jungle tier overlay.png