Author Topic: [SOLDIERS] Celebrate Diversity: more nationalities and names  (Read 9211 times)

Offline BeOS_Refugee

  • Squaddie
  • *
  • Posts: 4
    • View Profile
Re: [SOLDIERS] Celebrate Diversity: more nationalities and names
« Reply #45 on: October 25, 2018, 10:13:21 pm »
That explains it. Thanks.

Here's a fully TFTD'd version of the mod with the recolored flags. I did mess around with the Portuguese, Slovakian and Spanish flags to make the intricate details a little clearer, but otherwise, they're basically the same as the originals.

If I was to put this on the mod page, would it be cool to put my name in the metadata.yml after Solarius's like so:

"by Solarius Scorch (TFTD recolor by BeOS_Refugee)"

Or just leave a note in the readme?
« Last Edit: October 25, 2018, 10:22:09 pm by BeOS_Refugee »

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 8485
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: [SOLDIERS] Celebrate Diversity: more nationalities and names
« Reply #46 on: October 25, 2018, 11:29:13 pm »
Thanks!
I will surely give credit when I get around to integrating this new stuff. (It ain't easy, moving indexes is a bitch.)

Offline BeOS_Refugee

  • Squaddie
  • *
  • Posts: 4
    • View Profile
Re: [SOLDIERS] Celebrate Diversity: more nationalities and names
« Reply #47 on: November 04, 2018, 06:21:52 am »
You're quite welcome. If you're going to introduce any new flags in the next version, I'm down for recoloring those as well.

--- posts merged ---

Oops. Death sounds for soldiers were broken due to them being at different locations in OG XCOM. I deleted the appropriate lines, and now death sounds work same as in default TFTD.
« Last Edit: November 04, 2018, 12:14:31 pm by Solarius Scorch »

Offline Thedarkpretender

  • Sergeant
  • **
  • Posts: 10
    • View Profile
Re: [SOLDIERS] Celebrate Diversity: more nationalities and names
« Reply #48 on: May 24, 2019, 02:22:45 am »
Hi, i really like this mod a lot. I mostly play on Android but it works just fine. I remember that a year ago or so I added Méxican names and flag to the mod. And it worked just fine,  but know that i aded again mexican flag and names every time i try to see a mexican soldier the game crashes and i get this msg Unfortunately, no stack trace information is available
[23-05-2019_16-21-06]   [FATAL]   OpenXcom has crashed: Resources/Flags/40-Mexico.png:Unsupported image format
More details here: /storage/emulated/0/openxcom/openxcom.log

Im trying to get a flag on Google then i resize it to 30x20 and save it as png. But i have noted that while most files in the resources/flag folder are like 3.7 kb it doesnt matter the source of the file i use i get a file about 300 byttes

I hope you can help me with the instrucctions to correctly resize the flag and finally have mexican soldiers jeje

Thanks in advance

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 8485
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: [SOLDIERS] Celebrate Diversity: more nationalities and names
« Reply #49 on: May 24, 2019, 10:27:56 am »
The file size doesn't matter. What matters is keeping the same palette as the other flags. The format must be either .png or .gif.
I am planning to expand this mod, so if you like, you can send me your suggestions. It probably won't be very soon, but it'll happen.

Offline R1dO

  • Colonel
  • ****
  • Posts: 242
    • View Profile
Re: [SOLDIERS] Celebrate Diversity: more nationalities and names
« Reply #50 on: May 24, 2019, 07:03:05 pm »
Perhaps you can post the png image here so we can tell what is wrong with it.

Because, this:
...
[23-05-2019_16-21-06]   [FATAL]   OpenXcom has crashed: Resources/Flags/40-Mexico.png:Unsupported image format
...
in combination with:
...
Im trying to get a flag on Google then i resize it to 30x20 and save it as png. But i have noted that while most files in the resources/flag folder are like 3.7 kb it doesnt matter the source of the file i use i get a file about 300 byttes
...

Makes me suspect that something is seriously wrong with your png image
e.g. for a 30x20 8bit indexed image i expect a minimum size of 600 Bytes, not taking into account any headers or compression.

Offline Thedarkpretender

  • Sergeant
  • **
  • Posts: 10
    • View Profile
Re: [SOLDIERS] Celebrate Diversity: more nationalities and names
« Reply #51 on: May 24, 2019, 09:12:11 pm »
This is one of the many files i have been trying to use

The sip file contains the mexican names and the ruleset file for the resources in case solarius wants to check it
« Last Edit: May 24, 2019, 09:19:38 pm by Thedarkpretender »

Offline R1dO

  • Colonel
  • ****
  • Posts: 242
    • View Profile
Re: [SOLDIERS] Celebrate Diversity: more nationalities and names
« Reply #52 on: May 24, 2019, 10:14:37 pm »
Looks like something went wrong when saving the image as png.

The version you posted uses RGBA colorspace, OXCE expect indexed colorspace.

You might want to try the quick conversion attached to see if it works (no guarantees i didn't mess up the colors in the process).

On a side note, the ruleset you've posted does not even include mexico (it stops at flagg39). Was that deliberate?

Offline Thedarkpretender

  • Sergeant
  • **
  • Posts: 10
    • View Profile
Re: [SOLDIERS] Celebrate Diversity: more nationalities and names
« Reply #53 on: May 24, 2019, 11:38:25 pm »
Yay! Finally it worked!
Thanks a lot

Offline Thedarkpretender

  • Sergeant
  • **
  • Posts: 10
    • View Profile
Re: [SOLDIERS] Celebrate Diversity: more nationalities and names
« Reply #54 on: May 25, 2019, 12:10:37 am »
Sorry for double post... Here is the right ruleset

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 8485
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: [SOLDIERS] Celebrate Diversity: more nationalities and names
« Reply #55 on: May 27, 2019, 12:07:24 pm »
Thanks for the input, guys!
I plan to expand the nationalities, so this is a big help.

Offline Thedarkpretender

  • Sergeant
  • **
  • Posts: 10
    • View Profile
Re: [SOLDIERS] Celebrate Diversity: more nationalities and names
« Reply #56 on: May 30, 2019, 08:03:11 am »
Im using the provided flag in this post. But im one of those maniacs that like uniform things, hope once you have the time and update the mod theres going to be a better flag for mexican names with the Same quality, format etc than the rest in your mod. Anyway im enjoying it a lot

Offline nathandetr0it

  • Sergeant
  • **
  • Posts: 12
    • View Profile
Re: [SOLDIERS] Celebrate Diversity: more nationalities and names
« Reply #57 on: June 17, 2019, 08:23:33 pm »
Hi Solarius, is this already included in the FMP?

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 8485
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: [SOLDIERS] Celebrate Diversity: more nationalities and names
« Reply #58 on: June 23, 2019, 11:08:46 am »
Im using the provided flag in this post. But im one of those maniacs that like uniform things, hope once you have the time and update the mod theres going to be a better flag for mexican names with the Same quality, format etc than the rest in your mod. Anyway im enjoying it a lot

Kato is working on some significant improvements right now.

Hi Solarius, is this already included in the FMP?

Not yet, but I'll take care of it.