Worldmap paths

Discussion in 'General Modification' started by marc1967, Aug 7, 2014.

Remove all ads!
  1. marc1967

    marc1967 Established Member

    Joined:
    Jan 19, 2014
    Messages:
    578
    Likes Received:
    60
    Does anyone know how the program picks which worldmap paths that it will follow when going from one game area to another, since the game areas themselves aren't defined in worldmap_ui_paths.bin. It just give coordinates.

    For example, Let's say you click to travel from game areas #2 (Moathouse) to game areas #3 (Nulb). Does the program look at the entire list of 55 paths from worldmap_ui_paths.bin and compute the best fit for that trip? Or is the trip between area #2 and #3 defined somewhere in a mes file that says follow path #14, #22, and #48 to get to your destination.
     
  2. Gaear

    Gaear Bastard Maestro Administrator

    Joined:
    Apr 27, 2004
    Messages:
    11,029
    Likes Received:
    42
    It's in the guts of temple.dll and you have to use Spellslinger's Worldmapper tool to mod it. He has a very good readme in the download, but it's still pretty complicated.

    Each path to and from any two locations is indeed assigned. There's no discretion on the part of the game to pick them.

    btw, if you think you're going to make new paths, in the name of all that is holy, use Halzelnut's Path Mapper tool. Doing it 'by hand' is crazy-making.
     
  3. marc1967

    marc1967 Established Member

    Joined:
    Jan 19, 2014
    Messages:
    578
    Likes Received:
    60

    Wow, that's all great news to hear.

    I don't think I'll need to add path ID's in temple.dll. I have just placed my new game areas over the areas already in place, and moved them around a little here and there with 0_worldmap_ui_locations.mes. So now I can take that handy Path Mapper tool to change any existing path number I want to reshape to my new worldmap. There are currently 55 of them if the program is displaying right.

    Thanks, this is exactly what I needed!
     
  4. marc1967

    marc1967 Established Member

    Joined:
    Jan 19, 2014
    Messages:
    578
    Likes Received:
    60
    Gaear, I notice at the very end of the the Path Mapper Tool thread (http://www.co8.org/forum/showthread.php?t=4053&highlight=worldmap+paths), where you give a list of all the path ID's for what was then version 7.5 release, there are 90 ID's shown on the list. I see only 55 ID's in the worldmap_ui_paths.bin of the current release. I want to make sure the 55 ID version is the one I should be working with before I move on.

    Here is the list as I have identified it right now.

    I've included with each line the two game areas that the path travels between. These are the values in gamearea.mes, which are used in the variable game.areas[] internally. Since I'll be changing all the location names, the numbers are more relevant to my needs as I develop a new world map.

    Code:
    PATH ID  	TRAVELS BETWEEN		("game area" to "game area")
    
    0	Hommlet North to Verbobonc	(1 to 14) 		
    1	Hommlet North to Emridy Meadows	(1 to 5)
    2	Hommlet North to Deklo Grove	(1 to 10)
    3	Hommlet East to Temple		(1 to 4)	
    4	Hommlet East to Imeryds Run	(1 to 6)
    5	Hommlet East to Nulb		(1 to 3)
    6	Hommlet East to Hickory Branch	(1 to 9)
    7	Hommlet East to Welkwood Bog	(1 to 7)
    8	Hommlet East to Moathouse Cave	(1 to 8)
    9	Hommlet East to Moathouse	(1 to 2)
    10	Verbobonc to Welkwood Bog	(14 to 7)
    11	Verbobonc to Moathouse Cave	(14 to 8)
    12	Verbobonc to Moathouse		(14 to 2)	
    13	Verbobonc to Deklo Grove	(14 to 10)
    14	Verbobonc to Temple		(14 to 4)
    15	Verbobonc to Imeryds Run	(14 to 6)
    16	Verbobonc to Nulb		(14 to 3)
    17	Verbobonc to Hickory Branch	(14 to 9)
    18	Verbobonc to Emridy Meadows	(14 to 5)
    19	Temple to Welkwood Bog		(4 to 7)
    20	Temple to Moathouse Cave	(4 to 8)
    21	Temple to Moathouse		(4 to 2)
    22	Temple to Deklo Grove		(4 to 10)
    23	Temple to Hickory Branch	(4 to 9)
    24	Temple to Emridy Meadows	(4 to 5)
    25	Temple to Imeryds Run		(4 to 6)
    26	Temple to Nulb			(4 to 3)
    27	Welkwood Bog to Imeryds Run	(7 to 6)
    28	Welkwood Bog to Nulb		(7 to 3)
    29	Welkwood Bog to Emridy Meadows	(7 to 5)
    30	Welkwood Bog to Hickory Branch	(7 to 9)
    31	Welkwood Bog to Deklo Grove	(7 to 10)
    32	Welkwood Bog to Moathouse	(7 to 2)
    33	Welkwood Bog to Moathouse Cave	(7 to 8)
    34	Emridy Meadows to Moathouse Cave(5 to 8)
    35	Emridy Meadows to Moathouse	(5 to 2)
    36	Emridy Meadows to Deklo Grove	(5 to 10)
    37	Emridy Meadows to Imeryds Run	(5 to 6)
    38	Emridy Meadows to Nulb		(5 to 3)
    39	Emridy Meadows to Hickory Branch(5 to 9)
    40	Imeryds Run to Moathouse Cave	(6 to 8)
    41	Imeryds Run to Moathouse	(6 to 2)
    42	Imeryds Run to Deklo Grove	(6 to 10)
    43	Imeryds Run to Hickory Branch	(6 to 9)	
    44	Imeryds Run to Nulb		(6 to 3)
    45	Moathouse Cave to Nulb		(8 to 3)
    46	Moathouse Cave to Hickory Branch(8 to 9)
    47	Moathouse Cave to Deklo Grove	(8 to 10)
    48	Moathouse Cave to Moathouse	(8 to 2)
    49	Nulb to Moathouse		(3 to 2)
    50	Nulb to Deklo Grove		(3 to 10)
    51	Nulb to Hickory Branch		(3 to 9)
    52	Moathouse to Hickory Branch	(2 to 9)
    53	Moathouse to Deklo Grove	(2 to 10)
    54	Deklo Grove to Hickory Branch	(10 to 9)
    
    
    
     
  5. Gaear

    Gaear Bastard Maestro Administrator

    Joined:
    Apr 27, 2004
    Messages:
    11,029
    Likes Received:
    42
    Yeah, the latest is the one to go with. There was a time when we just sort of appended paths willy-nilly when new areas were added, but before 8.0.0 I redid them all from a comprehensive viewpoint.
     
Our Host!