Author Topic: [Suggestion] Unhardcode dollar symbol.  (Read 308 times)

Offline Nord

  • Commander
  • *****
  • Posts: 1720
  • The Gate is open.
    • View Profile
[Suggestion] Unhardcode dollar symbol.
« on: September 16, 2024, 12:42:34 am »
We can change string for "funding" etc, but can not change "$". Maybe this can be unhardcoded?
« Last Edit: September 17, 2024, 02:27:42 am by Nord »

Offline Ethereal

  • Commander
  • *****
  • Posts: 672
    • View Profile
Re: [Solved] Unhardcode dollar symbol.
« Reply #1 on: September 16, 2024, 05:33:53 am »
We can change string for "funding" etc, but can not change "$". Maybe this can be unhardcoded?

By the way, yes. It would be cool to see "" there.  :D

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11641
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: [Solved] Unhardcode dollar symbol.
« Reply #2 on: September 16, 2024, 10:12:58 am »
You can edit FontBig.png and FontSmall.png to replace $ with something else.

Offline Ethereal

  • Commander
  • *****
  • Posts: 672
    • View Profile
Re: [Solved] Unhardcode dollar symbol.
« Reply #3 on: September 16, 2024, 05:55:39 pm »
You can edit FontBig.png and FontSmall.png to replace $ with something else.

Thank you. :) Happiness all this time was nearby, but we did not notice. :)

Offline Nord

  • Commander
  • *****
  • Posts: 1720
  • The Gate is open.
    • View Profile
Re: [Solved] Unhardcode dollar symbol.
« Reply #4 on: September 16, 2024, 10:39:44 pm »
You can edit FontBig.png and FontSmall.png to replace $ with something else.
And if i want more than one letter?

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8888
    • View Profile
Re: [Solved] Unhardcode dollar symbol.
« Reply #5 on: September 17, 2024, 12:04:47 am »
And if i want more than one letter?

Then you should give an example so that we can see if you want 5 letters, 15 letters or 50 letters.

Also, this thread was opened with prefix Solved... did you mean to use prefix Suggestion?

Offline Delian

  • Colonel
  • ****
  • Posts: 382
    • View Profile
Re: [Solved] Unhardcode dollar symbol.
« Reply #6 on: September 17, 2024, 12:53:02 am »
Fonts have over 256 letters. Therefore, you're able to sacrifice at least 200 of them before you start to inconvenience people who want to use weird letters in their unit names.
« Last Edit: September 17, 2024, 12:55:56 am by Delian »

Offline Yankes

  • Commander
  • *****
  • Posts: 3289
    • View Profile
Re: [Solved] Unhardcode dollar symbol.
« Reply #7 on: September 17, 2024, 12:54:55 am »
Fonts have over 256 letters. Therefore, you're able to sacrifice at least 200 of them before you start to inconvenience people who want to use weird letters in their unit names.
Last time I check display text use UTF, this mean number of possible characters is HUGE.

Offline Nord

  • Commander
  • *****
  • Posts: 1720
  • The Gate is open.
    • View Profile
Re: [Solved] Unhardcode dollar symbol.
« Reply #8 on: September 17, 2024, 02:20:39 am »
Then you should give an example so that we can see if you want 5 letters, 15 letters or 50 letters.
I want "kg" for kilograms. Everywhere: in funding, buy/sell etc.
Quote
Also, this thread was opened with prefix Solved... did you mean to use prefix Suggestion?
I was after 20-hours workshift, so maybe. It must be in suggestions section, of course.

Offline Ethereal

  • Commander
  • *****
  • Posts: 672
    • View Profile
Re: [Suggestion] Unhardcode dollar symbol.
« Reply #9 on: September 17, 2024, 04:37:25 am »
Nord, as it turned out, in the 40K modification there are modified “Font” files that replace the “$” sign with another symbol. I don't know if these "Font" files can be used in other modifications, but I like them. You should try them too.