[Guide] Kill "x" amount of monsters quest w/ progress updates

cannabys

Warper
Member
Joined
Jan 24, 2020
Messages
1
Reaction score
1
First Language
English
Primarily Uses
RMMV
I know this probably isn't anything too impressive and I probably did this in a very messy and unprofessional way but considering I've been using the program for 12 hours, I'm impressed I figure out how to finally get it to work after hours of googling and searching forums.

Any criticism or advice is totally welcome. I put a lot of work into this mostly to work my brain and help me learn.

This is a simple, kill count quest, with a reward. This will create ONE monster, that doesn't despawn until you've killed it 5 times.

Also includes progress text box [EX: You killed X/10 Monsters].



Screen Shot 2020-01-24 at 7.12.16 PM.pngScreen Shot 2020-01-24 at 7.13.17 PM.png



Monster Event
-----------------

  • Create event
  • Choose graphic
  • Name event
  • This is how my monster event is set up
  • Screen Shot 2020-01-24 at 6.09.16 PM.png
  • Double click the first line with the '@' symbol
  • Select 'Battle Processing', with monster of choice
  • Screen Shot 2020-01-24 at 6.26.25 PM.png
  • Select 'Continue Even When Loser', hit okay
  • Under "if win"; double click the line, and then hit 'Control Variables'
  • Screen Shot 2020-01-24 at 6.12.30 PM.png
  • Screen Shot 2020-01-24 at 6.10.59 PM.png
  • Make sure to name the variable
  • Make sure you tick the 'ADD' operation
  • Make sure the constant is set to "1"!
  • This will add one kill to the counter after every successful kill.
  • Now double click on a new line below the one we just made and select 'Show Text'
  • Type in "Killed \v[X] Monsters" (Replace X with the number your variable corresponds with)
  • This will print out a count, after every successful kill. For example, after killing 1 monster it would print out "Killed 1 / 5 Slimes", after 2 kills it would say 2 / 5, etc.
  • Now, under 'If lose' - do the same as before, double click the line after "If lose" and select 'Control Variables'
  • Select 'Operation' as "Add", except this time, make the constant "0". Which means no kill = no count.
  • Screen Shot 2020-01-24 at 6.22.27 PM.png
  • Under "end branch", double click the line and select 'Conditional Branch'
  • On page one, select 'Variable', select the same one we used before.
  • Under that select 'Constant', and set it to "5" (or how ever many kills you want, adjust everything accordingly)
  • And we are done with this section.

QUEST NPC
---------------


  • Create an event, name it, give it a graphic.
    Screen Shot 2020-01-24 at 7.31.01 PM.png
  • Set 'Trigger' to "Player Touch" in the drop down menu
  • Double click the first line by the '@' symbol
  • Select 'Control Switches'
  • Screen Shot 2020-01-24 at 6.36.58 PM.png
  • Create a switch by naming it
  • Make sure it is set to "On"
  • On a new line, double click and select 'Show Text'
  • Enter anything really, this is just initial quest dialog. Mine just says "I need you to kill 5 slimes!"
  • Double click on a new line, and select 'Control Self Switch'
  • Screen Shot 2020-01-24 at 6.39.54 PM.png
  • Select 'Self Switch' "A" and make sure the 'Operation' is set to "ON"
  • Create a new event page
  • Screen Shot 2020-01-24 at 7.32.19 PM.png
  • First, under 'Conditions' on the left side of the program, select 'Switch' and select the control switch we made earlier.
  • Also select 'Self Switch' and select "A" from the drop down menu.
  • Screen Shot 2020-01-24 at 6.43.23 PM.png
  • Under 'Trigger' at the bottom, select "Player Touch" from the drop down menu.
  • Screen Shot 2020-01-24 at 6.45.14 PM.png
  • Second, double click the first line, and select 'Conditional Branch'
  • From there select 'Variable' from the screen that popped up, and select the variable we made earlier.
  • Select "Equal To", select 'Constant' and set the integer to "5" (or however many you desire. Adjust accordingly)
  • Screen Shot 2020-01-24 at 7.03.31 PM.png
  • Now this is going to leave you with something that looks like
  • @>Conditional Branch: Variable [X:VariableName] == X
    @>
    : Else
    @>
  • Double click the line above "Else" and select 'Show Text'
  • Type in
    "You killed \v[X] / 5 slimes
    Reward: Reward"

    (remember to replace "X" with YOUR variable #)
  • Too add a reward, figure out what you would like to give your character and select from 'Event Commands' after double clicking the line below the reward text box.
  • Screen Shot 2020-01-24 at 6.52.31 PM.png
  • For example, I gave my party 1 level.
  • Screen Shot 2020-01-24 at 6.53.30 PM.png
  • Now double click the line under the one we just made and select 'Control Switches' and select 'Single' and select the quest switch we made earlier and make sure the 'Operation' is set to "ON"
  • Screen Shot 2020-01-24 at 6.55.18 PM.png
  • Now, double click the line BELOW ": Else"
  • Select 'Show Text' and type in "You killed \v[X] / 5 monsters"
  • Again, make sure you replace "X" with your variable #!
  • Double click the line below the one we just made and select 'Control Self Switch', Select "B" from the drop down menu and make sure the 'Operation' is set to "ON"


  • Create a new event page
  • Screen Shot 2020-01-24 at 7.05.10 PM.png
  • Under 'Conditions' on this new page, select 'Self Switch', and select "B" from the drop down menu.
  • Under 'Trigger', select "Player Touch" from the drop down menu.
  • Double click the first line and select 'Conditional Branch', and select 'Switch' from the screen that popped up and make sure the 'Operation' is set to "OFF". This will end the quest.



  • Feel free to add any more text or what have you on this page. Just add it before "Else" other wise anything on page 3 won't show because page 3's conditions rely on the quest being done. If you place it under "Else" nothing will happen because we already finished the quest and can not return to the state prior, if that makes sense.
 

Attachments

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
21,851
Reaction score
11,062
First Language
English
Primarily Uses
RMVXA
We get new users asking for information about this quite regularly, so I'm sure this will be of help to such people.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Please do not buy games from g2a.com. The sellers have total power over you. The website has many scam sellers. It looks cheap, but the key code didn't work.
A while back I was having fun making my own custom tiles, then I hit carpet... why is it so difficult!? Lol.
Weekend is finally here... what would you like to see (?):
1) Pokemon into zelda minish-cap style
or
2) Pokemon into zelda gbc style
or
3) Zelda into pokemon style

#= Choose ===============#
||__[ Full mockup ]_[ Charset ]__||
#=======================#
I know someday I'll start working on this...

I'm so happy that I got Steam achievements to work in my game, thanks in large part to the posts by other RPG Maker devs on this issue!

Forum statistics

Threads
97,942
Messages
948,056
Members
129,191
Latest member
Homerx_666
Top