Save-Point
Soul Engine Ace - Character Effects - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+---- Forum: RPGMaker VX/VXAce (RGSS2/3) Engines (https://www.save-point.org/forum-117.html)
+---- Thread: Soul Engine Ace - Character Effects (/thread-5015.html)



Soul Engine Ace - Character Effects - Mintyy - 02-27-2014

Soul Engine Ace - Character Effects


Engine Introduction:

Soul Engine Ace is an engine made by SoulPour777 for RPG Maker VX Ace. All the scripts works for Ace, however some of them can be used on VX as well. All scripts listed under SEA are held by my Terms of Use.


Character Effects Introduction: Sprite / Character Related Scripts – All Sprite and Character Related Scripts needs the Soul_Character_Effects Core script. Place the Core Script on top of all other Sprite and Character Related Scripts. (Some are independent scripts that doesn’t need this as a prerequisite.)

Prerequisites:

In order for the scripts listed below, you need to get this:

Code:
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
# SEA - Soul Character Effects
# Author: Soulpour777
# Category: ? Core Script
# Version 1.0 - Holds Character Speed, Strafe and Breath Only. Other scripts
# under the Character Effects are independent.
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
# Description: This core script handles all effects for the sprites and
# for the game characters.
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
# This is a pre-requisite to some Character Related Scripts.
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
# All SEA scripts are bound under my Terms of Use.
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
# This module holds all character effects clusters.
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

$imported = {} if $imported.nil?
$imported["Soul_Character_Effects"] = true

module Soul_Character_Effects

  # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  # Character Strafe
  # Set this up for the Strafing Mechanics.
  # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  module StrafeKey
    STRAFE = Input::R # Key to Activate Strafing (W)
    CANCEL_STRAFE = Input::L # Key to Deactivate Strafing (Q)
  end

  # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  # Character Animation - Breath Effect
  # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  module CharacterAnimation
    ZOOM_WAIT = 0 # zoom wait time initial
    ZOOM_Y_ADD = 0.010 # this is the zoom y (upwards) set up
    ZOOM_WAIT = 20 #zooming waiting time
    ZOOM_Y_COMPARE = 1.0 #
    ZOOM_Y_DEC = 0.005 #decreasing zoom for breathing effect
    ZOOM_WAIT_IF_ONE = 60 # if the zoom_y is lesser than 1.0...
    ZOOM_EQUAL_TIME = 1.05
    BREATH_MOVE = false # do you wish for the character to breath while moving?
  end

  # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  # Dash Speed
  # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  module DashSpeed
    # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    # Variables - Start Editing Here
    # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
   
    # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    D_Speed = 20 # Speed of Dashing
    Dash_Key = Input::SHIFT # Key for Dashing
    StandardSpeed = 4 # Walking Speed
    # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
   
    # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    # Run is On
    # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    def self.run_is_on
      $game_system.run_is_allowed = true
    end
   
    # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    # Run is Off
    # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    def self.run_is_off
      $game_system.run_is_allowed = false
      $game_player.move_speed = DashSpeed::D_Speed
    end
   
    # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    # Running Method
    # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    def self.is_running?
      if Input.press?(DashSpeed::Dash_Key)
        return true
      else
        return false
      end
    end

  # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  # Run is Off
  # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  def self.run_is_off
    $game_system.run_is_allowed = false
  end

  # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  # Run is On
  # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  def self.run_is_on
    $game_system.run_is_allowed = true
  end
end

end


List of Scripts:

SEA – Character Strafe– Creates a Strafe Pattern.
SEA – Character Speed – Changes the Running and Walking Speed of the Player.
SEA – Character Shadow- Creates a shadow for the player and for the events / sprites.
SEA – Character Breath - Creates a breathing effect when the character is idle.

The above scripts may also be found here.


Compatibility Issues / Preferred Use:

Because of its singularity in function, this set of scripts is preferred to be used for an Action Battle System based games.

From Soul X Regalia Wordpress