OpenXcom Forum

OpenXcom Forks => OpenXcom Extended (OXCE) => OXCE Suggestions DONE => Topic started by: Meridian on February 04, 2022, 03:01:46 pm

Title: [DONE] Cosmetic units
Post by: Meridian 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
Title: Re: [DONE] Cosmetic units
Post by: robin on February 06, 2022, 09:24:56 pm
With this and ignoredByAI (https://openxcom.org/forum/index.php/topic,10353.0.html) I could turn all the robots in my maps, currently MCDs, into actual units.
The problem will be to draw all the animations...
Title: Re: [DONE] Cosmetic units
Post by: ivandogovich on February 07, 2022, 04:41:25 pm
With this and ignoredByAI (https://openxcom.org/forum/index.php/topic,10353.0.html) 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!