XCOM 2
59 vurderinger
[WOTC] Redefine Units
   
Utmerkelse
Favoritt
Favoritter
Fjern som favoritt
Filstørrelse
Lagt ut
Oppdatert
221.291 KB
27. juli 2019 kl. 7.10
12. nov. 2019 kl. 12.49
6 endringslogger ( vis )

Abonner for å laste ned
[WOTC] Redefine Units

I 1 samling av Boundir
Make Your Own Game
26 gjenstander
Beskrivelse
Description

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

Variables

TemplateName - String
Optional - Name of the template modified.

GroupName - String
Optional - Name of the character group name being modified.

IsWeakToBluescreen - Bool
Optional - Change whether or not this unit will be weak to Bluescreen, Emp...

IsPsionic - Bool
Optional - Change whether or not this unit will be psionic.

IsHiddenFromShadowChamber - Bool
Optional - Change whether or not this unit will be hidden from Shadow Chamber.

IsImmueToFalling - Bool
Optional - Change whether or not this unit will take damage from falling.

IsRobotic - Bool
Optional - Change whether or not this unit will be robotic.

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

IsAlien - Bool
Optional - Change whether or not this unit will be alien.

IsCivilian - Bool
Optional - Change whether or not this unit is a civilian.

IsHostileCivilian - Bool
Optional - Change whether or not this unit is an hostile civilian.

CanBeCarried - Bool
Optional - Change whether or not this unit can be carried when incapacitated

IsAfraidOfFire - Bool
Optional - Change whether or not this unit will panic when set on fire - only applies to flamethrower

CanTakeCover - Bool
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.

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

StatModifiers - Array
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?

Populære diskusjoner Vis alle (1)
0
12. nov. 2019 kl. 12.30
FESTET: Customize Stats
Boundir
27 kommentarer
Boundir  [skaper] 5. nov. 2022 kl. 7.17 
Fixed. Thank you
Kemui⊗52 5. nov. 2022 kl. 6.44 
Good call on the log. Looks like the example you provide in the Customize Stats discussion is wrong. It should be StatModifiers with an s at the end. Things are working as expected now, appreciate it.
Boundir  [skaper] 5. nov. 2022 kl. 1.59 
I don't see anything wrong. Are you seeing the change being applied in the logs?
Kemui⊗52 4. nov. 2022 kl. 19.59 
I'm trying to use multiplayer variants of aliens, and I want to buff their health to their tier 3 counterparts. However, I can't get their stats to change. Is there something wrong with this line? I've isolated the mod and tried the RunOrder thing, but it still never works.

+Characters=(TemplateName=AdvTrooperMP, StatModifier=((Stat=eStat_HP, Set=8)))
Boundir  [skaper] 1. nov. 2020 kl. 4.05 
If two mods change the same template with the same method (and the same values) you will only see the effect from one.
Fortunately we now have some kind of control over that with the Highlander.
In XComGame.ini copy this:

[RedefineUnits CHDLCRunOrder]
RunPriorityGroup=RUN_LAST

If it's not enough you will have to find the mod that is causing you trouble.
Qurila 31. juli 2020 kl. 3.05 
@Boundir

Just tested it in Skirmish. It seems that another mod is interfering. Because when I deactivated everything else it worked.
Boundir  [skaper] 31. juli 2020 kl. 2.12 
@Qurila,
Should be good. I'm not sure if it will apply on ongoing mission. Better use Skirmish in those cases.
Qurila 31. juli 2020 kl. 0.32 
@Boundir

I'm trying to count Sectoids as Humanoids so Justice will work on them. Only it's not working for them yet.
I've been inputting:

[RedefineUnits.OPTC_Characters]
+Characters=(GroupName=Sectoid, IsHumanoid=true)
+Characters=(TemplateName=Sectoid, IsHumanoid=true)

I'm testing it in an ongoing mission (but have also called up new units via ConsoleCommand) Will the changes not be applied in this case?
Kiruka 30. okt. 2019 kl. 6.08 
@Boundir Thanks for the update! Now the aliens in RealityMachina's playable aliens mod can actually count as, well, aliens.
Boundir  [skaper] 29. okt. 2019 kl. 3.15 
@Kiruka
Good one 👍
Will add IsAlien and IsHumanoid for the next update.