aliens

Author Topic: [DONE] [Suggestion] Change Country Flag to match Kill number  (Read 5703 times)

Offline bulletdesigner

  • Commander
  • *****
  • Posts: 685
    • View Profile
[DONE] [Suggestion] Change Country Flag to match Kill number
« on: October 13, 2017, 06:16:42 pm »
Since there are no country in the 40k mod, i made several flags only for cosmetic purpose
I can manually adjust all flag in solider but my question is ->
Is it possible to do some code that automatic assign the flag to the number of kill ex:
10 kills flag1
20 kills flag2
30 kills flag3 and so on....
image exemple


Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9094
    • View Profile
Re: Change Country Flag to match Kill number
« Reply #1 on: October 14, 2017, 02:21:39 am »
todolisted

Offline bulletdesigner

  • Commander
  • *****
  • Posts: 685
    • View Profile
Re: Change Country Flag to match Kill number
« Reply #2 on: October 16, 2017, 12:27:34 am »
ok thks

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9094
    • View Profile
Re: Change Country Flag to match Kill number
« Reply #3 on: May 12, 2018, 08:32:58 pm »
In next release, global parameter:

Code: [Select]
flagByKills: [10,20,30]

example above means:
0-10 kills = Flag0
11-20 = Flag1
21-30 = Flag2
31+ = Flag3

PS: flag offset on soldier types can be used to have different flags per soldier type similar to nationality based flags... mentioning just for completeness

Offline Ashert

  • Sergeant
  • **
  • Posts: 42
    • View Profile
Re: Change Country Flag to match Kill number
« Reply #4 on: May 21, 2018, 11:34:01 pm »
Nice feature, does anyone know the Galaga Indicators? Also a good option, but please not Pacman! ::)

« Last Edit: May 21, 2018, 11:36:32 pm by Ashert »

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11728
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Change Country Flag to match Kill number
« Reply #5 on: May 22, 2018, 12:11:02 am »
Nice feature, does anyone know the Galaga Indicators? Also a good option, but please not Pacman! ::)

Looks like a wacky version of Roman numerals. I like it! :D

Offline ivandogovich

  • Commander
  • *****
  • Posts: 2381
  • X-Com Afficionado
    • View Profile
    • Ivan Dogovich Youtube
Re: Change Country Flag to match Kill number
« Reply #6 on: June 26, 2018, 10:31:22 pm »
I've just got a mod together using this feature for X-PirateZ.

Check it out here:

https://openxcom.org/forum/index.php/topic,6387.0.html