﻿;; Better Console
SetINISetting "iConsoleHistoryCharBufferSize:Menu" "65536"
SetINISetting "iBackgroundOpacity=77:Menu" "77"
SetINISetting "iConsoleSizeScreenPercent=80:Menu" "80"
SetINISetting "iConsoleTextSize=12:Menu" "13"
SaveINIFiles


;;Better Photomode

SetINISetting "bFadeCollidedActorsInPhotoMode:Camera" "0"
SetINISetting "fPhotoModeCameraRange:Camera" "50"
SetINISetting "fPhotoModeCameraSpaceRange:Camera" "600"
SetINISetting "fPhotoModeCameraTranslationSpeed:Camera" "10"
SetINISetting "fPhotoModeCameraSpaceTranslationSpeed:Camera" "50"
SaveINIFiles

;;Space spawn chances
;;Vanilla: 25.00 (SE_Chance_CivilizedInUncivilizedSpace)
set 00000B70 to 37.5
;;Vanilla: 100.00 (SE_Chance_CivilizedInCivilizedSpace)
set 00000B71 to 150
;;Vanilla: 25.00 (SE_Chance_UncivilizedInCivilizedSpace)
set 00000B73 to 75
;;Vanilla: 50.00 (SE_Player_ChanceUniqueGlobal)
set 0019D845 to 75
;;Vanilla: 50.00 (SE_Player_ChanceRareGlobal)
set 0019D846 to 75
;;Vanilla: 40.00 (SE_Player_ChanceCommonGlobal)
set 0019D847 to 60
;;Vanilla 50.00 (SE_Player_ChanceSerpentisVaruunGlobal)
set 002EA969 to 75
;;Vanilla 30.00 (SE_Player_ChanceBountyShipsGlobal)
set 000C3832 to 45
;;Vanilla 35.00 (SE_Player_ChanceTraitWantedGlobal)
set 002E7890 to 52.5
;;Vanilla 20.00 (SE_ChanceUniqueGlobal)
set 0012B445 to 30
;;Vanilla 50.00 (SE_ChanceRareGlobal)
set 0012B446 to 75


;;CAMERA MODE TWEAKS
SetINISetting "fPhotoModeCameraRange:Camera" "100"
SetINISetting "fPhotoModeCameraSphereSize:Camera" "100"
SetINISetting "bFadeCollidedActorsInPhotoMode:Camera" "0"
SetINISetting "fPhotoModeFOVMin:Interface" "1"
SetINISetting "fPhotoModeFOVMax:Interface" "150"
SetINISetting "iDefaultExternalCodecID:Wwise" "4"
SetINISetting "fPhotoModeVignetteOpacityMax:Interface" "1"
SetINISetting "fPhotoModeVignetteRadius:Interface" "0.50"
SaveINIFiles

;;Flight
setini "fDefaultShipAutoVanityZoomScale:Camera" 4.500
SaveIniFiles

;;Setup Starmap fix
SetINISetting "bSurfaceMapUseFixedPointCount:SurfaceMap" "1"
SetINISetting "fSurfaceMapPointRadius:SurfaceMap" "1.1"
SetINISetting "iSurfaceMapPointsPerLength:SurfaceMap" "400"
SetINISetting "iSurfaceMapPointsPerMap:SurfaceMap" "160000"
SetINISetting "fSurfaceMapZoomDistanceMax:SurfaceMap" "5250.0"
SetINISetting "fSurfaceMapZoomDistanceMin:SurfaceMap" "525.0"
SetINISetting "iSurfaceMapLocalTerrainHeightTrackingTapSize:SurfaceMap" "1"
SetINISetting "iSurfaceMapNumCells:SurfaceMap" "1400"
SetINISetting "fSurfaceMapZoomSpeedMousewheel:SurfaceMap" "200.0"
SaveIniFiles

;Fix for Grabbing and Hold to Equip
SetINISetting "fQCZKeyDelay:Controls" "0.8"
SaveIniFiles

;setup esm files
SetINISetting "sTestFile1:General" "StarfieldCommunityPatch.esm"
SetINISetting "sTestFile2:General" "IncreasedContrabandPrices.esm"
SetINISetting "sTestFile3:General" "LinkedCompanionSuit.esm"
SetINISetting "sTestFile4:General" "crewskilloverhaul.esm"
SetINISetting "sTestFile5:General" "HSIBA.esm"
SetINISetting "sTestFile6:General" "ShipHabOverhaul.esm"
SetINISetting "sTestFile7:General" "crafting_updated.esm"
SetINISetting "sTestFile8:General" "more_missions_from_boards.esm"
SetINISetting "sTestFile9:General" "AshApogeeCombatOverhaul.esm"
SetINISetting "sTestFile10:General" "AshApogeeCombatOverhaul_Weapons.esm"
SaveIniFiles

;; Precognition Permanent Power
player.setav C0BF6 0

;; True Aim
SetINISetting "bDampenFirstPlayerControls:Controls" "0"
SetINISetting "bDampenThirdPlayerControls:Controls" "0"
SetINISetting "fIronSightsPitchSpeedRatio:Controls" "1"
SetINISetting "fIronSightsLookSpeedPitch:Controls" "2"
SetINISetting "fIronSightsLookSpeedYaw:Controls" "2"
SetINISetting "fLookSpeedPitch:Controls" "1"
SetINISetting "fLookSpeedYaw:Controls" "1"
SetINISetting "fMouseHeadingXScale:Controls" "0.01"
SetINISetting "fMouseHeadingYScale:Controls" "0.01"
SetINISetting "fPitchSpeedRatio:Controls" "1"
SetINISetting "bMagnetismEnabled:Combat" "0"

;;  Grab downed NPC
SetINISetting "bAllowHavokGrabTheLiving:GamePlay" "1"
SaveIniFiles

;;  Disable Idle Camera
SetINISetting "fSecsBeforeIdle:General" "100000000.0"
SaveIniFiles

;; Aim Stability
player.forceav AimStability 1.00
player.modav AimStability 0.35
SaveIniFiles

;; Reload Speed
player.forceav WeapReloadSpeedMult 0.00
player.modav WeapReloadSpeedMult 0.25

;; Jetpack Overhaul
;(The actor values have the wrong names, e.g. initial actually is sustained)
;These values will save into your save game even when uninstalling this mod, to revert it to vanilla write "bat JetpackVanilla" into the console

;Energy drain rate for sustained flight (vanilla = 160)
player.setav boostpackdraininitial -80

;Energy drain rate for initiating flight (vanilla = 35)
player.setav boostpackdrainsustained 0

;Upward thrust for sustained flight (vanilla = 250)
player.setav boostpackthrustinitial -115

;Upward thrust for initiating flight (vanilla = 60)
player.setav boostpackthrustsustained 0

;THE BELOW SETTING ONLY WORKS WITH HORIZONTAL JETPACK BOOSTS, CHECK OUT THE MAIN PAGE FOR MORE INFORMATION!
;Horizontal boost strenght, higher values = higher horizontal boost (vanilla = 0.85)
Player.setav BoostpackHorizontalPercentage 0.10

;Ship Tweaks
SetINISetting "fShipBuilderModuleOverlapTolerance:Spaceship" "-1"
SaveIniFiles

;Ship Build

SetINISetting "fShipBuilderMouseZoomSpeedMultiplier:Spaceship" "4"
SetINISetting "fShipBuilderGamepadZoomSpeedMultiplier:Spaceship" "1.2"
SetINISetting "fShipBuilderZoomMinScale:Spaceship" "4"
SetINISetting "fShipBuilderMaxFloor:Spaceship" "50"
SetINISetting "fShipBuilderMinFloor:Spaceship" "-50"
SetINISetting "fShipBuilderMousePanSpeed:Spaceship" "2.25"
SetINISetting "fShipBuilderGamepadPanSpeed:Spaceship" "45"
SetINISetting "fShipBuilderMouseRotationSpeedMultiplier:Spaceship" "9"
SetINISetting "fShipBuilderFloorChangeDuration:Spaceship" "0.35"

SetINISetting "fShipBuilderEquipmentSnapDistance:Spaceship" "1.5"
SetINISetting "fShipBuilderSnapDistance:Spaceship" "1.75"

SaveIniFiles
refreshini

;
cgf "Debug.Notification" "Starfield Enhanced installed - enjoy!"