I just thawed out that oldest copy I have - it's now in Old Versions. good luck! I'm afraid I can't rebuild it for that old but the source is on GitHub.
Thanks. I just haven't updated to .2 yet. It has significant changes so all C# mods have to be re-written for those. I shall update when they release it.
ican compile a 1.5.5 version if you want and send to you so you can upload it i might try the 156 one then but if it doesnt work if your source code is available it would be easier than exporting through dotpeek
here you go... the only thing i needed to fix for 1.5.5 was one method asked for the camera distance when you moved to a position and I just put 0 so it doesnt set it.
MapScreen.Instance.FastMoveCameraToPosition(Settlement.Find(stringID).Position2D, 0f);//I added the 0f because there is no overload anymore I guess
public void FastMoveCameraToPosition(Vec2 target, float targetCameraDistance) { this.CurrentCameraFollowMode = MapScreen.CameraFollowMode.MoveToPosition; this._idealCameraTarget = this.GetCameraTargetForPosition(target); this._doFastCameraMovementToTarget = true; if (targetCameraDistance > 0f) { this._targetCameraDistance = targetCameraDistance; } } so it just wont set the targetCameraDistance, should be fine
32 comments
Source: MapFind
Method not found: 'Void TaleWorlds.Core.TextInquiryData..ctor(System.String, System.String, Boolean,
Boolean, System.String, System.String, System.Action`1, System.Action, Boolean, System.Func`2, System.String, System.String)'.
i might try the 156 one then but if it doesnt work if your source code is available it would be easier than exporting through dotpeek
I'll probably find time to do some 1.5.5 compiles, but if you beat me to the punch I'll post it w/ credit.
https://ufile.io/7322kimv
MapScreen.Instance.FastMoveCameraToPosition(Settlement.Find(stringID).Position2D, 0f);//I added the 0f because there is no overload anymore I guess
public void FastMoveCameraToPosition(Vec2 target, float targetCameraDistance)
{
this.CurrentCameraFollowMode = MapScreen.CameraFollowMode.MoveToPosition;
this._idealCameraTarget = this.GetCameraTargetForPosition(target);
this._doFastCameraMovementToTarget = true;
if (targetCameraDistance > 0f)
{
this._targetCameraDistance = targetCameraDistance;
}
}
so it just wont set the targetCameraDistance, should be fine