Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - FozzeY

Pages: [1]
1
OXCE Suggestions DONE / Re: Soldier's nationality
« on: March 13, 2018, 12:26:02 am »
Hi everyone.

I've had the idea of soldier flags in Xcom for quite a while, and since it's already implemented I decided to improve it a bit.

List of changes:
  • Fixed transparent black color.
  • Flags are now 23px high with a border to the left to match the rank insignia.
  • Preserved the aspect ratios of flags, max width 46px. Unless someone decides to add Qatar.
  • Nationality is stored as a string, so you don't have to shift the indices manually when adding a nation.
  • Added Switzerland as a proof of concept (credit to OliP for providing the name pool).
  • Replaced the "Arabic" flag with the Saudi Arabia one.
Known issues: when changing the soldier's flag on the info screen, the list cycles through from the beginning. The price to pay for getting rid of the indices, but storing two values for that seemed redundant.

Github fork: https://github.com/FozzeY/OpenXcom/tree/oxce3.5-plus-proto-flagfix

Here's what it looks like in-game:
Spoiler:



Let me know what you think. I'm going to implement flags for the battlescape next.

Pages: [1]