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 Mel - 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 Mel - 06-10-2020, 08:29 AM
RE: BIG MAPS - by DerVVulfman - 06-10-2020, 04:18 PM
RE: BIG MAPS - by Mel - 06-10-2020, 07:17 PM
RE: BIG MAPS - by DerVVulfman - 06-11-2020, 02:58 AM
RE: BIG MAPS - by Mel - 06-11-2020, 10:09 AM
RE: BIG MAPS - by DerVVulfman - 06-12-2020, 03:40 AM
RE: BIG MAPS - by Mel - 06-12-2020, 07:01 PM
RE: BIG MAPS - by DerVVulfman - 06-13-2020, 03:27 AM
RE: BIG MAPS - by Mel - 12-05-2020, 01:19 PM
RE: BIG MAPS - by DerVVulfman - 12-05-2020, 08:47 PM
RE: BIG MAPS - by Mel - 12-06-2020, 08:52 AM
RE: BIG MAPS - by DerVVulfman - 12-06-2020, 11:37 PM
RE: BIG MAPS - by Mel - 12-07-2020, 12:19 AM
RE: BIG MAPS - by DerVVulfman - 12-07-2020, 04:16 AM
RE: BIG MAPS - by Mel - 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,903 03-29-2022, 11:55 PM
Last Post: DerVVulfman
   Dynamic Maps Expanded DerVVulfman 11 13,440 07-06-2021, 04:31 PM
Last Post: Mel
   Isometric Maps: MiniMap DVV Patch DerVVulfman 0 5,270 06-26-2014, 03:27 AM
Last Post: DerVVulfman
   The Lycan ABS Isometric Maps Patch DerVVulfman 1 6,713 06-25-2014, 03:54 AM
Last Post: DerVVulfman
   GubiD's Isometric Maps Package DerVVulfman 1 6,476 06-25-2014, 03:31 AM
Last Post: DerVVulfman
   Auto Populate Maps, Version 0.5 Charlie Fleed 14 27,067 03-17-2012, 03:04 PM
Last Post: LilyKnight
   Pre-title maps deValdr 3 10,439 04-22-2010, 05:24 PM
Last Post: yamina-chan



Users browsing this thread: 5 Guest(s)