Advertisement
soulassassin547

Immersive First Person View Settings (MaGlas)

Mar 22nd, 2019
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.27 KB | None | 0 0
  1. ; IMMERSIVE FIRST PERSON VIEW SETTINGS by MaGlas
  2. ; https://www.nexusmods.com/skyrim/mods/92665
  3. ; These settings allow crossbow sightdowns to be possible.
  4. ;
  5. ;
  6. ; Comments start with ; or # character on a new line, these lines are ignored
  7. ; See the read-me at http://www.nexusmods.com/skyrim/mods/49036/? or in
  8. ; downloaded mod archive for documentation on how to configure
  9.  
  10. ; Keycode IDs:
  11. ; https://msdn.microsoft.com/en-us/library/windows/desktop/dd375731%28v=vs.85%29.aspx
  12. ; numpad 8 reloads, uncomment to bind numpad9 to toggle view and numpad 7 to attach camera on crosshair target
  13. !bindkey 0x46 0 "ReloadIFPV"
  14. ;!bindkey 0x69 0 "ToggleIFPV"
  15. ;!bindkey 0x67 0 "AttachIFPV"
  16. !bindkey2 0x65 0 "ToggleHeadTrack"
  17. !bindkey 0x47 0 "ToggleHead"
  18. !bindkey 0x64 0 "ToggleHelmetCamOn"
  19.  
  20. ; Uncomment these two to allow free looking while numpad 6 is held (character doesn't turn to crosshair)
  21. ;!bindkey2 0x66 0 "TurnFreeLookOn"
  22. ;!bindkey2 -0x66 0 "TurnFreeLookOff"
  23.  
  24. ; Camera position offsets from eyes center in game units. If you are using beast race then scroll down for offsets.
  25. !set fPositionOffsetHorizontal 0
  26. !set fPositionOffsetVertical 0
  27. !set fPositionOffsetDepth 0.5
  28.  
  29. ; How much rotation is applied from head. 1 means camera direction equals head rotation, 0 means camera direction
  30. ; equals look direction. 0.5 would be the middle.
  31. !set fRotationFromHead 0
  32.  
  33. ; Restrict view angle so you can't look yourself in the eye.
  34. !set fRestrictAngleHorizontal 90
  35. !set fRestrictAngleVertical 80
  36.  
  37. ; set both false if you don't want to overwrite vanilla FP, you could instead use then custom keybind
  38. !set bZoomIntoIFPV true
  39. !set bToggleIntoIFPV true
  40.  
  41. ; Set true to allow head tracking crosshair in third person view.
  42. !set bHeadtrack true
  43.  
  44. ; Some internal values. Ignore these.
  45. !set fExtraRotationFromCamera 0
  46. !set fUpdateProfileInterval 0.2
  47. !set fTweenLength 0.2
  48. !set iDebug 0
  49. !set bEnabled true
  50. !set bActivated false
  51. !set iUnused1 0
  52. !set iUnused2 0
  53. !set iUnused3 0
  54. !set iFaceCrosshair 0
  55. !set bHideHead false
  56. !set bHideHelmet false
  57. !set bArrowCamera false
  58. !set iIgnoreWorldCollision 0
  59.  
  60. ; Profiles are selected from top to bottom, whichever first satisfies all conditions
  61. ; Profiles without any conditions are never selected but can be entered through command or keybind
  62. ; Profiles that use "skip" command are not selected automatically
  63. ; Profiles that use "disable" command are not loaded
  64.  
  65. ; Normal profiles
  66.  
  67. [ToggleIFPV]
  68. ; this profile will not be selected automatically because there are no conditions, but it was bound to key
  69. +GoThirdPerson
  70. +modifynooverride bActivated true
  71.  
  72. [ReloadIFPV]
  73. +reload
  74.  
  75. [AttachIFPV]
  76. ; Attach camera to crosshair target so you can see through their eyes, you don't gain control of them
  77. +AttachCamera
  78.  
  79. [TurnFreeLookOn]
  80. +setnooverride iUnused1 1
  81.  
  82. [TurnFreeLookOff]
  83. +setnooverride iUnused1 0
  84.  
  85. [ToggleHeadTrack]
  86. +modifynooverride bHeadtrack true
  87.  
  88. [ToggleHead]
  89. +modifynooverride bHidehead true
  90. +modifynooverride bHideHelmet true
  91.  
  92. [ToggleHelmetCamOn]
  93. +set bHideHelmet true
  94. +set bHideHead true
  95. -bindkey 0x64 0 "ToggleHelmetCamOff"
  96.  
  97. [ToggleHelmetCamOff]
  98. -bindkey 0x65 0 "ToggleHelmetCamOn"
  99.  
  100. {ArrowCam}
  101. (bIsActive==true)
  102. (bIsCameraOnArrow==true)
  103. +set fNearClip 5
  104. +set fRotationFromHead 0.991
  105. +set fPositionOffsetDepth 8
  106. +set fPositionOffsetHorizontal 0
  107. +set fPositionOffsetVertical 3
  108. +set fRestrictAngleHorizontal 180
  109. +set fRestrictAngleVertical 180
  110. +set fExtraRotationFromCamera 0.95
  111. +set fTimescale 0.2
  112. +set iIgnoreWorldCollision 1
  113. -return fRotationFromHead
  114. -return fPositionOffsetDepth
  115. -return fPositionOffsetHorizontal
  116. -return fPositionOffsetVertical
  117. -return fTimescale
  118. -return iIgnoreWorldCollision
  119. -return fRestrictAngleHorizontal
  120. -return fRestrictAngleVertical
  121. -return fExtraRotationFromCamera
  122. -return fNearClip
  123.  
  124. {SLProfile}
  125. (bIsActive==true)
  126. (Keyword&SexLabActive)
  127. +set fRotationFromHead 1
  128. -return fRotationFromHead
  129. +set fExtraRotationFromCamera 1
  130. -return fExtraRotationFromCamera
  131. +set bHeadtrack false
  132. -return bHeadtrack
  133. +set fNearClip 0.001
  134. -return fNearClip
  135.  
  136. ; Used in the toggle free look hotkey.
  137. {FreeLook}
  138. (iUnused1==1)
  139. +set iFaceCrosshair -1
  140. -return iFaceCrosshair
  141.  
  142. ; Disable IFPV during VATS.
  143. {Cinematic3rdPersonCam}
  144. (iCameraState==2)
  145. +set bActivated false
  146. -return bActivated
  147.  
  148. {AllowLookDuringKillmove}
  149. (bKillMove==true)
  150. (bIsActive==true)
  151. +set fExtraRotationMouse 1.3
  152. -return fExtraRotationMouse
  153. ; This profile has been found to cause problems. So it's disabled.
  154. disable
  155.  
  156. ; This is for furniture used during crafting.
  157. {CraftingFurniture}
  158. (iUnused2==1)
  159. (bIsActive==true)
  160. +set fRotationFromHead 1
  161. -return fRotationFromHead
  162. +set bHeadtrack false
  163. -return bHeadtrack
  164. +set fNearClip 4
  165. -return fNearClip
  166.  
  167. ; These are used to trigger crafting furniture profile. This might not work on non-english localized Skyrim!
  168. {AlchemyFurniture}
  169. (sFurniture&alchemy)
  170. +set iUnused2 1
  171. -return iUnused2
  172. {EnchantingFurniture}
  173. (sFurniture&enchanter)
  174. +set iUnused2 1
  175. -return iUnused2
  176. {ForgeFurniture}
  177. (sFurniture&forge)
  178. +set iUnused2 1
  179. -return iUnused2
  180. {CookingFurniture}
  181. (sFurniture&cooking)
  182. +set iUnused2 1
  183. -return iUnused2
  184. {GrindstoneFurniture}
  185. (sFurniture&grind)
  186. +set iUnused2 1
  187. -return iUnused2
  188. {SmelterFurniture}
  189. (sFurniture&smelter)
  190. +set iUnused2 1
  191. -return iUnused2
  192. {SkinningFurniture}
  193. (sFurniture&tanning)
  194. +set iUnused2 1
  195. -return iUnused2
  196. {WorkbenchFurniture}
  197. (sFurniture&workbench)
  198. +set iUnused2 1
  199. -return iUnused2
  200. {AnvilFurniture}
  201. (sFurniture&anvil)
  202. +set iUnused2 1
  203. -return iUnused2
  204.  
  205. ; Turns character when you reach certain angle in free look mode, disabled by default
  206. {LeftTurn}
  207. ; 1.2217 rad = 70 deg
  208. (fCameraViewOffsetHorizontal<-1.2217)
  209. (bMounted==false)
  210. (bIsActive==true)
  211. +set iFaceCrosshair 2
  212. -return iFaceCrosshair
  213. ; Remove the line "disable" to enable auto-turn character when looking left past certain degree
  214. disable
  215.  
  216. ; Turns character when you reach certain angle in free look mode, disabled by default
  217. {RightTurn}
  218. (fCameraViewOffsetHorizontal>1.2217)
  219. (bMounted==false)
  220. (bIsActive==true)
  221. +set iFaceCrosshair 2
  222. -return iFaceCrosshair
  223. ; Remove the line "disable" to enable auto-turn character when looking right past certain degree
  224. disable
  225.  
  226. ; Change camera position a bit during vampire lord
  227. {VampireLord}
  228. (bVampireLord==true)
  229. (bIsActive==true)
  230. +set fPositionOffsetDepth 10
  231. -return fPositionOffsetDepth
  232.  
  233. ; Change camera position a bit during werewolf
  234. {WerewolfForm}
  235. (bWereWolf==true)
  236. (bIsActive==true)
  237. +set fPositionOffsetDepth 10
  238. -return fPositionOffsetDepth
  239.  
  240. {Mounting}
  241. (bMounting==true)
  242. (bIsActive==true)
  243. +set fNearClip 3
  244. -return fNearClip
  245.  
  246. {Dismounting}
  247. (bDismounting==true)
  248. (bIsActive==true)
  249. +set fNearClip 3
  250. -return fNearClip
  251.  
  252. {CombatInVanillaFirstPerson}
  253. (bWeaponOut==true)
  254. (bIsActive==true)
  255. +GoFirstPerson
  256. -GoThirdPerson
  257. ; Remove the "disable" on next line to make all combat in vanilla first person view.
  258. disable
  259.  
  260. {SittingChange}
  261. (iCameraState==5)
  262. (bIsActive==true)
  263. +set bHeadtrack false
  264. -return bHeadtrack
  265. +set fRotationFromHead 1
  266. -return fRotationFromHead
  267.  
  268. {CraftingChange}
  269. (iCameraState==8)
  270. (bIsActive==true)
  271. +set bHeadtrack false
  272. -return bHeadtrack
  273. +set fRotationFromHead 1
  274. -return fRotationFromHead
  275.  
  276. {TransitionCam}
  277. (iCameraState==6)
  278. (bIsActive==true)
  279. +set bHeadtrack false
  280. -return bHeadtrack
  281. +set fRotationFromHead 1
  282. -return fRotationFromHead
  283.  
  284. {BleedoutCam}
  285. (iCameraState==11)
  286. (bIsActive==true)
  287. +set bHeadtrack false
  288. -return bHeadtrack
  289. +set fRotationFromHead 1
  290. -return fRotationFromHead
  291.  
  292. [Crossbow Sneak]
  293. (bAimCrossbow==true)
  294. (bSneaking==true)
  295. (bIsActive==true)
  296. +set fNearClip 4.0
  297. -return fNearClip
  298. +set bHeadtrack false
  299. -return bHeadtrack
  300. +set fRotationFromHead 0
  301. -return fRotationFromHead
  302. +set fPositionOffsetVertical 5
  303. -return fPositionOffsetVertical
  304. +set fPositionOffsetHorizontal 7
  305. -return fPositionOffsetHorizontal
  306.  
  307. [Crossbow Mounted]
  308. (bAimCrossbow==true)
  309. (bMounted==true)
  310. (bIsActive==true)
  311. +set fNearClip 4.0
  312. -return fNearClip
  313. +set bHeadtrack false
  314. -return bHeadtrack
  315. +set fRotationFromHead 0
  316. -return fRotationFromHead
  317. +set fPositionOffsetVertical 3
  318. -return fPositionOffsetVertical
  319. +set fPositionOffsetHorizontal -3
  320. -return fPositionOffsetHorizontal
  321.  
  322. [Crossbow]
  323. (bAimCrossbow==true)
  324. (bIsActive==true)
  325. +set fNearClip 4.0
  326. -return fNearClip
  327. +set bHeadtrack false
  328. -return bHeadtrack
  329. +set fRotationFromHead 0
  330. -return fRotationFromHead
  331. +set fPositionOffsetVertical -2
  332. -return fPositionOffsetVertical
  333. +set fPositionOffsetHorizontal 9.4
  334. -return fPositionOffsetHorizontal
  335. +set fPositionOffsetDepth 0
  336. -return fPositionOffsetDepth
  337.  
  338. {BowAimingInVanillaFirstPerson}
  339. (bAimBow==true)
  340. (bIsActive==true)
  341. +GoFirstPerson
  342. -GoThirdPerson
  343. ; Remove "disable" to automatically switch to vanilla FP during bow aim
  344. disable
  345.  
  346. ; Bow aiming profile. Disable head tracking because it will mess up everything.
  347. {BowAiming}
  348. (bAimBow==true)
  349. (bIsActive==true)
  350. +set bHeadtrack false
  351. -return bHeadtrack
  352. +set fRotationFromHead 0
  353. -return fRotationFromHead
  354. +set fPositionOffsetVertical 1
  355. -return fPositionOffsetVertical
  356. +set fPositionOffsetHorizontal 0.5
  357. -return fPositionOffsetHorizontal
  358. +set fPositionOffsetDepth -0.5
  359. -return fPositionOffsetDepth
  360. +set fNearClip 4.0
  361. -return fNearClip
  362.  
  363. ; Mounted horse profile, restrict camera angle a bit more.
  364. {Mounted}
  365. (bMounted==true)
  366. (bIsActive==true)
  367. +set fNearClip 5.0
  368. -return fNearClip
  369. +set fRestrictAngleHorizontal 60
  370. +set fRestrictAngleVertical 50
  371. -return fRestrictAngleHorizontal
  372. -return fRestrictAngleVertical
  373. +set fPositionOffsetVertical 4
  374. -return fPositionOffsetVertical
  375. +set fPositionOffsetDepth 6
  376. -return fPositionOffsetDepth
  377.  
  378. [Weapon Out]
  379. (bWeaponOut==true)
  380. (bIsActive==true)
  381. +set bHeadtrack false
  382. -return bHeadtrack
  383. +set fRestrictAngleVertical 70
  384. -return fRestrictAngleVertical
  385. +set fNearClip 5
  386. -return fNearClip
  387. +set fPositionOffsetDepth -6
  388. -return fPositionOffsetDepth
  389. +set fPositionOffsetVertical 2
  390. -return fPositionOffsetVertical
  391. +set fRotationFromHead 0.01
  392. -return fRotationFromHead
  393.  
  394. ; Profile for if user has enabled helmet cam (see their hat).
  395. {HelmetCam}
  396. (iUnused3==1)
  397. (bIsActive==true)
  398. +set fPositionOffsetHorizontal 0
  399. +set fPositionOffsetVertical 5
  400. +set fPositionOffsetDepth 2
  401. +set fNearClip 6
  402. +set bHideHead true
  403. +set bHideHelmet false
  404. +set fRestrictAngleVertical 70
  405. -return fRestrictAngleVertical
  406. -return fPositionOffsetHorizontal
  407. -return fPositionOffsetVertical
  408. -return fPositionOffsetDepth
  409. -return fNearClip
  410. -return bHideHead
  411. -return bHideHelmet
  412.  
  413. ; Beast race offsets for khajiit. Move camera forward and up a bit.
  414. {BeastRaceKhajiit}
  415. (sRace&khajiit)
  416. (bIsInIFPV==true)
  417. +set fPositionOffsetDepth 1
  418. -return fPositionOffsetDepth
  419. +set fPositionOffsetVertical 1
  420. -return fPositionOffsetVertical
  421. ; This profile is not necessary since head can be hidden reliably.
  422. disable
  423.  
  424. ; Beast race offsets for argonian. Move camera forward and up a bit.
  425. {BeastRaceArgonian}
  426. (sRace&argonia)
  427. (bIsInIFPV==true)
  428. +set fPositionOffsetDepth 1
  429. -return fPositionOffsetDepth
  430. +set fPositionOffsetVertical 1
  431. -return fPositionOffsetVertical
  432. ; This profile is not necessary since head can be hidden reliably.
  433. disable
  434.  
  435. ; Main IFPV configuration that isn't overrided by other profiles.
  436. {Main}
  437. (bIsInIFPV==true)
  438. ; Set near clip to larger value to fix mountain flicker or lower value to reduce clipping nearby objects.
  439. +set fNearClip 5
  440. -return fNearClip
  441. ; Set in next line true to false, to not allow head tracking crosshair
  442. +set bHeadtrack true
  443. -return bHeadtrack
  444. ; Set next line from true to false to allow third person cinematic killmoves while in IFPV.
  445. +set bDisableVATS true
  446. -return bDisableVATS
  447. ; Set character turns to crosshair or not.
  448. ; 0 = let game decide (normal behavior)
  449. ; 1 = always turn like weapon is drawn
  450. ; -1 = force not turning character ever
  451. ; -2 = character doesn't auto-turn when weapons are out but still turns if you move or attack
  452. ;(can be good to fix "wobble" during weapon out turning)
  453. +set iFaceCrosshair 0
  454. -return iFaceCrosshair
  455. ;+set bHideHead true
  456. ;-return bHideHead
  457. ; Set false instead of true on next line if you don't want to hide helmet by default.
  458. ;+set bHideHelmet true
  459. ;-return bHideHead
  460. +set fPositionOffsetVertical 2
  461. -return fPositionOffsetVertical
  462. +set fPositionOffsetDepth -6
  463. -return fPositionOffsetDepth
  464. +set fFOV 85
  465. +set fRestrictAngleVertical 80
  466. -return fRestrictAngleVertical
  467. +set fRotationFromHead 0.05
  468. -return fRotationFromHead
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement