aliens

Author Topic: [DONE] Cosmetic units  (Read 2371 times)

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9091
    • View Profile
[DONE] Cosmetic units
« on: February 04, 2022, 03:01:46 pm »
Units (other than geoscape soldiers) can now be marked as "cosmetic".

This will reduce their presence in the soldier diaries and in the commendations.

Currently it has the following effects:
1. killing/stunning/panicking/mindcontrolling a cosmetic unit will not be written into the soldier diaries... which in turn will prevent them from triggering friendly fire commendations
2. civilians marked as cosmetic will not count towards "STR_CIVILIANS_KILLED_BY_XCOM_OPERATIVES", "STR_CIVILIANS_KILLED_BY_ALIENS" and "STR_CIVILIANS_SAVED" debriefing stats... which in turn will prevent them from triggering saved-all-civilians commendations

More features may be linked with this flag in the future.

Example:

Code: [Select]
units:
  - type: STR_SECURITY_CAMERA
    cosmetic: true        # default is false

Offline robin

  • Commander
  • *****
  • Posts: 1224
  • ULTIMATE ROOKIE
    • View Profile
Re: [DONE] Cosmetic units
« Reply #1 on: February 06, 2022, 09:24:56 pm »
With this and ignoredByAI I could turn all the robots in my maps, currently MCDs, into actual units.
The problem will be to draw all the animations...

Offline ivandogovich

  • Commander
  • *****
  • Posts: 2381
  • X-Com Afficionado
    • View Profile
    • Ivan Dogovich Youtube
Re: [DONE] Cosmetic units
« Reply #2 on: February 07, 2022, 04:41:25 pm »
With this and ignoredByAI I could turn all the robots in my maps, currently MCDs, into actual units.
The problem will be to draw all the animations...

Dang, I wish I could easily thumbs up this post!  Consider these a huge smile and a thumbs up!  Love all you do, Robin!