Some time ago I came across a wonderful little mod called "Oblivion Cities/ Towns FPS Optimiser" by NMC, this helped me alot with the low fps in the cities. Since then I have bought a better PC and would like to adjust/edit the scripts in this mod (for personal use only!).
I have the latest OBSE 0.20 along with my patched Oblivion+SI, I start up the Construstion set+OBSE and try to edit the script that changes Oblivion.ini settings depending on which town your entering or leaving.
The scripts work ingame and do what they should, but I only think they have to low values on some ini-parameters that I want to raise a little now with my new PC.
The script look like this:
-----------------------------------------------------------------
scriptname ImperialCityHiSet
float fQuestDelayTime
Begin GameMode
set fQuestDelayTime to ( 0.01 )
if ( player.GetInWorldspace ICArboretumDistrict == 1)
; ###############################
; ## EXPLORING ICArboretumDistrict ##
; ###############################
con_SetINISetting "fSpecularLOD2:Display" 300.0000
con_SetINISetting "fSpecularLOD1:Display" 0.0000
con_SetINISetting "iActorShadowCountInt:Display" 4
con_SetINISetting "iActorShadowCountExt:Display" 1
con_SetINISetting "fLODFadeOutMultActors:LOD" 3.6000
con_SetINISetting "fLODFadeOutMultItems:LOD" 2.0000
con_SetINISetting "fLODFadeOutMultObjects:LOD" 3.5000
con_SetClipDist 18500 ; distance at which clipping starts
; ###############################
endif
elseif ( player.GetInWorldspace ICArenaDistrict == 1)
; ###############################
; ## EXPLORING ICArenaDistrict ##
; ###############################
con_SetINISetting "fSpecularLOD2:Display" 300.0000
con_SetINISetting "fSpecularLOD1:Display" 0.0000
con_SetINISetting "iActorShadowCountInt:Display" 4
con_SetINISetting "iActorShadowCountExt:Display" 1
con_SetINISetting "fLODFadeOutMultActors:LOD" 3.6000
con_SetINISetting "fLODFadeOutMultItems:LOD" 2.0000
con_SetINISetting "fLODFadeOutMultObjects:LOD" 3.5000
con_SetClipDist 18500 ; distance at which clipping starts
; ###############################
endif
elseIf (player.GetInWorldspace ICElvenGardensDistrict == 1)
; ###################################
; ## EXPLORING ICElvenGardensDistrict ##
; ###################################
con_SetINISetting "fSpecularLOD2:Display" 300.0000
con_SetINISetting "fSpecularLOD1:Display" 0.0000
con_SetINISetting "iActorShadowCountInt:Display" 4
con_SetINISetting "iActorShadowCountExt:Display" 1
con_SetINISetting "fLODFadeOutMultActors:LOD" 3.6000
con_SetINISetting "fLODFadeOutMultItems:LOD" 2.0000
con_SetINISetting "fLODFadeOutMultObjects:LOD" 3.5000
con_SetClipDist 18500 ; distance at which clipping starts
; ###############################
endif
elseIf (player.GetInWorldspace ICImperialPrisonDistrict == 1)
; ###################################
; ## EXPLORING ICImperialPrisonDistrict ##
; ##################################
con_SetINISetting "fSpecularLOD2:Display" 300.0000
con_SetINISetting "fSpecularLOD1:Display" 0.0000
con_SetINISetting "iActorShadowCountInt:Display" 4
con_SetINISetting "iActorShadowCountExt:Display" 1
con_SetINISetting "fLODFadeOutMultActors:LOD" 3.6000
con_SetINISetting "fLODFadeOutMultItems:LOD" 2.0000
con_SetINISetting "fLODFadeOutMultObjects:LOD" 3.5000
con_SetClipDist 18500 ; distance at which clipping starts
; ###############################
endif
elseIf (player.GetInWorldspace ICMarketDistrict == 1)
; ###############################
; ## EXPLORING ICMarketDistrict ##
; ###############################
con_SetINISetting "fSpecularLOD2:Display" 300.0000
con_SetINISetting "fSpecularLOD1:Display" 0.0000
con_SetINISetting "iActorShadowCountInt:Display" 4
con_SetINISetting "iActorShadowCountExt:Display" 1
con_SetINISetting "fLODFadeOutMultActors:LOD" 3.6000
con_SetINISetting "fLODFadeOutMultItems:LOD" 2.0000
con_SetINISetting "fLODFadeOutMultObjects:LOD" 3.5000
con_SetClipDist 18500 ; distance at which clipping starts
; ###############################
endif
elseIf (player.GetInWorldspace ICTalosPlazaDistrict == 1)
; #################################
; ## EXPLORING ICTalosPlazaDistrict ##
; ################################
con_SetINISetting "fSpecularLOD2:Display" 300.0000
con_SetINISetting "fSpecularLOD1:Display" 0.0000
con_SetINISetting "iActorShadowCountInt:Display" 4
con_SetINISetting "iActorShadowCountExt:Display" 1
con_SetINISetting "fLODFadeOutMultActors:LOD" 3.6000
con_SetINISetting "fLODFadeOutMultItems:LOD" 2.0000
con_SetINISetting "fLODFadeOutMultObjects:LOD" 3.5000
con_SetClipDist 18500 ; distance at which clipping starts
; ###############################
endif
elseIf (player.GetInWorldspace ICImperialPalace == 1)
; ###############################
; ## EXPLORING ICImperialPalace ##
; ###############################
con_SetINISetting "fSpecularLOD2:Display" 300.0000
con_SetINISetting "fSpecularLOD1:Display" 0.0000
con_SetINISetting "iActorShadowCountInt:Display" 4
con_SetINISetting "iActorShadowCountExt:Display" 1
con_SetINISetting "fLODFadeOutMultActors:LOD" 3.6000
con_SetINISetting "fLODFadeOutMultItems:LOD" 2.0000
con_SetINISetting "fLODFadeOutMultObjects:LOD" 3.5000
con_SetClipDist 18500 ; distance at which clipping starts
; ###############################
endif
elseIf (player.GetInWorldspace ICImperialPalaceMQ16 == 1)
; ###################################
; ## EXPLORING ICImperialPalaceMQ16 ##
; ##################################
con_SetINISetting "fSpecularLOD2:Display" 300.0000
con_SetINISetting "fSpecularLOD1:Display" 0.0000
con_SetINISetting "iActorShadowCountInt:Display" 4
con_SetINISetting "iActorShadowCountExt:Display" 1
con_SetINISetting "fLODFadeOutMultActors:LOD" 3.6000
con_SetINISetting "fLODFadeOutMultItems:LOD" 2.0000
con_SetINISetting "fLODFadeOutMultObjects:LOD" 3.5000
con_SetClipDist 18500 ; distance at which clipping starts
; ###############################
endif
elseIf (player.GetInWorldspace ICTheArcaneUniversity == 1)
; ########################################
; ## EXPLORING ICTheArcaneUniversity ##
; ########################################
con_SetINISetting "fSpecularLOD2:Display" 300.0000
con_SetINISetting "fSpecularLOD1:Display" 0.0000
con_SetINISetting "iActorShadowCountInt:Display" 4
con_SetINISetting "iActorShadowCountExt:Display" 1
con_SetINISetting "fLODFadeOutMultActors:LOD" 3.6000
con_SetINISetting "fLODFadeOutMultItems:LOD" 2.0000
con_SetINISetting "fLODFadeOutMultObjects:LOD" 3.5000
con_SetClipDist 18500 ; distance at which clipping starts
; ###############################
endif
endif
endif
endif
endif
endif
endif
endif
endif
end GameMode
-----------------------------------------------------------------------------
Every time I try to save I get a error msg saying: OBSE "Invalid Begin/End block structure on line 23" (?)
This happens when I only want to change for example:
con_SetINISetting "iActorShadowCountExt:Display" 1.....to.....con_SetINISetting "iActorShadowCountExt:Display" 3
I have tried to edit the script using only CS (not CS+OBSE), but CS doesn't know the variable "SetClipDist" (?)
Can someone please help me with this problem?
/Alldes