Hi everyone. Okay so I have been working with rpg maker since RM95.
I stopped for awhile and have recently been inspired to try again and purchased MV.
I love all the new features and wonderful scripts that have been released and exploring everything has really been a blast.
I have no other programming experience.
So I find myself a little confused right now - I am hoping for the insight. I will include screen shots.
So, I came up with an idea for a HUNT skill.
I found the steal js from Yanfly which is awesome. But as I am using that skill too I didn't want to take anything away from the steal skill for hunt.
As it allows you to take items and such from the enemies, it would kind of be a shortcut to what I'm after.
Ideally, this is how the hunt skill works - I set a number of steps on a "hunt map" to make the huntable creatures very rare. It is an encounter of one specific troop that is "huntable". When the hunt skill is used on those SPECIFIC encounters I want the battle to abort, Add the variable of what's collected (For quest purposes in some cases) as well as add it to the user's key items (weapon upgrades, things of that nature). Therefore, I wanted it separte from steal.
Initially I tried to use the random encounter but it was too hard to make them specifically as rare as I want them. So the first issue is the amount of steps taken and also separating it from my random encounters. So I just make sure it is not a multiple of those steps.
Now, I think my logic is correct on the programming (but I may be wrong). Truthfully I have no way of knowing because I can't test it. My variables seem to be a bit wrong as I am getting an error message that it isn't sure the variables im trying to call.
I am going to attach code so someone can maybe help me (my brains a bit fried with it honestly).
First, I created an autorun event upon entering the map at the start of the hunt. I figured I'd need some time to calculate numbers.
So I use a loading message a 240s wait and pull a switch.
Another event is set to Autorun where
game data steps variable = actual steps (from the game)
Reset steps variable = game data steps
Then I flip a switch called step counts
This is the parallel event that is linked with that switch on the map:
*Pasted it into common events for easier screen shot
*Variable 13 is my Reset Steps Variable.
((See screenshots Help 1 & Help 2))
RMMV does not like those $gamevariables im using. I am sure I don't understand something I read on one of the threads here so I am hoping someone can clear that up as well as any programming / math issues for me.
The second dilemma I came across is the HUNT skill itself.
At first I was trying to call a common event from a hunt status.
It would only work the first time - it would abort the battle and after the battle give me the message and increase my variable and then all the necessary switches would turn off - but then next battle wouldn't abort battle.
I think I am going to try it differently where the hunt skill calls a common event that aborts the battle and then triggers an event on the main map rather than the battle event. Thoughts on that or an easier way to do it?
(see common events Screen Shots)




I stopped for awhile and have recently been inspired to try again and purchased MV.
I love all the new features and wonderful scripts that have been released and exploring everything has really been a blast.
I have no other programming experience.
So I find myself a little confused right now - I am hoping for the insight. I will include screen shots.
So, I came up with an idea for a HUNT skill.
I found the steal js from Yanfly which is awesome. But as I am using that skill too I didn't want to take anything away from the steal skill for hunt.
As it allows you to take items and such from the enemies, it would kind of be a shortcut to what I'm after.
Ideally, this is how the hunt skill works - I set a number of steps on a "hunt map" to make the huntable creatures very rare. It is an encounter of one specific troop that is "huntable". When the hunt skill is used on those SPECIFIC encounters I want the battle to abort, Add the variable of what's collected (For quest purposes in some cases) as well as add it to the user's key items (weapon upgrades, things of that nature). Therefore, I wanted it separte from steal.
Initially I tried to use the random encounter but it was too hard to make them specifically as rare as I want them. So the first issue is the amount of steps taken and also separating it from my random encounters. So I just make sure it is not a multiple of those steps.
Now, I think my logic is correct on the programming (but I may be wrong). Truthfully I have no way of knowing because I can't test it. My variables seem to be a bit wrong as I am getting an error message that it isn't sure the variables im trying to call.
I am going to attach code so someone can maybe help me (my brains a bit fried with it honestly).
First, I created an autorun event upon entering the map at the start of the hunt. I figured I'd need some time to calculate numbers.
So I use a loading message a 240s wait and pull a switch.
Another event is set to Autorun where
game data steps variable = actual steps (from the game)
Reset steps variable = game data steps
Then I flip a switch called step counts
This is the parallel event that is linked with that switch on the map:
*Pasted it into common events for easier screen shot
*Variable 13 is my Reset Steps Variable.
((See screenshots Help 1 & Help 2))
RMMV does not like those $gamevariables im using. I am sure I don't understand something I read on one of the threads here so I am hoping someone can clear that up as well as any programming / math issues for me.
The second dilemma I came across is the HUNT skill itself.
At first I was trying to call a common event from a hunt status.
It would only work the first time - it would abort the battle and after the battle give me the message and increase my variable and then all the necessary switches would turn off - but then next battle wouldn't abort battle.
I think I am going to try it differently where the hunt skill calls a common event that aborts the battle and then triggers an event on the main map rather than the battle event. Thoughts on that or an easier way to do it?
(see common events Screen Shots)



