[WOTC] Redefine Units

If you liked this item, please rate it up on Steam Workshop page.

Author: Boundir

Last revision: 12 Nov, 2019 at 20:49 UTC (1)

File size: 216.06 KB

On Steam Workshop

Description:
Description

This mod allows you to change some options from units.
Modify XComRedefineUnits.ini to do so.

Variables

TemplateNameString
Optional – Name of the template modified.

GroupNameString
Optional – Name of the character group name being modified.

IsWeakToBluescreenBool
Optional – Change whether or not this unit will be weak to Bluescreen, Emp…

IsPsionicBool
Optional – Change whether or not this unit will be psionic.

IsHiddenFromShadowChamberBool
Optional – Change whether or not this unit will be hidden from Shadow Chamber.

IsImmueToFallingBool
Optional – Change whether or not this unit will take damage from falling.

IsRoboticBool
Optional – Change whether or not this unit will be robotic.

IsHumanoidBool
Optional – Change whether or not this unit will be humanoid. Added for targeting. Only ExludeNonHumanoidAliens uses it. 2 Aliens specify humanoid, Spectre and Codex.

IsAlienBool
Optional – Change whether or not this unit will be alien.

IsCivilianBool
Optional – Change whether or not this unit is a civilian.

IsHostileCivilianBool
Optional – Change whether or not this unit is an hostile civilian.

CanBeCarriedBool
Optional – Change whether or not this unit can be carried when incapacitated

IsAfraidOfFireBool
Optional – Change whether or not this unit will panic when set on fire – only applies to flamethrower

CanTakeCoverBool
Optional – Change whether or not can take cover. By default should be true, but certain large units, like mecs and andromedons, etc, don’t take cover, so set to false.

WearArmorInBaseBool
Optional – Change whether or not this unit should wear their full armor around the base instead of an underlay.

StatModifiersArray
Optional – Can change stats from units. See discussion here.

Usage

Can be used by other mods to create modify units by adding XComRedefineUnits.ini to the mod config.
Can be used by anyone willing to tweak his game even more.

Examples:
Those are examples with vanilla enemies

[RedefineUnits.OPTC_Characters] +Characters=(TemplateName=Gatekeeper, IsWeakToBluescreen=true) +Characters=(GroupName=Gatekeeper, IsWeakToBluescreen=true) +Characters=(TemplateName=Sectoid, IsPsionic=true) +Characters=(TemplateName=ArchonKing, IsHiddenFromShadowChamber=true) +Characters=(TemplateName=Archon, IsImmueToFalling=true) +Characters=(TemplateName=AdvMEC_M1, IsRobotic=true)
  • Gatekeeper is not Robotic but is weak against Tech (Bluescreen, EMP).
  • All Characters from Gatekeeper group are not weak against Tech (Bluescreen, EMP).
  • Sectoid is a Psionic unit.
  • Archon King will not show in the Shadow Chamber informations.
  • Archon won’t take damage from falling.
  • MEC is a Robotic unit and can be hacked.

Compatibility

It should be compatible with everything.

Troubleshooting

https://www.reddit.com/r/xcom2mods/wiki/mod_troubleshooting
Mods not working properly / at all
Mod not working? Mods still have their effects after you disable them?

Download
Revisions:

Old revisions of this mod are available below. Click the link to download.