After the logo the minimap.dds flashes for a moment. Why??
Changing the jpg files.Quote:
How to change the text in the intro?
Something is wrong in the networkmodule.pyQuote:
I have this error. I've copied what you do in the video.
[Only registered and activated users can see links. Click Here To Register...]
import dbg
import app
import localeInfo
import wndMgr
import systemSetting
import mouseModule
import networkModule
import uiCandidate
import constInfo
import musicInfo
import stringCommander
#bind_me(locals().values())
def RunApp():
musicInfo.LoadLastPlayFieldMusic()
app.SetHairColorEnable(constInfo.HAIR_COLOR_ENABLE)
app.SetArmorSpecularEnable(constInfo.ARMOR_SPECULAR_ENABLE)
app.SetWeaponSpecularEnable(constInfo.WEAPON_SPECULAR_ENABLE)
app.SetMouseHandler(mouseModule.mouseController)
wndMgr.SetMouseHandler(mouseModule.mouseController)
wndMgr.SetScreenSize(systemSetting.GetWidth(), systemSetting.GetHeight())
try:
app.Create(localeInfo.APP_TITLE, systemSetting.GetWidth(), systemSetting.GetHeight(), 1)
except RuntimeError, msg:
msg = str(msg)
if "CREATE_DEVICE" == msg:
dbg.LogBox("Sorry, Your system does not support 3D graphics,\r\nplease check your hardware and system configeration\r\nthen try again.")
else:
dbg.LogBox("Metin2.%s" % msg)
return
app.SetCamera(1500.0, 30.0, 0.0, 180.0)
#Gets and sets the floating-point control word
#app.SetControlFP()
if not mouseModule.mouseController.Create():
return
mainStream = networkModule.MainStream()
mainStream.Create()
animationblock = open("animation.txt", "r")
aniinput = animationblock.read()
animationblock.close()
#mainStream.SetLoadingPhase()
if aniinput == "1":
mainStream.SetLoginPhase()
else:
mainStream.SetLogoPhase()
#mainStream.SetSelectCharacterPhase()
#mainStream.SetCreateCharacterPhase()
#mainStream.SetSelectEmpirePhase()
#mainStream.SetGamePhase()
app.Loop()
mainStream.Destroy()
RunApp()
Hm, very good idea. (+thanks given) I think we could build this function into the config file.Quote:
If you want to make the Intrologo disableable:
prototype.py:
After that create a animation.txt in the Metin2 folder. If you write a "1" its disabled. If you write something else, it's enabled.PHP Code:import dbg
import app
import localeInfo
import wndMgr
import systemSetting
import mouseModule
import networkModule
import uiCandidate
import constInfo
import musicInfo
import stringCommander
#bind_me(locals().values())
def RunApp():
musicInfo.LoadLastPlayFieldMusic()
app.SetHairColorEnable(constInfo.HAIR_COLOR_ENABLE)
app.SetArmorSpecularEnable(constInfo.ARMOR_SPECULAR_ENABLE)
app.SetWeaponSpecularEnable(constInfo.WEAPON_SPECULAR_ENABLE)
app.SetMouseHandler(mouseModule.mouseController)
wndMgr.SetMouseHandler(mouseModule.mouseController)
wndMgr.SetScreenSize(systemSetting.GetWidth(), systemSetting.GetHeight())
try:
app.Create(localeInfo.APP_TITLE, systemSetting.GetWidth(), systemSetting.GetHeight(), 1)
except RuntimeError, msg:
msg = str(msg)
if "CREATE_DEVICE" == msg:
dbg.LogBox("Sorry, Your system does not support 3D graphics,\r\nplease check your hardware and system configeration\r\nthen try again.")
else:
dbg.LogBox("Metin2.%s" % msg)
return
app.SetCamera(1500.0, 30.0, 0.0, 180.0)
#Gets and sets the floating-point control word
#app.SetControlFP()
if not mouseModule.mouseController.Create():
return
mainStream = networkModule.MainStream()
mainStream.Create()
animationblock = open("animation.txt", "r")
aniinput = animationblock.read()
animationblock.close()
#mainStream.SetLoadingPhase()
if aniinput == "1":
mainStream.SetLoginPhase()
else:
mainStream.SetLogoPhase()
#mainStream.SetSelectCharacterPhase()
#mainStream.SetCreateCharacterPhase()
#mainStream.SetSelectEmpirePhase()
#mainStream.SetGamePhase()
app.Loop()
mainStream.Destroy()
RunApp()
Have fun!
Yes. Here in elitepvpers there is a source for a config.. There you can easily add my new config.Quote:
Hm, very good idea. (+thanks given) I think we could build this function into the config file.
(Does somebody know the answer for my problem? Why flashes otu for a tiny moment the minimap.dd after the intro?)
Danke schön!Quote:
Falls jemand n Config Source braucht hab nochn alten von mir hier iwo released :o
[Only registered and activated users can see links. Click Here To Register...]