GammaÃâžÂ Posted March 12, 2011 Author Share Posted March 12, 2011 Hello,I noticed while mapping that its really annoying with my tiles to only have 2 masks and 2 fringes.I would like to know how to add more of those.Hope you can help,Cya Link to comment Share on other sites More sharing options...
masa Posted March 12, 2011 Share Posted March 12, 2011 find for fringein moddirectdraw7 addPublic Sub BltMapCustomTile(ByVal x As Long, ByVal Y As Long)Dim rec As DxVBLib.RECTDim i As Long ' If debug mode, handle error then exit out If Options.Debug = 1 Then On Error GoTo errorhandler With Map.Tile(x, Y) For i = MapLayer.custom To MapLayer.custom ' skip tile if tileset isn't set If (.Layer(i).Tileset > 0 And .Layer(i).Tileset <= NumTileSets) And (.Layer(i).x > 0 Or .Layer(i).Y > 0) Then ' sort out rec rec.top = .Layer(i).Y * PIC_Y rec.Bottom = rec.top + PIC_Y rec.Left = .Layer(i).x * PIC_X rec.Right = rec.Left + PIC_X ' render Call Engine_BltFast(ConvertMapX(x * PIC_X), ConvertMapY(Y * PIC_Y), DDS_Tileset(.Layer(i).Tileset), rec, DDBLTFAST_WAIT Or DDBLTFAST_SRCCOLORKEY) End If Next End With ' Error handler Exit Suberrorhandler: HandleError "BltMapcustomTile", "modDirectDraw7", Err.Number, Err.Description, Err.Source, Err.HelpContext Err.Clear Exit SubEnd Sub Link to comment Share on other sites More sharing options...
GammaÃâžÂ Posted March 12, 2011 Author Share Posted March 12, 2011 Really? Is that all?I tought i needed to add a few packets though =O Link to comment Share on other sites More sharing options...
iSKweek Posted March 12, 2011 Share Posted March 12, 2011 There is a lot more than just that. You need to edit the map editor packets and such too. 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