XCOM 2
Build-A-Dark-Event WOTC
17 Comments
Stukov81-T.TV 1 Aug @ 1:10pm 
Ai is tricky .. and is very difficult to do universally ... so any such thing would break with any other mod adjusting AI of the unit
[DG] Z Type Knight 1 Aug @ 12:40pm 
I'm pretty sure that, with AI modding, you CAN use this mod to create Dark Events that grant new active abilities to enemies. Such as giving Sectoids the Mind Control ability.
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.
h4ilst0rm  [author] 12 Dec, 2021 @ 3:24am 
I believe anyone should be able to start a discussion for that sort of thing.
If someone wants to publish pre-made configuration as a mod its not only allowed but encouraged.
Skarsatai 2.0 12 Dec, 2021 @ 3:10am 
Hi H4ilst0rm. Great mod. Can you open a discussion section here so that users can post their Dark events and Ideas to publish to others ?
h4ilst0rm  [author] 12 Dec, 2021 @ 12:54am 
Good idea, added in the option to add multiple abilities per DE. Any abilities should work given that you put in the correct Template name.
TheProtofire 11 Dec, 2021 @ 10:52pm 
I was just wondering. Can you put more than 1 ability in a dark event? Also, if I make a custom ability with something like this mod can I put that into a dark event?
TheProtofire 11 Dec, 2021 @ 7:30pm 
Thank you so much for this. Looking forward to trying it out next campaign :steamthumbsup: