Chaos Project

RPG Maker => RPG Maker Scripts => Script Requests => Topic started by: GohanRocks922 on July 30, 2014, 02:58:53 pm

Title: flying script convert to transformation script
Post by: GohanRocks922 on July 30, 2014, 02:58:53 pm
I was wondering if you could make anyone can make this script into a transformation Script i need it to be like you have to have the character Say _trans and then make the Skill work for if you press a certain key and you have the skill here is the script:

Spoiler: ShowHide
    #==============================================================
   # http://thiagodd.blogspot.com.br
   #
   # [TSDA] Fly System
   #   --> Version 1.1
   # by thiago_d_d
   #
   #--------------------------------------------------------------
   # * Features
   #--------------------------------------------------------------
   # + Adds an flyght system.
   #
   #--------------------------------------------------------------
   # * Install
   #--------------------------------------------------------------
   # Put this script above main
   # And, you need the graphics of the characters flying, so put them
   # with the -voar suffix.
   # For Example, if your character normal graphics is 001-Fighter01,
   # you need to have another graphic with the name 001-Fighter01-voar
   #
   #--------------------------------------------------------------
   # * Configuration
   #--------------------------------------------------------------
   # You can make the hero fly only if it have an item equipped.
   # For that, configure USE_WINGS below to true.
   # And you have to put "wings items" IDs to ASAS_IDS
   #==============================================================
   class TSDA
     #Id of items that are wings
     ASAS_IDS = [59]
     #Use wings?
     USE_WINGS = true
   end
   #--------------------------------------------------------------
   class Game_Character
     attr_accessor   :through
     attr_accessor   :move_speed
     attr_accessor   :always_on_top
     attr_accessor   :character_name
   end
   #--------------------------------------------------------------
   class Scene_Map
     alias old_update_voar update
     def update
       old_update_voar
       if Input.press?(Input::Y)
         if ($game_party.actors[0].character_name + "-voar") ==
           $game_player.character_name
           return
         end
         if TSDA::USE_WINGS
           id = $game_party.actors[0].armor4_id
           if TSDA::ASAS_IDS.include?(id)
             $game_player.through = true
             $game_player.move_speed = 4.5
             $game_player.always_on_top = true
             $game_player.character_name =
             $game_party.actors[0].character_name + "-voar"
           end
         else
           $game_player.through = true
           $game_player.move_speed = 4.5
           $game_player.always_on_top = true
           $game_player.character_name =
           $game_party.actors[0].character_name + "-voar"
         end
       else
         if $game_party.actors[0].character_name ==
           $game_player.character_name
           return
         end
         $game_player.through = false
         $game_player.move_speed = 4
         $game_player.always_on_top = false
         $game_player.refresh
       end
     end
   end
Title: Re: flying script convert to transformation script
Post by: ForeverZer0 on July 30, 2014, 03:13:09 pm
Fixed the formatting for you, it was all screwed up.
Title: Re: flying script convert to transformation script
Post by: GohanRocks922 on July 30, 2014, 03:22:43 pm
Thanks :), Ok so I am using Netplay master v4.0.7 is it possible to make into a Transformation script?