XCOM 2

XCOM 2

55 hodnocení
[WOTC] Redefine Units
   
Ocenit
Přidat do oblíbených
Oblíbeno
Odebrat z oblíbených
Velikost souboru
Přidáno
Aktualizováno
221.291 KB
27. čvc. 2019 v 7.10
12. lis. 2019 v 12.49
Poznámky ke změnám (6) – zobrazit

Klikněte na „Odebírat“ pro stažení položky
[WOTC] Redefine Units

V 1 kolekci od uživatele Boundir
Make Your Own Game
26 položek
Popis
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ární diskuze Zobrazit vše (1)
0
12. lis. 2019 v 12.30
PŘILEPENO: Customize Stats
Boundir
Počet komentářů: 27
Boundir  [autor] 5. lis. 2022 v 7.17 
Fixed. Thank you
Kemui⊗52 5. lis. 2022 v 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  [autor] 5. lis. 2022 v 1.59 
I don't see anything wrong. Are you seeing the change being applied in the logs?
Kemui⊗52 4. lis. 2022 v 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  [autor] 1. lis. 2020 v 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. čvc. 2020 v 3.05 
@Boundir

Just tested it in Skirmish. It seems that another mod is interfering. Because when I deactivated everything else it worked.
Boundir  [autor] 31. čvc. 2020 v 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. čvc. 2020 v 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. říj. 2019 v 6.08 
@Boundir Thanks for the update! Now the aliens in RealityMachina's playable aliens mod can actually count as, well, aliens.
Boundir  [autor] 29. říj. 2019 v 3.15 
@Kiruka
Good one 👍
Will add IsAlien and IsHumanoid for the next update.