View previous topic :: View next topic |
Author |
Message |
Feliks
Joined: 27 Dec 2013 Posts: 1
|
Posted: Fri Dec 27, 2013 0:20 Post subject: Campaign lvl 40 |
|
|
Hi, im sorry for asking it here, especially since similar topic is a bit lower, but i have question about nwn2 campaign, and i cant find walkthrough for noobs, or guide that i would understood. is there any way, to have singleplayer campaign character be able to reach lvl 40? or at least 35, or even 50? modifying campaign plugin with toolset did not work, unless i screw up somewhere. i own gog.com version - neverwinter nights 2 complete. please, can you tell if it is possible to modify game to have higher level character (original campaign, or any of the expansions) in singleplayer campaign or module, and if so, can you post guide for it? if possible, making that guide like for very slow and stupid person? (im not good with complicated stuff like scripts, but if i see step by step guide i should be able to follow that).
thank you very much in advance, even if answer is no for singleplayer, but if there is even that possibility, what would it be? |
|
Back to top |
|
|
Arpl
Joined: 22 Jul 2011 Posts: 5
|
Posted: Mon Dec 30, 2013 12:52 Post subject: |
|
|
It's hardcoded and the only way around it is through hex-editing, which is extremely version-specific, and since I don't have the GOG version I can only give general instructions. Keep in mind that the following will change the maximum level limit to 40 and you will still need to modify the campaign itself (Using that campaign plugin) to set a higher maximum level and XP, otherwise it will do absolutely nothing.
Search for this string of bytes;
8B 49 04 8B 45 04 8B 11 50 8B 42 1C B3 14 FF D0 8B C8
Replace it with (The change is in bold);
8B 49 04 8B 45 04 8B 11 50 8B 42 1C B3 28 FF D0 8B C8
Then search for this string of bytes;
1B C0 83 C0 01 74 02 B3 1E 38 5C 24 24 76 14 8B 4C 24 4C C7 01 01 00 00 00
Replace it with (The change is in bold);
1B C0 83 C0 01 74 02 B3 28 38 5C 24 24 76 14 8B 4C 24 4C C7 01 01 00 00 00
Then search for this string of bytes;
83 C4 0C 3B C3 74 0F F6 40 10 01 74 09 C6 86 9C 02 00 00 1E EB 07 C6 86 9C 02 00 00 14
Replace it with (The changes are in bold);
83 C4 0C 3B C3 74 0F F6 40 10 01 74 09 C6 86 9C 02 00 00 28 EB 07 C6 86 9C 02 00 00 28
Disassembly listings for reference;
Code: | 005E5EFE 8B4904 mov ecx,[ecx+04h]
005E5F01 8B4504 mov eax,[ebp+04h]
005E5F04 8B11 mov edx,[ecx]
005E5F06 50 push eax
005E5F07 8B421C mov eax,[edx+1Ch]
005E5F0A B314 mov bl,14h
005E5F0C FFD0 call eax
005E5F0E 8BC8 mov ecx,eax
005E5F1E 1BC0 sbb eax,eax
005E5F20 83C001 add eax,00000001h
005E5F23 7402 jz L005E5F27
005E5F25 B31E mov bl,1Eh
005E5F27 L005E5F27:
005E5F27 385C2424 cmp [esp+24h],bl
005E5F2B 7614 jbe L005E5F41
005E5F2D 8B4C244C mov ecx,[esp+4Ch]
005E5F31 C70101000000 mov dword ptr [ecx],00000001h
008AE9F0 83C40C add esp,0000000Ch
008AE9F3 3BC3 cmp eax,ebx
008AE9F5 740F jz L008AEA06
008AE9F7 F6401001 test byte ptr [eax+10h],01h
008AE9FB 7409 jz L008AEA06
008AE9FD C6869C0200001E mov byte ptr [esi+0000029Ch],1Eh
008AEA04 EB07 jmp L008AEA0D
008AEA06 L008AEA06:
008AEA06 C6869C02000014 mov byte ptr [esi+0000029Ch],14h
|
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|