OpenXcom Forum

Modding => OpenXcom Extended => Topic started by: bulletdesigner on October 13, 2017, 06:16:42 pm

Title: [DONE] [Suggestion] Change Country Flag to match Kill number
Post by: bulletdesigner 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
(https://preview.ibb.co/gs8iQb/1_1.png) (https://ibb.co/cWWgBG)
(https://preview.ibb.co/mCe1BG/1_2.png) (https://ibb.co/dDFKyw)
Title: Re: Change Country Flag to match Kill number
Post by: Meridian on October 14, 2017, 02:21:39 am
todolisted
Title: Re: Change Country Flag to match Kill number
Post by: bulletdesigner on October 16, 2017, 12:27:34 am
ok thks
Title: Re: Change Country Flag to match Kill number
Post by: Meridian 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
Title: Re: Change Country Flag to match Kill number
Post by: Ashert on May 21, 2018, 11:34:01 pm
Nice feature, does anyone know the Galaga Indicators? Also a good option, but please not Pacman! ::)

(https://image.ibb.co/hBTUO8/Galaga_Stage_Indicators.jpg) (https://imgbb.com/)
Title: Re: Change Country Flag to match Kill number
Post by: Solarius Scorch 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
Title: Re: Change Country Flag to match Kill number
Post by: ivandogovich 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

(https://i.imgur.com/kR7gmDh.png)