XCOM 2
1,645 ratings
WOTC Flawless
2
2
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
8.769 MB
3 Sep, 2017 @ 7:27am
24 Feb, 2019 @ 7:57am
5 Change Notes ( view )

Subscribe to download
WOTC Flawless

Description
Original version can be found at:
http://sp.zhabite.com/sharedfiles/filedetails/?id=729580495


Currently, if you complete a mission with no fatalities and no damage received, you receive
a Flawless rating ( i.e., a pat on the back for a job well done).

This mod gives the player an additional reward, above and beyond the usual reward for the
mission in the form of Resources, Common Items, and Rare Items.

This mod has also integrated the Achievement System mod logic, and supports a number
of achievements related to completing a mission with a flawless rating.

An additional reward system has been added for terror missions. You now have a chance
to receive a new Rookie recruit as a reward for job well done on terror missions.

CONFIGURABLE LOOT TABLES

You can change the values in
Steam\SteamApps\workshop\content\268500\1127174933\Config\XcomFlawless.ini.

ResourceLootTable - specifies a list of resources you can receive.

Each entry is of the form:
TemplateName,Min Reward Amount,Max Reward Amount

There must be at least one item in the list. No spaces allowed.
The sequence numbers must be continuous from 0 to the max index.


ItemLootTable - specifies a list of common items you can receive.

Each entry is of the form:
TemplateName

There must be at least one item in the list.
The sequence numbers must be continuous from 0 to the max index.


RareItemLootTable - specifies a list of rare items you can receive.

Each entry is of the form:
TemplateName

There must be at least one item in the list.
The sequence numbers must be continuous from 0 to the max index.

ChanceForItemLoot- specifies the percentage chance
of getting an item reward. Default 20.

ChanceForRareItemLoot- specifies the percentage chance
of getting a rare item reward. Default 5.


Adding an Item to the Loot Table

Most template names can be found in
Steam\SteamApps\common\XCOM 2\Development\SrcOrig\XComGame\Classes
in files beginning with "X2ItemDefault". I make no guarantees
that all templates will work, so modify at your own risk.
Templates from other mods will *probably* work, but again
try at your own risk.

NOTE: Do not completely remove any of the loot tables or ...
"Bad Things May Happen" (tm). The code will not correctly handle
missing lists, it needs at least 1 item present.

To completely turn off item rewards, you will need to set both
ChanceForItemLoot and ChanceForRareItemLoot to zero.


ACHIEVEMENTS
This mod has been changed to support Achievements. To enable
achievements, you will need to download the "Mod Achievement System" at:
http://sp.zhabite.com/sharedfiles/filedetails/?id=729577219

This other mod is not required to run Flawless - just to enable
the achievement portion.

NOTE: I have not been able to get the Achievements to work
correctly with an existing campaign. You may need to start a new
campaign. Any issues with achievements will need to be directed
to the author of the Mod Achievement System.


TERROR MISSION REWARDS

This mod now gives a random Rookie as a reward for doing well on a terror mission.
You start out with a 20 percent chance of getting this reward if you save the minimum 6 people.
Every person beyond that adds to your percent chance, all the way up to 100% if you save everyone.
An associated achievement has also been added for when you recieve a Rookie reward.

Configuration:
GiveTerrorRewardFlag: Turns this reward on/off. Default value Y.
BaseTerrorRewardChance - the base percent chance of getting this reward when you save the
minimal 6 people. Default value = 20.

REWARD MESSAGES

A sequence of reward messages can be found in
Steam\SteamApps\workshop\content\268500\1127174933\Localization\WotcFlawless.int.
They are specified in an array called
RewardVerbiage[x].

Each message has a prefix of the form [IMAGENAME] to specify which image will appear with the message,
see the comments in the WotcFlawless.int localization file for details.

If you get bored with the existing messages, and feel creative, you
can add to the list or change existing messages.
Just be sure the sequence numbers are unbroken
from 0 to the max sequence number.

ABILITY POINT REWARD

Set this value to N to turn off the ability point reward.
GiveAbilityPointRewardFlag=Y

Set this value to specify the range of ability points that can be awarded. ( in this case between 2 to 4 points can be awarded )
AbilityPointReward=2,4



IMPORTANT:
Be sure to make a backup of your config file after you make changes.
I anticipate having to make additional changes to either loot
table entries or logic, and republishing will overwrite any changes
you've made.

Credits
Images for the reward messages provided by neIVIesis. Much thanks for his idea on implementing this change
and working on the images.


Compatibility
No Class Overrides


Updates

9/13/2017 Added additional ability point reward. Additional reward text.
7/13/2018 Changed code to allow compatibity with mods which override UIMissionSummary.
2/24/2019 Changed code to allow a unique image to appear for each reward message. Changed the Julian reward message to only appear after the tower mission.





Popular Discussions View All (9)
1
7 Apr, 2024 @ 10:42am
Traduccion Español
vmbujeda
1
21 May, 2024 @ 7:43am
Traditional Chinese Localization(正體中文翻譯)1127174933 - WotcFlawless
woodydaisy
1
16 Feb, 2022 @ 1:17pm
Nerfed Flawless Rewards
[DBH].Whismerhill.{SSgt}
230 Comments
Gerarderloper 5 Jun @ 6:15pm 
Maybe its looking for Frost Legion AMMO mods or something. I do have Bitterfrost Protocol but not frost legion I don't think.
Gerarderloper 5 Jun @ 6:13pm 
Error creating specified reward. : MZFD_Cryolite, I see stuff like this sometimes.
krj12 (Ken)  [author] 29 May @ 3:46pm 
They broke the elerium core reward with one of their patches, never could figure it out.
Vlain 29 May @ 9:29am 
Yeah, I've noticed the Elerium Core rewards not showing up. That's the only thing I've noticed not working. As it stands, I can just use console commands to add them when they drop, but I hope you're able to find a fix.

Thanks for the mod!
SevenKungz 29 May @ 5:06am 
is there a way to add addition reward? like i want loot table for intel,supplie + i want item at the same time

you got
intel ... (100% change)
SPC AGI (20% change)
AP point ... (100% change)

something like this
krj12 (Ken)  [author] 12 May @ 4:16pm 
get my mod "Make Heals Persist". .It makes getting Flawless much easier.
Shuri-Sama 12 May @ 7:53am 
u only get rewarded if u dont get wounded (which is nearly impossible later). can u make the reward depends on the mission ranking?
Penril 26 Apr @ 4:30pm 
Is there a way to edit the Rookies you receive as a reward from Terror Missions, so as they only come from the Character Pool?
neur0n23 5 May, 2024 @ 11:50am 
Hi @krj12 (Ken) - thanks for your mod, using it at every LWOTC playthrough and having a blast!
I encountered a small problem while running another mod https://sp.zhabite.com/sharedfiles/filedetails/?id=3041671449 - and it breaks the Images showing at the end of Mission when Flawless triggers.

Do you have any suggestions where to dig to fix this? As far as I know - the other mod also tries to open a text box at the end of mission, albeit - it should trigger much later in the game once all soldiers are max rank (8 in LWOTC).

Since I really like the images shown by your mod - I am on a quest to fix this. Any suggestions on where to look to fix this? Cheers man!
Bir Dilim Ekmek 2 Feb, 2024 @ 10:50am 
PERCENT CHANCE TO GET ITEM LOOT
ChanceForItemLoot=0
ChanceForRareItemLoot=0

I make this settings but nothing changed. I also delete inside the other config folders. Also i play with LWOTC.

What can i do for now?