Advertisement
Guest User

Untitled

a guest
Jan 27th, 2020
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.27 KB | None | 0 0
  1. AC.KickStarter.settingsManager.movementMethod = MovementMethod.Direct;
  2. AC.KickStarter.settingsManager.inputMethod = InputMethod.KeyboardOrController;
  3. AC.KickStarter.settingsManager.directMovementType = DirectMovementType.RelativeToCamera;
  4. AC.KickStarter.menuManager.keyboardControlWhenDialogOptions = true;
  5. // Hotspot interaction Settings
  6. AC.KickStarter.settingsManager.interactionMethod = AC_InteractionMethod.ChooseHotspotThenInteraction;
  7. AC.KickStarter.settingsManager.hotspotDetection = HotspotDetection.PlayerVicinity;
  8. // lock cursor in screen
  9.  
  10.  
  11. if (Interrogation != null && Interrogation.IsOn())
  12. {
  13. AC.KickStarter.settingsManager.lockCursorOnStart = false;
  14. AC.KickStarter.settingsManager.hideLockedCursor = false;
  15. AC.KickStarter.cursorManager.cursorDisplay = CursorDisplay.Always;
  16.  
  17.  
  18. AC.KickStarter.settingsManager.hotspotDetection = HotspotDetection.MouseOver;
  19.  
  20.  
  21. if (GlobalVariables.GetIntegerValue(17) == 1)
  22. {
  23. AC.KickStarter.settingsManager.allowGameplayDuringConversations = true;
  24. }
  25. else if (GlobalVariables.GetIntegerValue(17) == 0)
  26. {
  27. AC.KickStarter.settingsManager.allowGameplayDuringConversations = false;
  28. }
  29.  
  30.  
  31. }
  32. else
  33. {
  34. AC.KickStarter.settingsManager.allowGameplayDuringConversations = false;
  35. AC.KickStarter.settingsManager.lockCursorOnStart = true;
  36. AC.KickStarter.settingsManager.hideLockedCursor = true;
  37. AC.KickStarter.cursorManager.cursorDisplay = CursorDisplay.Never;
  38. }
  39.  
  40.  
  41.  
  42.  
  43. AC.KickStarter.menuManager.keyboardControlWhenPaused = true;
  44. // This was the one that was causing all the problems
  45. AC.KickStarter.settingsManager.selectInteractions = SelectInteractions.CyclingMenuAndClickingHotspot;
  46.  
  47.  
  48.  
  49.  
  50. //PointClickIntMen.positionType = AC_PositionType.Aligned;
  51. //PointClickIntMen.alignment = TextAnchor.UpperRight;
  52.  
  53. PointClickIntMen.isLocked = true;
  54. DirectIntMen.isLocked = false;
  55.  
  56.  
  57.  
  58.  
  59.  
  60. AC.KickStarter.cursorManager.allowInteractionCursor = false;
  61. DirectIntMen.positionType = AC_PositionType.Aligned;
  62. DirectIntMen.alignment = TextAnchor.UpperRight;
  63.  
  64. DirectIntMenBackground.TurnOn();
  65. DirectIntMen.Recalculate();
  66.  
  67.  
  68.  
  69.  
  70.  
  71. if (inventory != null && inventory.IsOn())
  72. {
  73. AC.KickStarter.settingsManager.selectInteractions = SelectInteractions.ClickingMenu;
  74. }
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81. AC.PlayerMenus.GetMenuWithName("Hotspot").positionType = AC_PositionType.Aligned;
  82.  
  83.  
  84.  
  85. AC.KickStarter.menuManager.autoSelectValidRaycasts = true;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement