[WOTC] Not So Fast

If you liked this item, please rate it up on Steam Workshop page.

Author: Fastrean

Last revision: 11 Jun, 2021 at 16:02 UTC

File size: 421.53 KB

On Steam Workshop

Description:

This Mod add an ability to Advent Officer.

When Advent Officer got killed and its not killed by SKULLJACK or SKULLMINE, it will have a chance to spawn a Codex.

When this Codex got killed and its not killed by SKULLJACK or SKULLMINE, it will have a chance to spawn a Avatar.

The ADVENT Officer has a chance to spawn Codex.

The Advanced Officer will has a chance to spawn Codex then chance to spawn Avatar.

The Elite Advent Officer will has a chance to spawn Codex then chance to spawn Avatar.

Any other kind of Advent Officers add by other mods, if their CharacterGroupName is ‘AdventCaptain’, then they will also has a chance to spawn Codex then chance to spawn Avatar.

The spawned Codex and Avatar should not affect the story line events, as they are new units.
javascript:ValidateForm()
The Spawn chance is a float number, it = game difficulty * DifficultyMultiplier + alien forcelevel * ForceLevelMultiplier + total completed missions * TotalMissionsMultiplier,

System random the MaxSystemRoll float number from 0 – 1.0 to compare the Spawn chance.

Those Multiplier are in the XComNotSoFastData.int, you can change them to twist the spawn chance.

[]

1. Add conditions to spawn:

Now it is set to if the skull jack Advent Captain task not complete, all kind of Captain wont spawn Codex.

Now it is set to if the skull jack Codex task not complete, Codex wont spawn Avatar.

these two condition can be change at XComNotSoFastData.int : bSKULLJACKCaptain, bSKULLJACKCodex

2. Change the method to add the spawn ability to the characters, Avatar should not has the spawn ability.

3. Add a condition to prevent the clone Codex spawn Avatar, it can be change at XComNotSoFastData.int.