Exemplo n.º 1
0
 def __Chamana(self):
     x = 41800
     y = 70000
     self.__MakeCharacter(3, x, y)
     chr.SetArmor(11299)
     chr.SetWeapon(7199)
     #chr.SetMotionMode(chr.MOTION_MODE_GENERAL)
     chr.SetLoopMotion(chr.MOTION_MODE_GENERAL)
Exemplo n.º 2
0
 def __Sura(self):
     x = 41800
     y = 69600
     self.__MakeCharacter(2, x, y)
     chr.SetArmor(11299)
     chr.SetWeapon(149)
     #chr.SetMotionMode(chr.MOTION_MODE_GENERAL)
     chr.SetLoopMotion(chr.MOTION_MODE_GENERAL)
Exemplo n.º 3
0
 def __Ninja(self):
     x = 41800
     y = 69800
     self.__MakeCharacter(1, x, y)
     chr.SetArmor(11299)
     chr.SetWeapon(2169)
     #chr.SetMotionMode(chr.MOTION_MODE_GENERAL)
     chr.SetLoopMotion(chr.MOTION_MODE_GENERAL)
Exemplo n.º 4
0
	def __SelectShape(self, shape):
		self.shapeList[self.gender][self.slot] = shape

		for button in self.shapeButtonList:
			button.SetUp()

		self.shapeButtonList[shape].Down()

		chr_id = self.__GetSlotChrID(self.gender, self.slot)
		chr.SelectInstance(chr_id)
		chr.ChangeShape(shape)
		chr.SetMotionMode(chr.MOTION_MODE_GENERAL)
		chr.SetLoopMotion(chr.MOTION_INTRO_WAIT)
Exemplo n.º 5
0
    def __SelectShape(self, shape):
        self.shape = shape

        for i in xrange(len(self.shapeButton)):
            self.shapeButton[i].SetUp()

        self.shapeButton[shape].Down()

        chr_id = self.__GetSlotChrID(self.gender, self.slot)
        chr.SelectInstance(chr_id)
        chr.ChangeShape(shape)
        chr.SetMotionMode(chr.MOTION_MODE_GENERAL)
        chr.SetLoopMotion(chr.MOTION_INTRO_WAIT)
Exemplo n.º 6
0
    def __Guerrero(self):

        x = 41800  #Position x ( in the map )
        y = 69400  #Position y ( in the map )
        for i in xrange(15):

            self.__MakeCharacter(0, x, y)
            chr.SetArmor(20009)
            chr.SetHair(1009)
            chr.SetWeapon(279)
            #chr.SetMotionMode(chr.MOTION_MODE_GENERAL)
            chr.SetLoopMotion(chr.MOTION_MODE_GENERAL)
            #chr.Refresh()
            x = x + 15
Exemplo n.º 7
0
    def __MakeCharacter(self, chr_id, race):

        chr.CreateInstance(chr_id)
        chr.SelectInstance(chr_id)
        chr.SetVirtualID(chr_id)
        chr.SetRace(race)
        chr.SetArmor(0)
        chr.SetHair(0)

        chr.Refresh()
        chr.SetMotionMode(chr.MOTION_MODE_GENERAL)
        chr.SetLoopMotion(chr.MOTION_INTRO_WAIT)

        chr.SetRotation(0.0)
        chr.Hide()
Exemplo n.º 8
0
    def MakeCharacter(self, index, id, name, race, form, hair):
        if 0 == id:
            return

        chr.CreateInstance(index)
        chr.SelectInstance(index)
        chr.SetVirtualID(index)
        chr.SetNameString(name)

        chr.SetRace(race)
        chr.SetArmor(form)
        chr.SetHair(hair)
        chr.Refresh()
        chr.SetMotionMode(chr.MOTION_MODE_GENERAL)
        chr.SetLoopMotion(chr.MOTION_INTRO_WAIT)
        chr.SetRotation(0.0)
Exemplo n.º 9
0
	def MakeCharacter(self, race):	
		chr_id = race;
		
		chr.CreateInstance(chr_id)
		chr.SelectInstance(chr_id)
		chr.SetVirtualID(chr_id)
		chr.SetNameString(str(race))
		
		chr.SetRace(race)
		chr.SetArmor(0) 
		chr.SetHair(0)

		chr.SetMotionMode(chr.MOTION_MODE_GENERAL)
		chr.SetLoopMotion(chr.MOTION_INTRO_WAIT)

		chr.SetRotation(-7.0) #Degree value	
		chr.Hide()
Exemplo n.º 10
0
	def SelectShape(self, shape):
		for button in self.shapeButtonList:
			button.SetUp()

		self.shape = shape
		self.shapeButtonList[self.shape].Down()
		
		#print "job = %s, race =%s, shape =%s" %(self.job_id, self.race, self.shape)
		
		if self.M2_INIT_VALUE	 == self.job_id	:
			return
		
		chr.Hide()
		chr.SelectInstance(self.race)
		chr.ChangeShape(self.shape)
		chr.SetMotionMode(chr.MOTION_MODE_GENERAL)
		chr.SetLoopMotion(chr.MOTION_INTRO_WAIT)
		chr.Show()
Exemplo n.º 11
0
	def __MakeCharacter(self, page, slot, race):

		chr_id = self.__GetSlotChrID(page, slot)

		chr.CreateInstance(chr_id)
		chr.SelectInstance(chr_id)
		chr.SetVirtualID(chr_id)
		#
		self.instanceIDs.append(chr_id)

		chr.SetRace(race)
		chr.SetArmor(0)
		chr.SetHair(0)

		chr.Refresh()
		chr.SetMotionMode(chr.MOTION_MODE_GENERAL)
		chr.SetLoopMotion(chr.MOTION_INTRO_WAIT)

		chr.SetRotation(0.0)
		chr.Hide()
    def MakeCharacter(self, slot, name, race, form, hair, acce):
        chr.CreateInstance(slot)
        chr.SelectInstance(slot)
        chr.SetVirtualID(slot)
        chr.SetNameString(name)

        chr.SetRace(race)
        chr.SetArmor(form)
        chr.SetHair(hair)
        #chr.SetAcce(acce)

        chr.SetMotionMode(chr.MOTION_MODE_GENERAL)
        chr.SetLoopMotion(chr.MOTION_INTRO_WAIT)

        ## 수인족만, 스케일 조금 축소.
        #if chr.RaceToJob(race) == JOB_WOLFMAN:
        #	chr.SetScale(0.95,0.95,0.95)

        chr.SetRotation(0.0)
        chr.Hide()
Exemplo n.º 13
0
 def __Normal(self):
     chr.SetLoopMotion(chr.MOTION_MODE_GENERAL)
 def CancelInputPrivateCode(self):
     self.privateInputBoard = None
     self.Not_SelectMotion = False
     chr.SetLoopMotion(chr.MOTION_INTRO_WAIT)
     self.EnableWindow()
     return True