I have a compatibility request for the next version of the worldmap:
Added compatibility with components 1030, 1035 and 1036 of BG2 Tweaks, the Cloakwood components of BG1 NPC and component 2600 of BGTTweak.
Hi. I was planning to add to my mod a tweak, which adds a short-cut in order not to have to cross the whole of cloakwood (which usually leads to thousands of ambushes by ettercaps and wyverns when you're already weak after all encounters in the mines) when coming back from the mines: you still have to cross all 4 areas when you want to get to the mines, but it only takes 8 hours to get out of it.
In order for it to be compatible with revised travel times, a line should be added to the worldmap code:
ACTION_IF FILE_EXISTS ~Worldmap/TU_tweak2060.tpa~ BEGIN
INCLUDE ~Worldmap/TU_tweak2060.tpa~
END
This line should be added after the choice between original and revised travel times, after any physical modification to "bp-bgt_worldmap/2da/revised_soa_tob_links.2da" (since it produces an inlined file), but before reading the contents of the file (for example, on top of lib/revised.tpa).
The code inside that .tpa file will add a link to the revised
bgt link table, allowing the new link I want to add to be added properly.
I will test that component on my own before releasing it, and nothing will happen if my component is not installed, so it shouldn't break the Worldmap mod.
Another question: is
REQUIRE_PREDICATE NOT FILE_EXISTS_IN_GAME ~bp-bgt_wm6.wm6~
a good way to detect if the worldmap is already installed?
TIA
PS: if you need it, the code which will be INCLUDEd will be something like
COPY - "bp-bgt_worldmap/revised/tbl/new_map_mods_links_bgt.tbl" "bp-bgt_worldmap/revised/tbl/new_map_mods_links_bgt.tbl"
REPLACE_TEXTUALLY...
but I might edit it in the future
Edited by Turambar, 08 October 2011 - 06:24 AM.