[RMXP][RGSS] Three Simple Scripts Modifications

Hello, 🙂

 

I don't know too much about RGSS, but I'm customizing scripts to use on my new project and I'm having problems with 3 of them.

 

1 - I could not modify my Ring Menu to have more options. I'd like to have a "Quests" icon, a "Bestiary", and a "Configure" for example to acess others scripts. And I want to remove the windows (Steps, gold, time. place, status, etc)

Script link: http://forum.chaos-project.com/index.php?topic=2612.0

 

2 - I'm using a Walk/Run with animation script. My problem is: When the character is not runing, if the player press Z (The run button) the characters animations turns on.

Walk/Run Speed and Animation Script:


#################################################################

#######################  Autor PARA #############################

#################################################################

# O script permite que o personagem corra e mostre a animação da corrida

#para mosntrar a animação de corrida é nescessario que personagem

#tenha a o arquivo especifico para a animação da corrida

#Exemplo

#Se meu personagem se chama Pedro, o nome do arquivo deve ser

#Pedro_dash.png

#################################################################

class Game_Player < Game_Character

 

  SPEED_DASH = 4 #Velocidade da corrida  

  SPEED_NORMAL = 3 # Velocidade normal

  KEY_DASH = Input::LETTERS['Z'] #Definição do botão de corrida

  NO_FILE_DASH = true #Ativar a animação de corrida

  NO_DASH_SWITCH = 999

 

end

 

#==============================================================================

# ■ Game_Player

#==============================================================================

 

class Game_Player < Game_Character

  alias dash_update update

  def update

    unless moving? or $game_system.map_interpreter.running? or

           @move_route_forcing or $game_temp.message_window_showing

      if !($game_switches[NO_DASH_SWITCH])

        if Input.press?(KEY_DASH)

           if (dash_graphic_exist?($game_party.actors[0]) or NO_FILE_DASH)

             if @move_speed != SPEED_DASH

               @move_speed = SPEED_DASH

               @dash_on = true

               $game_player.refresh

             end

           end

         elsif

           @dash_on == nil or @dash_on

           @move_speed = SPEED_NORMAL

           @dash_on = nil

           $game_player.refresh

          end

        end

    end

    dash_update

  end

  def dash_graphic_exist?(actor)    

    begin

      RPG::Cache.character(actor.character_name.to_s + "_dash", actor.character_hue)

    rescue

      return false

    end

    return true

  end

  alias dash_refresh refresh

  def refresh

    dash_refresh

    if $game_party.actors.size != 0

      actor = $game_party.actors[0]

      if @dash_on and dash_graphic_exist?(actor)

        fileplus = "_dash"

      else

        fileplus = ""

      end

      @character_name = actor.character_name + fileplus

      @character_hue = actor.character_hue

    end

  end

end



 

3 - After searching a lot I found a "Options System" script. In "Start Menu" the player can ajust "BGM" "BGS" "SFX" volumes, change the resolution, the windowskin... But the script is in conflict with a "Universal Message System". I think it's because both can change the Font type, but I don't know fix this, or make a similar script (Maybe can be easier).

Script link: https://bigaceworld.wordpress.com/rgss/custom-menu-scripts/ace-option-system-rmxp/

UMS link: http://save-point.org/thread-2394.html

 

Thanks a lot!   😀

Original thread: https://forums.rpgmakerweb.com/threads/rmxp-rgss-three-simple-scripts-modifications.51337/