I know that this asking a lot after all of the hard work that you have already done, but is there any chance of updating this mod to merge in the changes which would allow it to work with the definitive edition? I understand that the zoom functionality in BagOfTricks works, indeed I'm using it right now, but I feel dirty having cheats so easily available when all I really want is camera zoom and rotation ;-)
nvm I ended up installing the bag of tricks mod and figured it out from there instead, and it is AWESOME how you can also use that mod to rotate the camera. Nice work man
Would there be a way to make a mod so you can zoom in/out on the Area Map? The maps appear to be generated "live" in PF:K, but I'd dearly like to use them - but they're far too zoomed out.
Hi, sorry for the late reply! I'll see what I can do about it - please note I've moved all the development (including the camera mods) over to Bag of Tricks,
If I remember correctly a few people on the Pathfinder Kingmaker Discord (https://discord.gg/vcXtZYe) managed to run it. Maybe someone over there can point you in the right direction.
No proplem you are welcome , you make so great work , syr i Must say that i Love you :-) .
Did i unterstand that right ? You mod of bag of Tricks , did zoom and Camera in this too ? And can bag of Tricks that i can skill completly new , can i change all new !
With Bag Of Tricks you can only change the value of your skills, attributes etc. For respecing (i.e. doing the level ups again) you have to use the Respec Mod.
I wasn't able to replicate the error using the mods from your screenshot and KML. Are you using any Patchwork based mods (e.g. KingmakerMods.pw)? If so it is probably a compatibility issue.
I'm using the Steam version, but GoG being the issue would be weird. Have you tried using 1.2.0 (the only difference to 1.3.0 is the global map zoom) and does changing the global map value do anything (requires a game restart)?
Thank you for testing it! May I ask which language your game and operating system is set to? I have the suspicion that the parsing might be the cause.
Edit: In a few minutes a new version will be available in the optional files section. It's online (Test_Zoom Unlocked - Set Your Own Zoom Distance Limits). If you could test it that would be great (make sure that there is no Settings.xml in the mod's folder, otherwise it won't load the default value).
No problem and it works: https://imgur.com/a/OSgVbE7 Again, no "settings.xml" like you mentioned and the the md5 checksum "0B279D003A25B8B72D95D0EFEE7A9427" to be sure.
What changed or rather what was the likely problem?
My assumption is that the default value for the global zoom ("28.3") was parsed as 238 and not 28.3 due to . not being recognised as a decimal separator. The parsing is now set to make sure that . is properly recognised as a decimal separator.
[ZoomUnlocked] Version '1.3.0'. Loading. [ZoomUnlocked] [Error] Error trying to call 'ZoomUnlocked.Main.Load'. [ZoomUnlocked] [Error] TargetInvocationException - Exception has been thrown by the target of an invocation. [ZoomUnlocked] Not loaded.
yes. Still the same error.Only this mod (v1.3)installed. Either with Unity mod manager 12.2 or 12.3 . I'm playing the french version of the game.Don't know if it matters
I play over steam, yesterday had no propleme with the mod, everything worked .until the zoom as the first when you activate it zooms out completely and it is annoying to adjust because you always have to restart, now have 30 as Worth taking at the world map zoom
99 comments
The latest version works with patch 2.0.1k.
Probably won't happen - I already struggle just maintaining Bag of Tricks.
Cheers!
I'll see what I can do about it - please note I've moved all the development (including the camera mods) over to Bag of Tricks,
Maybe someone over there can point you in the right direction.
So in the folder ".../game" there will be a linked folder called Mods that links to the Mods folder found in ...game/Kingmaker_Data/Managed/
To get Unity Mod Manager to work you must install mono and run Unity Mod Manager's from it's folder with "mono UnityModManager.exe"
Then to install Unity Mod Manager into Pathfinder click on the 'select game folder' button and point it to ...game/Kingmaker_Data/Managed
Hope that makes sense.
Edit:
Found the error - thank you for reporting it!
The new version should be up in a few minutes.
Edit2: It's online - sorry for not properly testing the last version!
Did i unterstand that right ? You mod of bag of Tricks , did zoom and Camera in this too ? And can bag of Tricks that i can skill completly new , can i change all new !
This happens after the mod gets loaded, no values were changed.
Game: 1.0.16 (GoG)
Mod: 1.3.0
Mod Loader: Kingmaker Mod Loader 3.0.0-beta
Log: https://imgur.com/a/nKSjtO5
I wasn't able to replicate the error using the mods from your screenshot and KML.
Are you using any Patchwork based mods (e.g. KingmakerMods.pw)?
If so it is probably a compatibility issue.
Have you tried using 1.2.0 (the only difference to 1.3.0 is the global map zoom) and does changing the global map value do anything (requires a game restart)?
- "Zoom Unlocked" only: https://imgur.com/a/VlVA2Fp
- with every other mod: https://imgur.com/a/ChddpM5
EDIT: It even works with version 1.3.0 and non-standard global map values: https://imgur.com/a/KBvpMNx
Thanks for the help. :)
May I ask which language your game and operating system is set to?
I have the suspicion that the parsing might be the cause.
Edit:
In a few minutes a new version will be available in the optional files section.It's online (Test_Zoom Unlocked - Set Your Own Zoom Distance Limits).If you could test it that would be great (make sure that there is no Settings.xml in the mod's folder, otherwise it won't load the default value).
Game language: English
The test-dll didn't work: https://imgur.com/a/i9SUUM1
(no "settings.xml"; for reference the md5 checksum: 04BF3F09AF8879DDB3EA2EA27581AADA)
I managed to mess up the upload and compile the wrong project...
The correct build should be up in a few minutes.
Edit: It's online - sorry again!
Again, no "settings.xml" like you mentioned and the the md5 checksum "0B279D003A25B8B72D95D0EFEE7A9427" to be sure.
What changed or rather what was the likely problem?
The parsing is now set to make sure that . is properly recognised as a decimal separator.
[ZoomUnlocked] Version '1.3.0'. Loading.
[ZoomUnlocked] [Error] Error trying to call 'ZoomUnlocked.Main.Load'.
[ZoomUnlocked] [Error] TargetInvocationException - Exception has been thrown by the target of an invocation.
[ZoomUnlocked] Not loaded.
I'm playing the french version of the game.Don't know if it matters
[0:00:00:03,1190000] [ZoomUnlocked] [Error] Error trying to call 'ZoomUnlocked.Main.Load'.
[3,21354][3,21354]=== BEGIN EXCEPTION ===
[3,21354]1: System.Reflection.TargetInvocationException
[3,21354]Exception has been thrown by the target of an invocation.
[3,21354]System.Object System.Reflection.MonoMethod::Invoke(System.Object,System.Reflection.BindingFlags,System.Reflection.Binder,System.Object[],System.Globalization.CultureInfo) (@72)
[3,21354]System.Object System.Reflection.MethodBase::Invoke(System.Object,System.Object[]) (@0)
[3,21354]System.Boolean UnityModManagerNet.UnityModManager/ModEntry::Invoke(System.String,System.Object&,System.Object[],System.Type[]):245:30 to 245:31 (@28)
[3,21354]
[3,21354]
[3,21354]
[3,21354]2: System.Exception
[3,21354]Exception from HarmonyInstance "ZoomUnlocked"
[3,21354]System.Reflection.Emit.DynamicMethod Harmony.MethodPatcher::CreatePatchedMethod(System.Reflection.MethodBase,System.String,System.Collections.Generic.List`1<System.Reflection.MethodInfo>,System.Collections.Generic.List`1<System.Reflection.MethodInfo>,System.Collections.Generic.List`1<System.Reflection.MethodInfo>) (@784)
[3,21354]System.Reflection.Emit.DynamicMethod Harmony.PatchFunctions::UpdateWrapper(System.Reflection.MethodBase,Harmony.PatchInfo,System.String) (@40)
[3,21354]System.Collections.Generic.List`1<System.Reflection.Emit.DynamicMethod> Harmony.PatchProcessor::Patch() (@228)
[3,21354]System.Void Harmony.HarmonyInstance::<PatchAll>b__9_0(System.Type) (@44)
[3,21354]System.Void Harmony.CollectionExtensions::Do(System.Collections.Generic.IEnumerable`1<T>,System.Action`1<T>) (@27)
[3,21354]System.Void Harmony.HarmonyInstance::PatchAll(System.Reflection.Assembly) (@7)
[3,21354]System.Boolean ZoomUnlocked.Main::Load(UnityModManagerNet.UnityModManager/ModEntry) (@33)
[3,21354]<native frame>
[3,21354]System.Object System.Reflection.MonoMethod::Invoke(System.Object,System.Reflection.BindingFlags,System.Reflection.Binder,System.Object[],System.Globalization.CultureInfo) (@50)
[3,21354]
[3,21354]3: System.Reflection.TargetInvocationException
[3,21354]Exception has been thrown by the target of an invocation.
[3,21354]System.Object System.Reflection.MonoMethod::Invoke(System.Object,System.Reflection.BindingFlags,System.Reflection.Binder,System.Object[],System.Globalization.CultureInfo) (@72)
[3,21354]System.Object System.Reflection.MethodBase::Invoke(System.Object,System.Object[]) (@0)
[3,21354]System.Void Harmony.CodeTranspiler/<>c__DisplayClass10_0::<GetResult>b__0(System.Reflection.MethodInfo) (@79)
[3,21354]System.Void System.Collections.Generic.List`1::ForEach(System.Action`1<T>) (@36)
[3,21354]System.Collections.Generic.List`1<Harmony.CodeInstruction> Harmony.CodeTranspiler::GetResult(System.Reflection.Emit.ILGenerator,System.Reflection.MethodBase) (@33)
[3,21354]System.Void Harmony.ILCopying.MethodBodyReader::FinalizeILCodes(System.Collections.Generic.List`1<System.Reflection.MethodInfo>,System.Collections.Generic.List`1<System.Reflection.Emit.Label>,System.Collections.Generic.List`1<Harmony.ILCopying.ExceptionBlock>) (@369)
[3,21354]System.Void Harmony.ILCopying.MethodCopier::Finalize(System.Collections.Generic.List`1<System.Reflection.Emit.Label>,System.Collections.Generic.List`1<Harmony.ILCopying.ExceptionBlock>) (@1)
[3,21354]System.Reflection.Emit.DynamicMethod Harmony.MethodPatcher::CreatePatchedMethod(System.Reflection.MethodBase,System.String,System.Collections.Generic.List`1<System.Reflection.MethodInfo>,System.Collections.Generic.List`1<System.Reflection.MethodInfo>,System.Collections.Generic.List`1<System.Reflection.MethodInfo>) (@404)
[3,21354]
[3,21354]4: System.FormatException
[3,21354]Input string was not in a correct format.
[3,21354]System.Single System.Number::ParseSingle(System.String,System.Globalization.NumberStyles,System.Globalization.NumberFormatInfo) (@131)
[3,21354]System.Single System.Single::Parse(System.String,System.Globalization.NumberStyles,System.Globalization.NumberFormatInfo) (@0)
[3,21354]System.Single System.Single::Parse(System.String) (@11)
[3,21354]System.Collections.Generic.IEnumerable`1<Harmony.CodeInstruction> ZoomUnlocked.Main/CameraRig_SetMapMode_Patch::Transpiler(System.Collections.Generic.IEnumerable`1<Harmony.CodeInstruction>) (@214)
[3,21354]<native frame>
[3,21354]System.Object System.Reflection.MonoMethod::Invoke(System.Object,System.Reflection.BindingFlags,System.Reflection.Binder,System.Object[],System.Globalization.CultureInfo) (@50)
[3,21354]
[3,21354]=== END EXCEPTION ===
Then I delete the 1.3.0 mod folder and unzip the 1.2.0 version at the same location and it works again.