Tutorial and template code, to install an area with multiple links to the worldmap, via WeiDU.
http://www.blackwyrm...ls/patchwmp.php
Integrate an area to the worldmap
Started by Baronius, Oct 24 2006 07:15 AM
2 replies to this topic
#1
Posted 24 October 2006 - 07:15 AM
Law, chaos, mystery... interesting plot and dangerous battles... new enemies - and new friends. -- some new fun in BG1Tutu: In Candlelight
#2
Posted 24 October 2006 - 09:06 AM
Does this work with the new worldmap v6.3 or only with the original worldmap?
ronin
ronin
#3
Posted 24 October 2006 - 02:58 PM
It should be compatible (or can be made compatible with little effort) with any usual wmp file. (You will need to extend it a bit though if you have a wmp file with more worldmap entries, because the current code assumes there is one worldmap entry and adds the area to that.)
Nonetheless, I took a very quick look at the TP2 of Yacomo's cool-sounding extended wmp. As far as I can see, it rebuilds the whole wmp with a fixed list of areas & their attributes, so areas not on its list will not be kept. Consequently, I guess any mod that adds an area on its own (e.g. by using my code) instead of having a Yacomo-Wmp-entry should be installed after Yacomo's wmp mod. (By the way, DELETE_BYTES ("%links_num%") 0xD8 shouldn't be something like DELETE_BYTES ("%links_offset%") 0xD8? I checked the file very quickly so I might have missed something obvious.)
Nonetheless, I took a very quick look at the TP2 of Yacomo's cool-sounding extended wmp. As far as I can see, it rebuilds the whole wmp with a fixed list of areas & their attributes, so areas not on its list will not be kept. Consequently, I guess any mod that adds an area on its own (e.g. by using my code) instead of having a Yacomo-Wmp-entry should be installed after Yacomo's wmp mod. (By the way, DELETE_BYTES ("%links_num%") 0xD8 shouldn't be something like DELETE_BYTES ("%links_offset%") 0xD8? I checked the file very quickly so I might have missed something obvious.)
Edited by Baronius, 24 October 2006 - 03:35 PM.
Law, chaos, mystery... interesting plot and dangerous battles... new enemies - and new friends. -- some new fun in BG1Tutu: In Candlelight