Gain Bonus XP or Gold if you win fight Quickly! Rank Fight? Script please help ^_^

Val

Veteran
Veteran
Joined
Oct 12, 2015
Messages
281
Reaction score
168
First Language
Français
Primarily Uses
Hi everyone,


I'm looking for a script that can give a Bonus XP or Gold if you finish a fight quickly. Ex: You finish the fight before a certain time and you get 2 time the gold and XP.


Similar to something in FF13 that could give a Rank or something at the result screen so people understand that if they kill the enemies quickly they will gain some Bonus.


Just to have something real simple like: a script where you can write in the plugin a multipler of XP or Gold with some standards time like you win the fight in less 1 minutes = 1.5 x times the gold Rank A


Rank B = more then one minute = 1.3x time the gold 


You create the rank 1,2,3,4,5 (with each the time limit) at the end of the fight you show the rank + the time you have taken for the battle and get the bonus gold and xp :)


Maybe something already exist to help me do this trick? This will help the player to maybe being more strategic to win the fight fast so he can have the maximum gold and XP.


thank you in advance! 


:)
 

Val

Veteran
Veteran
Joined
Oct 12, 2015
Messages
281
Reaction score
168
First Language
Français
Primarily Uses
Still no javascript plugin master who want to try this challenge in making this plugins? :(  
 

Val

Veteran
Veteran
Joined
Oct 12, 2015
Messages
281
Reaction score
168
First Language
Français
Primarily Uses
No one around have made a similar script in rpg maker mv yet? to gain bonus in battle depending of the speed the encounter has ended? 
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,668
First Language
German
Primarily Uses
RMMV
How about you try to use eventing? Nothing in your description reads as if it needs a script.


1) in every troop, have a troop event record game time into a variable on first turn and control a switch "after battle" ON.


2) make a parallel common event conditioned to the switch "after battle".


3) in the common event, use control variables and conditional branches to check how much time has passed since the time was stored on turn 1, and have it give rewards according to that.


4) at the end of the common event, control switch "after battle" OFF.
 

SEK

Veteran
Veteran
Joined
Mar 31, 2016
Messages
56
Reaction score
51
First Language
Italian
Primarily Uses
The plugin is ready, I just need to know what you exactly need, so I can make the last changes :)  


Like:


-Do you need a multiplier even for item number?


-Do you want a fixed time for every fight, or would you like to change it everytime?


-Would you like to show a message when you get the result? like "Completed - Rank S!"
 
Last edited by a moderator:
  • Like
Reactions: Val

Val

Veteran
Veteran
Joined
Oct 12, 2015
Messages
281
Reaction score
168
First Language
Français
Primarily Uses
The plugin is ready, I just need to know what you exactly need, so I can make the last changes :)  


Like:


-Do you need a multiplier even for item number?


-Do you want a fixed time for every fight, or would you like to change it everytime?


-Would you like to show a message when you get the result? like "Completed - Rank S!"


Hello SEK


-Do you need a multiplier even for item number?


This could be a great idea, if you manage to beat the battle in a X amount of time your might get a multiplier of the items receives.


-Do you want a fixed time for every fight, or would you like to change it everytime?


I would like to but a base time (for everybattle) but I would like to be able to overwrite that time in each battle. (Can we add a notetag in the Group of ennemies panel in RPG Maker?)


-Would you like to show a message when you get the result? like "Completed - Rank S!"


Yeah That would be really cool.I would like to write the time the battle lasted and the rank of the team for winning the battle.


More feedback to the player is always a great thing to give them :)


Thanks for your help, I'm pretty sure it's something that a lot of people will love to add into there game.


:D
 
  • Like
Reactions: SEK

SEK

Veteran
Veteran
Joined
Mar 31, 2016
Messages
56
Reaction score
51
First Language
Italian
Primarily Uses
The plugin is on Pending Approval, I wasn't able to multiply the number of items... and actually Troops don't have notetag :/ it could be done by setting a notetag for every enemy and by making an average multiplier, but i think that might be complicated: I put 4 different plugin calls that can be called anytime (on the first turn of the battle, for example) so that you can modify ranks, time and multipliers whenever you need.


You can change the shown message from plugin settings, the message will be shown when every enemy is dead.
 
  • Like
Reactions: Val

Val

Veteran
Veteran
Joined
Oct 12, 2015
Messages
281
Reaction score
168
First Language
Français
Primarily Uses
Thanks for your help SEK cant wait to try this plugins to add some depth to the combat mechanic of my game. So people who play well and fast can gain some xp and gold boost.


:D
 
  • Like
Reactions: SEK

SEK

Veteran
Veteran
Joined
Mar 31, 2016
Messages
56
Reaction score
51
First Language
Italian
Primarily Uses
Thanks for your idea! :)
 

Val

Veteran
Veteran
Joined
Oct 12, 2015
Messages
281
Reaction score
168
First Language
Français
Primarily Uses
Hey SEK was your plugin approved by the scripter master? :D
 

SEK

Veteran
Veteran
Joined
Mar 31, 2016
Messages
56
Reaction score
51
First Language
Italian
Primarily Uses
Sorry! I thought you saw it  :o
 
  • Like
Reactions: Val

Val

Veteran
Veteran
Joined
Oct 12, 2015
Messages
281
Reaction score
168
First Language
Français
Primarily Uses
THANKS!! ^_^ !!
 

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

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,849
Messages
1,016,977
Members
137,563
Latest member
cexojow
Top