Jump to content

Ingame MapEditor


Recommended Posts

  • Active Member

Hi.. Today i tried to use ingame mapeditor by musicinstructor without extern py-loader but everytime when i try to use it i get error in sysser

1021 17:55:12187 :: CGraphicThingInstance::RegisterModelThing(iModelThing=0, pModelThing=d:\ymir work\pc\warrior\warrior_novice.gr2)

I added it to game.py

onPressKeyDict[app.DIK_F5]    = lambda : self.__MapEditor()

    def __MapEditor(self):
        import mapeditor
        if 0==interfaceModule.mapedit:
            interfaceModule.mapedit = 1
            self.uimapedit = mapeditor.MapEditor()
            self.uimapedit.Show()
        else:
            interfaceModule.mapedit = 0
            self.uimapedit = mapeditor.MapEditor()
            self.uimapedit.Hide()

interfacemodule.py

mapedit = 0

There is mapeditor.py

Someone know where can be problem?

 

EnZi

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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.