Yeah, I'd like that too, but it's a UI problem - where should it be displayed?Something like that i think
Yeah, if you're called John Smith, that would work... if you're called Charalampos Tsourakakis, the name would either be cropped or obstruct the flag.If you call a soldier Hubert Blaine Wolfeschlegelsteinhausenbergerdorff or something like that it will also cropped, but it looks not normal to give soldiers so long names.
So, I added the flag support...
<snip>
...you will need OXCE 2.9+ v2016-03-27 (or higher) for this to work.
Damn, impressive!+1
This mod is unsupported by OpenXCom as i understand ?
This mod is unsupported by OpenXCom as i understand ?
If you wish, you can cherry-pick this change (https://github.com/MeridianOXC/OpenXcom/commit/7838c1a5ab5e6480e7aa1eb01455fc4e5d1cf3e8) into your local copy of OpenXcom master and build your own version that contains everything what a nightly OpenXcom build contains and this particular change on top.Sorry, but i'm not programmer and don't know how to compile something. Better i'll drink some beer and maybe try OpenXcom Extended :)
Enjoy.
Meridian, all my soldiers have the US flag. I can see the ruleset only contains sprites definitions, so everything else must be hardcoded, so I don't know what I could've done wrong.
EDIT: Nevermind, apparently it only works for new soldiers.
BTW do I need the Flags-orig folder?
Also: how do I add more flags? Because some of my men don't have one. What is the order?
I'm not aware of any other solution.
I would go for #2.
- type: STR_SOLDIER
there is:
soldierNames:
- SoldierName/
- type: Flag0
singleImage: true
files:
0: Resources/Flags/00-USA.png
- type: Flag1
singleImage: true
files:
0: Resources/Flags/01-Egypt.png
- type: Flag2
singleImage: true
files:
0: Resources/Flags/02-Belgium.png
- type: Flag3
singleImage: true
files:
0: Resources/Flags/03-UK.png
- type: Flag4
singleImage: true
files:
0: Resources/Flags/04-Bulgaria.png
- type: Flag5
singleImage: true
files:
0: Resources/Flags/05-Canada.png
- type: Flag6
singleImage: true
files:
0: Resources/Flags/06-China.png
- type: Flag7
singleImage: true
files:
0: Resources/Flags/07-Congo.png
- type: Flag8
singleImage: true
files:
0: Resources/Flags/08-Czechia.png
- type: Flag9
singleImage: true
files:
0: Resources/Flags/09-Denmark.png
- type: Flag10
singleImage: true
files:
0: Resources/Flags/10-Netherlands.png
- type: Flag11
singleImage: true
files:
0: Resources/Flags/11-Ethiopia.png
- type: Flag12
singleImage: true
files:
0: Resources/Flags/12-Finland.png
- type: Flag13
singleImage: true
files:
0: Resources/Flags/13-France.png
- type: Flag14
singleImage: true
files:
0: Resources/Flags/14-Germany.png
- type: Flag15
singleImage: true
files:
0: Resources/Flags/15-Greece.png
- type: Flag16
singleImage: true
files:
0: Resources/Flags/16-India.png
- type: Flag17
singleImage: true
files:
0: Resources/Flags/17-Hungary.png
- type: Flag18
singleImage: true
files:
0: Resources/Flags/18-Ireland.png
- type: Flag19
singleImage: true
files:
0: Resources/Flags/19-Italy.png
- type: Flag20
singleImage: true
files:
0: Resources/Flags/20-Japan.png
- type: Flag21
singleImage: true
files:
0: Resources/Flags/21-Kenya.png
- type: Flag22
singleImage: true
files:
0: Resources/Flags/22-SouthKorea.png
- type: Flag23
singleImage: true
files:
0: Resources/Flags/23-Nigeria.png
- type: Flag24
singleImage: true
files:
0: Resources/Flags/24-Norway.png
- type: Flag25
singleImage: true
files:
0: Resources/Flags/25-Poland.png
- type: Flag26
singleImage: true
files:
0: Resources/Flags/26-NewZealand.png
- type: Flag27
singleImage: true
files:
0: Resources/Flags/27-Portugal.png
- type: Flag28
singleImage: true
files:
0: Resources/Flags/28-Romania.png
- type: Flag29
singleImage: true
files:
0: Resources/Flags/29-Russia.png
- type: Flag30
singleImage: true
files:
0: Resources/Flags/30-Slovakia.png
- type: Flag31
singleImage: true
files:
0: Resources/Flags/31-Spain.png
- type: Flag32
singleImage: true
files:
0: Resources/Flags/32-Sweden.png
- type: Flag33
singleImage: true
files:
0: Resources/Flags/33-Turkey.png
What numbers do the soldiers without a flag have in the "nationality" attribute?
soldierNames:
- delete
- SoldierName/
Good idea. Through you should look at how militarized Bulgaria was in WWI - I think 33% of bulgars were in the military?
Btw, soldier flags are a bit weird in that they often differ in size, which is odd.
Yes, having definable weighs for soldier nationalities would be good.
Your obsession with the unimportant, irrelevant and beyond cosmetic stuff never ceases to amaze me :P
Anyway, with 30+ nationalities, it is already pretty rare to see all of them, I don't want to make it even rarer (all nations participating in openxcom have a right to appear).
Also, I believe most of the people are renaming their soldiers, so I guess they will be changing the default nationality (and maybe even avatar) anyway... and the rest won't care.
I'm sorry.
Touched the sweet spot I guess, and the smiley wasn't enough to counter it.
1/ shadows and smoke animation is constantly visible throughout majority of the gameplay (let's be conservative and estimate 50% of time spent with the game); Nationality is visible for a couple of seconds per soldier hiring process (let's be generous and estimate 0.005% of time spent with the game)... uhm, yes, smoke and shadows are relevant, flags are not.
2/ I added flag support, because people asked for it... I'm not gonna "remove" it again by designating everyone as only American or Chinese
3/ Yes, I would like to see at least one person from Iceland in my roughly 30 person strong team... I believe in XCF the teams are even smaller, but I might be wrong
4/ It's exactly an equality principle: every nation which joins xcom project has to provide also soldiers, at least one
5/ I didn't get any data from anywhere, that's why I said "I believe"... all people I have seen playing xcom though, have been renaming their soldiers
Lastly, I didn't call you madman, and I'm sorry if it sounded that way.
I will refrain from posting on threads, where I have an opposing opinion from now on.
But I still think I would prefer to have some weighs - like, triple the chance for a big player than a small country.
EDIT: Is it possible to check the nationality in battlescape? Because that's when I usually feel like looking it up, and it seems I can't.
See end of previous post.
I didn't know where to put it, there was no space left anywhere.
Also, we would need a second set of flags with battlescape palette.
EDIT: Is it possible to check the nationality in battlescape? Because that's when I usually feel like looking it up, and it seems I can't.
Well I really to wish that! As far as I got searching forum/mod portal seems nationality flag dysplaying is an openxcom extended feature, very kindly provided by Meridian, from openxcom extended+ 2.9 and on (http://openxcom.org/forum/index.php/topic,4442.msg61114.html#msg61114)Yes, this feature is only in OXCE+ (maybe also OXCE, but I'm not sure). This is not in the Nightlies.
By now there is no nigtlhy mod for this, please correct me if i am wrong. :)
The number correspond to *.nam file alphabetical order, i.e.:Isn't this rather setting up for unnecessary maintenance in he future? There's a long-established system for encoding country/ nationality names. It may be convenient to create something new for a first-run test, but unless you want to be dealing with 184 (or is it 196, I forget) entries in the code table, as well as needing maintenance when new countries/ nationalities are created / merged ... well, it's your code.
American = US flag = 0
Arabic = Egypt flag = 1
Belgium = 2
British = 3
Bulgarian = 4
...
...
Turkish = 32
If you have different *.nam files, your ordering will be different.
An advantage of numeric codes over alphabetic codes is script (writing system) independence. (...)
Another advantage is that when countries merge or split, they will get a new numeric code
The nationalities were in the game from the beginning, and they were implemented this way... I kept this in order to preserve backwards-compatibility.