TripleA Logo TripleA Forum
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags
    • Register
    • Login

    Set font size per map

    Scheduled Pinned Locked Moved Feature Requests & Ideas
    1 Posts 3 Posters 797 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C Offline
      Cernel Moderators
      last edited by

      Currently, TripleA allows you to position the units counter with respect to your units. This is done in map.properties by setting

      units.counter.offset.width=X
      units.counter.offset.height=Y
      

      (where X and Y are positive integer numbers or zero, with zero as default)

      However, I think it is unrefined to position such counter without being able to determine its dimensions.

      Currently, the user can set the stack number size via the "View/Edit Map Font and Color/Font Size".


      I request to make that setting applying per map (like the "Map Zoom"), and I request to have a way to set it in map.properties, for example by setting

      units.counter.size=A
      

      (where A is a positive integer number)

      The user should still be able to override this setting but will have it as set in the map the first time it opens any game of the map (just like the zoom settings currently already work).


      I have two more ancillary requests.

      I request to have a setting for the stack number to be expanded right-to-left (keeping the current left-to-right behaviour as default), for example by setting

      units.counter.drawFromRight=?
      

      (where ? is "true" or "false")

      (It is actually "bottom-right", but the default is "bottom-left", so being at the "bottom" is unaffected.)

      (I'm not sure if "draw" is the best term for it.)

      Practically, if this setting is false, nothing changes from how it works now, and, if this setting is true, when (for example) you go from 9 to 10 in your stack number, the "0" of the 10 remains where the "9" was and the "1" of the 10 is drawn to the left of it.


      I request to be able to determine whether or not to draw the "1" when the stack number is 1 (which is typically but not exclusively the case when there is only one unit of that type in that territory), for example by setting

      units.counter.showAlways=?
      

      (where ? is "true" or "false")

      This means that no counter is shown when the counter is 1 if false (which is the current behaviour) and the counter is always shown if true (so single units will have no counter in the first case and a counter of 1 in the second case).

      (I would also have a territory.production.showAlways for showing a "0" when the territory has 0 production value.)


      Of course, also being able to set whatever else you can set for the map via "View/Edit Map Font and Color" would be good (but unnecessary).

      1 Reply Last reply Reply Quote 1

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • 1 / 1
      • First post
        Last post
      Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums