Easy Overdrive System
Authors: Blizzard
Version: 2.3
Type: Limit Break / Overdrive System
Key Term: Custom Skill System
IntroductionThis script allows the use of the Overdrive skills.
This work is licensed under BSD License 2.0:
QuoteCopyright (c) Boris "Blizzard" Mikić
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
You may use this script for both non-commercial and commercial products without limitations as long as you fulfill the conditions presented by the above license. The "complete" way to give credit is to include the license somewhere in your product (e.g. in the credits screen), but a "simple" way is also acceptable. The "simple" way to give credit is as follows:
QuoteEasy Overdrive System licensed under BSD License 2.0, Copyright (c) Boris "Blizzard" Mikić
Alternatively, if your font doesn't support diacritic characters, you may use this variant:
QuoteEasy Overdrive System licensed under BSD License 2.0, Copyright (c) Boris "Blizzard" Mikic
In general other similar variants are allowed as long as it is clear who the creator is (e.g. "Easy Overdrive System created by Blizzard" is acceptable). But if possible, prefer to use one of the two variants listed above.
If you fail to give credit and/or claim that this work was created by you, this may result in legal action and/or payment of damages even though this work is free of charge to use normally.
Features- extremely simple Overdrive System
- using Blizzard gradient styler 4.x with 7 different styles
- compatible with Tons of Add-ons
- compatible with Blizz-ABS
- compatible with RTAB
- maximum compatibility with other scripts
- moving Overdrive command in defineable color and a faster animated cursor
- actors learn Overdrive skills seperately
v2.01bv2.1b- fixed a bug with Blizz-ABS
- now compatible with HP Consuming Skills from Tons of Add-ons
v2.2- now compatible with Blizz-ABS 2.82
v2.21- fixed a problem with Skill Separation System from Tons of Add-ons
v2.3- added new license
- added usage and crediting instructions
ScreenshotsPlease note: A "Centered battlers" and a "shaded text" add-on were applied in the demo to make it look better.
(http://img515.imageshack.us/img515/22/snap588.th.png) (http://img515.imageshack.us/img515/22/snap588.png) (http://img515.imageshack.us/img515/1128/snap589.th.png) (http://img515.imageshack.us/img515/1128/snap589.png) (http://img515.imageshack.us/img515/1043/snap590.th.png) (http://img515.imageshack.us/img515/1043/snap590.png)
DemoEasy Overdrive System (https://downloads.chaos-project.com/scripts/Easy Overdrive System.zip)
ScriptJust make a new script above main and paste this code into it.
Script Download (https://downloads.chaos-project.com/scripts/Easy Overdrive System.txt)
InstructionsInside the script in the first comment.
Compatibility99% compatible with SDK 1.x. 90% compatible with SDK 2.x. WILL corrupt your old savegames. Can cause incompatibilty issues with following scripts and/or systems:
- exotic CBS-es
- Limit Break systems
Not compatible with:
Credits and Thanks
Author's NotesIf you find any bugs, please report them here:
http://forum.chaos-project.com
That's it! Enjoy! =D
game_guy says "Woot first reply! 8) Anyways awesome scripts would this by chacne be compatible with blizz abs?"
doeas this automatically add the bar to the blizz abs hud?
and. very nice script, is there a way to manually modify OD value?
Read the spoiler below if you want to know how to change the od value in game. And it does add it the od value to the hud.
# If you want to change the value of the OD % ingame use the "Call script"
# event command and use this syntax:
#
# $game_actors[X].overdrive = Y
#
# X - ID of the hero in the database
# Y - new value of the OD
#
# You can also use another syntax:
#
# $game_party.actors[X].overdrive = Y
#
# X - position of the hero in the party
# Y - new value of the OD
#
# Note that X starts from 0 and NOT 1. The ammount is shown as 100,0%, this
# is 1000 OD. i.e. 59,1% would be 591 OD.
Heheh, this was probably a 5 minute job for you. I really wanna see how you implement it Bliz. *downloads*
It took an hour the other day to make. The added compatibility with RTAB, Blizz-ABS and the proper instructions took another 3 hours. What irony that the compatibility actually took longer than the script itself... The system works pretty much the same way SRS does.
@Susys: For god's sake, read the instructions. And if it's compatible with Blizz-ABS, it obviously should add the bar to the HUD. -_- Why are you making it always so hard on me?
Mhm... somehow I can't get it to work with the RTAB. It always gives odd error messages... all in that "if BlizzCFG::RTAB_ACTIVE" part of the script... I guess I'm doing something wrong there...
Did you turn RTAB_ACTIVE on? xD
Well, of course... Otherwise I wouldn't post here :-P
I do everything I can before I ask for help or anything...
What's the error message anyway? xD
line 380 NoMethodError, undefined method 'draw_battler_name'
See? odd!
Found it, fixed it.
That... was fast!
Yeah, it should have been draw_actor_name, that's why. xD
This is beautiful, and I'm really glad that you decided to make this...
** Blizzard, do you think maybe you could comment the code if you ever have another update for this system??
If I have the time. CRLS is commented and it works on the same principles.
Okay then, for reference I should look to the Limit Break System in CRSL, right??
SRS is actually more similar to EOS.
How come the swap command feature is available even when the character is empty of OD!?
**How do I set the amount of OD that is required to use the skill?
Can I make it so the swap is only available if the character has 100% OD??
The OD required is the SP cost in percentage just like in SRS. I actually mentioned that in the instructions. :P
And you can access the menu anytime. In order to make it only accessible when you have 100% OD, you need to do following edits.
1. Line 436 should be:
if BlizzCFG::OVERDRIVE_USERS.include?(@actor.id)
Change it to:
if BlizzCFG::OVERDRIVE_USERS.include?(@actor.id) && @actor.overdrive == 1000
2. Line 676 should be:
if BlizzCFG::OVERDRIVE_USERS.include?(battler.id)
Change it to:
if BlizzCFG::OVERDRIVE_USERS.include?(battler.id) && battler.overdrive == 1000
Quote from: Blizzard on March 14, 2009, 06:59:22 am
The OD required is the SP cost in percentage just like in SRS. I actually mentioned that in the instructions. :P
And you can access the menu anytime. In order to make it only accessible when you have 100% OD, you need to do following edits.
1. Line 436 should be:
if BlizzCFG::OVERDRIVE_USERS.include?(@actor.id)
Change it to:
if BlizzCFG::OVERDRIVE_USERS.include?(@actor.id) && @actor.overdrive == 1000
2. Line 676 should be:
if BlizzCFG::OVERDRIVE_USERS.include?(battler.id)
Change it to:
if BlizzCFG::OVERDRIVE_USERS.include?(battler.id) && battler.overdrive == 1000
**I apologize for being incompetent. Those are tiny edits that I could have realized had I actually been 'trying,' instead of running a quick scan. Thank you very much Blizzard. Everything is finally compatible, and works great!!
**As for the skill%.. .. ..umm...sorry :^_^': Lmao.
**Thank you again!! Everything works fantastic.
**Power Up**
It still doesn't have the flowing/flashing bars! :O
Sorry, I don't have time. Life is killing me.
... oh, the irony. :roll:
I can't find the parameter to change the max OD%... To many 1000's XD
There is none. Max is 100%, duh.
hey blizz when I try to change the color of the OD bar it won't work, with the blizz abs anyway :P
Hud#draw_overdrive. You should change it in that method.
self.bitmap.gradient_bar_hud(@od_x+32, @od_y+3, 114, rate, 'hud_red_bar')
I don't know from memory what the other bars are except for "hud_green_bar", "hud_blue_bar" and "hud_white_bar".
The HP consume skill in Tons doesn't with overdrives :P Fix? Or did I do something wrong?
Not, it really doesn't work. I'll update it somewhere later today.
EDIT: Update to v2.1b.
Hey, can i make so that i can buy ODs from G_Gs skill shop? If yes, with what script call? The regular
$game_actors[ID].learn_overdrive(CD)
or with something else... Please help
Yes, instead of actor.learn_skill you would need to use actor.learn_overdrive in his script.
Ok, well, great. Great, indeed. This makes things a bit more intresting.
Umm, another question. I want to do the same as Calintz, but the code has changed, so i don´t know which lines to edit. I mean, i want to make the slider (or whatever it´s called) pop up when i have full OD. Now, like i said, the lines don´t match anymore, and i don´t know which ones to change...
Doesn't matter, they are still the same lines (not numbers, I mean the code). Just press CTRL + F and use the search function to find them, then edit them.
would it be possbile to change the OD bar possition? It's because i'm using a custom battle window (see this picture)
(http://img402.imageshack.us/img402/4809/dibujoot.jpg)
Hey awesome script, I've been looking for a script like this for a LONG time now, and so far they've all been duds.
Just one problem... Im using SephirothSpawn's custom HP/SP bars, and this script seems to destroy the bars themselves, making them invisible. It doesn't return an error or anything, and the game rns as normal, but obviously its a hinderance with no HP/SP/Overdrive guages. The ATB guage still shows however.
Is there any way around this or will I need to use a different guage script? (I hope to evade the second)
Cheers :D
EDIT:
The full list of scripts im using (all completely compatible surprisingly)
Makeamidget & Khatharr steal script
RTAB (cogwheel) edited for no zoom
Animated Battlers with RTAB patch
Cogwheels spell timers and spell synth scripts
Vash's Death Switch script
Custom skill window script (by Marked I think)
SephirothSpawn's custom guage script
Dargor's Party Changer scripts
Dubealex's Ring Menu script
Mr. Mo's Animate This! script
Quotewould it be possbile to change the OD bar possition? It's because i'm using a custom battle window (see this picture)
that is an easy edit. will see if I have some time to do that 1 for yah today
Quote from: Zydragon on December 14, 2009, 08:55:45 pm
Hey awesome script, I've been looking for a script like this for a LONG time now, and so far they've all been duds.
Just one problem... Im using SephirothSpawn's custom HP/SP bars, and this script seems to destroy the bars themselves, making them invisible. It doesn't return an error or anything, and the game rns as normal, but obviously its a hinderance with no HP/SP/Overdrive guages. The ATB guage still shows however.
Is there any way around this or will I need to use a different guage script? (I hope to evade the second)
Cheers :D
EDIT:
The full list of scripts im using (all completely compatible surprisingly)
Makeamidget & Khatharr steal script
RTAB (cogwheel) edited for no zoom
Animated Battlers with RTAB patch
Cogwheels spell timers and spell synth scripts
Vash's Death Switch script
Custom skill window script (by Marked I think)
SephirothSpawn's custom guage script
Dargor's Party Changer scripts
Dubealex's Ring Menu script
Mr. Mo's Animate This! script
Seph coding style was always so that mostly only his stuff works with it. Either use his Overdrive script (called Limit Break if I remember right) or use my bars from Tons of Add-ons (except the facts that they look better and lag a lot less, you have the option to use one of seven different styles :P).
Quoteor use my bars from Tons of Add-ons (except the facts that they look better and lag a lot less, you have the option to use one of seven different styles Tongue).
showoff
Haha cheers for that.
Im not a COMPLETE noob at ruby coding... I did C++ in university, so I get the general jist of things. If I can't find the problem I'll have to do one of those... Probably change the bars since I like your OD version.
Quote from: Jackolas on December 15, 2009, 04:22:52 am
Quoteor use my bars from Tons of Add-ons (except the facts that they look better and lag a lot less, you have the option to use one of seven different styles Tongue).
showoff
Lol, but it's true. xD
Alright so I've messed with the scripts, taken ones out, to see the compatibility issue here...
Strangely enough if I take out seph's bars (or even put yours in) it spits out an error message:
"Script 'Easy Overdrive System' line 278: NoMethodError occurred.
undefined method 'draw_slant_bar' for
#<Window_DetailsStatus:0x7e48390"
Confused.com :???:
EDIT:
Ive put in your RTAB script, which shows the bars and seems to work with the Animated Battlers script fine. The only problem is it defeats the point of the spell synth and spell timer scripts, as the bar doesnt show the skills charging, it just kinda stays red... Any workaround?
I don't refresh the display all the time to reduce lag. :/ I might take a look at it, but I'd need a small demo.
It's alright, if I was to make a edmo out of it, it would be fairly pathetic since I have no graphics yet, just big coloured squares for boundaries.
Ive decided to keep the Overdrive system for another game in the future anyway, since it's a trilogy and I would prefer different battle systems in each.
Still, cheers for the script :haha:
so im very new at this. so i apologize in advance.
ive emplimented this script and its awesome. my problem is that i dont know how to make new skills for the overdrive... i know how to make new skills but i dont understand how to make them specific for overdrive. plz teach me im eager to learn. thanks in advance aswell.
There should be instructions in the beginning of the script in comments, (the one´s in green) so read that.
And there's a demo project with a demo configuration.
ok ill check it out thx. sorry to bother. lol :shy:
sorry to double post but i looked over thedemo and script and cant figure out how to make skill for overdrive and for them to be set with actors and such. plz help and dont be frustrated with me, imagine how i feel :shy:
Aqua Edit:
Don't double post... even if you say sorry.
Edit your first post instead. The topic will automatically be bumped.
Good day~
Okay, so for some reason, when I try and use this script with the 'Tons of Add-ons' script, I get the following error when I try to view the Overdrive window.
(http://img191.imageshack.us/img191/3754/errh.png)
This error only appears when the actor in question has overdrive skills; if it has no Overdrive skills, the window will open just fine. It doesn't seem to care whether or not any of the add-ons are active or not, also.
I am using this along with BABS and Action Timers.
But, ive noticed when using an OverDrive Skill, the cooldown will trigger, but as soon as you get enough Overdrive to use the ability, it can be used regardless of weather or not the Timer has actually reached 0.
This is what is happening -->
*Overdrive reached 30%
*skill used and timer starts
*overdrive is now 0%
*overdrive reaches 30%
*skill used again (with X seconds left on Cooldown Timer
All Scripts are in correct order. Any ideas? I am teh nubzor, havent even looked at script since around 02-03 and have forgotten near everything there is... Thanks in advance! Bump! This is causing me to rip out my teeth from anger.
Ask winkio about that in his thread.
Quote from: Aisu on February 28, 2010, 07:49:12 pm
Okay, so for some reason, when I try and use this script with the 'Tons of Add-ons' script, I get the following error when I try to view the Overdrive window.
(http://img191.imageshack.us/img191/3754/errh.png)
This error only appears when the actor in question has overdrive skills; if it has no Overdrive skills, the window will open just fine. It doesn't seem to care whether or not any of the add-ons are active or not, also.
Either you didn't put in your scripts right or they aren't in the right order (http://forum.chaos-project.com/index.php/topic,23.0.html) or you have loaded a saved game even though it says in the script that all old savegames are being corrupted when adding the script.
nice script
but how can i show it witouth having bliz abs hud turned on?
i want it to be visible all the time.
Quote from: sirSLR on November 05, 2010, 05:58:53 pm
nice script
but how can i show it witouth having bliz abs hud turned on?
i want it to be visible all the time.
What other scripts are you using? Assumedly, you're using Blizz-ABS, in which case it IS visible all the time, unless you disable the HUD all the time, which would be questionable to say the least.
yeah that is true but i want it to be seable when blizz hud is off
cause i'm using mog-xas hud
or is there a way to import some overdrive script in that hud...
I want to ask, how to make enemies (like boss) immune to overdrive?
Give Overdrives an element and make your bosses immune to that element.
Oh, I see...
thanks for your tips, Mr Blizzard :D
So I don't know if this thread is dead yet or not.... :P
but is there a way to have overdrive skills learned upon level up like regular skills? :huh:
...and yes I have read the instructions at the beggining of the script
any help is appreciated,
thanks
Not directly, but you can with a simple common event. Make the skill be learned as a normal skill. Put inside any script (I suggest you make a script slot below EOS) this piece of code here:
OVERDRIVE_SKILLS = [2, 3, 4]
Inside the array add all skill IDs that are Overdrive skills (in this example, those are 2, 3 and 4). Now make a common event that is a parallel process (don't forget to turn on the switch triggering that event). Add a script call command and insert this piece of code:
(1...$data_actors.size).each {|i|
os = OVERDRIVE_SKILLS &
$game_actors[i].skills
os.each {|s|
a = $game_actors[i]
a.forget_skill(s)
a.learn_overdrive(s)}}
so I the first script a seperate script page in the script editor
and then put the second script in an event using the "script" command (third tab of options) at the very beggining of the game?
and what does parralell process even mean? I havn't used it before. Does the event have to activated by a switch at all?
Sorry, but i didn't fully understand ur first response...
You got the first part right.
As for the second, not quite. What you have to do is go to the second to last tab of the regular database (called Common Events) and in an empty event slot, add the second script in a call script. Set the trigger to Parallel Process (meaning it'll run in the background), set an activation switch (meaning it'll only run when the switch is turned on) and make sure that switch is turned on at the start of the game.
THANKS!
But why not just have the event run without needing a switch? (EDIT: because you literally cannot!) :wacko:
Oh, also, when I paste the first scipt below EOS and above MAIN it wont let me playtest becuz it says syntax error in line 1 of that script... :P
If this script is giving you syntax errors, you haven't set it up properly.
OVERDRIVE_SKILLS = [2, 3, 4]
You are supposed to separate skill IDs with commas, make sure of that.
hmm....yes comma and then a space in between each
also I get syntax errorts wether it is all one line (past the edge I might add) or a new line.
Is there a special inention rule or something?
Well, you should end a line with a comma and begin it with the next number. That shouldn't give you a syntax error.
OVERDRIVE_SKILLS = [1, 2,
3,4,
5]
Spaces aren't actually necessary, but you will thank yourself later when you have to edit it.
well, I'm at a loss. The script you have there and the one in my editor are identical.
And it gives you a syntax error at exactly that line? O_o
yup, syntax error for that script (which i called overdrive skills) and in line 1. The problem isnt that my name for the script is the same as the first words IN the script, is it :P :huh:
No, there shouldn't be a problem with that.
Upload your scripts.rxdata somewhere and post a link. I can take a quick look at it.
are you talking about the file called scripts in the data folder of my game folder?
And thank you SO much for all your help...sorry for any incovenience, but man I want this to work!
Just realized that actual Overdrive script doesnt work either, quits out game when battle is initiated:
Script 'Overdrive' line 252: NoMethodError occurred.
undefined method `/' for nil:NilClass
thats the error message
it might be interesting to note that i could NEVER get ANY script to work with RMXP permanantly...even a simple caterpillar script messed up over time :P i dont get it :???:
Eh...
Quote from: Blizzard on March 07, 2009, 09:54:55 am
Compatibility
99% compatible with SDK 1.x. 90% compatible with SDK 2.x. WILL corrupt your old savegames. Can cause incompatibilty issues with following scripts and/or systems:
i still dont know how to send you the scripts...but that probably wont help anyway
any other script similar to your overdrive one u may suggest?
Go to www.sendspace.com, upload the file and post a link.
here it is
http://www.sendspace.com/file/an7kob
But these are just the default scripts.
ya im sorry i forgot i deleted the two add ons becuz i wanted to playtest a dungeon :roll:
here it is with the scripts:
http://www.sendspace.com/file/vol66c
sry about that :^_^':
No, the file still looks like the default file. Did you save the project before you uploaded the file?
hope this one works
http://www.sendspace.com/file/ioqhbj
hi, well first i like your system easy to config :D but i'v a lil' problem xD
for my game i did a job-change system ( not a script just with many many hero + class) and my problem is that when i config the hero with the overdrive bar, ( yup they got it) but only the first hero of my party gain acces to the overdrive option while a fight.
the part where i did my change:
OVERDRIVE_RATE = 1000
DRAW_OVERDRIVE = true
DRAW_OVERDRIVE_BAR = true
OVERDRIVE_ENABLED = [13, 14, 15, 16, 18, 19,20 ,21, 23, 24, 25, 26, 28, 29, 30, 31,
33, 34, 35, 36, 38, 39, 40, 41, 43, 44, 45, 46, 48, 49, 50, 51, 53, 54, 55, 56,
58, 59, 60, 61, 63, 64, 65, 66, 68, 69, 70, 71, 73, 74, 75, 76, 78, 79, 80, 81,
83, 84, 85, 86, 88, 89, 90, 91, 93, 94, 95, 96]
OVERDRIVE_USERS = [13]#, 14, 15, 16, 18, 19,20 ,21, 23, 24, 25, 26, 28, 29, 30, 31,
#33, 34, 35, 36, 38, 39, 40, 41, 43, 44, 45, 46, 48, 49, 50, 51, 53, 54, 55, 56,
#58, 59, 60, 61, 63, 64, 65, 66, 68, 69, 70, 71, 73, 74, 75, 76, 78, 79, 80, 81,
#83, 84, 85, 86, 88, 89, 90, 91, 93, 94, 95, 96]
OVERDRIVE_NAME = 'OD'
OVERDRIVE_COMMAND_NAME = 'Overdrive'
OVERDRIVE_COLOR = Color.new(0, 128, 255)
RTAB_ACTIVE = false
if i did something wrong if the script isn't done for too many hero, i dunno cuz i haven't any syntax error message when i launch
(i'm maybe chaotic when i try to explain my prob, sry for that ^^')
remove the hashes (#) because they mark comments and comments are not taken into consideration when running any script. As the name says, they are just comments and have no effect on the script.
DesPKP is right. I accidentally left the # in the config after testing something probably. I have reuploaded the script and demo with a normal config so people don't have the same problem in future.
Great script, but every time I want to add an OD it keeps saying " SynthaxError occurred while running Script" Can you help me?
Post the script call you tried.
" $game_actors[ID].learn_overdrive(CD) "
What values are you using for ID and CD?
Are they defined correctly?
Well, please excuse me, I'm a total noob, Ijust used my Charakters name and the name of the skill :^_^':
Quote from: Sake42 on March 16, 2011, 01:26:57 pm
Well, please excuse me, I'm a total noob, Ijust used my Charakters name and the name of the skill :^_^':
You shouldn't use their names, but their ID numbers. Look to the left of the name in the list in the database; the number there is what you need to use for the character and skill IDs.
Nah, still doesn't work. :(
Did you try something like this or not?
$game_actors[1].learn_overdrive(5)
How else is the script supposed to know which actor should learn which skill as overdrive skill?
As I said before, I'm a total noob at this. Thanks for your help.
EDIT: Oh yeah, it works now.
EDIT: Damn, this is really going to freak me out :<_<: Now it says I can use it with 200% OD. But it only goes to 100%!
Please don't double/triple post, edit your post instead.
The SP Cost of the skill defines how many % are required. If a skill needs 200%, then you have set the SP cost to 200.
Well, thanks, I'll remember that. :haha:
Sorry for posting here, but I wasn't sure where to go for help.
I'm using Tons of Addons and wanted to add an Overdrive System, but when I try to use an Overdrive I get this error
(http://i269.photobucket.com/albums/jj42/Neko_Wolfie/Error.jpg)
I have no idea how to do any kind of scripting, so I'm at a loss of what to do >.<
Is there any way to change the script so that the overdrive are actor specific?
Yes, simply configure the array OVERDRIVE_USERS. It seems that I added this in the script, but I forgot to add its meaning in the instructions.