Temporary solution of Solace bug
Posted: Tue Jun 06, 2017 7:44 pm
There is a bug that prevent a Psi Operative from leveling up once they finished learning Solace.
1. Exit the game.
2. In the Steam Workshop, Install RealityMachina's LW2 PsiOp BugFix.
3. Activate the mod, launch the game and load the save file.
4. Press ~ Button, and it will open up the Command Console.
And now there is command that grants a specific soldier an ability, but it requires a specific value that is distributed to that soldier and that is ObjectID. We need to find the ObjectID first.
5. Type one of these commands into the Command Console;
GetAll XComGameState_Unit strNickName
or
GetAll XComGameState_Unit strFirstName
or
GetAll XComGameState_Unit strLastName
(You can copy these letters and paste them at the Command Console. I chose strNickName simply because the nicknames of each soldier has more impression and easier to remember than their name.)
and you will see a list contained of numerous infos and amongst them, you will see the nicknames that either is given by the game itself or given by yourself. Scroll your mouse wheel to find the specific soldier's nickname.
6. Note the XCom GameState_Unit value, typed next to the strNickName value that has the specific soldier's nickname.
7. Type this command into the Command Console;
GetAll XComGameState_Unit ObjectID
and again you will see a list contained of numerous infos and amongst them, you will see a lot of XComGameState_Unit values that also contains the noted XComGameState_Unit for your soldier. Scroll your mouse wheel to find the specific soldier's XComGameState_Unit value.
8. Note the ObjectID value, typed next to the XComGameState_Unit value.
Since we have found the ObjectID value for your bugged Psi Operative soldier, now it is time to fix it.
9. Type SelectSoldierProgressionAbility ObjectID iSoldierRank iBranch.
First, type the ObjectID value that you just noted.
Then, iSoldierRank is the value that holds an ability's rank matched to the soldier's rank.
Acolyte has a number of 1 and it scales up from there. Since the Solace is an Adept ability, you need to type 2.
And last, iBranch is the value that hold's an ability's branch position.
Left branch has a number of 0 and it scales up from there.
Solace is seemed to be a right branch ability, but in fact it is a middle branch ability. So you need to type 1, not 2.
10. Press enter.
11. Done!
----- Example ------
My soldier Vanya "Freak" Zaytsev just got bugged as soon as he finished learning Solace.
1. Exit the game.
2. In the Steam Workshop, Install RealityMachina's LW2 PsiOp BugFix.
3. Activate the mod, launch the game and load the save file.
4. Press ~ Button, and it will open up the Command Console.
5. Type this commands into the Command Console;
GetAll XComGameState_Unit strNickName
6. I found the nickname value that says Freak. Note the XCom GameState_Unit value 22327, typed next to the strNickName.
7. Type this command into the Command Console;
GetAll XComGameState_Unit ObjectID
8. I found the XComGameState_Unit value that says 22327. Note the ObjectID value, typed next to the XComGameState_Unit value.
9. Type SelectSoldierProgressionAbility 22327 2 1.
10. Press enter.
11. Done!
Please tell me if this solution has any errors.
1. Exit the game.
2. In the Steam Workshop, Install RealityMachina's LW2 PsiOp BugFix.
3. Activate the mod, launch the game and load the save file.
4. Press ~ Button, and it will open up the Command Console.
And now there is command that grants a specific soldier an ability, but it requires a specific value that is distributed to that soldier and that is ObjectID. We need to find the ObjectID first.
5. Type one of these commands into the Command Console;
GetAll XComGameState_Unit strNickName
or
GetAll XComGameState_Unit strFirstName
or
GetAll XComGameState_Unit strLastName
(You can copy these letters and paste them at the Command Console. I chose strNickName simply because the nicknames of each soldier has more impression and easier to remember than their name.)
and you will see a list contained of numerous infos and amongst them, you will see the nicknames that either is given by the game itself or given by yourself. Scroll your mouse wheel to find the specific soldier's nickname.
6. Note the XCom GameState_Unit value, typed next to the strNickName value that has the specific soldier's nickname.
7. Type this command into the Command Console;
GetAll XComGameState_Unit ObjectID
and again you will see a list contained of numerous infos and amongst them, you will see a lot of XComGameState_Unit values that also contains the noted XComGameState_Unit for your soldier. Scroll your mouse wheel to find the specific soldier's XComGameState_Unit value.
8. Note the ObjectID value, typed next to the XComGameState_Unit value.
Since we have found the ObjectID value for your bugged Psi Operative soldier, now it is time to fix it.
9. Type SelectSoldierProgressionAbility ObjectID iSoldierRank iBranch.
First, type the ObjectID value that you just noted.
Then, iSoldierRank is the value that holds an ability's rank matched to the soldier's rank.
Acolyte has a number of 1 and it scales up from there. Since the Solace is an Adept ability, you need to type 2.
And last, iBranch is the value that hold's an ability's branch position.
Left branch has a number of 0 and it scales up from there.
Solace is seemed to be a right branch ability, but in fact it is a middle branch ability. So you need to type 1, not 2.
10. Press enter.
11. Done!
----- Example ------
My soldier Vanya "Freak" Zaytsev just got bugged as soon as he finished learning Solace.
1. Exit the game.
2. In the Steam Workshop, Install RealityMachina's LW2 PsiOp BugFix.
3. Activate the mod, launch the game and load the save file.
4. Press ~ Button, and it will open up the Command Console.
5. Type this commands into the Command Console;
GetAll XComGameState_Unit strNickName
6. I found the nickname value that says Freak. Note the XCom GameState_Unit value 22327, typed next to the strNickName.
7. Type this command into the Command Console;
GetAll XComGameState_Unit ObjectID
8. I found the XComGameState_Unit value that says 22327. Note the ObjectID value, typed next to the XComGameState_Unit value.
9. Type SelectSoldierProgressionAbility 22327 2 1.
10. Press enter.
11. Done!
Please tell me if this solution has any errors.