It seems you either have yet to login or are not a member of RMP. If you are not yet a member, please feel free to sign up so that you can unlock every feature our forums have to offer. If you have yet to login, please do so soon.

A Paradise for RPGMakers.

Welcome everyone to RMP, your very own RPGMaker Paradise.
If you are reading this, that means that you are one of the select few who have been invited to experience our site as a Beta User.
Being a Beta User only requires that you report any bugs and/or problems upon finding them.
You get the chance to have free roam over the boards before they are public and are further up in line for promotions (which will be happening very soon, so stay on your best behavior).
Check out the thread for the RMP Beta Contest. Lets get some new content rolling.
Back to Top

    Critical Flash + SE

    I'm a new member :)
    I'm a new member :)

    Registered on Registered on : 2012-05-28
    Posts Posts : 30
    Rep. Points Rep. Points : 13

    Critical Flash + SE Empty Critical Flash + SE

    Post by Vlue on Sun Jun 03, 2012 2:51 pm

    Critical Flash + SE V1.1
    By V.M.

    Small script to add a flash effect and/or play a se whenever a critical occurs. How fancy!

    How to Use
    Install, customize if necessary, use.

    #Critical Flash + Sound Effect
    #Features: Provides the ability to have the screen flash and a se to play
    #          upon any critical strike
    #Usage:    None! Plug and play.
    #Customization follows in the script, can edit filename, volume and pitch of se
    #  and color and duration of flash
    #-- Script by: V.M of D.T
    #--- Free to use in any project with credit given

    #class Scene_Battle < Scene_Base
    class Game_Battler < Game_BattlerBase
      #PLAYSE to true to play SE. Filename (in quotes), Volume (0-100), Pitch, (0-150)
      PLAYSE      = true
      CSE_FILENAME = "Skill3"
      CSE_VOLUME  = 100
      CSE_PITCH    = 100
      #FLASH to true to execute flash
      #Color in (Red,Green,Blue,Alpha) format (0-255), Duration in frames
      FLASH        = true
      FLASHCOLOR  = Color.new(255,255,255,255)
      FLASHDURAT  = 30
      alias crit_item_apply item_apply
      def item_apply(user, item)
        crit_item_apply(user, item)
        if @result.critical then
          if FLASH then $game_troop.screen.start_flash(FLASHCOLOR, FLASHDURAT) end
          if PLAYSE then Audio.se_play('Audio/SE/' + CSE_FILENAME,CSE_VOLUME,CSE_PITCH) end

    Nadda, atm.

    Credit and Thanks
    - By V.M. of D.T.
    - Free to use in any project with credit given
    I'm a new member :)
    I'm a new member :)

    Registered on Registered on : 2012-05-29
    Posts Posts : 65
    Rep. Points Rep. Points : 9

    Critical Flash + SE Empty Re: Critical Flash + SE

    Post by DawningStar on Sun Jun 03, 2012 3:21 pm

    Very nice! I love cool little scripts like these, even though they don't seem big they always seem to add much more character to a game! Thanks again!

    Registered on Registered on : 2012-05-18
    Posts Posts : 101
    Rep. Points Rep. Points : 6

    Critical Flash + SE Empty Re: Critical Flash + SE

    Post by Hyde on Sun Jun 03, 2012 5:25 pm

    I agree. This does add alot more to a game than some people may think. But, I have always been a huge supporter of little scripts. They allow people to customize their games more than very large systems do.

    Critical Flash + SE Ltkby

    Sponsored content

    Critical Flash + SE Empty Re: Critical Flash + SE

    Post by Sponsored content

      Current date/time is Mon Sep 16, 2019 9:22 am