Jump to content

simple problem in name player plz help me


Recommended Posts

On 2017. 02. 21. at 5:06 PM, kingshero said:

i know root or uiscript  but where

Root -> Game.py Start line 209
search this
 

Spoiler

        if constInfo.PVPMODE_TEST_ENABLE:
            self.testPKMode = ui.TextLine()
            self.testPKMode.SetFontName(locale.UI_DEF_FONT)
            self.testPKMode.SetPosition(0, 15)
            self.testPKMode.SetWindowHorizontalAlignCenter()
            self.testPKMode.SetHorizontalAlignCenter()
            self.testPKMode.SetFeather()
            self.testPKMode.SetOutline()
            self.testPKMode.Show()

            self.testAlignment = ui.TextLine()
            self.testAlignment.SetFontName(locale.UI_DEF_FONT)
            self.testAlignment.SetPosition(0, 35)
            self.testAlignment.SetWindowHorizontalAlignCenter()
            self.testAlignment.SetHorizontalAlignCenter()
            self.testAlignment.SetFeather()
            self.testAlignment.SetOutline()
            self.testAlignment.Show() 

Aligment like negative pozitiv rang moving

Next:
 

line 583
 

Spoiler

    def __BuildDebugInfo(self):
        ## Character Position Coordinate
        self.PrintCoord = ui.TextLine()
        self.PrintCoord.SetFontName(locale.UI_DEF_FONT)
        self.PrintCoord.SetPosition(wndMgr.GetScreenWidth() - 270, 0)

        ## Frame Rate
        self.FrameRate = ui.TextLine()
        self.FrameRate.SetFontName(locale.UI_DEF_FONT)
        self.FrameRate.SetPosition(wndMgr.GetScreenWidth() - 270, 20)

        ## Camera Pitch
        self.Pitch = ui.TextLine()
        self.Pitch.SetFontName(locale.UI_DEF_FONT)
        self.Pitch.SetPosition(wndMgr.GetScreenWidth() - 270, 40)

        ## Splat
        self.Splat = ui.TextLine()
        self.Splat.SetFontName(locale.UI_DEF_FONT)
        self.Splat.SetPosition(wndMgr.GetScreenWidth() - 270, 60)

        # TextureNum
        self.TextureNum = ui.TextLine()
        self.TextureNum.SetFontName(locale.UI_DEF_FONT)
        self.TextureNum.SetPosition(wndMgr.GetScreenWidth() - 270, 80)

        # 오브젝트 그리는 개수
        self.ObjectNum = ui.TextLine()
        self.ObjectNum.SetFontName(locale.UI_DEF_FONT)
        self.ObjectNum.SetPosition(wndMgr.GetScreenWidth() - 270, 100)

        # 시야거리
        self.ViewDistance = ui.TextLine()
        self.ViewDistance.SetFontName(locale.UI_DEF_FONT)
        self.ViewDistance.SetPosition(0, 0)

Name and etc moving

 

  • Love 1

787292068_Nvtelen.png.6faa7b0bbb3398fd29

Link to comment
Share on other sites

On 3/1/2017 at 10:47 AM, [007]DawisHU said:

Root -> Game.py Start line 209
search this
 

  Hide contents

        if constInfo.PVPMODE_TEST_ENABLE:
            self.testPKMode = ui.TextLine()
            self.testPKMode.SetFontName(locale.UI_DEF_FONT)
            self.testPKMode.SetPosition(0, 15)
            self.testPKMode.SetWindowHorizontalAlignCenter()
            self.testPKMode.SetHorizontalAlignCenter()
            self.testPKMode.SetFeather()
            self.testPKMode.SetOutline()
            self.testPKMode.Show()

            self.testAlignment = ui.TextLine()
            self.testAlignment.SetFontName(locale.UI_DEF_FONT)
            self.testAlignment.SetPosition(0, 35)
            self.testAlignment.SetWindowHorizontalAlignCenter()
            self.testAlignment.SetHorizontalAlignCenter()
            self.testAlignment.SetFeather()
            self.testAlignment.SetOutline()
            self.testAlignment.Show() 

Aligment like negative pozitiv rang moving

Next:
 

line 583
 

  Hide contents

    def __BuildDebugInfo(self):
        ## Character Position Coordinate
        self.PrintCoord = ui.TextLine()
        self.PrintCoord.SetFontName(locale.UI_DEF_FONT)
        self.PrintCoord.SetPosition(wndMgr.GetScreenWidth() - 270, 0)

        ## Frame Rate
        self.FrameRate = ui.TextLine()
        self.FrameRate.SetFontName(locale.UI_DEF_FONT)
        self.FrameRate.SetPosition(wndMgr.GetScreenWidth() - 270, 20)

        ## Camera Pitch
        self.Pitch = ui.TextLine()
        self.Pitch.SetFontName(locale.UI_DEF_FONT)
        self.Pitch.SetPosition(wndMgr.GetScreenWidth() - 270, 40)

        ## Splat
        self.Splat = ui.TextLine()
        self.Splat.SetFontName(locale.UI_DEF_FONT)
        self.Splat.SetPosition(wndMgr.GetScreenWidth() - 270, 60)

        # TextureNum
        self.TextureNum = ui.TextLine()
        self.TextureNum.SetFontName(locale.UI_DEF_FONT)
        self.TextureNum.SetPosition(wndMgr.GetScreenWidth() - 270, 80)

        # 오브젝트 그리는 개수
        self.ObjectNum = ui.TextLine()
        self.ObjectNum.SetFontName(locale.UI_DEF_FONT)
        self.ObjectNum.SetPosition(wndMgr.GetScreenWidth() - 270, 100)

        # 시야거리
        self.ViewDistance = ui.TextLine()
        self.ViewDistance.SetFontName(locale.UI_DEF_FONT)
        self.ViewDistance.SetPosition(0, 0)

Name and etc moving

 

pro i don't have this in game.py

Spoiler

   if constInfo.PVPMODE_TEST_ENABLE:
            self.testPKMode = ui.TextLine()
            self.testPKMode.SetFontName(locale.UI_DEF_FONT)
            self.testPKMode.SetPosition(0, 15)
            self.testPKMode.SetWindowHorizontalAlignCenter()
            self.testPKMode.SetHorizontalAlignCenter()
            self.testPKMode.SetFeather()
            self.testPKMode.SetOutline()
            self.testPKMode.Show()

            self.testAlignment = ui.TextLine()
            self.testAlignment.SetFontName(locale.UI_DEF_FONT)
            self.testAlignment.SetPosition(0, 35)
            self.testAlignment.SetWindowHorizontalAlignCenter()
            self.testAlignment.SetHorizontalAlignCenter()
            self.testAlignment.SetFeather()
            self.testAlignment.SetOutline()
            self.testAlignment.Show() 

Aligment like negative pozitiv rang moving

my game.py is

http://pastebin.com/sM7AMibY

Link to comment
Share on other sites

Line 436
search this

Spoiler
    def __BuildDebugInfo(self):
        self.PrintCoord = ui.TextLine()
        self.PrintCoord.SetFontName(localeInfo.UI_DEF_FONT)
        self.PrintCoord.SetPosition(wndMgr.GetScreenWidth() - 270, 0)
       
        self.FrameRate = ui.TextLine()
        self.FrameRate.SetFontName(localeInfo.UI_DEF_FONT)
        self.FrameRate.SetPosition(wndMgr.GetScreenWidth() - 270, 20)
 
        self.Pitch = ui.TextLine()
        self.Pitch.SetFontName(localeInfo.UI_DEF_FONT)
        self.Pitch.SetPosition(wndMgr.GetScreenWidth() - 270, 40)
 
        self.Splat = ui.TextLine()
        self.Splat.SetFontName(localeInfo.UI_DEF_FONT)
        self.Splat.SetPosition(wndMgr.GetScreenWidth() - 270, 60)
       
        self.PrintMousePos = ui.TextLine()
        self.PrintMousePos.SetFontName(localeInfo.UI_DEF_FONT)
        self.PrintMousePos.SetPosition(wndMgr.GetScreenWidth() - 270, 80)
 
        self.TextureNum = ui.TextLine()
        self.TextureNum.SetFontName(localeInfo.UI_DEF_FONT)
        self.TextureNum.SetPosition(wndMgr.GetScreenWidth() - 270, 100)
 
        self.ObjectNum = ui.TextLine()
        self.ObjectNum.SetFontName(localeInfo.UI_DEF_FONT)
        self.ObjectNum.SetPosition(wndMgr.GetScreenWidth() - 270, 120)
 
        self.ViewDistance = ui.TextLine()
        self.ViewDistance.SetFontName(localeInfo.UI_DEF_FONT)
        self.ViewDistance.SetPosition(0, 0)

 

 

this is the wanted file i sayd

  • Love 1

787292068_Nvtelen.png.6faa7b0bbb3398fd29

Link to comment
Share on other sites

10 hours ago, [007]DawisHU said:

Line 436
search this

  Hide contents
    def __BuildDebugInfo(self):
        self.PrintCoord = ui.TextLine()
        self.PrintCoord.SetFontName(localeInfo.UI_DEF_FONT)
        self.PrintCoord.SetPosition(wndMgr.GetScreenWidth() - 270, 0)
       
        self.FrameRate = ui.TextLine()
        self.FrameRate.SetFontName(localeInfo.UI_DEF_FONT)
        self.FrameRate.SetPosition(wndMgr.GetScreenWidth() - 270, 20)
 
        self.Pitch = ui.TextLine()
        self.Pitch.SetFontName(localeInfo.UI_DEF_FONT)
        self.Pitch.SetPosition(wndMgr.GetScreenWidth() - 270, 40)
 
        self.Splat = ui.TextLine()
        self.Splat.SetFontName(localeInfo.UI_DEF_FONT)
        self.Splat.SetPosition(wndMgr.GetScreenWidth() - 270, 60)
       
        self.PrintMousePos = ui.TextLine()
        self.PrintMousePos.SetFontName(localeInfo.UI_DEF_FONT)
        self.PrintMousePos.SetPosition(wndMgr.GetScreenWidth() - 270, 80)
 
        self.TextureNum = ui.TextLine()
        self.TextureNum.SetFontName(localeInfo.UI_DEF_FONT)
        self.TextureNum.SetPosition(wndMgr.GetScreenWidth() - 270, 100)
 
        self.ObjectNum = ui.TextLine()
        self.ObjectNum.SetFontName(localeInfo.UI_DEF_FONT)
        self.ObjectNum.SetPosition(wndMgr.GetScreenWidth() - 270, 120)
 
        self.ViewDistance = ui.TextLine()
        self.ViewDistance.SetFontName(localeInfo.UI_DEF_FONT)
        self.ViewDistance.SetPosition(0, 0)

 

 

this is the wanted file i sayd

but this for debug mode , show in client like this in photo

fead0a174b36476d9cfef92a9fcc0cc9.png

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.