OpenXcom Forum
Modding => Released Mods => Topic started by: Solarius Scorch on December 19, 2016, 06:56:02 pm
-
WHAT DOES THIS MOD DO?
This mod adds new soldier nationalities: Argentinian, Brasilian, Canadian, Iranian, Israeli, Mongolian and Ukrainian. It also contains some new names for vanilla nations and some spelling corrections (this one is kinda experimental - I added some national characters to some names, so we'll see how it behaves on various machines).
Also, if you are using the OXCE+ version of OpenXCom, national flags will be placed next to the name:
(https://i.imgur.com/qkFHz8n.png)
WHY WAS IT MADE?
To expand upon the existing database of names. The vanilla selection is a bit random, since many important countries were missing, while some small countries were in. This mod aims to fill the gaps.
HOW DO I INSTALL THIS MOD?
- Open your "user" folder (normally Documents/MyGames/Openxcom, though it can be set up differently),
- Copy the entire Celebrate_Diversity folder to the "/mods" folder,
- Enable the mod from the Game Options menu.
ANY FUTURE PLANS?
I'll probably keep expanding the lists.
CHANGELOG:
1:3: Changed Democratic Republic of Congo flag to the appropriate one for the time period (by Arvidus).
1:2: Fixed sorting issues (by Meridian).
1.1b: Fixed transparency on the Belgian flag.
1.1: Now with flags for OXCE+.
1.0: Initial release.
-
A nice touch to improve the details of the game. 8)
I appreciate your efforts!
Keep it up.
Sincerely
Kjotleik
-
And if people are interested, I can make a version compatible with OXCE+ fork - it would also have national flags placed next to the name.
No need for 2 separate mods.
If you add flags, it will still work on vanilla, it won't crash or anything.
-
No need for 2 separate mods.
If you add flags, it will still work on vanilla, it won't crash or anything.
OK, I added the flags and updated the first post.
-
Did you add this on latest X-COM Files?
Enviado de meu SM-G3502T usando Tapatalk
-
Did you add this on latest X-COM Files?
Yes, I made it for X-Com Files initially, this is basically a rip from the mod to make it standalone.
-
Is this mod compatible with Final Mod Pack and\or Area 51?
-
Is this mod compatible with Final Mod Pack and\or Area 51?
Yes, it should be compatible with pretty much anything. However, if a mod contains soldiers.rul (or the same data under some other file name), it will be overwritten by Celebrate Diversity (which is vanilla settings, only with more names, nationalities and flage).
Final Mod Pack already includes this mod, so it's unnecessary.
-
Final Mod Pack already includes this mod, so it's unnecessary.
Thanks for your answer.
And your mod also seems to be included in "The X-Com Files" (this one is supposed to be based on Final Mod Pack).
-
And your mod also seems to be included in "The X-Com Files" (this one is supposed to be based on Final Mod Pack).
Ummm... Yes, I know. :)
Seriously though, X-Com Files is where the mod started; the rest is just adaptation.
-
I want to see a more realistic ratio in names, with the more populous nationalities showing up more, as well as the more militaristic nations being more likely to give soldiers to X-Com. There should be lots of Chinese, Indian, and American soldiers, but very few Afghani, Georgian, or Somalian soldiers, for instance.
-
I want to see a more realistic ratio in names, with the more populous nationalities showing up more, as well as the more militaristic nations being more likely to give soldiers to X-Com. There should be lots of Chinese, Indian, and American soldiers, but very few Afghani, Georgian, or Somalian soldiers, for instance.
I was wondering about this too, but then Meridian strongly opposed it because it would mean far less variation in nationalities and I agreed with him.
The rationale is that countries participate in X-Com equally, so they provide roughly the same number of candidates.
-
I agree that truly accurate numbers would be boring, because you'd get something like 40% Chinese. But I was thinking slightly more accurate ratios, still plenty of people from small countries, but such that it doesn't look like those countries are larger than they are.
-
You can duplicate the name files several times to achieve any ratio you want.
E.g.
American.nam
American2.nam
Russian.nam
will result in 66% of Americans and 33% of Russians.
-
I've noticed soldier with swedish flag and spanish names or japanese flags and italian names.
Somewhere the ruleset is off by 1, I've looked at it but was unable to find any error.
Not a big problem, since I can change the flag by clicking on it.
-
I've noticed soldier with swedish flag and spanish names or japanese flags and italian names.
Somewhere the ruleset is off by 1, I've looked at it but was unable to find any error.
Not a big problem, since I can change the flag by clicking on it.
Works fine for me, you must have another mod which adds more nationalities and messes up the order.
The only issue I see is wrong transparency on the belgian flag.
-
Thanks for reporting, I uploaded a fixed version.
EDIT: Now the fixed version is also updated in the first post.
-
Well, no.
Deleted Celebrate diversity 1.1 and replaced with 1.1b
Disabled all the mods, clean vanilla game: OXC Extended 3.7a+
Start new game and hiring people.
I still get some nationalities off by 1
But it's random, sometime I get Italian names with Italian flag, sometime I get Italian names with Japanese flag
The problem seem to be in the code, not in the mod.
-
Can you upload the save?
-
OK, I started a new game, in the 8 initial soldiers I got Ivan Diaz, Swedish flag and Spanish name
I checked, no Ivan and no Diaz in swedish.nam
edit: hired other 22 soldiers and some other odd nationalities appeared
-
What is the primary language of your operating system (Windows)?
And also regional settings if they are different.
Also, I am attaching a modified version of the mod 1.1c... can you please try that? On a new game... better or even worse?
-
Good, celebrate diversity 1.1c seem to work fine ;D
I just tried 10 new games, 30 soldiers each, I have not spotted anything wrong in the nationalities.
Whatever you have modified in the ruleset, seem to have resolved the problem.
As for my system, it's a bit of a mess. The PC has spanish keyboard layout (purchased in Argentina), Windows is installed in English-US language and many programs are in Italian.
If this was the problem, I'm sorry for the waste of time I've caused to you. :-[
Edit: now I see what have you done.
You prefixed each soldier name file with a number to be sure they are in the correct order.
Very strange, the are listed in the correct order in my explorer window.
It has to do with some internal windows libraries about alphabetical order.
Again sorry for the waste, you sure have better things to do.
Thank you Meridian.
-
Well, it doesn't work for me... I got many soldiers without flags.
But I am attaching version 1.2 which should really work for all.
There were 2 problems:
1. sorting problem ... name files are read alphabetically, however that means different things in different languages (for example English "ch" comes after "c", but in Slovak "ch" comes after "h")
I solved this by adding numeric prefix to *.nam files
2. same directory problem ... the mods should NOT use the same directory for soldier names as vanilla, otherwise both will be used and the "delete" command will not have any effect... it will delete but then both file sets will be re-read again
I solved this by renaming the "SoldierNames" directory in the mod to "CelebrateDiversity" and amending ruleset accordingly
-
I just tried v1.2
10 new game / 300 soldiers
It work flawlessly for what I can tell, no discrepancies found
Again, thank you Meridian.
-
I really like the aim of this mod; it'll really help create an atmosphere of a global resistance to the alien menace.
Related to that, evidently from the screenshot listing the nationalities, there appear to be no Arab nations, which is a big omission. Syria, Jordan, and Egypt in particular, would be sensible inclusions for military soldiers involved in the X-Com project.
-
True, there are no Arab nation at the moment, despite Turkey, Israel and Iran being in the mod.
What can I say? I'll do it when I get there! ;)
-
The listing is incomplete, starts at 6.
Arabic.nam is definitely in there, even in vanilla I think.
It has Egyptian flag assigned.
-
The listing is incomplete, starts at 6.
Arabic.nam is definitely in there, even in vanilla I think.
It has Egyptian flag assigned.
Yeah... I mean to fix it at some point.
(Good enough for vanilla doesn't make it good enough.)
-
Edit: Hmm, I downloaded xcom files and it seems to work now ::)
-
Edit: Hmm, I downloaded xcom files and it seems to work now ::)
X-Com Files has this built in.
-
This may be obvious, but what files do I need to extract to make it a general mod? Or is for some reason going to be tied to this specific mod?
-
The mod on the first page of this thread *is* the generalized version of what's in X-Com Files. If it's not working by itself, then there's either a problem with how you're using it or a bug in the mod.
-
Uploaded version 1:3, which changes Democratic Republic of Congo flag to the appropriate one for the time period (by Arvidus).
-
hi, i went mia behind enemy line for a long time lmao, is this mod included inside the FMP??
(on a side question, does the medal and commendations mod got "fixed" inside the FMP too?, i really loved that nice touch and i saw somewhere around here that some nice guy decided to improve it into a 2.1 kind of version IIRC, im sorry im asking this here, but i didnt wanted to spam a lot of threads about something related :-[ )
-
Nice. Easy to change flags for people as Meridian does in LP!
-
Hello,first i want to say thank you Solarius for all the great mods you have given us.
Secondly, for my playthrough of FMP I added 5 new nationalities, my own and 4 neighbors:
-Ecuador
-Venezuela
-Colombia
-Chile
-Peru
If anyone wants to add this to their playthrough just extract the .rar file inside your own Celebrate Diversity mod folder or Solarius can add it for 1.4.
Enjoy
-
Thanks, Master Luke!
I'll look into it.
-
Is there a way to run this with the correct color palette in TFTD? I could have sworn I saw a patch posted somewhere, but I can't find it.
-
Is this mod working with the current builds? I had to pull everything out of a subdirectory to get it not to just make all of the soldier names John Doe and Jane Doe.
--- posts merged ---
I have repacked the entire mod complete with the 5 new countries addition.
Additionally, for the 1.5 version, I went ahead and added my own "American Names" mod that I compiled from US Census data a few years ago. There's a lot more variety for those now (in fact, Scorch's file is about 2k, mine is 250k, but mine doesn't factor in probability of any particular name, so Mike Smith is as common as Asa Zuniga. The US being a melting pot, some of these names might well be duplicated in other countries.)
-
Glad it works out for you!
Regarding the names: remember that the game tales part in the late 90's, and name trends change rapidly.
-
Also, there was no nationality in the original, it was just a bunch of name pools.
PS: 250k is IMO an overkill
-
> Regarding the names: remember that the game tales part in the late 90's, and name trends change rapidly.
Good point. I probably should have used the 2000 census for the names.
> PS: 250k is IMO an overkill
Prolly, but it was easier to just bulk-process the census list than to try to cut it down. I think I just used a shell script or spreadsheet to get it into the right format. As for nationality, it seems like the vanilla OXC doesn't really have nat'l either. I haven't tried the Extended version.
At any rate, it was just a simple project to try to increase the pool of names. The 1.4 version uses the list that came with 1.3.
-
So, I'm looking to get this working in TFTD by recoloring the flags by hand. I've tried extracting out the palettes from the UFOPedia TFTD PALETTES.DAT images using aesprite, but I can't figure out what palette the flags need to use. I thought it was the Base/Research palette, but using that still results in some of the colors being off. I tried the other palettes, and none of them seem to be correct either.
I've attached one of the attempts at a recolored USA flag, then what it looks like in game.
Am I missing something obvious, or is there a quirk in TFTD's palette system that's messing this up?
-
Hi,
it's the TFTD's PAL_BASESCAPE palette.
The palettes in various formats (JASC, ACT and RIFF) can be found directly in OXCE distribution... folder /common/Palettes/
or can be downloaded here: https://github.com/MeridianOXC/OpenXcom/tree/oxce-plus/bin/common/Palettes
Those marked as SAFE are modified a bit:
- magenta is used on reserved indices, which should not be used by modders
- index 0 is replaced with magenta or bright green (instead of the original black), since it is not actually black... but transparent color
EDIT: hmm, your flag looks quite OK on the first look... I'll check tomorrow what exactly is wrong...
-
it's the TFTD's PAL_BASESCAPE palette.
EDIT: hmm, your flag looks quite OK on the first look... I'll check tomorrow what exactly is wrong...
Hi, sorry, my bad, it is TFTD's PAL_GEOSCAPE palette.
See attached.
-
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?
-
Thanks!
I will surely give credit when I get around to integrating this new stuff. (It ain't easy, moving indexes is a bitch.)
-
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.
-
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
-
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.
-
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.
-
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
-
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?
-
Yay! Finally it worked!
Thanks a lot
-
Sorry for double post... Here is the right ruleset
-
Thanks for the input, guys!
I plan to expand the nationalities, so this is a big help.
-
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
-
Hi Solarius, is this already included in the FMP?
-
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.
-
Kato is working on some significant improvements right now.
Ooo, nice. Of course, I'm one of those guys who would be like "oh could you also add in modern versions not just 1999 ones for people who need them, oh and TFTD and XPiratez lore versions and the kitchen sink and change the name to not sound like a political dogwhistle" (nah, I do that myself. It's called Expanded Nationalities in my modlist. Honestly, I think it's more descriptive too)
Bah, I just like the increased pool of random names. Thanks, Kato! Makes getting a guy called Patrick Fitzpatrick by chance all the cooler. (Especially since he raided Cydonia in my most recent playthrough - no casualties there aside from the tanks too, and even they survived)