Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

need a comfirmation on a script

Geowil

Member

Can i get confirmation that the world map script (sorry dont know who made it) doesnt work on the official rmxp?

more info on the script:

it makes your sprite smaller or bigger (dependent on *W or *B in the map name) and slows down your movement sped to make it appear as though you're in a world map.

It worked in Postality, but as far as I know it does not work in the official.
 

Geowil

Member

game_map:

Code:
 

  attr_accessor :worldmap # Here

  attr_accessor :bigger      # Optional

 

    if self.name.include?("<W>")         # Here

      @bigger = false                       # Here

      @worldmap = true                   # Optional

      $game_player.move_speed = 2 # Optional

    elsif self.name.include?("<B>")       # Optional

      @worldmap = false                  # Optional

      @bigger = true                        # Optional

      $game_player.move_speed = 4 # Optional

    else                                           # Here

      @worldmap = false                  # Here

      @bigger = false                       # Optional

      $game_player.move_speed = 4 # Optional

    end                                           # Here

 

  def name                       # Here

    $map_infos[@map_id] # Here

  end                               # Here

 


game_player:

Code:
 

  attr_accessor :move_speed   # Here

 

    @move_speed = move_speed  # Here

 
 
sprite_character:
 
Code:
 

     if (character.is_a?(Game_Event) and character.list!=nil and character.list[0].code == 108 and character.list[0].parameters == ["w_sm"]) # Here

      @event_size = true           # Here,  ^ too

    else                                   # Here 

      @event_size = false          # Here

     end                                  # Here

        if $game_map.worldmap # Here

          @zoom_y = 0.3           # Here

          @zoom_x = 0.3           # Here

        elsif $game_map.bigger  # Optional

          @zoom_y = 1.9           # Optional

          @zoom_x = 1.9           # Optional

        else                               # Here

          @zoom_y = 1              # Here

          @zoom_x = 1              # Here

        end                               # Here

 

         if @character.is_a?(Game_Player) or @event_size or @character.is_a?(Game_Party_Actor) # Here, for Caterpillar users, if you don't use it:

      # if @character.is_a?(Game_Player) or @event_size

           self.zoom_x = @zoom_x  # Here

           self.zoom_y = @zoom_y  # Here

 
 
scene_title:
 
Code:
 

      $map_infos = load_data("Data/MapInfos.rxdata")      # Here

      for key in $map_infos.keys                                     # Here

        $map_infos[key] = $map_infos[key].name            # Here

      end                                                                     # Here

 
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top