Per 2016, RMID pindah ke RMID Discord (Invite link dihapus untuk mencegah spambot -Theo @ 2019). Posting sudah tidak bisa dilakukan lagi.
Mohon maaf atas ketidaknyamanannya dan mohon kerjasamanya.

Share | 
 

 [VX]Dhoom Script Workshop

Topik sebelumnya Topik selanjutnya Go down 
Pilih halaman : Previous  1, 2, 3, 4
[VX]Dhoom Script Workshop - Page 4 Empty2011-04-02, 16:43
Post[VX]Dhoom Script Workshop
#1
DrDhoom 
Doomed Zombie
DrDhoom

Level 5
Posts : 629
Thanked : 22
Engine : Multi-Engine User
Skill : Intermediate
Type : Scripter

[VX]Dhoom Script Workshop - Page 4 Vide
First topic message reminder :

[VX]Dhoom Script Workshop - Page 4 Dhoom_ws
[VX]Dhoom Script Workshop - Page 4 Open

Ok... engg... (bingung mau nulis apaan).
Karna aku sedang mendalami RGSS2, tpi g punya ide mau bkin apaan, jadi aku bikin trid ini. Kalian bisa request script VX disini. Tapi, tidak semua request aku terima (seperti battle system yang aku masih belum sanggup). Hanya satu request yang kukerjakan hingga selesai, jadi yang lain ngantri ya XD

Ok, Request kubuka!

Template Request
Tipe/Nama Script:
Deskripsi Script:

[VX]Dhoom Script Workshop - Page 4 Accept_req
sekarang tergantung level script nya :hammer: lebih mudah lebih cepat

[VX]Dhoom Script Workshop - Page 4 Completed_req
Skill Cooldown for Oscar
Code:
#===============================================================================
#--------------------------=• Skill Cooldown •=---------------------------------
#---------------------------=• by: DrDhoom •=-----------------------------------
# Version: 1.2
# Date Published: 05 - 04 - 2011
# Battle Addon
# RPGMakerID Community
#-------------------------------------------------------------------------------
# Introduction:
# This script make a skill have cooldown.
#-------------------------------------------------------------------------------
# Compatibility:
# - Tankentai Sideview Battle System
# - Wij's Battle Macros
# Note: not tested in other battle system
#-------------------------------------------------------------------------------
# How to use:
#  - Insert this script above Main
#  - Insert under all Battle System Core Script
#===============================================================================

module Dhoom
  module SkillCooldown
 
    SHOW_COOLDOWN_NUMBER = true #true = cooldown number of skill show
                                #      at the end of skill name
 
    COOLDOWN_COLOR = []  #<----Don't delete this line
 
    #RGB Color
    COOLDOWN_COLOR[1] = 255  #Red
    COOLDOWN_COLOR[2] = 0    #Green
    COOLDOWN_COLOR[3] = 0    #Blue
    COOLDOWN_COLOR[4] = 128  #Alpha
 
    SKILL_CD = []        #<----Don't delete this line
 
    #SKILL_CD[skill id] = number of cooldown (1 is minimum number)
    SKILL_CD[1] = 1
    SKILL_CD[2] = 9
   
    DONT_RESET_COOLDOWN_SWITCH = 1
  end
end

#===============================================================================
# Start
#===============================================================================
$imported = {} if $imported == nil
$imported["DSkillCooldown"] = true
#-------------------------------------------------------------------------------
# Window Base
#-------------------------------------------------------------------------------

class Window_Base
 
  def draw_skill_cooldown_name(item, x, y, enabled = true)
    if item != nil
      if @actor.skill_cooldown(item.id) != nil
        if @actor.skill_cooldown(item.id)!= 0
          cd_color = Color.new(Dhoom::SkillCooldown::COOLDOWN_COLOR[1],
          Dhoom::SkillCooldown::COOLDOWN_COLOR[2],
          Dhoom::SkillCooldown::COOLDOWN_COLOR[3],
          Dhoom::SkillCooldown::COOLDOWN_COLOR[4])
          draw_icon(item.icon_index, x, y, enabled)
          self.contents.font.color = cd_color
          if Dhoom::SkillCooldown::SHOW_COOLDOWN_NUMBER
            self.contents.draw_text(x + 24, y, 172, WLH, item.name + '(' +@actor.skill_cooldown(item.id).to_s + ')')
          else
            self.contents.draw_text(x + 24, y, 172, WLH, item.name)
          end
        else
          draw_icon(item.icon_index, x, y, enabled)
          self.contents.font.color = normal_color
          self.contents.font.color.alpha = enabled ? 255 : 128
          self.contents.draw_text(x + 24, y, 172, WLH, item.name)
        end
      else
        draw_icon(item.icon_index, x, y, enabled)
        self.contents.font.color = normal_color
        self.contents.font.color.alpha = enabled ? 255 : 128
        self.contents.draw_text(x + 24, y, 172, WLH, item.name)
      end
    end
  end
end

#-------------------------------------------------------------------------------
# Window Skill
#-------------------------------------------------------------------------------

class Window_Skill < Window_Selectable
 
  def draw_item(index)
    rect = item_rect(index)
    self.contents.clear_rect(rect)
    skill = @data[index]
    if skill != nil
      rect.width -= 4
      enabled = @actor.skill_can_use?(skill)
      draw_skill_cooldown_name(skill, rect.x, rect.y, enabled)
      self.contents.draw_text(rect, @actor.calc_mp_cost(skill), 2)
    end
  end
end

#-------------------------------------------------------------------------------
# Game Actor
#-------------------------------------------------------------------------------

class Game_Battler
 
  alias dsc_battler_init initialize
  alias dsc_skill_can_use? skill_can_use?
 
  def initialize
    dsc_battler_init
    @skill_cooldown = []
  end
 
  def make_cooldown_value(id)
    @skill_cooldown[id] = Dhoom::SkillCooldown::SKILL_CD[id]
    if $imported == nil
      @skill_cooldown[id] += 1
    elsif $imported["TankentaiATB"]
      @skill_cooldown[id] -= 0
    elsif $imported["TankentaiSideview"]
      @skill_cooldown[id] += 1
    else
      @skill_cooldown[id] += 1
    end
  end
 
  def skill_cooldown(id)
    return @skill_cooldown[id]
  end
 
  def decrease_cooldown(id)
    @skill_cooldown[id] -= 1
  end
 
  def skill_can_use?(skill)
    if skill_cooldown(skill.id) != nil
      return false if skill_cooldown(skill.id) != 0
    end
    dsc_skill_can_use?(skill)
  end
 
  def reset_cooldown
    @skill_cooldown = []
  end
end

#-------------------------------------------------------------------------------
# Scene Battle
#-------------------------------------------------------------------------------

class Scene_Battle < Scene_Base
 
  alias dsc_execute_action_skill execute_action_skill
  alias dsc_start_actor_command_selection start_actor_command_selection
  alias dsc_battle_end battle_end
 
  def execute_action_skill
    dsc_execute_action_skill
    skill = @active_battler.action.skill
    if Dhoom::SkillCooldown::SKILL_CD[skill.id] != nil
      @active_battler.make_cooldown_value(skill.id)
    end
  end
 
  def start_actor_command_selection
    dsc_start_actor_command_selection
    if @active_battler != nil and @active_battler.actor?   
      for skill in @active_battler.skills
        if @active_battler.skill_cooldown(skill.id) != nil
          if @active_battler.skill_cooldown(skill.id) != 0
            @active_battler.decrease_cooldown(skill.id)
          end
        end
      end
    elsif @commander !=nil
      for skill in @commander.skills
        if @commander.skill_cooldown(skill.id) != nil
          if @commander.skill_cooldown(skill.id) != 0
            @commander.decrease_cooldown(skill.id)
          end
        end
      end
    end
  end
 
  def battle_end(result)
    if !$game_switches[Dhoom::SkillCooldown::DONT_RESET_COOLDOWN_SWITCH]
      for actor in $game_party.members
        actor.reset_cooldown
      end
      for enemy in $game_troop.members
        enemy.reset_cooldown
      end
    end
    dsc_battle_end(result)
  end
end

#===============================================================================
# End
#===============================================================================


Easy Combo Skill Script for Fly-Man
Code:
#===============================================================================
#----------------------=• Easy Skill Combo Script •=----------------------------
#---------------------------=• by: DrDhoom •=-----------------------------------
# Version: 1.1
# Date Published: 07 - 04 - 2011
# Battle Addon
# RPGMakerID Community
#-------------------------------------------------------------------------------
# Changelog:
# V:1.1 - Make compatible with Tankentai SBS and Add combo chain.
#-------------------------------------------------------------------------------
# Introduction:
# Make a combo skill.
#-------------------------------------------------------------------------------
# Compatibility:
# - Tankentai Sideview Battle System
# Note: not tested in other battle system
#-------------------------------------------------------------------------------
# How to use:
#  - Insert this script above Main 
#===============================================================================

module Dhoom 
  module SkillCombo
   
    COMBO_TEXT = "COMBO!!!" #The shown text if combo skill triggered.
                            #Leave empty like "", if you don't want it appear.
   
    FIRST_SKILL = []  #<----Don't delete this line
    SECOND_SKILL = []  #<----Don't delete this line
    COMBO_SKILL = []  #<----Don't delete this line
   
    #FIRST/SECOND/COMBO_SKILL[combo id] = skill id
    FIRST_SKILL[1] = 1
    SECOND_SKILL[1] = 2
    COMBO_SKILL[1] = 3 #--
                      # | Combo Chain
    FIRST_SKILL[2] = 3 #--
    SECOND_SKILL[2] = 41
    COMBO_SKILL[2] = 6
   
  end
end

#===============================================================================
# Start
#===============================================================================

$imported = {} if $imported == nil
$imported["DSkillCombo"] = true

#-------------------------------------------------------------------------------
# Scene Battle
#-------------------------------------------------------------------------------

class Scene_Battle < Scene_Base
 
  alias dsco_execute_action_attack execute_action_attack
  alias dsco_execute_action_guard execute_action_guard
  alias dsco_execute_action_item execute_action_item
 
  if $imported["TankentaiATB"] == nil
   
    alias dsco_turn_end turn_end
   
    def turn_end
      dsco_turn_end
      @first_skill = []
    end
  end
 
  def execute_action_guard
    dsco_execute_action_guard
    @first_skill = []
  end
 
  def execute_action_item
    dsco_execute_action_item
    @first_skill = []
  end
 
  def execute_action_attack
    dsco_execute_action_attack
    @first_skill = []
  end
 
  if $imported["TankentaiSideview"]
   
    def pop_help(obj)
      return if obj.extension.include?("HELPHIDE")
      @help_window = Window_Help.new if @help_window == nil
      if obj.is_a?(RPG::Skill)
        if @combo
          @help_window.set_text(Dhoom::SkillCombo::COMBO_TEXT + ' ' + obj.name + '!', 1)
        else
          @help_window.set_text(obj.name, 1)
        end
      else
        @help_window.set_text(obj.name, 1)
      end
      @help_window.visible = true
    end
   
    def execute_action_skill
      if Dhoom::SkillCombo::FIRST_SKILL.include?(@active_battler.action.skill.id)
        i = Dhoom::SkillCombo::FIRST_SKILL.index(@active_battler.action.skill.id)
        @first_skill = []
        @first_skill[i] = Dhoom::SkillCombo::FIRST_SKILL[i]
        @combo = false
      elsif Dhoom::SkillCombo::SECOND_SKILL.include?(@active_battler.action.skill.id)
        i = Dhoom::SkillCombo::SECOND_SKILL.index(@active_battler.action.skill.id)
        if @first_skill != nil
          if Dhoom::SkillCombo::FIRST_SKILL[i] == @first_skill[i]
            @first_skill = []
            @active_battler.action.set_skill(Dhoom::SkillCombo::COMBO_SKILL[i])
            if Dhoom::SkillCombo::FIRST_SKILL.include?(@active_battler.action.skill.id)
              i = Dhoom::SkillCombo::FIRST_SKILL.index(@active_battler.action.skill.id)
              @first_skill[i] = Dhoom::SkillCombo::FIRST_SKILL[i]
            end
            @combo = true
          else
            @first_skill = []
            @first_skill[i] = Dhoom::SkillCombo::FIRST_SKILL[i]
            @combo = false
          end
        else
          @first_skill = []
          @first_skill[i] = Dhoom::SkillCombo::FIRST_SKILL[i]
          @combo = false
        end
      end
      skill = @active_battler.action.skill
      return unless @active_battler.action.valid? # 3.3d, Force action bug fix
      if skill.plus_state_set.include?(1)
        for member in $game_party.members + $game_troop.members
          next if member.immortal
          next if member.dead?
          member.dying = true
        end
      else
        immortaling
      end
      target_decision(skill)
      @spriteset.set_action(@active_battler.actor?, @active_battler.index, skill.base_action)
      pop_help(skill)
      playing_action
      @active_battler.mp -= @active_battler.calc_mp_cost(skill)
      @status_window.refresh
      $game_temp.common_event_id = skill.common_event_id
    end
   
  else
   
    def execute_action_skill
      if Dhoom::SkillCombo::FIRST_SKILL.include?(@active_battler.action.skill.id)
        i = Dhoom::SkillCombo::FIRST_SKILL.index(@active_battler.action.skill.id)
        @first_skill = []
        @first_skill[i] = Dhoom::SkillCombo::FIRST_SKILL[i]
        skill = @active_battler.action.skill
        text = @active_battler.name + skill.message1
        @message_window.add_instant_text(text)
      elsif Dhoom::SkillCombo::SECOND_SKILL.include?(@active_battler.action.skill.id)
        i = Dhoom::SkillCombo::SECOND_SKILL.index(@active_battler.action.skill.id)
        if @first_skill != nil
          if Dhoom::SkillCombo::FIRST_SKILL[i] == @first_skill[i]
            @first_skill = []
            @active_battler.action.set_skill(Dhoom::SkillCombo::COMBO_SKILL[i])
            if Dhoom::SkillCombo::FIRST_SKILL.include?(@active_battler.action.skill.id)
              i = Dhoom::SkillCombo::FIRST_SKILL.index(@active_battler.action.skill.id)
              @first_skill[i] = Dhoom::SkillCombo::FIRST_SKILL[i]
            end
            skill = @active_battler.action.skill
            text = Dhoom::SkillCombo::COMBO_TEXT + ' ' + skill.name + '!'
            text2 = @active_battler.name + skill.message1
            @message_window.add_instant_text(text)
            wait(10)
            @message_window.add_instant_text(text2)
          else
            @first_skill = []
            @first_skill[i] = Dhoom::SkillCombo::FIRST_SKILL[i]
            skill = @active_battler.action.skill
            text = @active_battler.name + skill.message1
            @message_window.add_instant_text(text)
          end
        else
          @first_skill = []
          @first_skill[i] = Dhoom::SkillCombo::FIRST_SKILL[i]
          skill = @active_battler.action.skill
          text = @active_battler.name + skill.message1
          @message_window.add_instant_text(text)
        end 
      end
      unless skill.message2.empty?
        wait(10)
        @message_window.add_instant_text(skill.message2)
      end
      targets = @active_battler.action.make_targets
      display_animation(targets, skill.animation_id)
      @active_battler.mp -= @active_battler.calc_mp_cost(skill)
      $game_temp.common_event_id = skill.common_event_id
      for target in targets
        target.skill_effect(@active_battler, skill)
        display_action_effects(target, skill)
      end
    end
  end
end

#===============================================================================
# End
#===============================================================================

Hunting Level for Irsyad
Code:
#===============================================================================
#--------------------------=• Hunting Level •=----------------------------
#---------------------------=• by: DrDhoom •=-----------------------------------
# Version: 1.0
# Date Published: 17 - 05 - 2011
# RPGMakerID Community
#-------------------------------------------------------------------------------
# Introduction:
# Make hunting level by defeat enemy. Can be used in event by variables.
#-------------------------------------------------------------------------------
# How to use:
#  - Insert this script above Main 
#===============================================================================

module Dhoom
  module HEXP
   
    VAR_HEXP = 1 #Variable for Hunt EXP
    VAR_HLEVEL = 2 #Variable for Hunt Level
   
    BASE_EXP = 1 #Base monster hunt EXP
    START_LEVEL = 1 #Starting hunting level
    MONS_EXP = [] #Don't delete
   
    MONS_EXP[1] = 13 #MONS_EXP[enemy id] = hunt exp
   
    EXP_REQ = 25 #Hunt exp requirment for level up. EXP REQ * hunt Level
   
  end
end

module RPG
  class Enemy
   
    include Dhoom::HEXP
   
    def create_hexp
      if !MONS_EXP[@id].nil?
        @hunt_exp = MONS_EXP[@id]
      else
        @hunt_exp = BASE_EXP
      end
    end
   
    def hunt_exp
      if @hunt_exp == nil
        create_hexp
      end
      return @hunt_exp
    end
  end
end

class Game_Enemy < Game_Battler
 
  def hunt_exp
    return enemy.hunt_exp
  end
end


class Game_Party < Game_Unit
 
  include Dhoom::HEXP
 
  attr_accessor :hunt_exp
  attr_accessor :hunt_level
 
  alias dhoom_hexp_party_ini initialize
 
  def initialize
    super
    dhoom_hexp_party_ini
    @hunt_exp = 0
    @hunt_level = START_LEVEL
  end
 
  def check_hlevel_up
    if EXP_REQ * @hunt_level < @hunt_exp
      @hunt_exp -= @hunt_level *EXP_REQ
      @hunt_level += 1
    end
  end
end

class Game_Troop < Game_Unit
 
  def hunt_exp_total
    hunt_exp = 0
    for enemy in dead_members
      hunt_exp += enemy.hunt_exp unless enemy.hidden
    end
    return hunt_exp
  end
end

class Scene_Title < Scene_Base
  include Dhoom::HEXP
  alias dhoom_hexp_title_main main
 
  def main
    dhoom_hexp_title_main
    $game_variables[VAR_HEXP] = $game_party.hunt_exp
    $game_variables[VAR_HLEVEL] = $game_party.hunt_level
  end
end


class Scene_Battle < Scene_Base
 
  include Dhoom::HEXP 
  alias dhoom_hexp_disp_lev display_level_up
 
  def display_level_up
    dhoom_hexp_disp_lev
    $game_party.hunt_exp += $game_troop.hunt_exp_total
    $game_party.check_hlevel_up
    $game_variables[VAR_HEXP] = $game_party.hunt_exp
    $game_variables[VAR_HLEVEL] = $game_party.hunt_level
  end
end

Minus Gold for Kuro Creator
Code:
#===============================================================================
#----------------------------=• Minus Gold •=----------------------------
#---------------------------=• by: DrDhoom •=-----------------------------------
# Version: 1.0
# Date Published: 17 - 05 - 2011
# RPGMakerID Community
#-------------------------------------------------------------------------------
# Introduction:
# Allowing to have minus gold.
#-------------------------------------------------------------------------------
# How to use:
#  - Insert this script above Main 
#===============================================================================


COLOR = Color.new(255,0,0)

class Game_Party < Game_Unit
  def gain_gold(n)
    @gold = [[@gold + n, -9999999].max, 9999999].min
  end
end

class Window_Base < Window
  def draw_currency_value(value, x, y, width)
    cx = contents.text_size(Vocab::gold).width   
    if value < 0
      self.contents.font.color = COLOR
      self.contents.draw_text(x, y, width-cx-2, WLH, value, 2)
    else
      self.contents.font.color = normal_color
      self.contents.draw_text(x, y, width-cx-2, WLH, value, 2)
    end
    self.contents.font.color = system_color
    self.contents.draw_text(x, y, width, WLH, Vocab::gold, 2)
  end
end

Varied Status for Kuro Creator
Code:
#===============================================================================
#--------------------------=• Varied Status •=----------------------------
#---------------------------=• by: DrDhoom •=-----------------------------------
# Version: 1.0
# Date Published: 17 - 05 - 2011
# Battle Add-on
# RPGMakerID Community
#-------------------------------------------------------------------------------
# Introduction:
# Varieting enemy status by random number.
#-------------------------------------------------------------------------------
# How to use:
#  - Insert this script above Main 
#===============================================================================

module Dhoom
  module VARIED
   
    BASE_VARIED = 20 #Base random number for all enemy, except ENEMY_VARIED
   
    ENEMY_VARIED = [] #<-- Don't delete.
    ENEMY_VARIED[1] = 20 #ENEMY_VARIED[enemy id] = number
   
  end
end

class Game_Battler
  include Dhoom::VARIED
  def make_varied_status(id)
    if ENEMY_VARIED[id] != nil
      varied = rand(ENEMY_VARIED[id])
    else
      varied = rand(BASE_VARIED)
    end
    @maxhp_plus += (varied * 10)
    @maxmp_plus += (varied * 5)
    @atk_plus += varied
    @def_plus += varied
    @spi_plus += varied
    @agi_plus += varied
  end
end

class Game_Enemy
  def varied_status
    make_varied_status(@enemy_id)
    @hp = maxhp
    @mp = maxmp
  end
end

class Game_Troop
  alias dhoom_varied_make_names make_unique_names
  def make_unique_names
    dhoom_varied_make_names
    for enemy in members
      enemy.varied_status
    end
  end
end

Colorfull for LiTTleDRAgo
Code:
#===============================================================================
#----------------------------=• Colorfull •=------------------------------------
#---------------------------=• by: DrDhoom •=-----------------------------------
# Version: 1.0
# Date Published: 26 - 05 - 2011
# RPGMakerID Community
#-------------------------------------------------------------------------------
# Introduction:
# Change color of items, armors, weapons, actor name, and actor class.
#-------------------------------------------------------------------------------
# How to use:
#  - Insert this script above Main
#===============================================================================

module Dhoom
  module COL
    BASE_ACTOR_COL = Color.new(125,125,0)
    BASE_CLASS_COL = Color.new(50,50,0)
    BASE_SKILL_COL = Color.new(0,0,220)
    BASE_ITEM_COL = Color.new(0,230,0)
    BASE_ARMOR_COL = Color.new(0,150,150)
    BASE_WEAPON_COL = Color.new(255,225,0)
 
    ACTOR_COL = []
    ACTOR_COL[1] = Color.new(255,0,0)
 
    CLASS_COL = []
    CLASS_COL[1] = Color.new(0,255,0)
 
    SKILL_COL = []
    SKILL_COL[1] = Color.new(0,0,255)
 
    ITEM_COL = []
    ITEM_COL[1] = Color.new(0,125,125)
 
    ARMOR_COL = []
    ARMOR_COL[1] = Color.new(125,125,0)
 
    WEAPON_COL = []
    WEAPON_COL[1] = Color.new(0,255,255)
  end
end

class Window_Base < Window
  include Dhoom::COL
 
  def hp_color2(actor)
    return knockout_color if actor.hp == 0
    return crisis_color if actor.hp < actor.maxhp / 4
    return ACTOR_COL[actor.id] if ACTOR_COL[actor.id].is_a?(Color)
    return BASE_ACTOR_COL
  end
 
  def class_color(actor)
    return CLASS_COL[actor.id] if CLASS_COL[actor.id].is_a?(Color)
    return BASE_CLASS_COL
  end
 
  def xsx_color(item)
    if item.is_a?(RPG::Skill)
      return SKILL_COL[item.id] if SKILL_COL[item.id].is_a?(Color)
      return BASE_SKILL_COL
    elsif item.is_a?(RPG::Item)
      return ITEM_COL[item.id] if ITEM_COL[item.id].is_a?(Color)
      return BASE_ITEM_COL
    elsif item.is_a?(RPG::Armor)
      return ARMOR_COL[item.id] if ARMOR_COL[item.id].is_a?(Color)
      return BASE_ARMOR_COL
    elsif item.is_a?(RPG::Weapon)
      return WEAPON_COL[item.id] if WEAPON_COL[item.id].is_a?(Color)
      return BASE_WEAPON_COL
    end
  end
 
  def draw_actor_name(actor, x, y)
    self.contents.font.color = hp_color2(actor)
    self.contents.draw_text(x, y, 108, WLH, actor.name)
  end
 
  def draw_actor_class(actor, x, y)
    self.contents.font.color = class_color(actor)
    self.contents.draw_text(x, y, 108, WLH, actor.class.name)
  end
 
  def draw_item_name(item, x, y, enabled = true)
    if item != nil
      draw_icon(item.icon_index, x, y, enabled)
      self.contents.font.color = xsx_color(item)
      self.contents.font.color.alpha = enabled ? 255 : 128
      self.contents.draw_text(x + 24, y, 172, WLH, item.name)
    end
  end
end

Skills Separator for Milan Nacht
Code:
#===============================================================================
#-------------------------=• Skills Separator •=---------------------------------
#---------------------------=• by: DrDhoom •=-----------------------------------
# Version: 1.0
# Date Published: 26 - 05 - 2011
# RPGMakerID Community
#-------------------------------------------------------------------------------
# Introduction:
# ...
#-------------------------------------------------------------------------------
# How to use:
#  - Insert this script above Main
#===============================================================================

module Dhoom
  module SKSP
 
    COLUMN_NAME = [] #<--- Don't delete this line
    COLUMN_HELP = [] #<--- Don't delete this line
    COLUMN_SKILL = [] #<--- Don't delete this line
    COLUMN_SKILLSET = [] #<--- Don't delete this line
 
    #COLUMN_NAME/HELP[actor id] = [""]
    COLUMN_NAME[1] = ["Skillset A", "Skillset B", "Skillset C", "Skillset D"]
    COLUMN_HELP[1] = ["Skillset number 1", "Skillset number 2", "Skillset number 3", "Skillset number 4"]
    COLUMN_NAME[2] = ["Fire", "Wind", "Earth", "Water", "Ice"]
    COLUMN_HELP[2] = ["Skillset number 1", "Skillset number 2", "Skillset number 3", "Skillset number 4", "Skillset number 5"]
 
    #Skill for displaying in skillset
    COLUMN_SKILL[0] = [1,2,3,4,5]
    COLUMN_SKILL[1] = [6,7,8]
    COLUMN_SKILL[2] = [9,10,11]
    COLUMN_SKILL[3] = [12,13,33]
    COLUMN_SKILL[4] = [13,23,33,43,53]
    COLUMN_SKILL[5] = [6,7,8]
    COLUMN_SKILL[6] = [9,10,11]
    COLUMN_SKILL[7] = [12,13,33]
    COLUMN_SKILL[8] = [12,13,33] 
 
    COLUMN_SKILLSET[1] = [0,1,2,3]
    COLUMN_SKILLSET[2] = [4,5,6,7,8]
     
  end
end

class Window_Skill2 < Window_Selectable
  include Dhoom::SKSP
  def initialize(x, y, width, height, actor, set)
    super(x, y, width, height)
    @actor = actor
    @set = set
    @column_max = 2
    self.index = 0
    refresh
  end
 
  def set(set)
    @set = set
  end
 
  def skill
    return @data[self.index]
  end
 
  def refresh
    @data = []
    for skill in @actor.skills
      @data.push(skill) if COLUMN_SKILL[COLUMN_SKILLSET[@actor.id][@set]].include?(skill.id)
    end
    @item_max = @data.size
    create_contents
    for i in 0...@item_max
      draw_item(i)
    end
  end
 
  def draw_item(index)
    rect = item_rect(index)
    self.contents.clear_rect(rect)
    skill = @data[index]
    if skill != nil
      rect.width -= 4
      enabled = @actor.skill_can_use?(skill)
      draw_item_name(skill, rect.x, rect.y, enabled)
      self.contents.draw_text(rect, @actor.calc_mp_cost(skill), 2)
    end
  end
 
  def update_help
    @help_window.set_text(skill == nil ? "" : skill.description)
  end
end


class Scene_Skill < Scene_Base
  include Dhoom::SKSP
 
  alias dhoom_sksp_skill_update update
  alias dhoom_sksp_skill_start start
  alias dhoom_sksp_skill_terminate terminate
 
  def post_start
    super
    open_command_window
  end
 
  def start
    super
    dhoom_sksp_skill_start
    @skill_window = Window_Skill2.new(0, 112, 544, 304, @actor, 0)
    @skill_window.viewport = @viewport
    @skill_window.help_window = @help_window
    @skill_window.active = false
    @help_window.set_text(COLUMN_HELP[@actor.id][0])
    create_command_window
  end
 
  def create_command_window
    @command_window = Window_Command.new(172, COLUMN_NAME[@actor.id])
    @command_window.x = (544 - @command_window.width) / 2
    @command_window.y = (416 - @command_window.height) / 2
    @command_window.openness = 0
    @command_window.active = true
  end
 
  def update
    super
    dhoom_sksp_skill_update
    @command_window.update
    if @command_window.active and @skill_window.active == false
      update_command_window
    elsif @target_window.active
      update_target_selection
    elsif @skill_window.active
      update_skill_selection
    end
  end
 
  def terminate
    super
    dhoom_sksp_skill_terminate
    @command_window.dispose
  end
 
  def update_command_window
    unless @command_activated
      @command_activated = true
      return
    end
    if Input.trigger?(Input::B)   
      Sound.play_cancel
      close_command_window
      return_scene
    elsif Input.trigger?(Input::R)
      Sound.play_cursor
      next_actor
    elsif Input.trigger?(Input::L)
      Sound.play_cursor
      prev_actor
    elsif Input.trigger?(Input::C)
      @set = @command_window.index
      @skill_window.set(@set)
      @skill_window.refresh
      Sound.play_decision
      close_command_window
      @command_window.active = false
      @skill_window.active = true
    elsif Input.trigger?(Input::UP)
      @set = @command_window.index
      @skill_window.set(@set)
      @skill_window.refresh
      @help_window.set_text(COLUMN_HELP[@actor.id][@set])
    elsif Input.trigger?(Input::DOWN)
      @set = @command_window.index
      @skill_window.set(@set)
      @skill_window.refresh
      @help_window.set_text(COLUMN_HELP[@actor.id][@set])
    end
  end
 
  def update_skill_selection
    if Input.trigger?(Input::B)
      Sound.play_cancel     
      open_command_window
      @skill_window.active = false     
      @command_window.active = true
    elsif Input.trigger?(Input::C)
      @skill = @skill_window.skill
      if @skill != nil
        @actor.last_skill_id = @skill.id
      end
      if @actor.skill_can_use?(@skill)
        Sound.play_decision
        determine_skill
      else
        Sound.play_buzzer
      end
    end
  end
 
  def open_command_window
    @command_window.open
    begin
      @command_window.update
      Graphics.update
    end until @command_window.openness == 255
  end
 
  def close_command_window
    @command_activated = false
    @command_window.close
    begin
      @command_window.update
      Graphics.update
    end until @command_window.openness == 0
  end
end

class Scene_Battle < Scene_Base
  include Dhoom::SKSP
  alias dhoom_sksp_battle_update update
  if $imported != nil and $imported["TankentaiSideview"]
    alias dhoom_sksp_end_selection end_target_selection
  else
    alias dhoom_sksp_enemy_selection end_target_enemy_selection
    alias dhoom_sksp_actor_selection end_target_actor_selection
  end
 
  def update
    super
    update_basic(true)
    update_info_viewport               
    if $game_message.visible
      @info_viewport.visible = false
      @message_window.visible = true
    end
    unless $game_message.visible       
      return if judge_win_loss         
      update_scene_change
      if @target_enemy_window != nil
        update_target_enemy_selection 
      elsif @target_actor_window != nil
        update_target_actor_selection 
      elsif @skill_window != nil and @skill_window.active
        update_skill_selection       
      elsif @command_window != nil and @command_window.active
        update_command_window
      elsif @item_window != nil
        update_item_selection         
      elsif @party_command_window.active
        update_party_command_selection 
      elsif @actor_command_window.active
        update_actor_command_selection 
      else
        process_battle_event         
        process_action               
        process_battle_event         
      end
    end
  end
 
  def start_skill_selection
    @help_window = Window_Help.new
    @skill_window = Window_Skill2.new(0, 56, 544, 232, @active_battler, 0)
    @skill_window.active = false
    @help_window.set_text(COLUMN_HELP[@active_battler.id][0]) 
    @actor_command_window.active = false
    create_command_window
    open_command_window
    @command_window.active = true
    @last_window = true
  end
 
  def update_skill_selection
    @skill_window.active = true
    @skill_window.update
    @help_window.update
    if Input.trigger?(Input::B)
      Sound.play_cancel
      open_command_window
      @skill_window.active = false
      @set = @command_window.index
      @help_window.set_text(COLUMN_HELP[@active_battler.id][@set])
      @command_window.active = true
    elsif Input.trigger?(Input::C)
      @skill = @skill_window.skill
      if @skill != nil
        @active_battler.last_skill_id = @skill.id
      end
      if @active_battler.skill_can_use?(@skill)
        Sound.play_decision
        determine_skill
      else
        Sound.play_buzzer
      end
    end
  end
 
  def update_command_window
    @command_window.update
    @help_window.update
    @skill_window.update
    unless @command_activated
      @command_activated = true
      return
    end
    if Input.trigger?(Input::B)   
      Sound.play_cancel
      close_command_window
      @skill_window.dispose
      @skill_window = nil
      @help_window.dispose
      @help_window = nil
      @command_window.dispose
      @command_window = nil
      @last_window = false
      @actor_command_window.active = true
    elsif Input.trigger?(Input::C)
      @set = @command_window.index
      @skill_window.set(@set)
      @skill_window.refresh
      Sound.play_decision
      close_command_window
      @command_window.active = false
      @skill_window.active = true
    elsif Input.trigger?(Input::UP)
      @set = @command_window.index
      @skill_window.set(@set)
      @skill_window.refresh
      @help_window.set_text(COLUMN_HELP[@active_battler.id][@set])
    elsif Input.trigger?(Input::DOWN)
      @set = @command_window.index
      @skill_window.set(@set)
      @skill_window.refresh
      @help_window.set_text(COLUMN_HELP[@active_battler.id][@set])
    end
  end
 
  if $imported != nil and $imported["TankentaiSideview(Kaduki)"]
    def end_target_selection
      dhoom_sksp_end_selection
      if @last_window
        @skill_window.active = true if @skill_window != nil
      end
    end
  else
    def end_target_enemy_selection
      dhoom_sksp_enemy_selection
      if @last_window
        @skill_window.active = true if @skill_window != nil
      end
    end
 
    def end_target_actor_selection
      dhoom_sksp_actor_selection
      if @last_window
        @skill_window.active = true if @skill_window != nil
      end   
    end
  end
 
  def create_command_window
    @command_window = Window_Command.new(172, COLUMN_NAME[@active_battler.id])
    @command_window.x = (544 - @command_window.width) / 2
    @command_window.y = (416 - @command_window.height) / 2
    @command_window.openness = 0
    @command_window.active = true
  end
 
  def open_command_window
    @command_window.open
    begin
      @command_window.update
      Graphics.update
    end until @command_window.openness == 255
  end
 
  def close_command_window
    @command_activated = false
    @command_window.close
    begin
      @command_window.update
      Graphics.update
    end until @command_window.openness == 0
  end
end

Music Player for rizkhi04
Code:
#===============================================================================
#------------------------- -=• Music Player •=----------------------------------
#---------------------------=• by: DrDhoom •=-----------------------------------
# Version: 1.0
# Date Published: 13 - 06 - 2011
# RPGMakerID Community
#-------------------------------------------------------------------------------
# Introduction:
# Like the name, this script for choose and play BGM music.
#-------------------------------------------------------------------------------
# How to use:
#  - Insert this script above Main 
#===============================================================================

module DHOOM
  module MSPR 
   
    #return to scene when closed. EG: Scene_Menu, Scene_Title,etc
    RETURN_SCENE = Scene_Map
   
    #Window Properties------------------------------------------|
    WINDOW_PLAY_WIDTH = 320
    WINDOW_PLAY_ANIM = true #when true, the text will animation
    WINDOW_PLAY_OPACITY = 255
    NP_TEXT = "Now Playing: "
   
    WINDOW_MUSC_WIDTH = 320
    WINDOW_MUSC_HEIGHT = nil #This will be auto if nil
    WINDOW_MUSC_OPACITY = 255
   
    STOP_INPUT = Input::A #Button to stop BGM. See game properties (F1)
                          #for the button
                         
    BACKGROUND = "" #Leave empty if you don't want to change Background
                    #the background image must be in "Graphics/Pictures/" folder
    BACKGROUND_X = 0
    BACKGROUND_Y = 0
    BACKGROUND_OPACITY = 255
    #-----------------------------------------------------------|
   
    MUSICS = [] #<--- Don't delete this line
   
    #MUSICS[id] = ["bgm filename"]
    MUSICS[1] = ["Battle1","Theme1","Scene5"]
   
    MUSICS[2] = ["Battle3","Theme1","Scene4","Scene1","Battle3",
    "Battle3","Battle3","Battle3","Battle3","Battle3","Battle3",
    "Scene1","Scene1","Scene1","Scene1","Scene1","Scene1","Scene1"]
   
    #TO CALL THE SCENE:
    # Scene_MPlayer.new(MUSICS id)
   
  end
end

module RPG
  class BGM < AudioFile
    def self.player_play(name)
      if name.empty?
        Audio.bgm_stop
        @p_last = "None"
      else
        Audio.bgm_play("Audio/BGM/" + name)
        @p_last = name
      end
    end
    def self.p_last
      return @p_last if @p_last != nil
      return "None"
    end
  end
end

class Window_MPlayer < Window_Base
  include DHOOM::MSPR
  def initialize
    super(0,0,WINDOW_PLAY_WIDTH,56)
    self.contents = Bitmap.new(width - 32, height - 32)
    self.ox = 0
    refresh
  end
 
  def refresh
    self.contents.clear
    self.contents.draw_text(0, 0, 384, WLH, NP_TEXT + RPG::BGM.p_last)
    a = RPG::BGM.p_last.size
    if a <= 100
      @speed = 3
    elsif a <= 250
      @speed = 2.5
    elsif a <= 400
      @speed = 2
    else
      @speed = 1
    end
  end
 
  def update
    if WINDOW_PLAY_ANIM
      self.ox += @speed
      if self.ox >= 544
        self.ox = -544
      end
    end
  end
end


class Scene_MPlayer < Scene_Base
  include DHOOM::MSPR
  def initialize(music)
    @music = music
  end
 
  def start
    super
    if !BACKGROUND.empty?
      @bg = Sprite.new
      @bg.bitmap = Cache.picture(BACKGROUND)
      @bg.x = BACKGROUND_X
      @bg.y = BACKGROUND_Y
      @bg.opacity = BACKGROUND_OPACITY
    else
      create_menu_background
    end
    @music_window = Window_Command.new(WINDOW_MUSC_WIDTH, MUSICS[@music])
    @music_window.visible = true
    @music_window2 = Window_MPlayer.new
    @music_window.x = (544 - @music_window.width) / 2
    @music_window2.x = (544 - @music_window2.width) / 2
    @music_window.y = @music_window2.height
    if WINDOW_MUSC_HEIGHT != nil
      @music_window.height = WINDOW_MUSC_HEIGHT
    end
    a = 416 - @music_window.y
    if @music_window.height > a
      @music_window.height = a
    end
    if $last_mp_index != nil and $last_mp_index[@music] != nil
      @music_window.index = $last_mp_index[@music]
    end
    @music_window.opacity = WINDOW_MUSC_OPACITY
    @music_window2.opacity = WINDOW_PLAY_OPACITY   
  end
 
  def update
    super
    @music_window.update
    @music_window2.update
    if !@bg.nil? 
      @bg.update
    else
      update_menu_background
    end
    update_window
  end
 
  def update_window
    if Input.trigger?(Input::B)
      Sound.play_cancel
      $scene = RETURN_SCENE.new
    elsif Input.trigger?(Input::C)
      Sound.play_decision
      RPG::BGM.player_play(MUSICS[@music][@music_window.index])
      $last_mp_index = []
      $last_mp_index[@music] = @music_window.index
      @music_window2.refresh
    elsif Input.trigger?(STOP_INPUT)
      Sound.play_decision
      RPG::BGM.player_play("")
      @music_window2.refresh
    end
  end
 
  def terminate
    super
    @music_window.dispose
    @music_window2.dispose
    if !@bg.nil?
      @bg.dispose
    else
      dispose_menu_background
    end
  end
end

Semua script yang aku post di thread ini
[VX]Dhoom Script Workshop - Page 4 Credit


Terakhir diubah oleh DrDhoom tanggal 2012-09-18, 13:39, total 18 kali diubah

[VX]Dhoom Script Workshop - Page 4 Empty2011-05-25, 20:59
PostRe: [VX]Dhoom Script Workshop
NachtEinhorn 
Robot Gedek Galak


Posts : 1274

[VX]Dhoom Script Workshop - Page 4 Vide
thank you very much to Dhoom, udah mau buatin :sembah:

cendoled :thumbup:
[VX]Dhoom Script Workshop - Page 4 Empty2011-05-26, 08:08
PostRe: [VX]Dhoom Script Workshop
LiTTleDRAgo 
Senior
Senior
LiTTleDRAgo

Level 5
Posts : 712
Thanked : 27
Engine : RMXP
Skill : Skilled
Type : Scripter
Awards:
[VX]Dhoom Script Workshop - Page 4 Vide
@dhoom

sip, tp cuma berlaku di menu aja yah? ga sampe ke message systemnya?
[VX]Dhoom Script Workshop - Page 4 Empty2011-05-26, 12:17
PostRe: [VX]Dhoom Script Workshop
DrDhoom 
Doomed Zombie
DrDhoom

Level 5
Posts : 629
Thanked : 22
Engine : Multi-Engine User
Skill : Intermediate
Type : Scripter

[VX]Dhoom Script Workshop - Page 4 Vide
@milan: you'r welcome :D
@drago: bingung ngedit nya :hammer: pling g ngrti klo msalah message :hammer:
[VX]Dhoom Script Workshop - Page 4 Empty2011-05-26, 17:38
PostRe: [VX]Dhoom Script Workshop
NachtEinhorn 
Robot Gedek Galak
NachtEinhorn

Level 5
Posts : 1274
Thanked : 9
Engine : Multi-Engine User
Skill : Beginner
Type : Developer

[VX]Dhoom Script Workshop - Page 4 Vide
nambah pesen bisa? XD masih hubungan sama Skill Separator XD

nama: --nda tau mau kasi nama apa--

efek: tetep giliran player meski pake item/ skill di slot B/ slot C, bar kasi giliran ke musuh / karakter berikutnya waktu pake skill slot A

kalo kurang jelas kontak meh di CB ya :)
[VX]Dhoom Script Workshop - Page 4 Empty2011-05-30, 08:17
PostRe: [VX]Dhoom Script Workshop
LiTTleDRAgo 
Senior
Senior
LiTTleDRAgo

Level 5
Posts : 712
Thanked : 27
Engine : RMXP
Skill : Skilled
Type : Scripter
Awards:
[VX]Dhoom Script Workshop - Page 4 Vide
@dhoom,

yawda deh, next request ^^
save event location, jadi kalo kita ganti map terus balik lagi ke map yang tadi,
event2nya ga balik ke tempat semula

terus ada pilihan buat save positionnya

cara pakenya kalo bisa kyk gini

$game_map.events[1].save_location
$game_map.events[1].load_save
$game_map.events[1].clear_save
[VX]Dhoom Script Workshop - Page 4 Empty2011-05-30, 19:31
PostRe: [VX]Dhoom Script Workshop
DrDhoom 
Doomed Zombie
DrDhoom

Level 5
Posts : 629
Thanked : 22
Engine : Multi-Engine User
Skill : Intermediate
Type : Scripter

[VX]Dhoom Script Workshop - Page 4 Vide
@milan: g ngrti :hammer:
@drago: ok :D
[VX]Dhoom Script Workshop - Page 4 Empty2011-05-30, 23:32
PostRe: [VX]Dhoom Script Workshop
rizkhi04 
Advance
Advance
rizkhi04

Level 5
Posts : 311
Thanked : 2
Engine : RMVX
Skill : Beginner
Type : Artist

[VX]Dhoom Script Workshop - Page 4 Vide
@dhom: w boleh request ga...?
kalo boleh wa mau dibikinin yang kaya gini...

judulnya... apa ya.... :hmm: bgm mp3 player... :P

deskripsi script...
bisa ganti bgm di map mana aja kecuali map" tertentu...
ada tombol untuk ngeluarin menunya... cotoh : M

mohon bantuannya... :sembah:
[VX]Dhoom Script Workshop - Page 4 Empty2011-06-01, 11:49
PostRequest
gudelsikebo 
Newbie
Newbie
gudelsikebo

Level 5
Posts : 1
Thanked : 0
Engine : RMVX

[VX]Dhoom Script Workshop - Page 4 Vide
daku isa request ga?

Nama Script: Summon Skill
tipenya: kyaknya add ons

Deskripsi Script: isa summon kyak di PERSONA 3 FES


:D maaf klo ngerepotin....

GUDELSIKEBO mengucapkan TERIMA KASIH.. :)

Spoiler:


Terakhir diubah oleh gudelsikebo tanggal 2011-06-01, 12:10, total 1 kali diubah
[VX]Dhoom Script Workshop - Page 4 Empty2011-06-01, 12:08
PostRe: [VX]Dhoom Script Workshop
NachtEinhorn 
Robot Gedek Galak
NachtEinhorn

Level 5
Posts : 1274
Thanked : 9
Engine : Multi-Engine User
Skill : Beginner
Type : Developer

[VX]Dhoom Script Workshop - Page 4 Vide
hmmm, jadi gini, kan di skill separator mu kubagi jadi 3 (default mu 4) : A, B, C.

nah, biasanya kan setelah pake item/ pake skill kan langsung giliran player / musuh berikutnya kan?

bisa ga dibikin setelah pake item/skill B atau C, giliran tetap ada di player, dan baru digilir ke player/ musuh selanjutnya hanya saat pilihan skill A atau guard yang dipilih?

btw, namanya Turn Holder, boleh?
[VX]Dhoom Script Workshop - Page 4 Empty2011-06-02, 06:33
PostRe: [VX]Dhoom Script Workshop
syra 
Newbie
Newbie
syra

Level 5
Posts : 28
Thanked : 0
Engine : RMVX
Skill : Beginner
Type : Writer

[VX]Dhoom Script Workshop - Page 4 Vide
om Dhoom Request script dong..!

1. Script buat misahin menu equip jadi "Equip 1" ama " Equip 2 " . Isinya juga dibedain. kalau ada di equip 1 berarti gak bakalan ada di equip 2. begitu juga sebaliknya.

2. Script Tempat ngambil Quest, kalau quest nya da selesai diambil ditempat itu juga. Tapi kalau gagal ada dendanya.

Please yah..!
[VX]Dhoom Script Workshop - Page 4 Empty2011-06-08, 15:43
PostRe: [VX]Dhoom Script Workshop
DrDhoom 
Doomed Zombie
DrDhoom

Level 5
Posts : 629
Thanked : 22
Engine : Multi-Engine User
Skill : Intermediate
Type : Scripter

[VX]Dhoom Script Workshop - Page 4 Vide
because of my mood... i close this workshop...
i'll open again maybe in 1 or 2 week...
sorry everyone :D
[VX]Dhoom Script Workshop - Page 4 Empty2011-06-13, 18:40
PostRe: [VX]Dhoom Script Workshop
DrDhoom 
Doomed Zombie
DrDhoom

Level 5
Posts : 629
Thanked : 22
Engine : Multi-Engine User
Skill : Intermediate
Type : Scripter

[VX]Dhoom Script Workshop - Page 4 Vide
@rizkhy: ini sdh jadi smnggu yg lalu... cuman lupa ngepost :P
kalo mau pke button call nya set pke event aja... bsa kn XD
Code:
#===============================================================================
#------------------------- -=• Music Player •=----------------------------------
#---------------------------=• by: DrDhoom •=-----------------------------------
# Version: 1.0
# Date Published: 13 - 06 - 2011
# RPGMakerID Community
#-------------------------------------------------------------------------------
# Introduction:
# Like the name, this script for choose and play BGM music.
#-------------------------------------------------------------------------------
# How to use:
#  - Insert this script above Main 
#===============================================================================

module DHOOM
  module MSPR 
   
    #return to scene when closed. EG: Scene_Menu, Scene_Title,etc
    RETURN_SCENE = Scene_Map
   
    #Window Properties------------------------------------------|
    WINDOW_PLAY_WIDTH = 320
    WINDOW_PLAY_ANIM = true #when true, the text will animation
    WINDOW_PLAY_OPACITY = 255
    NP_TEXT = "Now Playing: "
   
    WINDOW_MUSC_WIDTH = 320
    WINDOW_MUSC_HEIGHT = nil #This will be auto if nil
    WINDOW_MUSC_OPACITY = 255
   
    STOP_INPUT = Input::A #Button to stop BGM. See game properties (F1)
                          #for the button
                         
    BACKGROUND = "" #Leave empty if you don't want to change Background
                    #the background image must be in "Graphics/Pictures/" folder
    BACKGROUND_X = 0
    BACKGROUND_Y = 0
    BACKGROUND_OPACITY = 255
    #-----------------------------------------------------------|
   
    MUSICS = [] #<--- Don't delete this line
   
    #MUSICS[id] = ["bgm filename"]
    MUSICS[1] = ["Battle1","Theme1","Scene5"]
   
    MUSICS[2] = ["Battle3","Theme1","Scene4","Scene1","Battle3",
    "Battle3","Battle3","Battle3","Battle3","Battle3","Battle3",
    "Scene1","Scene1","Scene1","Scene1","Scene1","Scene1","Scene1"]
   
    #TO CALL THE SCENE:
    # Scene_MPlayer.new(MUSICS id)
   
  end
end

module RPG
  class BGM < AudioFile
    def self.player_play(name)
      if name.empty?
        Audio.bgm_stop
        @p_last = "None"
      else
        Audio.bgm_play("Audio/BGM/" + name)
        @p_last = name
      end
    end
    def self.p_last
      return @p_last if @p_last != nil
      return "None"
    end
  end
end

class Window_MPlayer < Window_Base
  include DHOOM::MSPR
  def initialize
    super(0,0,WINDOW_PLAY_WIDTH,56)
    self.contents = Bitmap.new(width - 32, height - 32)
    self.ox = 0
    refresh
  end
 
  def refresh
    self.contents.clear
    self.contents.draw_text(0, 0, 384, WLH, NP_TEXT + RPG::BGM.p_last)
    a = RPG::BGM.p_last.size
    if a <= 100
      @speed = 3
    elsif a <= 250
      @speed = 2.5
    elsif a <= 400
      @speed = 2
    else
      @speed = 1
    end
  end
 
  def update
    if WINDOW_PLAY_ANIM
      self.ox += @speed
      if self.ox >= 544
        self.ox = -544
      end
    end
  end
end


class Scene_MPlayer < Scene_Base
  include DHOOM::MSPR
  def initialize(music)
    @music = music
  end
 
  def start
    super
    if !BACKGROUND.empty?
      @bg = Sprite.new
      @bg.bitmap = Cache.picture(BACKGROUND)
      @bg.x = BACKGROUND_X
      @bg.y = BACKGROUND_Y
      @bg.opacity = BACKGROUND_OPACITY
    else
      create_menu_background
    end
    @music_window = Window_Command.new(WINDOW_MUSC_WIDTH, MUSICS[@music])
    @music_window.visible = true
    @music_window2 = Window_MPlayer.new
    @music_window.x = (544 - @music_window.width) / 2
    @music_window2.x = (544 - @music_window2.width) / 2
    @music_window.y = @music_window2.height
    if WINDOW_MUSC_HEIGHT != nil
      @music_window.height = WINDOW_MUSC_HEIGHT
    end
    a = 416 - @music_window.y
    if @music_window.height > a
      @music_window.height = a
    end
    if $last_mp_index != nil and $last_mp_index[@music] != nil
      @music_window.index = $last_mp_index[@music]
    end
    @music_window.opacity = WINDOW_MUSC_OPACITY
    @music_window2.opacity = WINDOW_PLAY_OPACITY   
  end
 
  def update
    super
    @music_window.update
    @music_window2.update
    if !@bg.nil? 
      @bg.update
    else
      update_menu_background
    end
    update_window
  end
 
  def update_window
    if Input.trigger?(Input::B)
      Sound.play_cancel
      $scene = RETURN_SCENE.new
    elsif Input.trigger?(Input::C)
      Sound.play_decision
      RPG::BGM.player_play(MUSICS[@music][@music_window.index])
      $last_mp_index = []
      $last_mp_index[@music] = @music_window.index
      @music_window2.refresh
    elsif Input.trigger?(STOP_INPUT)
      Sound.play_decision
      RPG::BGM.player_play("")
      @music_window2.refresh
    end
  end
 
  def terminate
    super
    @music_window.dispose
    @music_window2.dispose
    if !@bg.nil?
      @bg.dispose
    else
      dispose_menu_background
    end
  end
end
[VX]Dhoom Script Workshop - Page 4 Empty2011-06-13, 19:46
PostRe: [VX]Dhoom Script Workshop
ko_kain 
Newbie
Newbie
ko_kain

Level 5
Posts : 27
Thanked : 1
Engine : RMVX
Skill : Beginner
Type : Artist

[VX]Dhoom Script Workshop - Page 4 Vide
Om dhooom minta request dong:

Weapon/armor skill(jadi kalo make senjatanya/armor, hero dapet skillnya tapi, kalo dilepas skillnya hilang)


Terakhir diubah oleh ko_kain tanggal 2011-06-13, 20:03, total 2 kali diubah (Reason for editing : sala)
[VX]Dhoom Script Workshop - Page 4 Empty2011-06-13, 20:07
PostRe: [VX]Dhoom Script Workshop
DrDhoom 
Doomed Zombie
DrDhoom

Level 5
Posts : 629
Thanked : 22
Engine : Multi-Engine User
Skill : Intermediate
Type : Scripter

[VX]Dhoom Script Workshop - Page 4 Vide
@ko_kain: sudah ada kali script kyk gitu... coba cari... lagi males :swt:
[VX]Dhoom Script Workshop - Page 4 Empty2011-06-13, 21:45
PostRe: [VX]Dhoom Script Workshop
ko_kain 
Newbie
Newbie
ko_kain

Level 5
Posts : 27
Thanked : 1
Engine : RMVX
Skill : Beginner
Type : Artist

[VX]Dhoom Script Workshop - Page 4 Vide
dr.dhoom woa ternyata dah ad maap :sembah:

ywda request menu battle buat ganti equip di tantekai aj :3
[VX]Dhoom Script Workshop - Page 4 Empty2011-06-18, 20:11
PostRe: [VX]Dhoom Script Workshop
rizkhi04 
Advance
Advance
rizkhi04

Level 5
Posts : 311
Thanked : 2
Engine : RMVX
Skill : Beginner
Type : Artist

[VX]Dhoom Script Workshop - Page 4 Vide
woooghh sudah jadi... headbang
tankyu"... :sembah:

tapi gimana cara makenya nih...?
[VX]Dhoom Script Workshop - Page 4 Empty2011-07-04, 20:04
PostRe: [VX]Dhoom Script Workshop
Shazuu 
Newbie
Newbie
Shazuu

Level 5
Posts : 64
Thanked : 1
Engine : Multi-Engine User
Skill : Intermediate
Type : Event Designer

[VX]Dhoom Script Workshop - Page 4 Vide
Akang Dhoom yg baik dan ganteng =))
bisa bkinin sistem nempa buat RPG maker VX gk,,,? :sembah:
Sistemnya hampir sama yg akang RUsted_71 buat,, please :sembah:
[VX]Dhoom Script Workshop - Page 4 Empty2012-08-11, 21:58
PostRe: [VX]Dhoom Script Workshop
DrDhoom 
Doomed Zombie
DrDhoom

Level 5
Posts : 629
Thanked : 22
Engine : Multi-Engine User
Skill : Intermediate
Type : Scripter

[VX]Dhoom Script Workshop - Page 4 Vide
Update Skill Cooldown

Atas permintaan Razyl, sekarang enemy skiil nya juga ada cooldownnya
[VX]Dhoom Script Workshop - Page 4 Empty2012-08-11, 22:03
PostRe: [VX]Dhoom Script Workshop
arls 
Advance
Advance
arls

Level 5
Posts : 412
Thanked : 3
Engine : RMVX Ace
Skill : Very Beginner
Type : Mapper
Awards:
[VX]Dhoom Script Workshop - Page 4 Vide
kk cma buatin yg vx ya......?
[VX]Dhoom Script Workshop - Page 4 Empty2012-08-11, 22:05
PostRe: [VX]Dhoom Script Workshop
DrDhoom 
Doomed Zombie
DrDhoom

Level 5
Posts : 629
Thanked : 22
Engine : Multi-Engine User
Skill : Intermediate
Type : Scripter

[VX]Dhoom Script Workshop - Page 4 Vide
Iya, hanya untuk VX, kalo yang XP ada thread nya tersendiri :)
[VX]Dhoom Script Workshop - Page 4 Empty2012-09-18, 13:40
PostRe: [VX]Dhoom Script Workshop
DrDhoom 
Doomed Zombie
DrDhoom

Level 5
Posts : 629
Thanked : 22
Engine : Multi-Engine User
Skill : Intermediate
Type : Scripter

[VX]Dhoom Script Workshop - Page 4 Vide
Update Skill Cooldown script:
- Fix cooldown doesn't reset in the end of battle

thanks buat ashm atas laporannya :D
[VX]Dhoom Script Workshop - Page 4 Empty2012-09-18, 14:18
PostRe: [VX]Dhoom Script Workshop
Ekacek 
Novice
Novice
Ekacek

Level 5
Posts : 111
Thanked : 2
Engine : RMVX
Skill : Very Beginner
Type : Developer

[VX]Dhoom Script Workshop - Page 4 Vide
Wah, useful banget nih kk... :)
[VX]Dhoom Script Workshop - Page 4 Empty2012-09-18, 14:22
PostRe: [VX]Dhoom Script Workshop
Siendo 
Newbie
Newbie
Siendo

Level 5
Posts : 36
Thanked : 0
Engine : RMVX
Skill : Beginner
Type : Mapper

[VX]Dhoom Script Workshop - Page 4 Vide
Aku buatin donk..
Name : Slot Machine version New
Deskrip : ya sesuai namanya, ya minigame Slot Machine ^^ :hug:
[VX]Dhoom Script Workshop - Page 4 Empty2012-09-18, 14:29
PostRe: [VX]Dhoom Script Workshop
DrDhoom 
Doomed Zombie
DrDhoom

Level 5
Posts : 629
Thanked : 22
Engine : Multi-Engine User
Skill : Intermediate
Type : Scripter

[VX]Dhoom Script Workshop - Page 4 Vide
@siendo: di forum ini udah ada tuh, lupa sih sapa yang bikin :hmm:, coba aja search.
[VX]Dhoom Script Workshop - Page 4 Empty
PostRe: [VX]Dhoom Script Workshop
Sponsored content 




[VX]Dhoom Script Workshop - Page 4 Vide
 

[VX]Dhoom Script Workshop

Topik sebelumnya Topik selanjutnya Kembali Ke Atas 

Similar topics

+
Halaman 4 dari 4Pilih halaman : Previous  1, 2, 3, 4

Permissions in this forum:Anda tidak dapat menjawab topik
RPGMakerID :: Scripts & Event Systems :: RMVX Scripts :: RGSS2 Request-