Page 3 of 11

Re: Xcom 2 War of the Chosen

Posted: Thu Aug 31, 2017 1:04 pm
by coldcell
I'm having a lot of crashes too with EDIT5.

Anyone knows if there's a console command to change the intelligence of the soldiers? I'd like to turn them all into Savants. Also a way to heal their fatigue?

Re: Xcom 2 War of the Chosen

Posted: Thu Aug 31, 2017 3:28 pm
by dickfacemccunt
coldcell wrote:
Thu Aug 31, 2017 1:04 pm
Also a way to heal their fatigue?
Try the console command SetSoldierWill Will[FLOAT] UnitName[FString]. Soldier editing is a lot more cumbersome by console compared to the old XCom 2 table. Any chance for armor to be added to this table?

Re: Xcom 2 War of the Chosen

Posted: Thu Aug 31, 2017 4:21 pm
by bollards
coldcell wrote:
Thu Aug 31, 2017 1:04 pm
I'm having a lot of crashes too with EDIT5.

Anyone knows if there's a console command to change the intelligence of the soldiers? I'd like to turn them all into Savants. Also a way to heal their fatigue?
I had to make a new account so my post didn't go up right away, last page I posted the offsets for combat intelligence. I'm working on resetting their tired state still.

Re: Xcom 2 War of the Chosen

Posted: Thu Aug 31, 2017 4:34 pm
by DrummerIX
coldcell wrote:
Thu Aug 31, 2017 1:04 pm
I'm having a lot of crashes too with EDIT5.

Anyone knows if there's a console command to change the intelligence of the soldiers? I'd like to turn them all into Savants. Also a way to heal their fatigue?
Try the console command HealAllSoldiers from the Avenger to heal them.

Re: Xcom 2 War of the Chosen

Posted: Thu Aug 31, 2017 9:16 pm
by coldcell
DrummerIX wrote:
Thu Aug 31, 2017 4:34 pm
coldcell wrote:
Thu Aug 31, 2017 1:04 pm
I'm having a lot of crashes too with EDIT5.

Anyone knows if there's a console command to change the intelligence of the soldiers? I'd like to turn them all into Savants. Also a way to heal their fatigue?
Try the console command HealAllSoldiers from the Avenger to heal them.
Doesn't work with fatigue. But changing the Will helps for now.

Re: Xcom 2 War of the Chosen

Posted: Thu Aug 31, 2017 10:30 pm
by Whisperer
I must be spoiled, I keep hoping for one of those big Recifense or Shinkansen tables. This is good work though, I couldn't do it. Any idea if this works on the non-Chosen install? I want to finish my current playthrough first before installing Chosen, but finding the correct table is proving somewhat difficult, there's like three different Zanzer-tables posted.

Anyone know where the ObjectID for a soldier is stored in relation to the values in this table? I use it to give my soldier some more skills. Doesn't seem to work on Sparks, though. Of course, it'll probably be different with Chosen.

Re: Xcom 2 War of the Chosen

Posted: Thu Aug 31, 2017 11:41 pm
by bollards
The soldier ID is as +60 from the base address, it is a 4 byte.

Re: Xcom 2 War of the Chosen

Posted: Fri Sep 01, 2017 3:05 am
by primeval
This is code Unlock all skill - Reaper

XCOM 2 War of the Chaos - Reaper Unlock Skill

Code: Select all

[ENABLE]
alloc(newmem,100)
newmem:
dd 0
dd 0
dd 0
dd 1
dd 1
dd 1
dd 1
dd 2
dd 2
dd 0
dd 2
dd 1
dd 2
dd 3
dd 3
dd 0
dd 3
dd 1
dd 3
dd 2
dd 3
dd 3
dd 4
dd 0
dd 4
dd 2
dd 4
dd 3
dd 5
dd 1
dd 5
dd 2
dd 5
dd 3
dd 6
dd 1
dd 6
dd 2
dd 6
dd 3
[unit_ptr]+f0:
dq newmem
[unit_ptr]+f8:
dd #20
[DISABLE]

Re: Xcom 2 War of the Chosen

Posted: Fri Sep 01, 2017 3:18 am
by Timone
I wonder if it'll be possible somehow to change the random skills that soldier's get as part of their third skill tree.

Re: Xcom 2 War of the Chosen

Posted: Fri Sep 01, 2017 5:04 am
by Kaixa
Timone wrote:
Fri Sep 01, 2017 3:18 am
I wonder if it'll be possible somehow to change the random skills that soldier's get as part of their third skill tree.
+1 That's what I want from a table, please help.
Thanks in advance.

Re: Xcom 2 War of the Chosen

Posted: Fri Sep 01, 2017 8:56 am
by Alaunus
bollards wrote:
Thu Aug 31, 2017 4:21 pm
[...]I'm working on resetting their tired state still.
From what I am seeing I'd say that fatigue is a 'willpower injury' in the game.

Re: Xcom 2 War of the Chosen

Posted: Fri Sep 01, 2017 12:40 pm
by lcmiracle
Nice. I haven't looked into it yet, as I've uninstalled XCOM2. But does the soldier stat pointers includes the defense/dodge hidden stat? If not, could you add it? It's been a long time that I've forgotten the offset, not to mention the possibility that the offset has changed.

Thanks for your work!

Re: Xcom 2 War of the Chosen

Posted: Fri Sep 01, 2017 2:26 pm
by bollards
Mental state is at +784:
00000000 is shaken
01000000 is tired
02000000 is ready

Re: Xcom 2 War of the Chosen

Posted: Fri Sep 01, 2017 5:25 pm
by StrikeQ
Anyway to change the combat intelligence of a soldier?

Re: Xcom 2 War of the Chosen

Posted: Fri Sep 01, 2017 6:00 pm
by Zed03
Does anyone have tips for finding a pointer to one of the soldiers?