XCOM 2
35 ratings
Build-A-Dark-Event WOTC
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
173.459 KB
11 Dec, 2021 @ 1:41pm
9 May @ 11:12am
5 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
Build-A-Dark-Event WOTC

In 1 collection by h4ilst0rm
My XCOM 2 WOTC Mods
14 items
Description
This mod is a tool to build your own personal dark events with just a bit of config.
More accurately, I made this in spirit of [WOTC] More Dark Events: Enemy Abilities which does a great job of spicing up the game with new abilities. Unfortunately there aren't that many new ones and I was left longing for more.

This mod is limited to creating Dark Events that grant additional abilities as those are in my opinion the most interesting ones.
As is, this mod provides 1 (one) new Dark Event that serves as an example on how to set up your own. The configuration for new events and instructions on how to do it are in XComAbilityDarkEvents.ini.

This mod does not change the AI enemies use to select their actions, so the more complicated abilities will most likely never be used even though they are granted. There is no way to account for everything, so I left it at that. To get the most out of this without doing AI changes, favour purely passive abilities and abilities that do not require user input.

Special Thanks
TePª for creating the glorious preview image.
Popular Discussions View All (2)
34
6 Jun, 2022 @ 1:02pm
Dark events and Ideas!
Vulpsune
6
14 Jul, 2022 @ 10:16pm
Dark Event are not working in game
TheProtofire
15 Comments
h4ilst0rm  [author] 14 Jul, 2022 @ 4:43am 
Sorry it took this long. I saw Crazyduck's message but completely forgot about it...
There was indeed a problem with the ApplyChance, it was working the wrong way around i.e. 100 meant it never applies. It should now be fixed.
TheProtofire 13 Jul, 2022 @ 5:32pm 
I have a similar problem as Crazyduck. I cannot activate the abilities themselves but everything else works. I don't have any error messages in my logs. I posted my config in the discussion. Maybe someone could take a look at it and help me.
Crazyduck 8 Jun, 2022 @ 2:43pm 
Maybe someone can help me with this. I created some dark events, they do appear in game, have proper localisation etc. However when activated they fail to apply abilities themselves, I checked the log.

For example Sectoid dark event:

+AbilityDarkEvents=( DarkEventID = "Premonition", \\
Abilities[0] = (AbilityName="Shadowstep", ApplyToWeaponSlot=eInvSlot_Unknown), \\
Img = "img:///UILibrary_MPCards.MPcard_Sectoid", \\
AffectedUnits[0] = "Sectoid", \\
bInfiniteDuration=true,\\
ApplyChance=100,\\
MinFL = 8 \\
)

And that what launch log says:
...
[0016.52] AbilityDarkEvents: Created GrantDarkEventAbility_Premonition
...
[0017.18] AbilityDarkEvents: Created AbilityDarkEvent_Premonition
...
[0082.73] AbilityDarkEvents: Not Affected Sectoid
[0082.73] AbilityDarkEvents: Failed apply chance Shadowstep

What can be the reason for that?
Stukov81-T.TV 22 May, 2022 @ 12:43am 
Thanks to h4ilst0rm you need no programming skills at all. I can't write a single line of code, but still i could make almost a hundred new dark events. H4ailst0rm provided us here with all the coding stuff done allready
Zaku II (Alias WatcherZigzagoon) 21 May, 2022 @ 7:13pm 
As cool as the idea of creating my own dark events sounds, I'm not a programmer, so this well beyond my level of capabilities :SadOtus:
h4ilst0rm  [author] 24 Apr, 2022 @ 10:16am 
ApplyChance = 60 means every soldier has a 60% chance to get it, so its entirely possible to get it on all soldiers or on no-one
TheProtofire 24 Apr, 2022 @ 6:12am 
I don't if this is still being worked on, but I'm running into a problem with a dark event I made. I made a DE where all XCOM soldiers get the Chosen's high ground weakness. When I launch a mission, some people have the icon and the weakness applies, but it's completely random who gets it. One squad everyone has the weakness. Then next mission nobody does.

+AbilityDarkEvents=( DarkEventID = "DE_XCOM_HeightWeakness", \\
Abilities[0] = (AbilityName="SoftHead"), \\
Abilities[1] = (AbilityName="ChosenGroundling"), \\
Img = "img:///UILibrary_StrategyImages_SF.TECH_Experimental_Rounds", \\
AffectedUnits[0] = "Soldier", \\
ApplyChance = 60, \\
MinFL = 1 \\
)
Stukov81-T.TV 25 Dec, 2021 @ 7:19am 
Could there be a time in the future where the config allows to make "groups" of enemies similar to Advent not created equal?
Skarsatai 2.0 15 Dec, 2021 @ 5:51am 
@kitsune. thank you. very well. I did not know that users can do this. I am looking for more dark events like "alien side goals" which is not compatible with COVERT Infiltration. But every additional dark event is more than welcomed!
Vulpsune 14 Dec, 2021 @ 7:32pm 
@Skarsatai 2.0
I put one up for people to use.