Delivery, release 2.10
1) Update Data Bases
2) Add Maps generator customization using MapAddOn.ini
3) Fix some bugs
4) Update user interface, mainly in menus
Add Maps menu
5) Update user guide.
Maps customization
By default, EditPatrol supports only few maps, the most interesting. But you can add more maps such as instance maps, or raid maps. The first time EP is loaded, the tool create a file including all parameters mandatory identifying a map. The name of this file is “MapAddOn.ini”. You can edit this file and add your own maps using the following syntax.
After the update of this file, you must recreate maps using the “Creating maps..”.
Each map is identified with an ID [Map_(X)] that identifies the order in the menu, for example [Map_9] will place the map at the 9em position.
[Map_9]
sEPWorldName=DeadminesInstance ; Identify the internal EditPatrol filename. Section maps file will take the form “DeadminesInstance _(x)_(y).jpg”
sWowWorldEntry=DeadminesInstancemap ; WOW entry of the map, see “show md5translate” menu for more info.
sFriendlyWorldName=Deadmines Instance ; The name of the map in the EditPatrol menu.
iBackColor=0 ; Color of the background, if the cluster is empty, the form is COLOREF RGB(R,G,B) 32 bits.
iRectOptimized.left=31 ; These parameters reduce the rectangle of the map really created. If it is omitted, it is set to the max (0,0,64,64).
iRectOptimized.top=31 ; But by setting these values, you will save space on hard disk, memory, and the speed during the rendering of the map
iRectOptimized.right=34 ;
iRectOptimized.bottom=35 ;
ClearSecor.x1_0=31 ; Sometime, maps are crappy with sector using different colors.
; You can clean up these bad sectors by setting rectangles to be removed.
ClearSecor.y1_0=31 ; In this example, there are 2 zones to remove from the map ( 31,31,31,34) and (31,34,33,34) .
ClearSecor.x2_0=31 ; the status bare of EditPatrol shows the sector coordinates under the mouse.
; This will be helpful to define this list of coordinates
ClearSecor.y2_0=34 ; the rectangle removed from the map will be filled with the color iBackColor
ClearSecor.x1_1=31
ClearSecor.y1_1=34
ClearSecor.x2_1=33
ClearSecor.y2_1=34
;
; These following parameters are used for instances only and can be omitted of regular maps.
; An instance is composed of a regular map (or not) and patches (or not)
; Patches are components placed on top of the regular map; the following example shows the more complex case.
; In DM, you have a regular map called “DeadminesInstance” , you can see this entry in the file md5translate.txt using the menu “show md5translate”
; Right after you have a second entry called “WMODungeonAZ_Deadmines” in this entry you have 4 sections ( A,B,C,D)
; These sections represent different maps of DM, the Entry and the Exit of the cave, all of them are located in Azaroths and the instance located somewhere else.
; The instance Is AZ_Deadmines_B , this why we set the PatchWMO_0=wmoDungeonAZ_Deadmines;AZ_Deadmines_B
PatchWMO_0=wmoDungeonAZ_Deadmines;AZ_Deadmines_B
;
; But for the time being, I don’ understand why the coordinate system of the instance doesn’t feet the coordinate of the world.
; I need to add an offset to reconcile the two coordinates system? You can do it using the radar panel and check where
; is you character in the map and in the game
; You can compute graphically the offset using the status bare of EditPatrol and the map coordinate. And use PatchOffX and PatchOffY to adjust the mapping
PatchOffX=320
PatchOffY=72
;
; When a patch is applied on a map, it is difficult to see them. Also you can draw an outline around the patches elements using these parameters
; iShadowColor is the color and iShadowOffset the number of pixel around the element
iShadowColor=1342226624
iShadowOffset=2
;
; You can define a separator in the menu between Groups of maps, for example, continents, BG, Instance.
; Each time you set bSeparator=1, you will get a Separator in the menu just before the current position
bSeparator=1
Here is the minimum setting for a map
[Map_30]
sEPWorldName=Stratholme
sWowWorldEntry=Stratholmemap
sFriendlyWorldName=Stratholme
To be contined in UserGuide.htm
enjoy
Peter pan