Author Topic: Uniform colours by terrain  (Read 4284 times)

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11728
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Uniform colours by terrain
« on: March 26, 2015, 11:34:08 am »
Probably the only mod for the original UFO: Enemy Unknown I've ever used (except X-ComUtil) was one that changed the colour of uniforms/armours depending on the terrain. It worked with a clever .bat file that was swapping the .pck files on the fly, before the mission start.

The colours used were:
  • vanilla grey (for urban),
  • green (for forests and jungles),
  • yellowish brown (for deserts),
  • white (for arctic and mountain).
Now, I wonder if this could be replicated by Openxcom. I'm not sure what would be the best approach to coding, but I imagine something like adding multiple file associations to each armour and linking them to specific terrain types. Custom armours with no colour variants as well as custom terrains that aren't addressed in a mod would result in assigning default flags.

Offline ivandogovich

  • Commander
  • *****
  • Posts: 2381
  • X-Com Afficionado
    • View Profile
    • Ivan Dogovich Youtube
Re: Uniform colours by terrain
« Reply #1 on: March 26, 2015, 01:17:36 pm »
LOL!  I would take the exact opposite approach! 
Too often, I feel like my troopers in power armor blend in too well in smokey bases or smokey UFOs.  I would try to have contrasting colors, to find them easier! ;)

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11728
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Uniform colours by terrain
« Reply #2 on: March 26, 2015, 01:25:30 pm »
LOL!  I would take the exact opposite approach! 
Too often, I feel like my troopers in power armor blend in too well in smokey bases or smokey UFOs.  I would try to have contrasting colors, to find them easier! ;)

How about
https://openxcom.org/forum/index.php/topic,3350.msg41624.html#msg41624
?

:D

Offline ivandogovich

  • Commander
  • *****
  • Posts: 2381
  • X-Com Afficionado
    • View Profile
    • Ivan Dogovich Youtube
Re: Uniform colours by terrain
« Reply #3 on: March 26, 2015, 02:45:38 pm »

Offline Yankes

  • Global Moderator
  • Commander
  • *****
  • Posts: 3350
    • View Profile
Re: Uniform colours by terrain
« Reply #4 on: March 26, 2015, 07:31:09 pm »
I can say it's doable. Most required code is done by my face recolor. Now it's only matter of propagating required values around.

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11728
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Uniform colours by terrain
« Reply #5 on: March 26, 2015, 08:07:08 pm »
I can say it's doable. Most required code is done by my face recolor. Now it's only matter of propagating required values around.

I thought about it too, but ultimately I think that new graphics would be better. The difference between desert and winter uniform is more than camo colours, or at least should be.

Still, we could have both ways, no?

Offline Yankes

  • Global Moderator
  • Commander
  • *****
  • Posts: 3350
    • View Profile
Re: Uniform colours by terrain
« Reply #6 on: March 26, 2015, 09:23:47 pm »
Only place where it would made difference is Cydonia mission where standard uniform would be more deadly than aliens himself :D

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11728
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Uniform colours by terrain
« Reply #7 on: March 26, 2015, 09:30:51 pm »
Only place where it would made difference is Cydonia mission where standard uniform would be more deadly than aliens himself :D

True that. :)

But I'd still like to see hooded anoraks on Polar!