The RPG Maker Resource Kit

RMRK RPG Maker Creation => VX Ace => VXA Scripts Database => Topic started by: TroyZ on June 15, 2013, 05:14:13 AM

Title: TroyZ - Random EXP Drop [VXAce] Version 1.0 & Version 1.1
Post by: TroyZ on June 15, 2013, 05:14:13 AM
[VXAce] Version 1.0
 
Spoiler for Version 1.0:
Original Link
http://13th-info.blogspot.com/2013/05/troyz-random-exp-drop_27.html (http://13th-info.blogspot.com/2013/05/troyz-random-exp-drop_27.html)

How this work

This script will randomize the EXP dropped by enemy with random rate that you set in this script. Good for those who wants to block the player that often hunting EXP, cause there'll be a EXP drop range of enemy.

Screenshot

(https://rmrk.net/proxy.php?request=http%3A%2F%2F3.bp.blogspot.com%2F-lMEV5Yi4z4A%2FUaNLshFqY9I%2FAAAAAAAAAF0%2FsIQGeKRU8p0%2Fs1600%2FScreenshot%2B-%2B5_27_2013%2B%2C%2B8_03_59%2BPM.jpg&hash=1aa143da7f75a7bf4cc3ec9423fab0fbbfb66c40)
Look carefully. This slime will give you 10 EXP when death.

(https://rmrk.net/proxy.php?request=http%3A%2F%2F1.bp.blogspot.com%2F-1jOuLIgT6yQ%2FUaNMBCAos_I%2FAAAAAAAAAF8%2FFcR1qQ0_XtY%2Fs1600%2FScreenshot%2B-%2B5_27_2013%2B%2C%2B8_05_24%2BPM.jpg&hash=a81d72050a5d3fad62a67a15a2b5691a735ff9ee)
Battle with two slime. With above setting, we should get 20 EXP when won (10 EXP per slime).

(https://rmrk.net/proxy.php?request=http%3A%2F%2F4.bp.blogspot.com%2F-Z4DWh_VTKMs%2FUaNMWDg9apI%2FAAAAAAAAAGE%2Fwe_4vGtluyw%2Fs1600%2FScreenshot%2B-%2B5_27_2013%2B%2C%2B8_05_53%2BPM.jpg&hash=8fe8e714f9d02a391e66d474e648b3cb24916704)
But, what's happening? Did we just get 22 EXP? Why we didn't get 20 EXP? Simply because we set the random rate of dropped EXP with this script.  :D
 
How to use

Place it between material and main.

How to config

Config this one
(https://rmrk.net/proxy.php?request=http%3A%2F%2F3.bp.blogspot.com%2F-yxzWRbYCynE%2FUaNNIaaZckI%2FAAAAAAAAAGM%2FFszaar6OwuQ%2Fs1600%2FScreenshot%2B-%2B5_27_2013%2B%2C%2B8_10_05%2BPM.jpg&hash=e419e8e990ab60ee680672e9bf294fd617906190)
Hehe, it's in Indonesian Language. But I'll translate it for you.  8)
Code: [Select]
Random Rate = 20 # random rate ini dalam persen
Means that you set the number in Random Rate with percent. Example above, Random Rate = 20, it means the EXP that will be dropped by enemy is in the range of 20% below base EXP and 20% above base EXP, so there is an EXP Drop Range.

Compatibility Issues

None yet. If you get some, let me know, and bug fixes will come out soon.

Who To Credit

- Allah swt. : For the chance of living that he has given to me.
- Prophet Muhammad saw. : As a leader and messenger and prophet of Muslim. I'm proud to be your follower. :)
- Agung Prasetyo(TroyZ) : Thats me, of course, the ones that made this script. :P

License

- Free Game : Just credit those two first names. My name in the credit? If you pleased, but if you don't, no problem, this is just a simple script actually.  ^-^
- Commercial Game : Same as free game's license.

Download

Demo : http://www.mediafire.com/download/xcfurup79kd11rw/TroyZ_-_Random_EXP_Drop.exe (http://www.mediafire.com/download/xcfurup79kd11rw/TroyZ_-_Random_EXP_Drop.exe)
Script Only : http://pastebin.com/BsMGqWYF (http://pastebin.com/BsMGqWYF)

[VXAce] Version 1.1
Spoiler for Version 1.1:

Update

Just some small update, you can do the random exp rate with notetags rather than with the script module. Script module provide the base random rate with enemies that don't have notetags. Anyway, to use this script, put this notetags into enemies' notetag :

Code: [Select]
<exp lower rate: x>
<exp upper rate: x>

With x is the percentage of random rate. Example, a slime in the database have this notetags :
Code: [Select]
<exp lower rate: 20>
<exp upper rate: 70>

Means that, when this slime die, it'll give you an EXP with the range of 20% below its base EXP and 70% above its base EXP. When you don't want the enemies have random rate of EXP, just put 0 as a percentage of lower rate and upper rate.

Download

Script Only : http://pastebin.com/hwQ422R0 (http://pastebin.com/hwQ422R0)
Title: Re: TroyZ - Random EXP Drop [VXAce] Version 1.0
Post by: &&&&&&&&&&&&& on June 15, 2013, 05:41:29 AM
Is there a way to make it give more, but not less.

Like if I have it set to EXP:100 with the "Random Rate = 20". Can I make it give you between 100 and 120?
Title: Re: TroyZ - Random EXP Drop [VXAce] Version 1.0
Post by: TroyZ on June 15, 2013, 06:48:59 AM
well, just wait for version 1.1, i'm gonna put some small update by using notetag of lower rate and upper rate, and also notetag of no rate. that's also my plan, but i haven't realize it due to my work :D
Title: Re: TroyZ - Random EXP Drop [VXAce] Version 1.0
Post by: &&&&&&&&&&&&& on June 15, 2013, 07:08:30 AM
Thank you posting for this script.

I was re-reading what I had posted, and realized I hadn't thanked you. :\
Sorry about that.
Title: Re: TroyZ - Random EXP Drop [VXAce] Version 1.0 & Version 1.1
Post by: TroyZ on June 15, 2013, 07:48:34 AM
well, it doesn't matter actually. but, you're welcome.  ;D

as you wish, version 1.1 is coming
http://pastebin.com/hwQ422R0 (http://pastebin.com/hwQ422R0)

also updated first post  :rk:
Title: Re: TroyZ - Random EXP Drop [VXAce] Version 1.0 & Version 1.1
Post by: modern algebra on June 15, 2013, 12:40:43 PM
Another neat little script. Thanks for sharing TroyZ
Title: Re: TroyZ - Random EXP Drop [VXAce] Version 1.0 & Version 1.1
Post by: TroyZ on June 16, 2013, 01:53:30 AM
well, thanks for your appreciation, modern algebra.  ;D
i'll also post the gold version of this script.  ::)