XCOM 2
120 ratings
Everyone Gets Hunker Down WOTC
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
595.095 KB
Oct 16, 2018 @ 10:12pm
Mar 5, 2020 @ 7:21pm
8 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
Everyone Gets Hunker Down WOTC

Description
Gives the Hunker Down ability to all coverable units in game. That's it.

-= LIST OF UNITS / CUSTOMIZATION =-
Affects (Configurable in INI file):
C:\Program Files (x86)\Steam\steamapps\workshop\content\268500\1541012085\Config\XComAllowedUnitsNames.INI

0="AdvTrooperM1"
1="AdvTrooperM2"
2="AdvTrooperM3"
3="AdvCaptainM1"
4="AdvCaptainM2"
5="AdvCaptainM3"
6="AdvStunLancerM1"
7="AdvStunLancerM2"
8="AdvStunLancerM3"
9="AdvShieldbearerM2"
10="AdvShieldbearerM3"
11="AdvPsiWitchM3"
12="AdvPurifierM1"
13="AdvPurifierM2"
14="AdvPurifierM3"
15="AdvPriestM1"
16="AdvPriestM2"
17="AdvPriestM3"
18="AdvGeneralM1"
19="AdvGeneralM2"
20="AdvGeneralM3"
21="Sectoid"
22="Viper"
23="Muton"
24="Cyberus"
25="Andromedon"
26="SpectreM1"
27="SpectreM2"
28="ViperKing"
29="ViperNeonate"
30="AdventPSI"
31="AdvPSI2"
32="Civilian"
33="HostileCivilian"
34="SpectralStunLancerM1"
35="SpectralStunLancerM2"
36="SpectralStunLancerM3"
37="SpectralStunLancerM4"
38="ShadowbindUnit"
39="ShadowbindUnitM2"
40="VolunteerArmyMilitia"
41="VolunteerArmyMilitiaM2"
42="VolunteerArmyMilitiaM3"
43="CivilianMilitia"
44="CivilianMilitiaM2"
45="CivilianMilitiaM3"
46="ChosenWarlock"
47="ChosenWarlockM2"
48="ChosenWarlockM3"
49="ChosenWarlockM4"
50="ChosenSniper"
51="ChosenSniperM2"
52="ChosenSniperM3"
53="ChosenSniperM4"
54="ChosenAssassin"
55="ChosenAssassinM2"
56="ChosenAssassinM3"
57="ChosenAssassinM4"
58="NestCentral" (Bradford Bugfix)

The log file is pretty detailed if you need to debug your own custom units. Units who already have Hunker Down are listed here for completeness, but will not be affected.

-= COMPATIBLITY =-
Everything up to WOTC+TLP works with this. Do not use with LW2, use my legacy mod instead.

Supports Ashlynne's ADVENT Psi, both versions.

-= ALIENS VISUALIZATION =-
Aliens have bugged animations, so I made a version of Hunker Down that has no special animation, so the idle animation will be used. If you are a modder, i called it "HunkerDownNoAnim". It has the same effect and text as the original ability.

To know what version to give, this mod checks bIsAlien boolean. If set to true, the unit receives the NoAnim version.

-= KNOWN ISSUES =-
Aliens cannot benefit from DeepCover, the ability listener listens for HunkerDown specifically.

-= NOTES FOR AI =-
This is now a requirement for my AI packs. It works without this mod, but this mod brings additional functionality that is expected of units.

The base WOTC game will not use Hunker Down properly, this is not included in this mod. It only gives the ability itself, not how and when to use it to units. If you want units to use it, you need an AI mod. I suggest my own package of course, ADVENT Future+Blessings of the Elders+Wrath of the Chosen.
45 Comments
Gunter McGunt Aug 29, 2022 @ 11:39pm 
Don't think this words with LWOTC
ssomchay85 Apr 18, 2020 @ 10:49am 
Its missing Arnold's yelling GEHT DOHWN!
ADVENT Avenger  [author] Mar 5, 2020 @ 7:22pm 
"NestCentral" (Bradford) has been patched.
MrMister Feb 26, 2020 @ 12:05pm 
Golden oportunity to use a thumbnail of him looking at the icon and saying "What is this alien sorcery" for the mod.
ADVENT Avenger  [author] Feb 26, 2020 @ 10:47am 
Wow i thought hed have it by default. Gonna try and put that in!
MrMister Feb 26, 2020 @ 6:02am 
You know who still can't hunker down?

Bradford.

Got a purifier on the Alien Nest mission and he couldn't put out his own fire.
Lebowskichild Jun 28, 2019 @ 2:38pm 
Thank you for your gracious help my good sir.
ADVENT Avenger  [author] Jun 28, 2019 @ 2:36pm 
Editing AI is hard, i dont think you could just patch it in easily. But if you look inside my AI mods, do a search for HunkerDown inside XCOMAI.INI youll see the anti burning routine. Its only executed if it would kill the unit usually as anything else than hunkering is better. If they do it while not dying they only do it in groups.
Lebowskichild Jun 28, 2019 @ 2:34pm 
So it's possible, woo!

I don't suppose you could point me in the direction of the code which I could add to other mods to get the same effect.

I love so many of your mods however the incompatibility with other mods means using your AI overhaul mods a no go for me. :(
ADVENT Avenger  [author] Jun 28, 2019 @ 1:50pm 
My ai mods have fire hunker removal checks when it makes sense