View Single Post
  #133  
Unread 01-07-2005, 06:27 AM
tonyis3l33t's Avatar
tonyis3l33t tonyis3l33t is offline
a hedgehog
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Nagafen
Posts: 854
Default

patent pending - lol. Good work getting the newly added loc waypoint dealy in there.

heres a wrap up of stuff so far



How to insert your own maps

internal zone name:
log off in a zone. Check Cache\ioplans for last edited file.
Goto vpk folder and find closest named file. That is the internal zone name.

this goes in as an imagestyle's name under
MainHUD.Map.MapStyles

so you would have MainHUD.Map.MapStyles.internalzonename

then put an ImageFrame named ImageFrame inside that ImageStyle name internalzonename.

Enter object properties for ImageFrame
source: DDS of map(blank for multi floored maps) and
sourcerect: 0,0,436,506 (must be that exact value)


Enter zonerect property for the ImageStyle...


zonerect:

-W,N,-E,S (NOTE: Negate the W and E coords.)

to find coords, go in game to NSEW extremities and write them down! Add/negate to get coords

as close as possible. If coords are too far off, cursor will not show at all (most likely

there, just so far out of site)

this goes in as a property for MainHUD.Map.MapStyles.internalzonename


map:
Get a map and convert it to DDS format. ***The actual map area needs to start at 0,0 and end

at 436,506 or it will get cut off!*** The image itself should be 512x512.


icons:
copy paste a different zone's icons page. Icon page can be found at
MainHUD.Map.MapPage.Icons


Rename icons page to your maps internal zone name. Drop in the icons, move em around, add

tooltips.




for multi leveled zones:
make the default map all black (causes transparency). Put the maps inside the icons page,

separated by more pages. Put buttons to hide current map/icons folder, and show next floor's

map/icons folder. Do this with an OnPress property. All within the icons page.

OnPress example use for this button:
Onpress:Visible=false Parent.QM_SelectMap_Stormhold2.Visible=true

Parent.QM_Map_Stormhold1.Visible=true Parent.QM_Map_Stormhold2.Visible=false
_____________________________________________________

my next goal is to put in the locs in the tooltips so you can type em in....mebbe make an Onpress so it auto-makes the path.

Last edited by tonyis3l33t : 01-07-2005 at 06:31 AM.