Aldeia RPG

Gostaria de reagir a esta mensagem? Crie uma conta em poucos cliques ou inicie sessão para continuar.

Suporte ao desenvolvimento de jogos


4 participantes

    [NPM4] Add the number of killed monsters in a Quest

    Gauthier99
    Gauthier99
    Iniciante
    Iniciante


    Mensagens : 33
    Créditos : 24

    [NPM4] Add the number of killed monsters in a Quest Empty [NPM4] Add the number of killed monsters in a Quest

    Mensagem por Gauthier99 Qua maio 08, 2013 4:28 am

    Hello,

    The tutorial is for do that :

    [NPM4] Add the number of killed monsters in a Quest Tuto4

    1) Go to the script [WIN] Window_Quests
    2) Currently, your quests are like this :

    Código:
    MISSION[1] = ["Name", Start_Switch, "Infos", Item_Neces., "Graphic of Monster", Number of Monster, End_Switch, Level, Gain_item]


    You have to add the id of a game variable. This variable is the number of monsters who has already killed. You have to had it at the end like this :

    Código:
    MISSION[1] = ["Name", Start_Switch, "Infos", Item_Neces., "Graphic of Monster", Number of Monster, End_Switch, Level, Gain_item, Number_kill]


    For exemple :


    Código:
    MISSION[1] = ["Bad monsters", 20, "Kill 3 Gluglus", 34, "092-Monster06", 3, 21, 1, 4, 21]
    (21 is the ID of game variable)

    3) In the same script, after

    Código:
    @gain_item = Quest_Configure::MISSION[@id][8]
    Add this :

    Código:
    @killed = Quest_Configure::MISSION[@id][9]


    4) Replace at the end of the script

    Código:
    self.contents.draw_text(0, 130, 262, 32, LANGUAGE::QUESTMONSTERS+"x"+@quantidade.to_s)
    by

    Código:
    self.contents.draw_text(0, 130, 262, 32, LANGUAGE::QUESTMONSTERS+$game_variables[@killed].to_s+"/"+@quantidade.to_s)


    5) Now, open the event menu of your monsters.
    6 ) In the second page, add this at the beginning:

    <> if Switch (start of quest) is on
    --<> Variable [Number of Monster killed] + 1
    <>end of condition

    7) Enjoy Very Happy


    _________________
    "My script doesn't work, I don't know why :/
    My script works, I don't know why ._."

    - All great scripters


    My Scripts :
    Canjoo
    Canjoo
    Experiente
    Experiente


    Mensagens : 505
    Créditos : 52

    [NPM4] Add the number of killed monsters in a Quest Empty Re: [NPM4] Add the number of killed monsters in a Quest

    Mensagem por Canjoo Qua maio 08, 2013 4:36 am

    Bem simples, mas ficou legal. Tome o seu crédito!
    TecoKun
    TecoKun
    Membro de Honra
    Membro de Honra


    Mensagens : 1310
    Créditos : 69

    [NPM4] Add the number of killed monsters in a Quest Empty Re: [NPM4] Add the number of killed monsters in a Quest

    Mensagem por TecoKun Qua maio 08, 2013 5:50 am

    Very good, i make a script like this, but not works right OAKSOKPASOKP
    +Creep Successful


    _________________
    [NPM4] Add the number of killed monsters in a Quest 9vqffD0
    Meu fórum de RPG Maker! ainda esta em construção, mas ja tem materias exclusivos! Visite-nos, você vai gostar!
    Status do fórum: PARADO (por enquanto)


    Alguns dos meus textos sobre Rpg, podem te ajudar Wink
    * Contos dos Heróis


    Deem uma olhada Successful 
    Satheios
    Satheios
    Aldeia Friend
    Aldeia Friend


    Medalhas : [NPM4] Add the number of killed monsters in a Quest Trophy12[NPM4] Add the number of killed monsters in a Quest IlSfE
    Mensagens : 1248
    Créditos : 306

    [NPM4] Add the number of killed monsters in a Quest Empty Re: [NPM4] Add the number of killed monsters in a Quest

    Mensagem por Satheios Qua maio 08, 2013 9:35 am

    Veri Gudi!!1!
    Ficou muito bom, parabéns, ajuda muito em certa parte!
    Abraços,
    Vinks


    _________________



    Ninguém pode ser perfeito, mas todos podem ser melhores.
    Visite o meu projeto, Tales of a Kingdom e prepare-se para um novo mundo!





    Conteúdo patrocinado


    [NPM4] Add the number of killed monsters in a Quest Empty Re: [NPM4] Add the number of killed monsters in a Quest

    Mensagem por Conteúdo patrocinado


      Data/hora atual: Dom Abr 28, 2024 3:21 am