Vortigem Posted February 7, 2013 Author Share Posted February 7, 2013 I've been searching for a tutorial but couldn't locate one. This was as far as I've gotten thus far:Changed Server Side to:```Public Enum MapLayerGround = 1MaskMask2Mask3FringeFringe2Fringe3' Make sure Layer_Count is below everything elseLayer_CountEnd Enum```Changed Client Side to:```Public Enum MapLayerGround = 1MaskMask2Mask3FringeFringe2Fringe3' Make sure Layer_Count is below everything elseLayer_CountEnd Enum```Added new options buttons to Mask3 & Fringe3 to frmEditor_Map with optLayer.What am I missing for this to function as intended?***Edit*** Problem solved. See last post for resolution. Link to comment Share on other sites More sharing options...
boyesjs03 Posted February 7, 2013 Share Posted February 7, 2013 I cant check at the moment but is there a MAX_LAYERS you need to edit, client side? Link to comment Share on other sites More sharing options...
Vortigem Posted February 7, 2013 Author Share Posted February 7, 2013 Negative. I'm still searching for more clues. Link to comment Share on other sites More sharing options...
boyesjs03 Posted February 7, 2013 Share Posted February 7, 2013 Ill have a quick look in the morning, im sure I sure something earlier. Link to comment Share on other sites More sharing options...
boyesjs03 Posted February 7, 2013 Share Posted February 7, 2013 Is layer_count found anywhere in the modconstants? Link to comment Share on other sites More sharing options...
Vortigem Posted February 7, 2013 Author Share Posted February 7, 2013 Unfortunately that is a question I don't know how to answer.Currently when I open the map editor and try to utilize Fringe3 or Mask3, clicking the tile on the map does nothing. It doesn't stick. Link to comment Share on other sites More sharing options...
boyesjs03 Posted February 7, 2013 Share Posted February 7, 2013 Send me a PM now and in the morning ill have a look and PM you if I get any results :-) Link to comment Share on other sites More sharing options...
abhi2011 Posted February 8, 2013 Share Posted February 8, 2013 I am not sure but I think somethings must be changed it modGameEditors or frmEditor_Map Link to comment Share on other sites More sharing options...
DeathKnight Posted February 8, 2013 Share Posted February 8, 2013 You will definately need to edit where the map actually draws. Check the modgraphics (or modDirectDraw7) depending on your version. I.e. in EO 2.0.1 you have this sub```Public Sub BltMapTile```with this bit of code in it```For i = MapLayer.Ground To MapLayer.Mask2```That would need to be changed to draw mask3 Link to comment Share on other sites More sharing options...
abhi2011 Posted February 8, 2013 Share Posted February 8, 2013 @Deathkingt that is why there is another enum value named Layer_Count. Unless changed it should be like this```for i = 1 to mapllayer.ground to Layer_Count - 1``` Link to comment Share on other sites More sharing options...
DMF Posted February 8, 2013 Share Posted February 8, 2013 different tut but same idea of adding layers except this is for animation layers. look how there added for layer value part and maybe give an idea how you add the others. or search "layer" see wat pops up for "mask". heres animation layer tut [LINK](http://www.touchofdeathforums.com/community/index.php?/topic/129795-eo-23-animation-layers/) Link to comment Share on other sites More sharing options...
Vortigem Posted February 10, 2013 Author Share Posted February 10, 2013 Hey thanks for the help guys! With your suggestions I was able to piece the remaining issues together. The problem came down to that I still needed to (all clientside):```For I = MapLayer.Ground To MapLayer.Mask2```to Mask3As well as```For I = MapLayer.Fringe To MapLayer.Fringe2```to Fringe3Additionally, after ensuring all buttons made in Mapeditor were named optLayer, I noticed the **Index** numbers didn't match to their respective changes.Thanks again! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now