Basic Quest System

Discussion in 'RGSS3 Scripts (RMVX Ace)' started by Vlue, May 29, 2014.

    Tags:
  1. Alberto Cerrone

    Alberto Cerrone Villager Member

    Messages:
    51
    Likes Received:
    0
    First Language:
    italian
    u mean this?($game_quests[:questid].completed?) is the only thing i not understand ...and the demo can't help
     
  2. mjshi

    mjshi Jack of Most Trades Veteran

    Messages:
    903
    Likes Received:
    717
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
    No, make an event that has "ask_turnin:)questid)" to ask the player to turn in (complete) the quest.
     
  3. Alberto Cerrone

    Alberto Cerrone Villager Member

    Messages:
    51
    Likes Received:
    0
    First Language:
    italian
    u mean this? ask_turnin:)questid)... and in this way the complete quest is showed in the quest log?i think u not understand what i mean...after i complete a quest..i want it to be showed in the quest log menu.Like an archive...
     
    Last edited by a moderator: Aug 17, 2015
  4. mjshi

    mjshi Jack of Most Trades Veteran

    Messages:
    903
    Likes Received:
    717
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
    Isn't that automatic? I'm not too sure, I don't have my computer right now.

    If it isn't, it probably wasn't scripted as a functionality. I don't know enough scripting to make an addon for you, but you could try asking the Script Support forum or the Script Request forum.
     
  5. Alberto Cerrone

    Alberto Cerrone Villager Member

    Messages:
    51
    Likes Received:
    0
    First Language:
    italian
    i not maked the quest auto complete..i had to talk back with the npc..and then the screen with complete and cancel appear..if meat the condition i can complete. the script maker told me that  there isn't a way to have a registry of the completed quest :(  
     
  6. SithDuke

    SithDuke Veteran Veteran

    Messages:
    38
    Likes Received:
    0
    First Language:
    English
    I've attached an image below which will hopefully show you how to setup a working quest giver.

    Oh you mean show completed quests in the Quest Menu? I think that would need to be scripted in by Vlue.

    55ab02eb8e8f614f1decca7979a53658.png
     
    Last edited by a moderator: Aug 17, 2015
  7. Alberto Cerrone

    Alberto Cerrone Villager Member

    Messages:
    51
    Likes Received:
    0
    First Language:
    italian
    i know how to make a working quest..and your example look so complicated...
     
  8. Pauly

    Pauly Villager Member

    Messages:
    5
    Likes Received:
    4
    First Language:
    Thai
    I have problem with reward not show exp in quest accept

    and I don't know what I'm doing wrong

    help me pls T_T

    1.jpg

    2.jpg

    3.jpg
     
  9. SithDuke

    SithDuke Veteran Veteran

    Messages:
    38
    Likes Received:
    0
    First Language:
    English
    If you remove the item reward/XP scale does it show up? I'm wondering if also possible it's there but hidden by the window size.
     
  10. mjshi

    mjshi Jack of Most Trades Veteran

    Messages:
    903
    Likes Received:
    717
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
    Yeah, it's most likely hidden by the window size, due to objectives being given too many line spaces. Try adjusting the bits that say "line_height * "(then usually a 7 or 8) using Ctrl+F. I find that changing them to 5, 6, does the trick.
     
  11. Pauly

    Pauly Villager Member

    Messages:
    5
    Likes Received:
    4
    First Language:
    Thai
    SithDuke

    If you remove the item reward/XP scale does it show up? <<< it's not show up

    mjshi

    I try to change number at line_height as your suggest but nothing happen [Attach Files]

    could you tell me which line script number to change line_height number

    4.jpg
     
  12. mjshi

    mjshi Jack of Most Trades Veteran

    Messages:
    903
    Likes Received:
    717
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
    There's one at 514, 516, 729, and 731. You need to edit all of them and try putting in different numbers until it displays the way you want it to.
     
  13. The Black Swordsman

    The Black Swordsman Veteran Veteran

    Messages:
    297
    Likes Received:
    27
    First Language:
    English
    LoL, I luv this guy! BD   My kind of sense of humor :guffaw:

    Other than that, I gotta try this one out and perhaps its a replacement of the one im currently using thats like 15k lines long :D  
     
  14. Pauly

    Pauly Villager Member

    Messages:
    5
    Likes Received:
    4
    First Language:
    Thai
    mjshi

    thank you for your help ^_^
     
  15. joseanjim

    joseanjim Warper Member

    Messages:
    4
    Likes Received:
    0
    First Language:
    spanish
    [​IMG]

    The first thing I made with demo is speak with a NPC and I get this...
     
  16. Andar

    Andar Veteran Veteran

    Messages:
    28,418
    Likes Received:
    6,485
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    That basically tells that you made an error in the event with the script calls.
    Please post a screenshot of that event so that we can see where you made your mistake.


    To be more precise, it looks like you made a mistake in the quest definitions - please copy us that part of the script where you entered the quest that you want the NPC to give.
     
    Last edited by a moderator: Sep 15, 2015
  17. FireDusterStudios

    FireDusterStudios Indie Game Developer Member

    Messages:
    24
    Likes Received:
    0
    Location:
    My Clothes
    First Language:
    English
    Primarily Uses:
    RMVXA
    I have an issue. When selecting to track, or untrack an active quest, the window that shows up is actually behind the window that displays the quest information

    What line's would I have to change, to edit this? Sorry for the trouble.
     
  18. joseanjim

    joseanjim Warper Member

    Messages:
    4
    Likes Received:
    0
    First Language:
    spanish
    I did nothing. Only download author's demo and run it to check how works. Is there a more recent demo without that mistake?
     
  19. mjshi

    mjshi Jack of Most Trades Veteran

    Messages:
    903
    Likes Received:
    717
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
    It should work, but here's a 1.3b version demo I whipped up:

    https://www.sendspace.com/file/7zeh9d

    (the correct download button is the light blue one in the middle)

    I swear, every time I download things from there it's like playing minesweepers with adware.
     
    Last edited by a moderator: Sep 18, 2015
  20. yondack

    yondack Villager Member

    Messages:
    10
    Likes Received:
    0
    First Language:
    english
    I may be overlooking the obvious but i keep getting the errors "questid001 has no definded REWARDS. this is not optional" and then a NoMethodError on line 331 

    my quest script look like this:

     DETAILS[:questid001] = {

        :name => "Win the Arena." ,

        :level => 1,

        :abandonable => false,}

      DESCRIPTIONS[:questid001] = {

        :location => "RiverDale.",

        :desc => "RiverDale is holding a contest in the Arena", }

      OBJECTIVES[:questid001] = {

        :obj1 => ["Enter the Arena."],

        :obj2 => ["Reach the Finals."],}

      REWARDS[:questid001] = {

        :gold => 500 ,

        :exp => 50 , }
    so i cant see why it says it says no rewards :S
     
    Last edited by a moderator: Sep 30, 2015

Share This Page