Page 2 of 20

Re: Pathfinder: Wrath of the Righteous (Steam release 2/9/2021)

Posted: Thu Sep 02, 2021 11:21 pm
by frivolousam
__Corpo__ wrote:
Thu Sep 02, 2021 11:08 pm
frivolousam wrote:
Thu Sep 02, 2021 10:42 pm
Its the Cavallier class, apparently some other classes can mount their animal companions too. Anyway, thanks for your efforts so far.
Oh it's very easy to do then! I just added it for you, it should work now! I just selected a basic horse and changed its strength, and it worked so the rest of the options should work too. It's version 1.04.
It was harder to enable the script with latest table and most pointers are not updating atm. Maybe leave it to tomorrow.

Re: Pathfinder: Wrath of the Righteous (Steam release 2/9/2021)

Posted: Thu Sep 02, 2021 11:32 pm
by __Corpo__
frivolousam wrote:
Thu Sep 02, 2021 11:21 pm

It was harder to enable the script with latest table and most pointers are not updating atm. Maybe leave it to tomorrow.
Oh I see what went wrong. I added version 1.05 with both character pointer tables, the fast one that doesn't work on animal, and the slow one that works on animals but takes longer to find. Tomorrow I'll find a shorter aob string, but that one should work for you tonight!

Re: Pathfinder: Wrath of the Righteous (Steam release 2/9/2021)

Posted: Thu Sep 02, 2021 11:39 pm
by frivolousam
__Corpo__ wrote:
Thu Sep 02, 2021 11:32 pm
frivolousam wrote:
Thu Sep 02, 2021 11:21 pm

It was harder to enable the script with latest table and most pointers are not updating atm. Maybe leave it to tomorrow.
Oh I see what went wrong. I added version 1.05 with both character pointer tables, the fast one that doesn't work on animal, and the slow one that works on animals but takes longer to find. Tomorrow I'll find a shorter aob string, but that one should work for you tonight!
The slow one in this one worked after managing to enable it and pointers updating for both character and companion, thanks.

Re: Pathfinder: Wrath of the Righteous (Steam release 2/9/2021)

Posted: Fri Sep 03, 2021 3:59 am
by i3lank
Would it be possible to change the gender of my animal companion? I didn't see a gender select and I dunno if there is one when picking/leveling the companion, but I named it after a real life pet and it's a female and my wolf is male. :(

Re: Pathfinder: Wrath of the Righteous (Steam release 2/9/2021)

Posted: Fri Sep 03, 2021 5:14 am
by karamethien
Wow, thanks for the quick work.

Re: Pathfinder: Wrath of the Righteous (Steam release 2/9/2021)

Posted: Fri Sep 03, 2021 5:39 am
by Enclave
This also seems to work with the GOG release, so that's nice.

It's looking to be turning into a solid table, great work.

Re: Pathfinder: Wrath of the Righteous (Steam release 2/9/2021)

Posted: Fri Sep 03, 2021 6:19 am
by LostConfusion
Thank you so much for the table! Is it possible to add ability to change alignment or ability to bypass alignment in dialogues to table? And ability to freeze game time to have more time for quests (I found the way to edit game time in saves, it is the same way as in previous game, but sadly can't edit alignment yet, can't figure it out. If someone can explain how edit alignment in saves it would be awesome too).

Re: Pathfinder: Wrath of the Righteous (Steam release 2/9/2021)

Posted: Fri Sep 03, 2021 7:17 am
by lc19
Thanks for your work on this.

Re: Pathfinder: Wrath of the Righteous (Steam release 2/9/2021)

Posted: Fri Sep 03, 2021 10:57 am
by Mochan
Thanks for the table! Finding pointers is such a pain for shrubs like me.

Re: Pathfinder: Wrath of the Righteous (Steam release 2/9/2021)

Posted: Fri Sep 03, 2021 12:09 pm
by __Corpo__
i3lank wrote:
Fri Sep 03, 2021 3:59 am
Would it be possible to change the gender of my animal companion? I didn't see a gender select and I dunno if there is one when picking/leveling the companion, but I named it after a real life pet and it's a female and my wolf is male. :(
Added! It's in Character v2, "other 2"!
What's the name of your real life pet?
LostConfusion wrote:
Fri Sep 03, 2021 6:19 am
Thank you so much for the table! Is it possible to add ability to change alignment or ability to bypass alignment in dialogues to table? And ability to freeze game time to have more time for quests (I found the way to edit game time in saves, it is the same way as in previous game, but sadly can't edit alignment yet, can't figure it out. If someone can explain how edit alignment in saves it would be awesome too).
Added a dropdown to change character alignment so it's easier to use. It's in "character v2", "other 2", alignment. Is that good enough for you? I haven't tested it in dialogues yet as I'm always picking the options of my own alignment.

As for game time and stuff, I haven't been at a section of the game where it's relevant yet, I'll play more this afternoon. I remember that it was much easier to change in saves for missions in the first game.

Re: Pathfinder: Wrath of the Righteous (Steam release 2/9/2021)

Posted: Fri Sep 03, 2021 12:46 pm
by omrictu
Thanks, You're doin gods work lol.

Re: Pathfinder: Wrath of the Righteous (Steam release 2/9/2021)

Posted: Fri Sep 03, 2021 1:30 pm
by Iosiff
Is it possible to make Inf. spell usage for player?

Re: Pathfinder: Wrath of the Righteous (Steam release 2/9/2021)

Posted: Fri Sep 03, 2021 1:45 pm
by Chrisfearless
DrummeIX had a real useful Script in his Beta tables:

"Time Multiplier (Freeze Time With 0 Multiplier)"

Since the game makes you pass events not done in time - thank god not fail the game like the first one - it would be nice to be able to freeze the timer.

This was the script: (courtesy of course to the one and only amazing DrummerX!):


aobscanregion(GameTimeMultAOB2,Kingmaker.Controllers:TimeController:Tick,Kingmaker.Controllers:TimeController:Tick+7D2,F3 0F 10 46 18 F3 0F 5A C0 F2 0F 5A E8)
registersymbol(GameTimeMultAOB2)
alloc(newmem2,1024,GameTimeMultAOB2)

///
label(return)
label(fGameTimeMult)
registersymbol(fGameTimeMult)

///
label(return2)

newmem:
cvtsi2sd xmm0,rdx
divsd xmm0,[dTickConstant]
cvtsd2ss xmm0,xmm0
mulss xmm0,[fGameTimeMult]
cvtss2sd xmm0,xmm0
mulsd xmm0,[dTickConstant]
cvtsd2si rdx,xmm0

originalcode:
push rbp
mov rbp,rsp
sub rsp,70
jmp return

fGameTimeMult:
dq (float)0.25
dTickConstant:
dq (double)100000000.0

newmem2:
mov [R15Save],r15
mov r15,fGameTimeMult
movss xmm0,[r15]
mov r15,fGameTimeMult2
movss [r15],xmm0
xorps xmm0,xmm0
movss xmm0,[rsi+18]
mulss xmm0,[fGameTimeMult2]
jmp return2

R15Save:
dq 0
fGameTimeMult2:
dq (float)0.25

GameTimeMultAOB1:
jmp newmem
nop
nop
nop
return:

GameTimeMultAOB2:
jmp newmem2
return2:

[DISABLE]

GameTimeMultAOB1:
db 55 48 8B EC 48 83 EC 70

unregistersymbol(GameTimeMultAOB1)
unregistersymbol(fGameTimeMult)

GameTimeMultAOB2:
db F3 0F 10 46 18

unregistersymbol(GameTimeMultAOB2)

dealloc(newmem)
dealloc(newmem2)
</AssemblerScript>

Re: Pathfinder: Wrath of the Righteous (Steam release 2/9/2021)

Posted: Fri Sep 03, 2021 2:24 pm
by __Corpo__
Iosiff wrote:
Fri Sep 03, 2021 1:30 pm
Is it possible to make Inf. spell usage for player?
I haven't played with spells much. But you can use scrolls, set their quantity to a big number, and also change the spell's caster level and difficulty check (DC). I haven't tried big level values but it's possible that they work :P
Chrisfearless wrote:
Fri Sep 03, 2021 1:45 pm
DrummeIX had a real useful Script in his Beta tables:

"Time Multiplier (Freeze Time With 0 Multiplier)"

Since the game makes you pass events not done in time - thank god not fail the game like the first one - it would be nice to be able to freeze the timer.
The game time is there, so it's easy to freeze or lower its value, but I haven't had to use it yet. Just like Kingdom management is also there, but I don't have a kingdom to manage so I don't know which values to put in the table :P

Re: Pathfinder: Wrath of the Righteous (Steam release 2/9/2021)

Posted: Fri Sep 03, 2021 3:07 pm
by fearnotcheating
So changed the base value for attributes but it doesn't affect the "modified" value, so if changing stregth base value to 18 from 10, it still shows it as 10