XCOM 2
181 ratings
WOTC Flawless
 
Rate  
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
0.336 MB
Sep 3 @ 7:27am
Sep 13 @ 2:56am
2 Change Notes ( view )

Subscribe to download
WOTC Flawless

Subscribed
Unsubscribe
Description
Original version can be found at:
http://steamcommunity.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://steamcommunity.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].

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.



Compatibility
No Class Overrides


Updates

9/13/2017 Added additional ability point reward. Additional reward text.





< >
48 Comments
KarolineDianne Oct 15 @ 9:21am 
In fact, I seem to never actually receive Elerium Cores when it says I should, may want to look into that.
KarolineDianne Oct 14 @ 7:37pm 
got a 'did so well they had spare time for extracurricular treasure hunting' reward, which told me they looted 2 Elerium Cores. They never actually showed up in my inventory.
Hu Flung Dung Oct 6 @ 10:17pm 
Yeah defo conflicts with Nice debrefing mod.
Spideywulf Oct 3 @ 7:24am 
Installed Nice Debrefing Mod,seems to have overwritten your mod and now ,it no longer works.:-(
sebkulu Sep 29 @ 8:52am 
Hi dude, I just made a french localization for your mod.
Here it is: https://www.dropbox.com/sh/30k916pklzamdo2/AACiHO896umiGtAEoN6d2ogia?dl=0
krj12  [author] Sep 26 @ 4:55am 
A class override isnt "bad" per se, it just adds to the probability of having conflicts with other mods which might override the same class.
Mr. Bones Sep 26 @ 4:47am 
Huh, that's unfortunate. Could a mod activate and restore said logic? I don't know much about class overrides, but i'm guessing they're bad and lead to game instability
krj12  [author] Sep 26 @ 4:17am 
Unfortunately, to not count mind controlled units would require overriding yet another class. They actually have logic in there to filter them out - they just chose not to utilize it.
Mr. Bones Sep 26 @ 3:16am 
I adore this mod, it gives me an actual reason to strive for flawless rating, but what I still find incredibly annoying is that mind controlled and hacked ENEMIES still count as your men getting hit and ruin a flawless rating. Is there any way to make them not count? Surely they shouldn't, the whole point is that you've turned one of the enemies into a totally-expendable shock troop
HeadStrikeR ! Sep 15 @ 5:26am 
I used this mod for a while, it's great to get a reward for flawless missions. I modified the loot tables a bit, because it felt the standard settings make the game a tad too easy. Like facility missions should be excluded from the rewards imo, since you also can't take loot from these missions.

A suggestion for a future mod, if a soldier performs well in combat, gets many kills and isn't injured, there is a chance to get small boosts to your stats, like +1 health, +3 aim, etc. similar to the covertops. You could make it so that these boni are only available once per rank, or once per mission for one soldier only. That's just me brainstorming, but i bet you can make a mod like this.