OpenXcom Forum

OpenXcom Forks => OpenXcom Extended (OXCE) => OXCE Support => Topic started by: Nord on July 05, 2017, 06:57:25 pm

Title: [Answered] Not spawning soldiers in forbidden armors
Post by: Nord on July 05, 2017, 06:57:25 pm
Hello again.
Small question, dont know about OXCE or OXCE+ it is.

If we want our units to change their armor we use
Code: [Select]
startingConditions:
...
    defaultArmor:
      STR_SOLDIER:
        STR_NONE_ARMOR_UC: 100
    allowedArmors:
      - STR_MAGNETIC_ION_ARMOR_UC
So all except mag-ion will transform.
But if we dont want units in other types of armor to spawn at all, what we do?
Title: Re: Non-allowed armor
Post by: Meridian on July 05, 2017, 07:09:08 pm
But if we dont want units in other types of armor to spawn at all, what we do?

That's currently not possible.
All soldiers will always spawn.

It's easy to make them not spawn, but how would you explain this to the player?
And what if nobody spawns? Do you just lose a mission?
Title: Re: Non-allowed armor
Post by: Nord on July 05, 2017, 07:29:04 pm
Yup, only way i see is geoscape message, like "Your squad suits doesnt fit that mission"...