good evening, after having entered the FOV system, I find myself with this error, I have not been able to understand the reason for 2 days.
would anyone know how to help me?
sorry for my eng
syserr
Code
- 1015 19:36:18652 ::
- uiSystemOption.py(line:81) __Load_BindObject
- ui.py(line:3589) GetChild
- OptionDialog.__Load_BindObject - <type 'exceptions.KeyError'>:'FOV_ON'
- 1015 19:36:18652 :: ============================================================================================================
- 1015 19:36:18652 :: Abort!!!!
uisystemoption.py
Python
- import dbg
- import ui
- import snd
- import systemSetting
- import net
- import chat
- import app
- import localeInfo
- import constInfo
- import chrmgr
- import player
- import musicInfo
- import uiSelectMusic
- import background
- MUSIC_FILENAME_MAX_LEN = 25
- blockMode = 0
- class OptionDialog(ui.ScriptWindow):
- def __init__(self):
- ui.ScriptWindow.__init__(self)
- self.__Initialize()
- self.__Load()
- if app.ENABLE_FOV_OPTION:
- self.RefreshFOVOption()
- def __del__(self):
- ui.ScriptWindow.__del__(self)
- print " -------------------------------------- DELETE SYSTEM OPTION DIALOG"
- def __Initialize(self):
- self.tilingMode = 0
- self.titleBar = 0
- self.changeMusicButton = 0
- self.selectMusicFile = 0
- self.ctrlMusicVolume = 0
- self.ctrlSoundVolume = 0
- self.musicListDlg = 0
- self.tilingApplyButton = 0
- self.cameraModeButtonList = []
- self.fogModeButtonList = []
- self.tilingModeButtonList = []
- self.ctrlShadowQuality = 0
- if app.ENABLE_FOV_OPTION:
- self.fovButtonList = []
- def Destroy(self):
- self.ClearDictionary()
- self.__Initialize()
- print " -------------------------------------- DESTROY SYSTEM OPTION DIALOG"
- def __Load_LoadScript(self, fileName):
- try:
- pyScriptLoader = ui.PythonScriptLoader()
- pyScriptLoader.LoadScriptFile(self, fileName)
- except:
- import exception
- exception.Abort("System.OptionDialog.__Load_LoadScript")
- def __Load_BindObject(self):
- try:
- GetObject = self.GetChild
- self.titleBar = GetObject("titlebar")
- self.selectMusicFile = GetObject("bgm_file")
- self.changeMusicButton = GetObject("bgm_button")
- self.ctrlMusicVolume = GetObject("music_volume_controller")
- self.ctrlSoundVolume = GetObject("sound_volume_controller")
- self.cameraModeButtonList.append(GetObject("camera_short"))
- self.cameraModeButtonList.append(GetObject("camera_long"))
- self.fogModeButtonList.append(GetObject("fog_level0"))
- self.fogModeButtonList.append(GetObject("fog_level1"))
- self.fogModeButtonList.append(GetObject("fog_level2"))
- self.tilingModeButtonList.append(GetObject("tiling_cpu"))
- self.tilingModeButtonList.append(GetObject("tiling_gpu"))
- self.tilingApplyButton=GetObject("tiling_apply")
- #self.ctrlShadowQuality = GetObject("shadow_bar")
- self.fovButtonList.append(GetObject("FOV_ON"))
- self.fovButtonList.append(GetObject("FOV_OFF"))
- except:
- import exception
- exception.Abort("OptionDialog.__Load_BindObject")
- def __Load(self):
- self.__Load_LoadScript("uiscript/systemoptiondialog.py")
- self.__Load_BindObject()
- self.SetCenterPosition()
- self.titleBar.SetCloseEvent(ui.__mem_func__(self.Close))
- self.ctrlMusicVolume.SetSliderPos(float(systemSetting.GetMusicVolume()))
- self.ctrlMusicVolume.SetEvent(ui.__mem_func__(self.OnChangeMusicVolume))
- self.ctrlSoundVolume.SetSliderPos(float(systemSetting.GetSoundVolume()) / 5.0)
- self.ctrlSoundVolume.SetEvent(ui.__mem_func__(self.OnChangeSoundVolume))
- if app.ENABLE_FOV_OPTION:
- self.__ClickRadioButton(self.fovButtonList, systemSetting.IsExtendedFOV())
- # self.ctrlShadowQuality.SetSliderPos(float(systemSetting.GetShadowLevel()) / 5.0)
- # self.ctrlShadowQuality.SetEvent(ui.__mem_func__(self.OnChangeShadowQuality))
- self.changeMusicButton.SAFE_SetEvent(self.__OnClickChangeMusicButton)
- self.cameraModeButtonList[0].SAFE_SetEvent(self.__OnClickCameraModeShortButton)
- self.cameraModeButtonList[1].SAFE_SetEvent(self.__OnClickCameraModeLongButton)
- self.fogModeButtonList[0].SAFE_SetEvent(self.__OnClickFogModeLevel0Button)
- self.fogModeButtonList[1].SAFE_SetEvent(self.__OnClickFogModeLevel1Button)
- self.fogModeButtonList[2].SAFE_SetEvent(self.__OnClickFogModeLevel2Button)
- self.tilingModeButtonList[0].SAFE_SetEvent(self.__OnClickTilingModeCPUButton)
- self.tilingModeButtonList[1].SAFE_SetEvent(self.__OnClickTilingModeGPUButton)
- self.tilingApplyButton.SAFE_SetEvent(self.__OnClickTilingApplyButton)
- self.__SetCurTilingMode()
- self.__ClickRadioButton(self.fogModeButtonList, constInfo.GET_FOG_LEVEL_INDEX())
- self.__ClickRadioButton(self.cameraModeButtonList, constInfo.GET_CAMERA_MAX_DISTANCE_INDEX())
- if app.ENABLE_FOV_OPTION:
- self.fovButtonList[0].SAFE_SetEvent(self.__OnClickFOVButton, 1) # on
- self.fovButtonList[1].SAFE_SetEvent(self.__OnClickFOVButton, 0) # off
- if musicInfo.fieldMusic==musicInfo.METIN2THEMA:
- self.selectMusicFile.SetText(uiSelectMusic.DEFAULT_THEMA)
- else:
- self.selectMusicFile.SetText(musicInfo.fieldMusic[:MUSIC_FILENAME_MAX_LEN])
- def __OnClickTilingModeCPUButton(self):
- self.__NotifyChatLine(localeInfo.SYSTEM_OPTION_CPU_TILING_1)
- self.__NotifyChatLine(localeInfo.SYSTEM_OPTION_CPU_TILING_2)
- self.__NotifyChatLine(localeInfo.SYSTEM_OPTION_CPU_TILING_3)
- self.__SetTilingMode(0)
- def __OnClickTilingModeGPUButton(self):
- self.__NotifyChatLine(localeInfo.SYSTEM_OPTION_GPU_TILING_1)
- self.__NotifyChatLine(localeInfo.SYSTEM_OPTION_GPU_TILING_2)
- self.__NotifyChatLine(localeInfo.SYSTEM_OPTION_GPU_TILING_3)
- self.__SetTilingMode(1)
- def __OnClickTilingApplyButton(self):
- self.__NotifyChatLine(localeInfo.SYSTEM_OPTION_TILING_EXIT)
- if 0==self.tilingMode:
- background.EnableSoftwareTiling(1)
- else:
- background.EnableSoftwareTiling(0)
- net.ExitGame()
- def __OnClickChangeMusicButton(self):
- if not self.musicListDlg:
- self.musicListDlg=uiSelectMusic.FileListDialog()
- self.musicListDlg.SAFE_SetSelectEvent(self.__OnChangeMusic)
- self.musicListDlg.Open()
- def __ClickRadioButton(self, buttonList, buttonIndex):
- try:
- selButton=buttonList[buttonIndex]
- except IndexError:
- return
- for eachButton in buttonList:
- eachButton.SetUp()
- selButton.Down()
- def __SetTilingMode(self, index):
- self.__ClickRadioButton(self.tilingModeButtonList, index)
- self.tilingMode=index
- def __SetCameraMode(self, index):
- constInfo.SET_CAMERA_MAX_DISTANCE_INDEX(index)
- self.__ClickRadioButton(self.cameraModeButtonList, index)
- def __SetFogLevel(self, index):
- constInfo.SET_FOG_LEVEL_INDEX(index)
- self.__ClickRadioButton(self.fogModeButtonList, index)
- def __OnClickCameraModeShortButton(self):
- self.__SetCameraMode(0)
- def __OnClickCameraModeLongButton(self):
- self.__SetCameraMode(1)
- def __OnClickFogModeLevel0Button(self):
- self.__SetFogLevel(0)
- def __OnClickFogModeLevel1Button(self):
- self.__SetFogLevel(1)
- def __OnClickFogModeLevel2Button(self):
- self.__SetFogLevel(2)
- def __OnChangeMusic(self, fileName):
- self.selectMusicFile.SetText(fileName[:MUSIC_FILENAME_MAX_LEN])
- if musicInfo.fieldMusic != "":
- snd.FadeOutMusic("BGM/"+ musicInfo.fieldMusic)
- if fileName==uiSelectMusic.DEFAULT_THEMA:
- musicInfo.fieldMusic=musicInfo.METIN2THEMA
- else:
- musicInfo.fieldMusic=fileName
- musicInfo.SaveLastPlayFieldMusic()
- if musicInfo.fieldMusic != "":
- snd.FadeInMusic("BGM/" + musicInfo.fieldMusic)
- def OnChangeMusicVolume(self):
- pos = self.ctrlMusicVolume.GetSliderPos()
- snd.SetMusicVolume(pos * net.GetFieldMusicVolume())
- systemSetting.SetMusicVolume(pos)
- def OnChangeSoundVolume(self):
- pos = self.ctrlSoundVolume.GetSliderPos()
- snd.SetSoundVolumef(pos)
- systemSetting.SetSoundVolumef(pos)
- if app.ENABLE_FOV_OPTION:
- def __OnClickFOVButton(self, flag):
- self.__ClickRadioButton(self.fovButtonList, flag)
- systemSetting.SetExtendedFOV(flag)
- self.RefreshFOVOption()
- def RefreshFOVOption(self):
- if systemSetting.IsExtendedFOV():
- self.fovButtonList[1].SetUp()
- self.fovButtonList[0].Down()
- else:
- self.fovButtonList[1].Down()
- self.fovButtonList[0].SetUp()
- def OnChangeShadowQuality(self):
- pos = self.ctrlShadowQuality.GetSliderPos()
- systemSetting.SetShadowLevel(int(pos / 0.2))
- def OnCloseInputDialog(self):
- self.inputDialog.Close()
- self.inputDialog = None
- return True
- def OnCloseQuestionDialog(self):
- self.questionDialog.Close()
- self.questionDialog = None
- return True
- def OnPressEscapeKey(self):
- self.Close()
- return True
- def Show(self):
- ui.ScriptWindow.Show(self)
- def Close(self):
- self.__SetCurTilingMode()
- self.Hide()
- def __SetCurTilingMode(self):
- if background.IsSoftwareTiling():
- self.__SetTilingMode(0)
- else:
- self.__SetTilingMode(1)
- def __NotifyChatLine(self, text):
- chat.AppendChat(chat.CHAT_TYPE_INFO, text)
Code
- systemoptiondialog.pyimport uiScriptLocale
- import app
- ROOT_PATH = "d:/ymir work/ui/public/"
- TEMPORARY_X = +13
- TEXT_TEMPORARY_X = -10
- BUTTON_TEMPORARY_X = 5
- PVP_X = -10
- if app.ENABLE_ENVIRONMENT_EFFECT_OPTION:
- window = {
- "name" : "SystemOptionDialog",
- "style" : ("movable", "float",),
- "x" : 0,
- "y" : 0,
- "width" : 305,
- "height" : 300,
- "children" :
- (
- {
- "name" : "board",
- "type" : "board",
- "x" : 0,
- "y" : 0,
- "width" : 305,
- "height" : 300,
- "children" :
- (
- ## Title
- {
- "name" : "titlebar",
- "type" : "titlebar",
- "style" : ("attach",),
- "x" : 8,
- "y" : 8,
- "width" : 284,
- "color" : "gray",
- "children" :
- (
- {
- "name":"titlename", "type":"text", "x":0, "y":3,
- "horizontal_align":"center", "text_horizontal_align":"center",
- "text": uiScriptLocale.SYSTEMOPTION_TITLE,
- },
- ),
- },
- ## Music
- {
- "name" : "music_name",
- "type" : "text",
- "x" : 30,
- "y" : 75,
- "text" : uiScriptLocale.OPTION_MUSIC,
- },
- {
- "name" : "music_volume_controller",
- "type" : "sliderbar",
- "x" : 110,
- "y" : 75,
- },
- {
- "name" : "bgm_button",
- "type" : "button",
- "x" : 20,
- "y" : 100,
- "text" : uiScriptLocale.OPTION_MUSIC_CHANGE,
- "default_image" : ROOT_PATH + "Middle_Button_01.sub",
- "over_image" : ROOT_PATH + "Middle_Button_02.sub",
- "down_image" : ROOT_PATH + "Middle_Button_03.sub",
- },
- {
- "name" : "bgm_file",
- "type" : "text",
- "x" : 100,
- "y" : 102,
- "text" : uiScriptLocale.OPTION_MUSIC_DEFAULT_THEMA,
- },
- ## Sound
- {
- "name" : "sound_name",
- "type" : "text",
- "x" : 30,
- "y" : 50,
- "text" : uiScriptLocale.OPTION_SOUND,
- },
- {
- "name" : "sound_volume_controller",
- "type" : "sliderbar",
- "x" : 110,
- "y" : 50,
- },
- {
- "name" : "camera_mode",
- "type" : "text",
- "x" : 40 + TEXT_TEMPORARY_X,
- "y" : 135+2,
- "text" : uiScriptLocale.OPTION_CAMERA_DISTANCE,
- },
- {
- "name" : "camera_short",
- "type" : "radio_button",
- "x" : 110,
- "y" : 135,
- "text" : uiScriptLocale.OPTION_CAMERA_DISTANCE_SHORT,
- "default_image" : ROOT_PATH + "Middle_Button_01.sub",
- "over_image" : ROOT_PATH + "Middle_Button_02.sub",
- "down_image" : ROOT_PATH + "Middle_Button_03.sub",
- },
- {
- "name" : "camera_long",
- "type" : "radio_button",
- "x" : 110+70,
- "y" : 135,
- "text" : uiScriptLocale.OPTION_CAMERA_DISTANCE_LONG,
- "default_image" : ROOT_PATH + "Middle_Button_01.sub",
- "over_image" : ROOT_PATH + "Middle_Button_02.sub",
- "down_image" : ROOT_PATH + "Middle_Button_03.sub",
- },
- {
- "name" : "fog_mode",
- "type" : "text",
- "x" : 30,
- "y" : 160+2,
- "text" : uiScriptLocale.OPTION_FOG,
- },
- {
- "name" : "fog_level0",
- "type" : "radio_button",
- "x" : 110,
- "y" : 160,
- "text" : uiScriptLocale.OPTION_FOG_DENSE,
- "default_image" : ROOT_PATH + "small_Button_01.sub",
- "over_image" : ROOT_PATH + "small_Button_02.sub",
- "down_image" : ROOT_PATH + "small_Button_03.sub",
- },
- {
- "name" : "fog_level1",
- "type" : "radio_button",
- "x" : 110+50,
- "y" : 160,
- "text" : uiScriptLocale.OPTION_FOG_MIDDLE,
- "default_image" : ROOT_PATH + "small_Button_01.sub",
- "over_image" : ROOT_PATH + "small_Button_02.sub",
- "down_image" : ROOT_PATH + "small_Button_03.sub",
- },
- {
- "name" : "fog_level2",
- "type" : "radio_button",
- "x" : 110 + 100,
- "y" : 160,
- "text" : uiScriptLocale.OPTION_FOG_LIGHT,
- "default_image" : ROOT_PATH + "small_Button_01.sub",
- "over_image" : ROOT_PATH + "small_Button_02.sub",
- "down_image" : ROOT_PATH + "small_Button_03.sub",
- },
- {
- "name" : "tiling_mode",
- "type" : "text",
- "x" : 40 + TEXT_TEMPORARY_X,
- "y" : 185+2,
- "text" : uiScriptLocale.OPTION_TILING,
- },
- {
- "name" : "tiling_cpu",
- "type" : "radio_button",
- "x" : 110,
- "y" : 185,
- "text" : uiScriptLocale.OPTION_TILING_CPU,
- "default_image" : ROOT_PATH + "small_Button_01.sub",
- "over_image" : ROOT_PATH + "small_Button_02.sub",
- "down_image" : ROOT_PATH + "small_Button_03.sub",
- },
- {
- "name" : "tiling_gpu",
- "type" : "radio_button",
- "x" : 110+50,
- "y" : 185,
- "text" : uiScriptLocale.OPTION_TILING_GPU,
- "default_image" : ROOT_PATH + "small_Button_01.sub",
- "over_image" : ROOT_PATH + "small_Button_02.sub",
- "down_image" : ROOT_PATH + "small_Button_03.sub",
- },
- {
- "name" : "tiling_apply",
- "type" : "button",
- "x" : 110+100,
- "y" : 185,
- "text" : uiScriptLocale.OPTION_TILING_APPLY,
- "default_image" : ROOT_PATH + "middle_Button_01.sub",
- "over_image" : ROOT_PATH + "middle_Button_02.sub",
- "down_image" : ROOT_PATH + "middle_Button_03.sub",
- },
- {
- "name" : "night_mode",
- "type" : "text",
- "x" : 40 + TEXT_TEMPORARY_X,
- "y" : 210,
- "text" : uiScriptLocale.OPTION_NIGHT_MODE,
- },
- {
- "name" : "night_mode_on",
- "type" : "radio_button",
- "x" : 110,
- "y" : 210,
- "text" : uiScriptLocale.OPTION_NIGHT_MODE_ON,
- "default_image" : ROOT_PATH + "small_Button_01.sub",
- "over_image" : ROOT_PATH + "small_Button_02.sub",
- "down_image" : ROOT_PATH + "small_Button_03.sub",
- },
- {
- "name" : "night_mode_off",
- "type" : "radio_button",
- "x" : 110+50,
- "y" : 210,
- "text" : uiScriptLocale.OPTION_NIGHT_MODE_OFF,
- "default_image" : ROOT_PATH + "small_Button_01.sub",
- "over_image" : ROOT_PATH + "small_Button_02.sub",
- "down_image" : ROOT_PATH + "small_Button_03.sub",
- },
- {
- "name" : "snow_mode",
- "type" : "text",
- "x" : 40 + TEXT_TEMPORARY_X,
- "y" : 235,
- "text" : uiScriptLocale.OPTION_SNOW_MODE,
- },
- {
- "name" : "snow_mode_on",
- "type" : "radio_button",
- "x" : 110,
- "y" : 235,
- "text" : uiScriptLocale.OPTION_SNOW_MODE_ON,
- "default_image" : ROOT_PATH + "small_Button_01.sub",
- "over_image" : ROOT_PATH + "small_Button_02.sub",
- "down_image" : ROOT_PATH + "small_Button_03.sub",
- },
- {
- "name" : "snow_mode_off",
- "type" : "radio_button",
- "x" : 110+50,
- "y" : 235,
- "text" : uiScriptLocale.OPTION_SNOW_MODE_OFF,
- "default_image" : ROOT_PATH + "small_Button_01.sub",
- "over_image" : ROOT_PATH + "small_Button_02.sub",
- "down_image" : ROOT_PATH + "small_Button_03.sub",
- },
- {
- "name" : "snow_texture_mode",
- "type" : "text",
- "x" : 40 + TEXT_TEMPORARY_X,
- "y" : 260,
- "text" : uiScriptLocale.OPTION_SNOW_TEXTURE_MODE,
- },
- {
- "name" : "snow_texture_mode_on",
- "type" : "radio_button",
- "x" : 110,
- "y" : 260,
- "text" : uiScriptLocale.OPTION_SNOW_TEXTURE_MODE_ON,
- "default_image" : ROOT_PATH + "small_Button_01.sub",
- "over_image" : ROOT_PATH + "small_Button_02.sub",
- "down_image" : ROOT_PATH + "small_Button_03.sub",
- },
- {
- "name" : "snow_texture_mode_off",
- "type" : "radio_button",
- "x" : 110+50,
- "y" : 260,
- "text" : uiScriptLocale.OPTION_SNOW_TEXTURE_MODE_OFF,
- "default_image" : ROOT_PATH + "small_Button_01.sub",
- "over_image" : ROOT_PATH + "small_Button_02.sub",
- "down_image" : ROOT_PATH + "small_Button_03.sub",
- },
- {
- "name" : "fov_option",
- "type" : "text",
- "x" : 40 + TEXT_TEMPORARY_X,
- "y" : 210 + 2,
- "text" : uiScriptLocale.FOV_OPTION,
- },
- {
- "name" : "FOV_ON",
- "type" : "radio_button",
- "x" : 110,
- "y" : 210,
- "text" : uiScriptLocale.FOV_OPTION_ON,
- "default_image" : ROOT_PATH + "small_Button_01.sub",
- "over_image" : ROOT_PATH + "small_Button_02.sub",
- "down_image" : ROOT_PATH + "small_Button_03.sub",
- },
- {
- "name" : "FOV_OFF",
- "type" : "radio_button",
- "x" : 110 + 50,
- "y" : 210,
- "text" : uiScriptLocale.FOV_OPTION_OFF,
- "default_image" : ROOT_PATH + "small_Button_01.sub",
- "over_image" : ROOT_PATH + "small_Button_02.sub",
- "down_image" : ROOT_PATH + "small_Button_03.sub",
- },
- # {
- # "name" : "shadow_mode",
- # "type" : "text",
- # "x" : 30,
- # "y" : 210,
- # "text" : uiScriptLocale.OPTION_SHADOW,
- # },
- # {
- # "name" : "shadow_bar",
- # "type" : "sliderbar",
- # "x" : 110,
- # "y" : 210,
- # },
- ),
- },
- ),
- }
- else:
- window = {
- "name" : "SystemOptionDialog",
- "style" : ("movable", "float",),
- "x" : 0,
- "y" : 0,
- "width" : 305,
- "height" : 255,
- "children" :
- (
- {
- "name" : "board",
- "type" : "board",
- "x" : 0,
- "y" : 0,
- "width" : 305,
- "height" : 255,
- "children" :
- (
- ## Title
- {
- "name" : "titlebar",
- "type" : "titlebar",
- "style" : ("attach",),
- "x" : 8,
- "y" : 8,
- "width" : 284,
- "color" : "gray",
- "children" :
- (
- {
- "name":"titlename", "type":"text", "x":0, "y":3,
- "horizontal_align":"center", "text_horizontal_align":"center",
- "text": uiScriptLocale.SYSTEMOPTION_TITLE,
- },
- ),
- },
- ## Music
- {
- "name" : "music_name",
- "type" : "text",
- "x" : 30,
- "y" : 75,
- "text" : uiScriptLocale.OPTION_MUSIC,
- },
- {
- "name" : "music_volume_controller",
- "type" : "sliderbar",
- "x" : 110,
- "y" : 75,
- },
- {
- "name" : "bgm_button",
- "type" : "button",
- "x" : 20,
- "y" : 100,
- "text" : uiScriptLocale.OPTION_MUSIC_CHANGE,
- "default_image" : ROOT_PATH + "Middle_Button_01.sub",
- "over_image" : ROOT_PATH + "Middle_Button_02.sub",
- "down_image" : ROOT_PATH + "Middle_Button_03.sub",
- },
- {
- "name" : "bgm_file",
- "type" : "text",
- "x" : 100,
- "y" : 102,
- "text" : uiScriptLocale.OPTION_MUSIC_DEFAULT_THEMA,
- },
- ## Sound
- {
- "name" : "sound_name",
- "type" : "text",
- "x" : 30,
- "y" : 50,
- "text" : uiScriptLocale.OPTION_SOUND,
- },
- {
- "name" : "sound_volume_controller",
- "type" : "sliderbar",
- "x" : 110,
- "y" : 50,
- },
- {
- "name" : "camera_mode",
- "type" : "text",
- "x" : 40 + TEXT_TEMPORARY_X,
- "y" : 135+2,
- "text" : uiScriptLocale.OPTION_CAMERA_DISTANCE,
- },
- {
- "name" : "camera_short",
- "type" : "radio_button",
- "x" : 110,
- "y" : 135,
- "text" : uiScriptLocale.OPTION_CAMERA_DISTANCE_SHORT,
- "default_image" : ROOT_PATH + "Middle_Button_01.sub",
- "over_image" : ROOT_PATH + "Middle_Button_02.sub",
- "down_image" : ROOT_PATH + "Middle_Button_03.sub",
- },
- {
- "name" : "camera_long",
- "type" : "radio_button",
- "x" : 110+70,
- "y" : 135,
- "text" : uiScriptLocale.OPTION_CAMERA_DISTANCE_LONG,
- "default_image" : ROOT_PATH + "Middle_Button_01.sub",
- "over_image" : ROOT_PATH + "Middle_Button_02.sub",
- "down_image" : ROOT_PATH + "Middle_Button_03.sub",
- },
- {
- "name" : "fog_mode",
- "type" : "text",
- "x" : 30,
- "y" : 160+2,
- "text" : uiScriptLocale.OPTION_FOG,
- },
- {
- "name" : "fog_level0",
- "type" : "radio_button",
- "x" : 110,
- "y" : 160,
- "text" : uiScriptLocale.OPTION_FOG_DENSE,
- "default_image" : ROOT_PATH + "small_Button_01.sub",
- "over_image" : ROOT_PATH + "small_Button_02.sub",
- "down_image" : ROOT_PATH + "small_Button_03.sub",
- },
- {
- "name" : "fog_level1",
- "type" : "radio_button",
- "x" : 110+50,
- "y" : 160,
- "text" : uiScriptLocale.OPTION_FOG_MIDDLE,
- "default_image" : ROOT_PATH + "small_Button_01.sub",
- "over_image" : ROOT_PATH + "small_Button_02.sub",
- "down_image" : ROOT_PATH + "small_Button_03.sub",
- },
- {
- "name" : "fog_level2",
- "type" : "radio_button",
- "x" : 110 + 100,
- "y" : 160,
- "text" : uiScriptLocale.OPTION_FOG_LIGHT,
- "default_image" : ROOT_PATH + "small_Button_01.sub",
- "over_image" : ROOT_PATH + "small_Button_02.sub",
- "down_image" : ROOT_PATH + "small_Button_03.sub",
- },
- {
- "name" : "tiling_mode",
- "type" : "text",
- "x" : 40 + TEXT_TEMPORARY_X,
- "y" : 185+2,
- "text" : uiScriptLocale.OPTION_TILING,
- },
- {
- "name" : "tiling_cpu",
- "type" : "radio_button",
- "x" : 110,
- "y" : 185,
- "text" : uiScriptLocale.OPTION_TILING_CPU,
- "default_image" : ROOT_PATH + "small_Button_01.sub",
- "over_image" : ROOT_PATH + "small_Button_02.sub",
- "down_image" : ROOT_PATH + "small_Button_03.sub",
- },
- {
- "name" : "tiling_gpu",
- "type" : "radio_button",
- "x" : 110+50,
- "y" : 185,
- "text" : uiScriptLocale.OPTION_TILING_GPU,
- "default_image" : ROOT_PATH + "small_Button_01.sub",
- "over_image" : ROOT_PATH + "small_Button_02.sub",
- "down_image" : ROOT_PATH + "small_Button_03.sub",
- },
- {
- "name" : "tiling_apply",
- "type" : "button",
- "x" : 110+100,
- "y" : 185,
- "text" : uiScriptLocale.OPTION_TILING_APPLY,
- "default_image" : ROOT_PATH + "middle_Button_01.sub",
- "over_image" : ROOT_PATH + "middle_Button_02.sub",
- "down_image" : ROOT_PATH + "middle_Button_03.sub",
- },
- # {
- # "name" : "shadow_mode",
- # "type" : "text",
- # "x" : 30,
- # "y" : 210,
- # "text" : uiScriptLocale.OPTION_SHADOW,
- # },
- # {
- # "name" : "shadow_bar",
- # "type" : "sliderbar",
- # "x" : 110,
- # "y" : 210,
- # },
- ),
- },
- ),
- }