[XP] Easy Overdrive System

Started by Blizzard, March 07, 2009, 09:54:55 am

Previous topic - Next topic

Blizzard

March 07, 2009, 09:54:55 am Last Edit: October 07, 2021, 10:28:37 am by Blizzard
Easy Overdrive System
Authors: Blizzard
Version: 2.3
Type: Limit Break / Overdrive System
Key Term: Custom Skill System

Introduction

This 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.01b
  • fixed an issue with RTAB
v2.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


Screenshots

Please note: A "Centered battlers" and a "shaded text" add-on were applied in the demo to make it look better.



Demo

Easy Overdrive System

Script

Just make a new script above main and paste this code into it.
Script Download

Instructions

Inside the script in the first comment.

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:
  • exotic CBS-es
  • Limit Break systems
Not compatible with:
  • Chaos Rage Limit System

Credits and Thanks

  • Boris "Blizzard" Mikić

Author's Notes

If you find any bugs, please report them here:
http://forum.chaos-project.com

That's it! Enjoy! =D
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

G_G

game_guy says "Woot first reply!  8) Anyways awesome scripts would this by chacne be compatible with blizz abs?"

Blizzard

Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Sally

doeas this automatically add the bar to the blizz abs hud?

and. very nice script, is there a way to manually modify OD value?

Juan

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. 
Spoiler: ShowHide
#   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.
Dropbox Who need luck when you can make your own.
3ds Friend code: ShowHide
 4468 1422  6617

Fantasist

Heheh, this was probably a 5 minute job for you. I really wanna see how you implement it Bliz. *downloads*
Do you like ambient/electronic music? Then you should promote a talented artist! Help out here. (I'm serious. Just listen to his work at least!)


The best of freeware reviews: Gizmo's Freeware Reviews




Blizzard

March 08, 2009, 06:27:21 am #6 Last Edit: March 08, 2009, 06:28:24 am by Blizzard
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?
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Viviatus

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...

Blizzard

Did you turn RTAB_ACTIVE on? xD
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Viviatus

Well, of course... Otherwise I wouldn't post here :-P
I do everything I can before I ask for help or anything...

Blizzard

What's the error message anyway? xD
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Viviatus

line 380 NoMethodError, undefined method 'draw_battler_name'

See? odd!

Blizzard

Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Viviatus


Blizzard

Yeah, it should have been draw_actor_name, that's why. xD
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Calintz

March 09, 2009, 06:07:13 pm #15 Last Edit: March 10, 2009, 07:07:28 pm by Calintz16438
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??

Blizzard

If I have the time. CRLS is commented and it works on the same principles.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Calintz

Okay then, for reference I should look to the Limit Break System in CRSL, right??

Blizzard

SRS is actually more similar to EOS.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Calintz

March 14, 2009, 01:45:52 am #19 Last Edit: March 14, 2009, 02:03:25 am by Calintz16438
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??

Blizzard

March 14, 2009, 06:59:22 am #20 Last Edit: March 14, 2009, 07:00:23 am by Blizzard
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
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Calintz

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**

Viviatus

It still doesn't have the flowing/flashing bars! :O

Blizzard

Sorry, I don't have time. Life is killing me.

... oh, the irony. :roll:
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Delyemerald2

I can't find the parameter to change the max OD%... To many 1000's XD

Blizzard

There is none. Max is 100%, duh.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Hellfire Dragon

hey blizz when I try to change the color of the OD bar it won't work, with the blizz abs anyway :P

Blizzard

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".
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Hellfire Dragon

The HP consume skill in Tons doesn't with overdrives :P Fix? Or did I do something wrong?

Blizzard

July 26, 2009, 08:23:36 am #29 Last Edit: July 26, 2009, 09:13:47 am by Blizzard
Not, it really doesn't work. I'll update it somewhere later today.

EDIT: Update to v2.1b.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Holyrapid

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

Blizzard

Yes, instead of actor.learn_skill you would need to use actor.learn_overdrive in his script.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Holyrapid

Ok, well, great. Great, indeed. This makes things a bit more intresting.

Holyrapid

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...

Blizzard

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.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Orici

would it be possbile to change the OD bar possition? It's because i'm using a custom battle window (see this picture)
Spoiler: ShowHide



Trainer Zydragon

December 14, 2009, 08:55:45 pm #36 Last Edit: December 14, 2009, 09:17:48 pm by Zydragon
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)
Spoiler: ShowHide
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

Jackolas

December 15, 2009, 02:35:15 am #37 Last Edit: December 15, 2009, 06:38:42 am by Jackolas
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

Blizzard

December 15, 2009, 03:53:24 am #38 Last Edit: December 15, 2009, 03:55:49 am by Blizzard
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)
Spoiler: ShowHide
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).
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Jackolas

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

Trainer Zydragon

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.

Blizzard

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
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Trainer Zydragon

December 15, 2009, 07:03:28 am #42 Last Edit: December 15, 2009, 07:26:39 am by Zydragon
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?

Blizzard

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.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Trainer Zydragon

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:

toutaku

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.

Holyrapid

There should be instructions in the beginning of the script in comments, (the one´s in green) so read that.

Blizzard

And there's a demo project with a demo configuration.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

toutaku

December 22, 2009, 02:08:40 pm #48 Last Edit: December 22, 2009, 11:42:48 pm by Aqua
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~

Aisu

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.

Spoiler: ShowHide


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.

lynchking

February 28, 2010, 08:10:57 pm #50 Last Edit: March 03, 2010, 12:32:37 am by lynchking
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 -->  
Spoiler: ShowHide
*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.

Blizzard

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.

Spoiler: ShowHide


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 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.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

sirSLR

nice script
but how can i show it witouth having bliz abs hud turned on?
i want it to be visible all the time.

WhiteRose

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.

sirSLR

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...

ShadowSaber

I want to ask, how to make enemies (like boss) immune to overdrive?

Blizzard

Give Overdrives an element and make your bosses immune to that element.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

ShadowSaber

Oh, I see...

thanks for your tips, Mr Blizzard  :D

mongoosezxc

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

Blizzard

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)}}
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

mongoosezxc

February 09, 2011, 07:39:48 pm #60 Last Edit: February 09, 2011, 07:44:59 pm by mongoosezxc
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...

Sacred Nym

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.
Quote昨日の自分に「さようなら」
Say "Goodbye" to who you were yesterday.

mongoosezxc

February 10, 2011, 05:59:41 pm #62 Last Edit: February 10, 2011, 06:11:13 pm by mongoosezxc
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

Blizzard

February 11, 2011, 02:17:39 am #63 Last Edit: February 11, 2011, 02:18:41 am by Blizzard
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.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

mongoosezxc

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?

Blizzard

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.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

mongoosezxc

well, I'm at a loss. The script you have there and the one in my editor are identical.

Blizzard

And it gives you a syntax error at exactly that line? O_o
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

mongoosezxc

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:

Blizzard

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.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

mongoosezxc

February 11, 2011, 06:53:01 pm #70 Last Edit: February 11, 2011, 07:33:55 pm by mongoosezxc
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 :???:

Blizzard

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:
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

mongoosezxc

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?

Blizzard

Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.


Blizzard

But these are just the default scripts.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

mongoosezxc

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 :^_^':

Blizzard

No, the file still looks like the default file. Did you save the project before you uploaded the file?
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.


tanzen

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 ^^')

Holyrapid

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.

Blizzard

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.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Sake42

Great script, but every time I want to add an OD it keeps saying " SynthaxError occurred while running Script" Can you help me?


     

Blizzard

Post the script call you tried.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Sake42

"  $game_actors[ID].learn_overdrive(CD) "

ForeverZer0

What values are you using for ID and CD?
Are they defined correctly?
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

Sake42

Well, please excuse me, I'm a total noob, Ijust used my Charakters name and the name of the skill   :^_^':

WhiteRose

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.

Sake42


Blizzard

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?
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Sake42

March 17, 2011, 09:55:04 am #90 Last Edit: March 17, 2011, 10:46:31 am by Blizzard
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%!

Blizzard

March 17, 2011, 10:46:04 am #91 Last Edit: March 17, 2011, 10:47:08 am by Blizzard
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.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Sake42

Well, thanks, I'll remember that. :haha:

Siffers

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

Spoiler: ShowHide
 


I have no idea how to do any kind of scripting, so I'm at a loss of what to do >.<

Kitsune-Paws

Is there any way to change the script so that the overdrive are actor specific?

Blizzard

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.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.