Jump to content

Need help implementing a bonus page


Recommended Posts

Hello, I'm fairly new and I'd like some help implementing this bonus page as I'm not sure where these codelines (Note: I do know how to unpack client's  pack files).

Side Note: I'd like the bonus page to pop up when I press F5.

Any help would be much appreciated!!

 

BonusPage code:

Spoiler

import ui 
import wndMgr
import player

class BonusPage(ui.ScriptWindow): 

    def __init__(self): 
        ui.ScriptWindow.__init__(self) 
        self.ExstaUpdate = 0
        self.LoadGUI() 
        self.ExstaBonus()
        
    def __del__(self): 
        ui.ScriptWindow.__del__(self) 

    def Show(self): 
        ui.ScriptWindow.Show(self) 

    def OnUpdate(self): 
        self.ExstaUpdate+=1 
        if self.ExstaUpdate==25: 
            self.ExstaUpdate=0 
            self.ExstaBonus()
    
    def LoadGUI(self): 
        try:
            pyScrLoader = ui.PythonScriptLoader()
            pyScrLoader.LoadScriptFile(self, "bonuspage.py")
        except:
            import exception
            exception.Abort("Si è im*******ta la gui")    
            
    def ExstaBonus(self):
        try:
            self.GetChild("Dif_spada_Value").SetText(str(self.Spada())) #Spada 29
           self.GetChild("Dif_spadone_Value").SetText(str(self.Spadone())) #Spadone 30
           self.GetChild("Dif_pugnale_Value").SetText(str(self.Pugnale())) #Pugnale 31
           self.GetChild("Res_magia_Value").SetText(str(self.ResMagia())) #Res Magia 37
           self.GetChild("Res_freccia_Value").SetText(str(self.Freccia())) #Freccia 34
           self.GetChild("Blocco_Value").SetText(str(self.Blocco())) #Res Veleno 41
           self.GetChild("Res_war_Value").SetText(str(self.ResWar())) #Res War 78
           self.GetChild("Res_Sura_Value").SetText(str(self.ResSura())) #Res Sura 80
           self.GetChild("Res_Ninja_Value").SetText(str(self.ResNinja())) #Res Ninja 79
           self.GetChild("Res_Shamy_Value").SetText(str(self.ResShamy())) #Res Shamy 81
           self.GetChild("Mezziuomini_Value").SetText(str(self.Mezzi()))#Mezzi 17
           self.GetChild("Danni_medi_Value").SetText(str(self.Medi()))#Medi 72
           self.GetChild("Danni_abi_Value").SetText(str(self.Abilita())) #Abi 71
           self.GetChild("Mostri_Value").SetText(str(self.Mostri())) # Vel Magia 9
           self.GetChild("Vs_zombie_Value").SetText(str(self.Zombie())) # Zombie 21
           self.GetChild("Critici_Value").SetText(str(self.Critici())) #Critici 15
           self.GetChild("Trafiggenti_Value").SetText(str(self.Trafi())) #Trafi 16
           self.GetChild("Rig_HP_Value").SetText(str(self.RigHP())) #Rig HP 10
           self.GetChild("Rig_MP_Value").SetText(str(self.RigMP())) #Rig MP 11
           self.GetChild("Veleno_Value").SetText(str(self.Avvelenamento())) #Avvelenamento 12
           
        except:
            import exception
            exception.Abort("Qualcosa è andato a puttane nella Funzione")

    def Spada(self):
        exsta = 69
        return player.GetStatus(exsta)
        
    def Spadone(self):
        exsta = 70
        return player.GetStatus(exsta)    
        
    def Pugnale(self):
        exsta = 71
        return player.GetStatus(exsta)    
        
    def ResMagia(self):
        exsta = 77
        return player.GetStatus(exsta)    
        
    def Freccia(self):
        exsta = 74
        return player.GetStatus(exsta)    
        
    def Blocco(self):
        exsta = 67
        return player.GetStatus(exsta)    
        
    def ResWar(self):
        exsta = 59
        return player.GetStatus(exsta)
        
    def ResSura(self):
        exsta = 61
        return player.GetStatus(exsta)
        
    def ResNinja(self):
        exsta = 60
        return player.GetStatus(exsta)
        
    def ResShamy(self):
        exsta = 62
        return player.GetStatus(exsta)
    
    def Mezzi(self):
        exsta = 43
        return player.GetStatus(exsta)
        
    def Medi(self):
        exsta = 122
        return player.GetStatus(exsta)
        
    def Abilita(self):
        exsta = 121
        return player.GetStatus(exsta)
        
    def Mostri(self):
        exsta = 53
        return player.GetStatus(exsta)
        
    def Zombie(self):
        exsta = 47
        return player.GetStatus(exsta)    
        
    def Critici(self):
        exsta = 40
        return player.GetStatus(exsta)    
        
    def Trafi(self):
        exsta = 41
        return player.GetStatus(exsta)
        
    def RigHP(self):
        exsta = 32
        return player.GetStatus(exsta)
        
    def RigMP(self):
        exsta = 33
        return player.GetStatus(exsta)
        
    def Avvelenamento(self):
        exsta = 37
        return player.GetStatus(exsta)

BonusPage GUI

Spoiler

import uiScriptLocale

SMALL_VALUE_FILE = "d:/ymir work/ui/public/Parameter_Slot_00.sub"
MIDDLE_VALUE_FILE = "d:/ymir work/ui/public/Parameter_Slot_01.sub"
LARGE_VALUE_FILE = "d:/ymir work/ui/public/Parameter_Slot_03.sub"
ROOT_PATH = "d:/ymir work/ui/game/windows/"
LOCALE_PATH = uiScriptLocale.WINDOWS_PATH

window = {
    "name" : "CharacterWindow",
    "style" : ("movable", "float",),

    "x" : 24,
    "y" : (SCREEN_HEIGHT - 37 - 361) / 2,

    "width" : 253,
    "height" : 361,

    "children" :
    (
        {
            "name" : "Board",
            "type" : "board_with_titlebar",

            "x" : 0,
            "y" : 0,

            "width" : 253,
            "height" : 361,

            "title" : "Bonus Page",

            "children" :
            (
                ## Page Area
               {
                    "name" : "Bonus_Page",
                    "type" : "window",
                    "style" : ("attach",),

                    "x" : 0,
                    "y" : 24,

                    "width" : 270,
                    "height" : 304,

                    "children" :
                    (
                        ## Barra
                       { "name":"Bonus_Bar_Difese", "type":"horizontalbar", "x":12, "y":11, "width":233, },
                        { "name":"Bonus_Bar_Text_Difese", "type":"text", "x":15, "y":13, "text":"Bonus Difese" },

                        
                        { "name":"Difesa_spada", "type":"text", "x":10, "y":35, "text":"Dif. Spada:" },
                        {
                            "name":"Dif_spada", "type":"window", "x":75, "y":35, "width":50, "height":20, 
                            "children" :
                            (
                                { "name":"Dif_spada_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
                                { "name":"Dif_spada_Value",  "type":"text", "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0,  "a":1.0, "text_horizontal_align":"center" },
                            )
                        },
            
                        { "name":"Difesa_spadone", "type":"text", "x":10, "y":60, "text":"Dif. Spadone:" },
                        {
                            "name":"Dif_spada", "type":"window", "x":75, "y":60, "width":50, "height":20, 
                            "children" :
                            (
                                { "name":"Dif_spadone_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
                                { "name":"Dif_spadone_Value",  "type":"text", "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0,  "a":1.0, "text_horizontal_align":"center" },
                            )
                        },
                    
                        { "name":"Difesa_pugnale", "type":"text", "x":10, "y":85, "text":"Dif. Pugnale:" },
                        {
                            "name":"Dif_pugnale", "type":"window", "x":75, "y":85, "width":50, "height":20, 
                            "children" :
                            (
                                { "name":"Dif_pugnale_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
                                { "name":"Dif_pugnale_Value",  "type":"text", "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0,  "a":1.0, "text_horizontal_align":"center" },
                            )
                        },
            
                        { "name":"Resistenza_magia", "type":"text", "x":10, "y":110, "text":"Res. magia:" },
                        {
                            "name":"Res_magia", "type":"window", "x":75, "y":110, "width":50, "height":20, 
                            "children" :
                            (
                                { "name":"Res_magia_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
                                { "name":"Res_magia_Value",  "type":"text", "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0,  "a":1.0, "text_horizontal_align":"center" },
                            )
                        },
                    
                        { "name":"Resistenza_freccia", "type":"text", "x":10, "y":135, "text":"Res. Freccia:" },
                        {
                            "name":"Res_freccia", "type":"window", "x":75, "y":135, "width":50, "height":20, 
                            "children" :
                            (
                                { "name":"Res_freccia_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
                                { "name":"Res_freccia_Value",  "type":"text", "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0,  "a":1.0, "text_horizontal_align":"center" },
                            )
                        },
                    
                        { "name":"Blocco", "type":"text", "x":135, "y":35, "text":"Blocco:" },
                        {
                            "name":"Blocco", "type":"window", "x":190, "y":35, "width":50, "height":20, 
                            "children" :
                            (
                                { "name":"Blocco_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
                                { "name":"Blocco_Value", "type":"text",  "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0, "a":1.0,  "text_horizontal_align":"center" },
                            )
                        },
                    
                        { "name":"Res_War", "type":"text", "x":135, "y":60, "text":"Res. War:" },
                        {
                            "name":"Res_war", "type":"window", "x":190, "y":60, "width":50, "height":20, 
                            "children" :
                            (
                                { "name":"Res_war_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
                                { "name":"Res_war_Value", "type":"text",  "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0, "a":1.0,  "text_horizontal_align":"center" },
                            )
                        },
                        
                        { "name":"Res_Sura", "type":"text", "x":135, "y":85, "text":"Res. Sura:" },
                        {
                            "name":"Res_Sura", "type":"window", "x":190, "y":85, "width":50, "height":20, 
                            "children" :
                            (
                                { "name":"Res_Sura_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
                                { "name":"Res_Sura_Value",  "type":"text", "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0,  "a":1.0, "text_horizontal_align":"center" },
                            )
                        },
                    
                        { "name":"Res_Ninja", "type":"text", "x":135, "y":110, "text":"Res. Ninja:" },
                        {
                            "name":"Res_Ninja", "type":"window", "x":190, "y":110, "width":50, "height":20, 
                            "children" :
                            (
                                { "name":"Res_Ninja_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
                                { "name":"Res_Ninja_Value",  "type":"text", "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0,  "a":1.0, "text_horizontal_align":"center" },
                            )
                        },
                        
                        { "name":"Res_Shamy", "type":"text", "x":135, "y":135, "text":"Res. Shamy:" },
                        {
                            "name":"Res_Shamy", "type":"window", "x":190, "y":135, "width":50, "height":20, 
                            "children" :
                            (
                                { "name":"Res_Shamy_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
                                { "name":"Res_Shamy_Value",  "type":"text", "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0,  "a":1.0, "text_horizontal_align":"center" },
                            )
                        },

                        ## Barra Generali
                       { "name":"Reaction_Bar", "type":"horizontalbar", "x":12, "y":158, "width":233, },
                        { "name":"Reaction_Bar_Text", "type":"text", "x":15, "y":160, "text":"Bonus Generici" },


                        { "name":"Vs_mezzi", "type":"text", "x":10, "y":180, "text":"Vs. Mezzi:" },
                        {
                            "name":"Mezziuomini", "type":"window", "x":75, "y":180, "width":50, "height":20, 
                            "children" :
                            (
                                { "name":"Mezziuomini_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
                                { "name":"Mezziuomini_Value",  "type":"text", "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0,  "a":1.0, "text_horizontal_align":"center" },
                            )
                        },
                        
                        { "name":"Danni_medi", "type":"text", "x":10, "y":205, "text":"Danni medi:" },
                        {
                            "name":"Danni_medi", "type":"window", "x":75, "y":205, "width":50, "height":20, 
                            "children" :
                            (
                                { "name":"Danni_medi_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
                                { "name":"Danni_medi_Value",  "type":"text", "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0,  "a":1.0, "text_horizontal_align":"center" },
                            )
                        },
                        { "name":"Danni_abi", "type":"text", "x":10, "y":230, "text":"Danni abilità:" },
                        {
                            "name":"Danni_abi", "type":"window", "x":75, "y":230, "width":50, "height":20, 
                            "children" :
                            (
                                { "name":"Danni_abi_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
                                { "name":"Danni_abi_Value",  "type":"text", "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0,  "a":1.0, "text_horizontal_align":"center" },
                            )
                        },
                        { "name":"Mostri", "type":"text", "x":10, "y":255, "text":"Mostri:" },
                        {
                            "name":"Mostri", "type":"window", "x":75, "y":255, "width":50, "height":20, 
                            "children" :
                            (
                                { "name":"Mostri_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
                                { "name":"Mostri_Value", "type":"text",  "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0, "a":1.0,  "text_horizontal_align":"center" },
                            )
                        },
                        { "name":"Vs_zombie", "type":"text", "x":10, "y":280, "text":"Vs Zombie:" },
                        {
                            "name":"Vs_zombie", "type":"window", "x":75, "y":280, "width":50, "height":20, 
                            "children" :
                            (
                                { "name":"Vs_zombie_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
                                { "name":"Vs_zombie_Value",  "type":"text", "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0,  "a":1.0, "text_horizontal_align":"center" },
                            )
                        },
                        
                        { "name":"Critici", "type":"text", "x":135, "y":180, "text":"Critici:" },
                        {
                            "name":"Critici", "type":"window", "x":190, "y":180, "width":50, "height":20, 
                            "children" :
                            (
                                { "name":"Critici_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
                                { "name":"Critici_Value", "type":"text",  "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0, "a":1.0,  "text_horizontal_align":"center" },
                            )
                        },
                        
                        { "name":"Trafiggenti", "type":"text", "x":135, "y":205, "text":"Trafiggenti:" },
                        {
                            "name":"Trafiggenti", "type":"window", "x":190, "y":205, "width":50, "height":20, 
                            "children" :
                            (
                                { "name":"Trafiggenti_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
                                { "name":"Trafiggenti_Value",  "type":"text", "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0,  "a":1.0, "text_horizontal_align":"center" },
                            )
                        },
                        { "name":"Rig_HP", "type":"text", "x":135, "y":230, "text":"Rig. HP:" },
                        {
                            "name":"Rig_HP", "type":"window", "x":190, "y":230, "width":50, "height":20, 
                            "children" :
                            (
                                { "name":"Rig_HP_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
                                { "name":"Rig_HP_Value", "type":"text",  "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0, "a":1.0,  "text_horizontal_align":"center" },
                            )
                        },
                        { "name":"Rig_MP", "type":"text", "x":135, "y":255, "text":"Rig. MP:" },
                        {
                            "name":"Rig_MP", "type":"window", "x":190, "y":255, "width":50, "height":20, 
                            "children" :
                            (
                                { "name":"Rig_MP_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
                                { "name":"Rig_MP_Value", "type":"text",  "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0, "a":1.0,  "text_horizontal_align":"center" },
                            )
                        },
                        { "name":"Veleno", "type":"text", "x":135, "y":280, "text":"Veleno:" },
                        {
                            "name":"Veleno", "type":"window", "x":190, "y":280, "width":50, "height":20, 
                            "children" :
                            (
                                { "name":"Veleno_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
                                { "name":"Veleno_Value", "type":"text",  "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0, "a":1.0,  "text_horizontal_align":"center" },
                            )
                        },
                        { "name":"Credit_Bar", "type":"horizontalbar", "x":10, "y":305, "width":233, },
                        { "name":"Credit_Bar_Text", "type":"text", "x":15, "y":305, "text":"Made By Exsta" },
                        
                    ),
                },
            ),
        },
    ),
}

SMALL_VALUE_FILE = "d:/ymir work/ui/public/Parameter_Slot_00.sub"
MIDDLE_VALUE_FILE = "d:/ymir work/ui/public/Parameter_Slot_01.sub"
LARGE_VALUE_FILE = "d:/ymir work/ui/public/Parameter_Slot_03.sub"
ROOT_PATH = "d:/ymir work/ui/game/windows/"
LOCALE_PATH = uiScriptLocale.WINDOWS_PATH

window = {
    "name" : "CharacterWindow",
    "style" : ("movable", "float",),

    "x" : 24,
    "y" : (SCREEN_HEIGHT - 37 - 361) / 2,

    "width" : 253,
    "height" : 361,

    "children" :
    (
        {
            "name" : "Board",
            "type" : "board_with_titlebar",

            "x" : 0,
            "y" : 0,

            "width" : 253,
            "height" : 361,

            "title" : "Bonus Page",

            "children" :
            (
                ## Page Area
               {
                    "name" : "Bonus_Page",
                    "type" : "window",
                    "style" : ("attach",),

                    "x" : 0,
                    "y" : 24,

                    "width" : 270,
                    "height" : 304,

                    "children" :
                    (
                        ## Barra
                       { "name":"Bonus_Bar_Difese", "type":"horizontalbar", "x":12, "y":11, "width":233, },
                        { "name":"Bonus_Bar_Text_Difese", "type":"text", "x":15, "y":13, "text":"Bonus Difese" },

                        
                        { "name":"Difesa_spada", "type":"text", "x":10, "y":35, "text":"Dif. Spada:" },
                        {
                            "name":"Dif_spada", "type":"window", "x":75, "y":35, "width":50, "height":20, 
                            "children" :
                            (
                                { "name":"Dif_spada_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
                                { "name":"Dif_spada_Value",  "type":"text", "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0,  "a":1.0, "text_horizontal_align":"center" },
                            )
                        },
            
                        { "name":"Difesa_spadone", "type":"text", "x":10, "y":60, "text":"Dif. Spadone:" },
                        {
                            "name":"Dif_spada", "type":"window", "x":75, "y":60, "width":50, "height":20, 
                            "children" :
                            (
                                { "name":"Dif_spadone_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
                                { "name":"Dif_spadone_Value",  "type":"text", "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0,  "a":1.0, "text_horizontal_align":"center" },
                            )
                        },
                    
                        { "name":"Difesa_pugnale", "type":"text", "x":10, "y":85, "text":"Dif. Pugnale:" },
                        {
                            "name":"Dif_pugnale", "type":"window", "x":75, "y":85, "width":50, "height":20, 
                            "children" :
                            (
                                { "name":"Dif_pugnale_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
                                { "name":"Dif_pugnale_Value",  "type":"text", "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0,  "a":1.0, "text_horizontal_align":"center" },
                            )
                        },
            
                        { "name":"Resistenza_magia", "type":"text", "x":10, "y":110, "text":"Res. magia:" },
                        {
                            "name":"Res_magia", "type":"window", "x":75, "y":110, "width":50, "height":20, 
                            "children" :
                            (
                                { "name":"Res_magia_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
                                { "name":"Res_magia_Value",  "type":"text", "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0,  "a":1.0, "text_horizontal_align":"center" },
                            )
                        },
                    
                        { "name":"Resistenza_freccia", "type":"text", "x":10, "y":135, "text":"Res. Freccia:" },
                        {
                            "name":"Res_freccia", "type":"window", "x":75, "y":135, "width":50, "height":20, 
                            "children" :
                            (
                                { "name":"Res_freccia_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
                                { "name":"Res_freccia_Value",  "type":"text", "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0,  "a":1.0, "text_horizontal_align":"center" },
                            )
                        },
                    
                        { "name":"Blocco", "type":"text", "x":135, "y":35, "text":"Blocco:" },
                        {
                            "name":"Blocco", "type":"window", "x":190, "y":35, "width":50, "height":20, 
                            "children" :
                            (
                                { "name":"Blocco_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
                                { "name":"Blocco_Value", "type":"text",  "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0, "a":1.0,  "text_horizontal_align":"center" },
                            )
                        },
                    
                        { "name":"Res_War", "type":"text", "x":135, "y":60, "text":"Res. War:" },
                        {
                            "name":"Res_war", "type":"window", "x":190, "y":60, "width":50, "height":20, 
                            "children" :
                            (
                                { "name":"Res_war_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
                                { "name":"Res_war_Value", "type":"text",  "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0, "a":1.0,  "text_horizontal_align":"center" },
                            )
                        },
                        
                        { "name":"Res_Sura", "type":"text", "x":135, "y":85, "text":"Res. Sura:" },
                        {
                            "name":"Res_Sura", "type":"window", "x":190, "y":85, "width":50, "height":20, 
                            "children" :
                            (
                                { "name":"Res_Sura_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
                                { "name":"Res_Sura_Value",  "type":"text", "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0,  "a":1.0, "text_horizontal_align":"center" },
                            )
                        },
                    
                        { "name":"Res_Ninja", "type":"text", "x":135, "y":110, "text":"Res. Ninja:" },
                        {
                            "name":"Res_Ninja", "type":"window", "x":190, "y":110, "width":50, "height":20, 
                            "children" :
                            (
                                { "name":"Res_Ninja_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
                                { "name":"Res_Ninja_Value",  "type":"text", "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0,  "a":1.0, "text_horizontal_align":"center" },
                            )
                        },
                        
                        { "name":"Res_Shamy", "type":"text", "x":135, "y":135, "text":"Res. Shamy:" },
                        {
                            "name":"Res_Shamy", "type":"window", "x":190, "y":135, "width":50, "height":20, 
                            "children" :
                            (
                                { "name":"Res_Shamy_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
                                { "name":"Res_Shamy_Value",  "type":"text", "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0,  "a":1.0, "text_horizontal_align":"center" },
                            )
                        },

                        ## Barra Generali
                       { "name":"Reaction_Bar", "type":"horizontalbar", "x":12, "y":158, "width":233, },
                        { "name":"Reaction_Bar_Text", "type":"text", "x":15, "y":160, "text":"Bonus Generici" },


                        { "name":"Vs_mezzi", "type":"text", "x":10, "y":180, "text":"Vs. Mezzi:" },
                        {
                            "name":"Mezziuomini", "type":"window", "x":75, "y":180, "width":50, "height":20, 
                            "children" :
                            (
                                { "name":"Mezziuomini_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
                                { "name":"Mezziuomini_Value",  "type":"text", "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0,  "a":1.0, "text_horizontal_align":"center" },
                            )
                        },
                        
                        { "name":"Danni_medi", "type":"text", "x":10, "y":205, "text":"Danni medi:" },
                        {
                            "name":"Danni_medi", "type":"window", "x":75, "y":205, "width":50, "height":20, 
                            "children" :
                            (
                                { "name":"Danni_medi_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
                                { "name":"Danni_medi_Value",  "type":"text", "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0,  "a":1.0, "text_horizontal_align":"center" },
                            )
                        },
                        { "name":"Danni_abi", "type":"text", "x":10, "y":230, "text":"Danni abilità:" },
                        {
                            "name":"Danni_abi", "type":"window", "x":75, "y":230, "width":50, "height":20, 
                            "children" :
                            (
                                { "name":"Danni_abi_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
                                { "name":"Danni_abi_Value",  "type":"text", "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0,  "a":1.0, "text_horizontal_align":"center" },
                            )
                        },
                        { "name":"Mostri", "type":"text", "x":10, "y":255, "text":"Mostri:" },
                        {
                            "name":"Mostri", "type":"window", "x":75, "y":255, "width":50, "height":20, 
                            "children" :
                            (
                                { "name":"Mostri_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
                                { "name":"Mostri_Value", "type":"text",  "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0, "a":1.0,  "text_horizontal_align":"center" },
                            )
                        },
                        { "name":"Vs_zombie", "type":"text", "x":10, "y":280, "text":"Vs Zombie:" },
                        {
                            "name":"Vs_zombie", "type":"window", "x":75, "y":280, "width":50, "height":20, 
                            "children" :
                            (
                                { "name":"Vs_zombie_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
                                { "name":"Vs_zombie_Value",  "type":"text", "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0,  "a":1.0, "text_horizontal_align":"center" },
                            )
                        },
                        
                        { "name":"Critici", "type":"text", "x":135, "y":180, "text":"Critici:" },
                        {
                            "name":"Critici", "type":"window", "x":190, "y":180, "width":50, "height":20, 
                            "children" :
                            (
                                { "name":"Critici_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
                                { "name":"Critici_Value", "type":"text",  "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0, "a":1.0,  "text_horizontal_align":"center" },
                            )
                        },
                        
                        { "name":"Trafiggenti", "type":"text", "x":135, "y":205, "text":"Trafiggenti:" },
                        {
                            "name":"Trafiggenti", "type":"window", "x":190, "y":205, "width":50, "height":20, 
                            "children" :
                            (
                                { "name":"Trafiggenti_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
                                { "name":"Trafiggenti_Value",  "type":"text", "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0,  "a":1.0, "text_horizontal_align":"center" },
                            )
                        },
                        { "name":"Rig_HP", "type":"text", "x":135, "y":230, "text":"Rig. HP:" },
                        {
                            "name":"Rig_HP", "type":"window", "x":190, "y":230, "width":50, "height":20, 
                            "children" :
                            (
                                { "name":"Rig_HP_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
                                { "name":"Rig_HP_Value", "type":"text",  "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0, "a":1.0,  "text_horizontal_align":"center" },
                            )
                        },
                        { "name":"Rig_MP", "type":"text", "x":135, "y":255, "text":"Rig. MP:" },
                        {
                            "name":"Rig_MP", "type":"window", "x":190, "y":255, "width":50, "height":20, 
                            "children" :
                            (
                                { "name":"Rig_MP_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
                                { "name":"Rig_MP_Value", "type":"text",  "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0, "a":1.0,  "text_horizontal_align":"center" },
                            )
                        },
                        { "name":"Veleno", "type":"text", "x":135, "y":280, "text":"Veleno:" },
                        {
                            "name":"Veleno", "type":"window", "x":190, "y":280, "width":50, "height":20, 
                            "children" :
                            (
                                { "name":"Veleno_Slot", "type":"image", "x":0, "y":0, "image":MIDDLE_VALUE_FILE },
                                { "name":"Veleno_Value", "type":"text",  "x":26, "y":3, "text":"999", "r":1.0, "g":1.0, "b":1.0, "a":1.0,  "text_horizontal_align":"center" },
                            )
                        },
                        { "name":"Credit_Bar", "type":"horizontalbar", "x":10, "y":305, "width":233, },
                        { "name":"Credit_Bar_Text", "type":"text", "x":15, "y":305, "text":"Made By Exsta" },
                        
                    ),
                },
            ),
        },
    ),
}

 

Link to comment
Share on other sites

  • Replies 1
  • 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.