Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AC.KickStarter.settingsManager.movementMethod = MovementMethod.Direct;
- AC.KickStarter.settingsManager.inputMethod = InputMethod.KeyboardOrController;
- AC.KickStarter.settingsManager.directMovementType = DirectMovementType.RelativeToCamera;
- AC.KickStarter.menuManager.keyboardControlWhenDialogOptions = true;
- // Hotspot interaction Settings
- AC.KickStarter.settingsManager.interactionMethod = AC_InteractionMethod.ChooseHotspotThenInteraction;
- AC.KickStarter.settingsManager.hotspotDetection = HotspotDetection.PlayerVicinity;
- // lock cursor in screen
- if (Interrogation != null && Interrogation.IsOn())
- {
- AC.KickStarter.settingsManager.lockCursorOnStart = false;
- AC.KickStarter.settingsManager.hideLockedCursor = false;
- AC.KickStarter.cursorManager.cursorDisplay = CursorDisplay.Always;
- AC.KickStarter.settingsManager.hotspotDetection = HotspotDetection.MouseOver;
- if (GlobalVariables.GetIntegerValue(17) == 1)
- {
- AC.KickStarter.settingsManager.allowGameplayDuringConversations = true;
- }
- else if (GlobalVariables.GetIntegerValue(17) == 0)
- {
- AC.KickStarter.settingsManager.allowGameplayDuringConversations = false;
- }
- }
- else
- {
- AC.KickStarter.settingsManager.allowGameplayDuringConversations = false;
- AC.KickStarter.settingsManager.lockCursorOnStart = true;
- AC.KickStarter.settingsManager.hideLockedCursor = true;
- AC.KickStarter.cursorManager.cursorDisplay = CursorDisplay.Never;
- }
- AC.KickStarter.menuManager.keyboardControlWhenPaused = true;
- // This was the one that was causing all the problems
- AC.KickStarter.settingsManager.selectInteractions = SelectInteractions.CyclingMenuAndClickingHotspot;
- //PointClickIntMen.positionType = AC_PositionType.Aligned;
- //PointClickIntMen.alignment = TextAnchor.UpperRight;
- PointClickIntMen.isLocked = true;
- DirectIntMen.isLocked = false;
- AC.KickStarter.cursorManager.allowInteractionCursor = false;
- DirectIntMen.positionType = AC_PositionType.Aligned;
- DirectIntMen.alignment = TextAnchor.UpperRight;
- DirectIntMenBackground.TurnOn();
- DirectIntMen.Recalculate();
- if (inventory != null && inventory.IsOn())
- {
- AC.KickStarter.settingsManager.selectInteractions = SelectInteractions.ClickingMenu;
- }
- AC.PlayerMenus.GetMenuWithName("Hotspot").positionType = AC_PositionType.Aligned;
- AC.KickStarter.menuManager.autoSelectValidRaycasts = true;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement