Author Topic: [VX] MAWS - Modified Advanced Weather Script  (Read 17733 times)

Offline Agckuu Coceg

  • Transcended Spirit
  • ***
  • Posts: 154
  • LV: 0
  • Gender: Male
  • Hail to the Gin, baby!!!
    • View Profile
    • RMK-Space
[VX] MAWS - Modified Advanced Weather Script
« on: March 11, 2010, 09:58:26 AM »
    MAWS - Modified Advanced Weather Script VX
    Authors: Ccoa, Agckuu Coceg
    Version: 1.1
    Type: Advanced weather script system
    Key Term: Environment Add-on

    Introduction

    Hello everyone. My name is Agckuu Coceg, and I want to present my little work - an addon to the original script AWS, maded by greater scripter Ccoa.


    Features:

    What's special about it?
    I just added 33 special effects, which I found interesting and suitable for creating games of any genre.

    Version history:

    1.1

    • New green leaves effects - Blowing and swirling, Red Maple leaves (3 effects - Falling, Blowing, Swirling), Yellow leaves effects - Falling, blowing and swirling
    • Rain effects - Oil rain, Oil storm, Golden rain, Golden rain with t\l, Golden rain with t \ l, Golden storm, Acid rain, Acid rain with t \ l, Acid storm, Sepia rain, Sepia rain with t \ l, Sepia storm, Blood rain with t \ l, Blood Storm, Blood Blizzard, Realistic Storm (t \ l, shake).
    • Special effects: Flame meteors, water bombs, icy bombs, flare bombs.
    • Color Starburst effects - Starburst, uprising starburst, starburst rain, Monochrome starburst collection (3 effects - colored, uprising, rain).
    • Naturally, 20 effects made by Ccoa remains in place. Therefore, when replacing the classic AWS script for a new, nothing will change.
    • Optimization of code for the old and new effects.


    Screenshots

    Not needed. See the demo.


    Demo

    Depositfiles
    Mediafire
    Sendspace
    Box.net
    Professor Legacyblade Direct Link


    Instructions

    How to use:
    Differences between the script and this script Ccoa in principle, no. So nothing has changed. Just create a call script with the following text:
    (click to show/hide)

    User-defined weather user images not worked... in a while.


    Compatibility

    In principle, this script is compatible with almost all kinds of scripts. But if this script will interfere with some kind of scripts, please PM or write to me. I will try to solve the problem.


    Credits and Thanks

    Thanks to Ccoa, the great scripter, who made base for this script.
    Credit to me and Ccoa, if you use this script.


    Author's Notes

    Also interested in your ideas for adding new effects to the script. Please write in this topic about your your thoughts on this matter.

    Thanks to all, freelancering shounen from many RPG Maker forums, Agckuu Coceg. Works at the name of shounen.[/list]
    « Last Edit: March 12, 2010, 10:21:41 AM by Agckuu Coceg »
    I'm not retarded, but I'm busy. Sorry for patience.


    Offline legacyblade

    • Pretzel Man
    • Moderator
    • Chaos User
    • ***
    • Posts: 1838
    • LV: 84
    • Gender: Male
    • There is a fate worse than hell
      • View Profile
      • SpencerConrad.com

    Offline Agckuu Coceg

    • Transcended Spirit
    • ***
    • Posts: 154
    • LV: 0
    • Gender: Male
    • Hail to the Gin, baby!!!
      • View Profile
      • RMK-Space
    Re: [VX] MAWS - Modified Advanced Weather Script
    « Reply #2 on: March 12, 2010, 10:14:21 AM »
    Thanks very much.
    I'm not retarded, but I'm busy. Sorry for patience.


    Offline ForeverZer0

    • CP's Pedophile
    • Global Moderator
    • Guardian of Chaos
    • ****
    • Posts: 3248
    • LV: 294
    • Gender: Male
    • Remember you are unique, just like everyone else.
      • View Profile
    Re: [VX] MAWS - Modified Advanced Weather Script
    « Reply #3 on: March 25, 2010, 11:59:11 PM »
    Good job on the script. I have found a few bugs in it, though.  The dispose method has a few problems in it.

    First off, for the @flame_meteor_bitmap, @waterbomb_bitmap, @icybomb_bitmap, and @flarebomb_bitmap all
    had an "s" at the end for some reason.

    Second, none of them uses an array for their bitmaps so the...

    Code: [Select]
       for image in @flame_meteor_bitmaps
          image.dispose
        end

    ...causes an error when they are disposed. (even after the "s" is changed)

    Other than that, the script looks great. I do have a few suggestions, though.

    There is a bunch of 'for' iterators throughout the entire script (I know you your not the author of the original),
    which would perform much better if they were changed to 'each' iterators. This would be a great improvement to
    the script, and would also make it shorter and easier to read.

    For example, every time three lines of code are used for something like this:

    Code: [Select]
       for image in @redmaple_leaf_bitmaps
          image.dispose
        end

    ...it could be just as easily be written as this:

    Code: [Select]
    @redmaple_leaf_bitmaps.each {|image| image.dispose}

    This is a good scripting practice to get used into and it will greatly reduce the chance of any lag occuring.

    Good luck!
    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.

    Offline Agckuu Coceg

    • Transcended Spirit
    • ***
    • Posts: 154
    • LV: 0
    • Gender: Male
    • Hail to the Gin, baby!!!
      • View Profile
      • RMK-Space
    Re: [VX] MAWS - Modified Advanced Weather Script
    « Reply #4 on: March 26, 2010, 05:34:26 AM »
    Thanks.  ;) I'm pretty mediocre scripter and even more so in RGSS2, which I know very badly. Thank you for pointing.
    « Last Edit: March 26, 2010, 05:38:31 AM by Agckuu Coceg »
    I'm not retarded, but I'm busy. Sorry for patience.


    Offline Agckuu Coceg

    • Transcended Spirit
    • ***
    • Posts: 154
    • LV: 0
    • Gender: Male
    • Hail to the Gin, baby!!!
      • View Profile
      • RMK-Space
    Re: [VX] MAWS - Modified Advanced Weather Script
    « Reply #5 on: April 06, 2010, 07:44:22 AM »
    I think it is time to turn to professionals, because my head on it is no longer capable.

    In MAWS VX (in XP versions of these problems do not) there are a couple of bugs, which I am unable to solve.
     This is a bug with the system User Defined Images (it's not working and gave a error) and system changes in the size of the effects of Bubbles (there are not resizing).

    Anybody can help me in this?
    I'm not retarded, but I'm busy. Sorry for patience.


    cmzx

    • Guest
    Re: [VX] MAWS - Modified Advanced Weather Script
    « Reply #6 on: June 22, 2010, 04:55:35 PM »
    Agckuu Coceg or ForeverZero, can you help me to fix this bug when you move to another map and that the script is called before ?
    I get the error "script '*MAWS script VX' line 181: NoMethodError occured. undefined mathode 'each' for nil:NilClass" but I don't know at all rgss2 or ruby and I think your script can be very usefull... More than the original so I would like to use it, but before I need to fix the problem...
    Can you give me more informations about this error ? ForeverZero said it's related to the "s" at the end of "@flame_meteor_bitmap, @waterbomb_bitmap, @icybomb_bitmap, and @flarebomb_bitmap", but I tried to remove it, or to modify the script but this bug always appears, so I need you to help me to find the solution and to explain me in details what's the problem =p

    Offline Agckuu Coceg

    • Transcended Spirit
    • ***
    • Posts: 154
    • LV: 0
    • Gender: Male
    • Hail to the Gin, baby!!!
      • View Profile
      • RMK-Space
    Re: [VX] MAWS - Modified Advanced Weather Script
    « Reply #7 on: June 23, 2010, 04:17:37 PM »
    Agckuu Coceg or ForeverZero, can you help me to fix this bug when you move to another map and that the script is called before ?
    I get the error "script '*MAWS script VX' line 181: NoMethodError occured. undefined mathode 'each' for nil:NilClass" but I don't know at all rgss2 or ruby and I think your script can be very usefull... More than the original so I would like to use it, but before I need to fix the problem...
    Can you give me more informations about this error ? ForeverZero said it's related to the "s" at the end of "@flame_meteor_bitmap, @waterbomb_bitmap, @icybomb_bitmap, and @flarebomb_bitmap", but I tried to remove it, or to modify the script but this bug always appears, so I need you to help me to find the solution and to explain me in details what's the problem =p

    Oh, It is my old bug in disposes, which I forgot to fix.
    It is necessary to replace the dispose method in the script with this.

    (click to show/hide)

    I'm not retarded, but I'm busy. Sorry for patience.


    Offline ForeverZer0

    • CP's Pedophile
    • Global Moderator
    • Guardian of Chaos
    • ****
    • Posts: 3248
    • LV: 294
    • Gender: Male
    • Remember you are unique, just like everyone else.
      • View Profile
    Re: [VX] MAWS - Modified Advanced Weather Script
    « Reply #8 on: June 24, 2010, 12:02:09 AM »
    Agckuu Coceg or ForeverZero, can you help me to fix this bug when you move to another map and that the script is called before ?
    I get the error "script '*MAWS script VX' line 181: NoMethodError occured. undefined mathode 'each' for nil:NilClass" but I don't know at all rgss2 or ruby and I think your script can be very usefull... More than the original so I would like to use it, but before I need to fix the problem...
    Can you give me more informations about this error ? ForeverZero said it's related to the "s" at the end of "@flame_meteor_bitmap, @waterbomb_bitmap, @icybomb_bitmap, and @flarebomb_bitmap", but I tried to remove it, or to modify the script but this bug always appears, so I need you to help me to find the solution and to explain me in details what's the problem =p

    Oh, It is my old bug in disposes, which I forgot to fix.
    It is necessary to replace the dispose method in the script with this.

    (click to show/hide)



    To make the above fix a little more efficient and clean looking, change all the lines that follow this pattern:
    Code: [Select]
        for image in @sparkle_bitmaps
          image.dispose
        end

    ...to something like this....

    Code: [Select]
    @sparkle_bitmaps.each {|image| image.dispose}
    Just use that pattern for all the lines that begin with "for image in..."
    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.

    cmzx

    • Guest
    Re: [VX] MAWS - Modified Advanced Weather Script
    « Reply #9 on: June 27, 2010, 09:22:43 AM »
    Yeah ! Great script, thanks to you Agc and zero, I love you =p That's work fine now, and the effects are really beautiful ! You're are greats scripters, if I need help for something else (a script mainly), i'll ask to you ^^ 

    (sorry for my bad english =s )

    Offline Agckuu Coceg

    • Transcended Spirit
    • ***
    • Posts: 154
    • LV: 0
    • Gender: Male
    • Hail to the Gin, baby!!!
      • View Profile
      • RMK-Space
    Re: [VX] MAWS - Modified Advanced Weather Script
    « Reply #10 on: June 27, 2010, 08:19:59 PM »
    Yeah ! Great script, thanks to you Agc and zero, I love you =p That's work fine now, and the effects are really beautiful ! You're are greats scripters, if I need help for something else (a script mainly), i'll ask to you ^^ 

    (sorry for my bad english =s )

    Believe me, before to the "GREAT" I still to far...
    And as for the English - do not worry, I'm also suffered by this.
    I'm not retarded, but I'm busy. Sorry for patience.


    mattfriends

    • Guest
    Re: [VX] MAWS - Modified Advanced Weather Script
    « Reply #11 on: August 03, 2010, 09:57:34 AM »
    It would be great if you make it in XP too.

    Offline WhiteRose

    • Trying to code in Ruby
    • Moderator
    • Lexima Warrior
    • ***
    • Posts: 2341
    • LV: 127
    • Gender: Female
    • <3
      • View Profile
    Re: [VX] MAWS - Modified Advanced Weather Script
    « Reply #12 on: August 03, 2010, 07:22:55 PM »
    It would be great if you make it in XP too.

    You didn't actually look, did you?
    http://forum.chaos-project.com/index.php/topic,5710

    Offline ForeverZer0

    • CP's Pedophile
    • Global Moderator
    • Guardian of Chaos
    • ****
    • Posts: 3248
    • LV: 294
    • Gender: Male
    • Remember you are unique, just like everyone else.
      • View Profile
    Re: [VX] MAWS - Modified Advanced Weather Script
    « Reply #13 on: August 03, 2010, 10:24:02 PM »
    It would be great if you make it in XP too.

    You didn't actually look, did you?
    http://forum.chaos-project.com/index.php/topic,5710

    Yeah, the original script was for XP, this is the version adpated to VX  :roll:
    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.

    Offline Agckuu Coceg

    • Transcended Spirit
    • ***
    • Posts: 154
    • LV: 0
    • Gender: Male
    • Hail to the Gin, baby!!!
      • View Profile
      • RMK-Space
    Re: [VX] MAWS - Modified Advanced Weather Script
    « Reply #14 on: August 04, 2010, 01:16:52 AM »
    It would be great if you make it in XP too.

    On the VX I made a version much worse than XP... Since it is difficult to work resample Forever Zero methods with my rickety knowledge of RGSS2.
    I'm not retarded, but I'm busy. Sorry for patience.