Author Topic: [XP] Rapid Fire for Blizz-ABS  (Read 10280 times)

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19903
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
[XP] Rapid Fire for Blizz-ABS
« on: November 25, 2009, 04:39:34 PM »
Rapid Fire for Blizz-ABS
Authors: Blizzard
Version: 1.0
Type: Blizz-ABS plugin
Key Term: Blizz-ABS Plugin

Introduction

This script will add will allow to use repeated actions (attacks, skills and items) by just holding the assigned action button rather than pressing it repeatedly.

This script is to be distributed under the same terms and conditions like the script it was created for: Blizz-ABS.

Features

  • rapid fire for weapons
  • rapid fire for skills
  • rapid fire for items
  • easy to configure

Screenshots

N/A for this sort of script.

Demo

N/A

Script

Just make a new script above main and paste this code into it.
(click to show/hide)

Instructions

In the script in the first comment.

Compatibility

Requires Blizz-ABS to work.

Credits and Thanks

  • Blizzard

Author's Notes

Keep in mind that this plugin comes UNDER Blizz-ABS. This script was done on request (so people stop asking) and is not fully supported by me as my other scripts are.

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

That's it! N-Joy! =D
« Last Edit: December 29, 2010, 02:29:31 AM by game_guy »
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


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

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

droneseven

  • Guest
Re: [XP] Rapid Fire for Blizz-ABS
« Reply #1 on: November 25, 2009, 04:46:17 PM »
Thanks very much indeed, Blizz.


U're a savior. :)
(cuz I really need it!!)

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
Re: [XP] Rapid Fire for Blizz-ABS
« Reply #2 on: November 25, 2009, 06:13:54 PM »
very nice blizz *lv's up*

EDIT: There's no v 2.6 yet D:

EDIT 2: I read your other posts D:
« Last Edit: November 25, 2009, 06:17:19 PM by game_guy »

Offline Alton Wyte

  • Awakened Visionist
  • **
  • Posts: 66
  • LV: 0
  • Gender: Female
    • View Profile
Re: [XP] Rapid Fire for Blizz-ABS
« Reply #3 on: November 25, 2009, 06:17:30 PM »
Quote
Requires Blizz-ABS 2.6 or higher to work.
Well, version 2.6 isn't out yet, and it has errors if you have 2.57., the latest one released.

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19903
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Rapid Fire for Blizz-ABS
« Reply #4 on: November 25, 2009, 06:49:38 PM »
That's because I have changed something in the future v2.6 so this script turns out quite small and compatible. But don't worry, I think I can find some time over the weekend to add the last few things for v2.6 and release it.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


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

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

Offline Aqua

  • Lexima Warrior
  • *******
  • Posts: 2554
  • LV: 118
  • Gender: Female
  • Quack!
    • View Profile
Re: [XP] Rapid Fire for Blizz-ABS
« Reply #5 on: November 25, 2009, 08:14:28 PM »
:D
Can't wait to test it.

Offline legacyblade

  • Pretzel Man
  • Moderator
  • Chaos User
  • ***
  • Posts: 1838
  • LV: 84
  • Gender: Male
  • There is a fate worse than hell
    • View Profile
    • SpencerConrad.com
Re: [XP] Rapid Fire for Blizz-ABS
« Reply #6 on: December 08, 2009, 12:28:22 AM »
Wow, this is really useful for a lot of things. I'm using it for the vast majority of the spells in my game. However, I've encountered a problem.

I have everything worked out for a certain skill (praying). You hold down the action button to keep casting a spell that adds the state "praying". When you let go, the state will go away, it works perfectly. (it releases the state after 1 second) But sometimes the animation stops for 1-4 seconds at random times, though the actor stays in his "I'm launching a spell" stance. There doesn't seem to be any pattern to it, any ideas on how to fix this problem?

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19903
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Rapid Fire for Blizz-ABS
« Reply #7 on: December 08, 2009, 12:32:54 AM »
I'm not sure what's wrong. I'd need a demo to be able to take a look at it.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


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

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

Offline legacyblade

  • Pretzel Man
  • Moderator
  • Chaos User
  • ***
  • Posts: 1838
  • LV: 84
  • Gender: Male
  • There is a fate worse than hell
    • View Profile
    • SpencerConrad.com
Re: [XP] Rapid Fire for Blizz-ABS
« Reply #8 on: December 08, 2009, 01:04:29 AM »
Here's a demo of it. Use the "pray" skill to see what I'm talking about (also, the sprite seems to flash back to the regular sprite charset sometimes)

http://www.sendspace.com/file/z51hd5

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19903
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Rapid Fire for Blizz-ABS
« Reply #9 on: December 08, 2009, 01:12:04 AM »
I'll get back to you ASAP.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


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

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

Offline legacyblade

  • Pretzel Man
  • Moderator
  • Chaos User
  • ***
  • Posts: 1838
  • LV: 84
  • Gender: Male
  • There is a fate worse than hell
    • View Profile
    • SpencerConrad.com
Re: [XP] Rapid Fire for Blizz-ABS
« Reply #10 on: December 08, 2009, 06:03:07 AM »
Thanks, I appreciate it :)

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19903
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Rapid Fire for Blizz-ABS
« Reply #11 on: December 17, 2009, 01:59:35 PM »
Ok, I took a quick look at it. Have you thought about increasing the skill penalty? If the state stays for 1 second, a 40 frames penalty should fix the problem.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


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

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

Offline legacyblade

  • Pretzel Man
  • Moderator
  • Chaos User
  • ***
  • Posts: 1838
  • LV: 84
  • Gender: Male
  • There is a fate worse than hell
    • View Profile
    • SpencerConrad.com
Re: [XP] Rapid Fire for Blizz-ABS
« Reply #12 on: December 19, 2009, 06:29:04 AM »
That doesn't fix the problem. It just causes there to be a large gap in between the skill casts. (I want this to be a "charge" kind of skill, in that it increases the SP as long as you're holding down the skill button. If there were no breaks inbetween the casting of the skill, this would work perfectly.)

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19903
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Rapid Fire for Blizz-ABS
« Reply #13 on: December 20, 2009, 04:31:09 PM »
Wouldn't it be easier then just to use a user skill that does negative SP damage?
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


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

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

Offline legacyblade

  • Pretzel Man
  • Moderator
  • Chaos User
  • ***
  • Posts: 1838
  • LV: 84
  • Gender: Male
  • There is a fate worse than hell
    • View Profile
    • SpencerConrad.com
Re: [XP] Rapid Fire for Blizz-ABS
« Reply #14 on: December 20, 2009, 10:29:29 PM »
It would be easier, but it wouldn't give the effect I'm going for. In this world, you have a Link to your deity. They will give you Vita (think MP) through a process called "praying". You're immobilized during this process. Praying for more than half a second during battle is very risky because you take extra damage while you're praying. So I want the user to be able to time this, rather than just use a "pray" skill with a set time. If they hold the button down for a short amount of time, they won't get enough SP to do much. If they hold it down for awhile, it'll get them enough SP to do some good damage, but they'll also risk getting totally slaughtered while they're praying. A rapid fire skill is ideal for this, provided it doesn't have any "breaks" in between skill launching (when I launch projectiles with a time gap between them, the actor stays in the fireing pose until the button is released. However, that doesn't work when there is supposed to be no delay in between skill launching).

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19903
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Rapid Fire for Blizz-ABS
« Reply #15 on: December 21, 2009, 11:33:45 AM »
Alright then. I'll try to find a solution for this for you.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


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

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

Offline legacyblade

  • Pretzel Man
  • Moderator
  • Chaos User
  • ***
  • Posts: 1838
  • LV: 84
  • Gender: Male
  • There is a fate worse than hell
    • View Profile
    • SpencerConrad.com
Re: [XP] Rapid Fire for Blizz-ABS
« Reply #16 on: December 21, 2009, 08:15:17 PM »
Thank you Blizzard. I really appreciate you doing this for me :)

Offline legacyblade

  • Pretzel Man
  • Moderator
  • Chaos User
  • ***
  • Posts: 1838
  • LV: 84
  • Gender: Male
  • There is a fate worse than hell
    • View Profile
    • SpencerConrad.com
Re: [XP] Rapid Fire for Blizz-ABS
« Reply #17 on: January 11, 2010, 12:58:39 AM »
Not sure how I got it to work (I really am not sure), but I somehow managed a work around by making the animation (and thus the penalty time) longer. While it doesn't work EXACTLY how I want (they will pray for at least 1 second no matter what you do), it'll pass for now. Thanks for a really great script blizzy :)