Xcom 2 War of the Chosen

Spazi

Noobzor
Sep 4, 2017
14
0
1
#81
maa post_id=17000 time=1504862240 user_id=1064 said:
Spazi post_id=16861 time=1504653633 user_id=8324 said:
Since there were no real solution for our IDs difference, I completely rewrote the soldier skills retrieval script. Now I get the IDs directly from the game, by searching for a name correspondance (and other things for duplicates cases).
Tell me if it works for you.
The first time take ~10 seconds on my PC

EDIT1: Bugfix, "Get all skills" script working, and code rewriting for less ugliness
EDIT2: Corrected "All skills" for Rangers
why results doesn't save?
I changed all skills and character params, saved the game, try to go mission and game crash. Start game again, load last saved game and there is no changes with my solder. How to save changes?
Follow this guideline and it should work :

For All your soldiers, one at a time do :
- Change their skills
- Change their nickname
(- Change nickname back to what it was)

Then, Save your game, quit game, and Load. All your modifications should have been saved thanks to the nickname trick
 
Mar 3, 2017
47
0
6
#83
Hi, which table should i use? Edit 6 from the first post or edit 3 from Spazi's one? Tried edit 6 but couldn't change anything. Thank you.
 

williamcll

Novice Cheater
May 11, 2017
15
0
1
#84
Akulio post_id=17080 time=1504973755 user_id=370 said:
Hi, which table should i use? Edit 6 from the first post or edit 3 from Spazi's one? Tried edit 6 but couldn't change anything. Thank you.
There's also dickfacemccunt's version, since that's the latest you should try that out as well.

EDIT: Game seems to crash everytime I try to save after changing some stats, especially the unlock all skill function, I recommend going into a game first before saving.
 
Sep 1, 2017
13
0
1
#85
Spazi post_id=17020 time=1504885918 user_id=8324 said:
Follow this guideline and it should work :

For All your soldiers, one at a time do :
- Change their skills
- Change their nickname
(- Change nickname back to what it was)

Then, Save your game, quit game, and Load. All your modifications should have been saved thanks to the nickname trick
Should we change the skill type too? Because different skills have different values, 0, 2, and 3 as I saw.
Or just ignore skill type?
 
May 22, 2017
8
0
1
#86
Kaixa post_id=17228 time=1505185508 user_id=8232 said:
Spazi post_id=17020 time=1504885918 user_id=8324 said:
Follow this guideline and it should work :

For All your soldiers, one at a time do :
- Change their skills
- Change their nickname
(- Change nickname back to what it was)

Then, Save your game, quit game, and Load. All your modifications should have been saved thanks to the nickname trick
Should we change the skill type too? Because different skills have different values, 0, 2, and 3 as I saw.
Or just ignore skill type?
From my experience to avoid the crash, you have to match the value as well, for example guardian 0, serial 2, run and gun 0 ( have a look at your particular soldier that already have the skill to identify the value). Second thing is once you modified the skill make sure you go to training centre and learn that ability using the ability point instead of just changing them without learning it.
 

Shiren

Novice Cheater
Apr 23, 2017
21
0
1
#88
During my test changing soldier abilities mess up with the game loaded modules, sometimes causing crash when loading next mission, considering that right now this game is already unstable on load and crash on certain mission load are relatively common, expect trouble when doing so and just save/reload, i also fully changed a skill tree including already learned skills without other issues

Saw how non-standard abilities are not present in the list, like the avatar mind control ability to replace domination, adding those ability name in the list in this table still do not allow such abilities to be retrieved, would be possible to modify this table to do so? Static ID values work but i rather having a dynamic read if possible

@williamcll
Not included in this table, just use console command or edit .ini for new campaign
 
May 22, 2017
8
0
1
#89
i just found something on default class data ini at xcom folder for ranger class
ExcludedAbilities="LightningReflexes" ; prevent conflict with Shadowstep
ExcludedAbilities="EverVigilant" ; prevent conflict with DeepCover

so i reckon if you give evervigilant to ranger the game will crash when you launch mission.
 

Zeribos

What is cheating?
Sep 13, 2017
2
0
1
#90
Not sure where to ask but I've been trying to edit the DLC config values from alien hunters and shen's last gift but they don't reflect in game tried deleting logs,configs from documents even reinstalling the game and reediting using note++ but they dont show would be nice if the table had a value to edit those weapons or someone has more knows what went wrong with it the config from WotC seem to be working not sure what's bugging the DLCs though any response is appreciated.
 

Shiren

Novice Cheater
Apr 23, 2017
21
0
1
#91
lexlim86 post_id=17293 time=1505278327 user_id=5517 said:
i just found something on default class data ini at xcom folder for ranger class
ExcludedAbilities="LightningReflexes" ; prevent conflict with Shadowstep
ExcludedAbilities="EverVigilant" ; prevent conflict with DeepCover

so i reckon if you give evervigilant to ranger the game will crash when you launch mission.
Nope, classes do not conflict with any abilities, it's certain abilities that having the same trigger may freeze your battle in certain condition, for reference All my soldiers have "Ever Vigilant", i consider it a must, and the map are stable, just replace "Deep Cover" with something else

To identify conflicting abilities, simply check what is the trigger, if it is the same it will probably conflict, example:

Deep Cover/Ever Vigilant = Both trigger automatically when turn is over and no other action then moving has been taken, either avoid ending the turn in cover to trigger the deep cover ability, or even better don't use them together on the same soldier

Hunter Protocol/Overwatch = If hunter protocol trigger while a new pod activate and the unit is in overwatch, the script may freeze, this one is tricky because it could happen even on vanilla game with no modification

Shadowstep/Lightning Reflexes = Both trigger when a unit attempt to run over the line of sight of an enemy that have overwatch active, Shadowstep prevent the activation, while Lighting Reflexes does trigger it but it will automatically miss, the first shot at least. Using them together may freeze the script in the slowdown effect permanently, forcing a reload

Those are the one that come to mind at least, also certain abilities are deeply tied to a certain weapon and do not work with any other, for example the skirmisher "Return Fire" ability do not work unless the unit wield their bull up rifle, it should trigger with any main weapon but it doesn't, "Interrupt" also seems to not work with other units different then a skirmisher, or maybe it's the bull up rifle again, "Serial" on sparks sometimes cause curious glitches, like not correctly anding turns
 

Shiren

Novice Cheater
Apr 23, 2017
21
0
1
#92
Zeribos post_id=17304 time=1505294977 user_id=8515 said:
Not sure where to ask but I've been trying to edit the DLC config values from alien hunters and shen's last gift but they don't reflect in game tried deleting logs,configs from documents even reinstalling the game and reediting using note++ but they dont show would be nice if the table had a value to edit those weapons or someone has more knows what went wrong with it the config from WotC seem to be working not sure what's bugging the DLCs though any response is appreciated.
What exactly are you tring to edit, i changed both the alien hunter dlc weapons and the sparks one with no problem, are you sure to edit the right ones?

Alien Hunter Weapons .ini = XCOM 2 War of the Chosen\XCom2-WarOfTheChosen\XComGame\DLC\DLC_2\Config\XComGameData_WeaponData
Sparks .ini = XCOM 2 War of the Chosen\XCom2-WarOfTheChosen\XComGame\DLC\DLC_3\Config\XComGameData_WeaponData
 
Sep 4, 2017
14
0
1
#93
Shiren post_id=17275 time=1505263560 user_id=3582 said:
During my test changing soldier abilities mess up with the game loaded modules, sometimes causing crash when loading next mission, considering that right now this game is already unstable on load and crash on certain mission load are relatively common, expect trouble when doing so and just save/reload, i also fully changed a skill tree including already learned skills without other issues

Saw how non-standard abilities are not present in the list, like the avatar mind control ability to replace domination, adding those ability name in the list in this table still do not allow such abilities to be retrieved, would be possible to modify this table to do so? Static ID values work but i rather having a dynamic read if possible

@williamcll
Not included in this table, just use console command or edit .ini for new campaign
There are 3 Mind Control abilities, so if you just look for "Mind Control", you'll find the normal one
Are you looking for the id 106788 one ? :
Mind Control:Mind Control:XComGame.X2Ability_PsiWitch:63:///UILibrary_PerkIcons.UIPerk_adventpsiwitch_mindcontrol
 

Kuraiholy

What is cheating?
Mar 19, 2017
3
0
1
#94
Confirmed on the nickname change. I set them all to a certain level, clicked the box, then cycled through, renaming each one's nickname then naming it back. Was able to save and continue and start the next game without crashing.
 

Shiren

Novice Cheater
Apr 23, 2017
21
0
1
#95
Did some more testing on abilities, and found out why some abilities didn't work, i had set the wrong type, basically this game seems to have 3 types of abilities

0 = Passive
2 = Attached to, trigger with main weapon (Serial, Saturation Fire, Killzone)
3 = Attached to, trigger with secondary weapon (Fan Fire, Lightning Hands, Return Fire/Sniper)

By mistake i set the ability "Face Off" with type 2, my sniper shot everyone with his rifle without consuming ammo, potentially "Fan Fire" could do the same, or "Lightning Hands" as well, need more testing, tempting but broken as fuck

@Spazi
Thanks, i resolved finding the ID on new psy units and switching statically but this is much better

Does anyone known if the ability called "AvatarImmunities" actually do something?
I attempted to add it to all squaddie classes and it does indeed appear, also no mental effect seems to work on them, beside the chosen daze, the ability "Solace" of psy operative also grant immunity to daze, so not sure if was luck that nothing else affected my troops, or that "AvatarImmunities" aka Mental Fortress actually work, but daze was left out on purpose for some reason, maybe in case the chosen are still alive in the final map and you have to defeat them? I always reached the end with all 3 dead, they talk too much and i just, need, to, End Them
 
Sep 4, 2017
14
0
1
#96
Shiren post_id=17367 time=1505344694 user_id=3582 said:
Did some more testing on abilities, and found out why some abilities didn't work, i had set the wrong type, basically this game seems to have 3 types of abilities

0 = Passive
2 = Attached to, trigger with main weapon (Serial, Saturation Fire, Killzone)
3 = Attached to, trigger with secondary weapon (Fan Fire, Lightning Hands, Return Fire/Sniper)

By mistake i set the ability "Face Off" with type 2, my sniper shot everyone with his rifle without consuming ammo, potentially "Fan Fire" could do the same, or "Lightning Hands" as well, need more testing, tempting but broken as fuck

@Spazi
Thanks, i resolved finding the ID on new psy units and switching statically but this is much better

Does anyone known if the ability called "AvatarImmunities" actually do something?
I attempted to add it to all squaddie classes and it does indeed appear, also no mental effect seems to work on them, beside the chosen daze, the ability "Solace" of psy operative also grant immunity to daze, so not sure if was luck that nothing else affected my troops, or that "AvatarImmunities" aka Mental Fortress actually work, but daze was left out on purpose for some reason, maybe in case the chosen are still alive in the final map and you have to defeat them? I always reached the end with all 3 dead, they talk too much and i just, need, to, End Them
The "0,2,3" comes from "ApplyToWeaponSlot" in DefaultClassData.ini. I think I'll update my table to add in the description the "standard" type, since there is no way that I found to retrieve that information from the ability. That's why they defined it in the ini of the classes and not the ability in the first place I think.
But I'd like to finish finding how soldier loadout works first ^^


If you plan to edit more the ability list, just for information if you don't already know, my lua variable "abilityarrayptr" (or "abilityarrayptraob") point to a "T2SkillArray" structure, which is an array, and each cell (of size 0x18 (24 in decimal)) have a pointer to a "T2Skill" pointer
So just run the LUA script :
Code:
index = 0
--abilityarrayptr = abilityarrayptraob
while readInteger(abilityarrayptr .. '+$' .. (index*24) .. '+4') == 0 do
    print(index .. " -> " .. findNameByIndex(index) .. " at address " .. string.format('%x', readQword(abilityarrayptr .. '+$' .. (index*24) .. '+8')))
    index = index + 1
end
(Change abilityarrayptr with abilityarrayptraob if you used BETA2, and uncomment line 2)
And use the cheat engine structure dissect to the address of the ability you want, of type "T2Skill". You'll find there all the info to create the string I gave you for "Mind Control" for example
 

Zeribos

What is cheating?
Sep 13, 2017
2
0
1
#97
Shiren post_id=17313 time=1505301568 user_id=3582 said:
Zeribos post_id=17304 time=1505294977 user_id=8515 said:
Not sure where to ask but I've been trying to edit the DLC config values from alien hunters and shen's last gift but they don't reflect in game tried deleting logs,configs from documents even reinstalling the game and reediting using note++ but they dont show would be nice if the table had a value to edit those weapons or someone has more knows what went wrong with it the config from WotC seem to be working not sure what's bugging the DLCs though any response is appreciated.
What exactly are you tring to edit, i changed both the alien hunter dlc weapons and the sparks one with no problem, are you sure to edit the right ones?

Alien Hunter Weapons .ini = XCOM 2 War of the Chosen\XCom2-WarOfTheChosen\XComGame\DLC\DLC_2\Config\XComGameData_WeaponData
Sparks .ini = XCOM 2 War of the Chosen\XCom2-WarOfTheChosen\XComGame\DLC\DLC_3\Config\XComGameData_WeaponData
The weapon and armor values but in game the values stay the same don't have this problem when editing the main game values though.
 

Shiren

Novice Cheater
Apr 23, 2017
21
0
1
#99
yoco post_id=17413 time=1505406321 user_id=414 said:
Hey! Can someone tell me how do I increase soldiers HP?
It's in the stat edit?

All core stat have three values, just edit all three and done, there are a few things to know however:
- Shields do not appear unless the armor already give at least 1, look for mods for that, and the shield granted through this table do not regenerate changing maps, it's 1 time shot only, probably best ignore

-Piercing armor stat just doesn't seems to work

-Psy is useless unless the soldier use psy abilities, will is the proper defense for those, or mod the game to have all character mind shield by default
 
Sep 18, 2017
5
0
1
For some reason, attempting to use any of the tables just results in an access error pop up message.
 
Top Bottom