Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 BIG MAPS
#7
This is a
BIG BUMP!
That's not really a bump


Today, I did some more work. But nothing has changed within the Big Maps script itself. Instead, this update is to reveal the first script adaptability patch.

Until now, Near Fantastica's Dynamic Maps script did not function with Big Maps. This because Near Fantastica's script read the map ID of the 'individual' map your player starts his/her game and uses it as a key when teleporting to a different map. And if you returned to a big map, you may not be using the same map ID upon return. Yeah. Sounds kinda technical, doesn't it? Needless to say, in a Big Map where you might have 9 individual maps, it may be trying to load from the wrong map ID. THAT was the problem.

Thus, the need for a new patch.

The patch takes the map_id in question, and now looks to see if it is part of a 'Big Map'. If it isn't a big map, then it's business as usual. But if it is part of a big map, then it does a bit of substitution. It will use the very first map ID in your list of Big Maps for the whole saving/loading process.

And thus, problem solved!

The patch is now in the main post of this topic, but is also visible below. Just paste it below 'Dynamic Maps' to use:

Code:
#==============================================================================
# ** BIG MAPS / Dynamic Map Patch
#------------------------------------------------------------------------------
#    by DerVVulfman
#    version 1.0
#    07-23-2017 (mm/dd/yyyy)
#    RGSS / RPGMaker XP
#==============================================================================
#
#  A simple patch  that allows the Map module  defined by Near Fantastica's
#  dynamic maps system  to recognize Big Maps.  If a Big Map is recognized,
#  the patch will use the 1st defined map in the Big Map as its data index.
#
#  Just paste this below 'Dynamic Maps' so the Map module is replaced.
#
#==============================================================================


module Map
  #--------------------------------------------------------------------------
  # * Set Map
  #     map    : map data
  #     map_id : Map ID
  #--------------------------------------------------------------------------  
  def Map.set_map(map, map_id)
    map_list  = []
    map_key   = BigMaps.map_test(map_id)
    unless map_key.nil?
      map_list  = BigMaps::Map[map_key]    
      map_id    = map_list[1][0]
    end
    @map_data[map_id] = map
  end
  #--------------------------------------------------------------------------
  # * Get Map
  #     map_id : Map ID
  #--------------------------------------------------------------------------  
  def Map.data(map_id)
    map_list  = []
    map_key   = BigMaps.map_test(map_id)
    unless map_key.nil?
      map_list  = BigMaps::Map[map_key]    
      map_id    = map_list[1][0]
    end
    return @map_data[map_id]
  end
end
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)
[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png] [Image: liM4ikn.png] [Image: fdzKgZA.png] [Image: sj0H81z.png]
[Image: QL7oRau.png] [Image: uSqjY09.png] [Image: GAA3qE9.png] [Image: 2Hmnx1G.png] [Image: BwtNdKw.png%5B]
Above are clickable links

Reply }


Messages In This Thread
BIG MAPS - by DerVVulfman - 07-13-2017, 12:56 AM
RE: BIG MAPS - by DrHouse93 - 07-13-2017, 08:53 PM
RE: BIG MAPS - by DerVVulfman - 07-13-2017, 10:50 PM
RE: BIG MAPS - by DerVVulfman - 07-14-2017, 03:12 AM
RE: BIG MAPS - by DrHouse93 - 07-14-2017, 09:59 AM
RE: BIG MAPS - by DerVVulfman - 07-16-2017, 07:03 PM
RE: BIG MAPS - by DerVVulfman - 07-23-2017, 05:21 PM
RE: BIG MAPS - by DerVVulfman - 06-05-2020, 04:32 PM
RE: BIG MAPS - by Melana - 07-23-2017, 09:40 PM
RE: BIG MAPS - by DerVVulfman - 06-08-2020, 03:37 PM
RE: BIG MAPS - by DerVVulfman - 06-08-2020, 07:01 PM
RE: BIG MAPS - by DerVVulfman - 06-09-2020, 05:27 PM
RE: BIG MAPS - by DerVVulfman - 06-09-2020, 10:15 PM
RE: BIG MAPS - by Melana - 06-10-2020, 08:29 AM
RE: BIG MAPS - by DerVVulfman - 06-10-2020, 04:18 PM
RE: BIG MAPS - by Melana - 06-10-2020, 07:17 PM
RE: BIG MAPS - by DerVVulfman - 06-11-2020, 02:58 AM
RE: BIG MAPS - by Melana - 06-11-2020, 10:09 AM
RE: BIG MAPS - by DerVVulfman - 06-12-2020, 03:40 AM
RE: BIG MAPS - by Melana - 06-12-2020, 07:01 PM
RE: BIG MAPS - by DerVVulfman - 06-13-2020, 03:27 AM
RE: BIG MAPS - by Melana - 12-05-2020, 01:19 PM
RE: BIG MAPS - by DerVVulfman - 12-05-2020, 08:47 PM
RE: BIG MAPS - by Melana - 12-06-2020, 08:52 AM
RE: BIG MAPS - by DerVVulfman - 12-06-2020, 11:37 PM
RE: BIG MAPS - by Melana - 12-07-2020, 12:19 AM
RE: BIG MAPS - by DerVVulfman - 12-07-2020, 04:16 AM
RE: BIG MAPS - by Melana - 12-07-2020, 07:11 PM
RE: BIG MAPS - by DerVVulfman - 12-08-2020, 04:34 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
   The Charlie Mini-Map / Dynamic Maps Patch DerVVulfman 2 4,057 03-29-2022, 11:55 PM
Last Post: DerVVulfman
   Dynamic Maps Expanded DerVVulfman 11 11,377 07-06-2021, 04:31 PM
Last Post: Melana
   H-Mode7 maps in RMVX Ace MGC 5 39,568 12-29-2018, 05:04 PM
Last Post: Kamillo
   Isometric Maps: MiniMap DVV Patch DerVVulfman 0 4,840 06-26-2014, 03:27 AM
Last Post: DerVVulfman
   The Lycan ABS Isometric Maps Patch DerVVulfman 1 6,059 06-25-2014, 03:54 AM
Last Post: DerVVulfman
   GubiD's Isometric Maps Package DerVVulfman 1 5,911 06-25-2014, 03:31 AM
Last Post: DerVVulfman
   Importing FPLE maps in RMVX MGC 5 15,787 04-21-2012, 11:45 PM
Last Post: albertcprice
   Auto Populate Maps, Version 0.5 Charlie Fleed 14 24,335 03-17-2012, 03:04 PM
Last Post: LilyKnight
   H-Mode7 maps in RMVX MGC 1 13,856 03-11-2012, 02:25 AM
Last Post: scaldwellhu
   Pre-title maps deValdr 3 9,426 04-22-2010, 05:24 PM
Last Post: yamina-chan



Users browsing this thread: