Source to read .Att and .Map files

Results 1 to 13 of 13
  1. #1
    Newbie :) Pinkof is offline
    MemberRank
    Mar 2008 Join Date
    760Posts

    Source to read .Att and .Map files

    Source code to read .att and .map not read objects..is not a editor.. is just to learn how it work..

    i dont sure if is 100% correct but it work..






    MapManager.rar


  2. #2
    Let's do this... navossoc is offline
    MemberRank
    Sep 2004 Join Date
    BrazilLocation
    305Posts

    Re: Source to read .Att and .Map files

    Probably not, each tile on the map is composed by 3 values, layer1, layer2, layer2 alpha.

  3. #3
    Newbie :) Pinkof is offline
    MemberRank
    Mar 2008 Join Date
    760Posts

    Re: Source to read .Att and .Map files

    Quote Originally Posted by navossoc View Post
    Probably not, each tile on the map is composed by 3 values, layer1, layer2, layer2 alpha.
    have layer 1 layer 2 and color or light for tiles i dont sure but is color o light..

  4. #4
    Valued Member xute is offline
    MemberRank
    Oct 2007 Join Date
    126Posts

    Re: Source to read .Att and .Map files

    I like it but as navossoc say, each tile have a layer1, layer2 and alpha. With the ATT file you can use a path find algorithm (you can use the Path.h and Path.cpp from gameserver source) to know what is the path to go from (X1, Y1) to (X2, Y2)

    I am working on my own mu client emulator, now i am finishing SMD->BMD convertion (BMD->SMD is already), just for learn, later i will start to code the 3d game part.

  5. #5
    Developer nevS is offline
    MemberRank
    Aug 2005 Join Date
    GermanyLocation
    531Posts

    Re: Source to read .Att and .Map files

    Would be cool if someone could share how to get each tile of this three layers. I came across this when I tried to implement a WebGL renderer for MU maps... and failed xD

  6. #6
    Newbie :) Pinkof is offline
    MemberRank
    Mar 2008 Join Date
    760Posts

    Re: Source to read .Att and .Map files

    Quote Originally Posted by nevS View Post
    Would be cool if someone could share how to get each tile of this three layers. I came across this when I tried to implement a WebGL renderer for MU maps... and failed xD
    When will render maps check coord of map and read the .map layer 1. In a array xy. The code inside map have number from 0 to 8. For example you are in map x y position than search in array xy from .map and get for example number 5. Than to get texture read . 5+ textureid(in this case starting from tilegrass01) and get tile map. Sorry my bad english xD

  7. #7
    Don't be afraid to ask! RevolGaming is offline
    MemberRank
    Jun 2012 Join Date
    1,458Posts

    Re: Source to read .Att and .Map files

    Big tumbs up my friend!

    Keep up your good work ;)

  8. #8
    #ChangeBrazil SmileYzn is offline
    MemberRank
    Nov 2012 Join Date
    0x00401000Location
    927Posts

    Re: Source to read .Att and .Map files

    This is work from sobieh sources, credits?

  9. #9
    Newbie :) Pinkof is offline
    MemberRank
    Mar 2008 Join Date
    760Posts

    Re: Source to read .Att and .Map files

    Quote Originally Posted by SmileYzn View Post
    This is work from sobieh sources, credits?
    no, look the source code. i dont like make copy paste :)

  10. #10
    #ChangeBrazil SmileYzn is offline
    MemberRank
    Nov 2012 Join Date
    0x00401000Location
    927Posts

    Re: Source to read .Att and .Map files

    Quote Originally Posted by Pinkof View Post
    no, look the source code. i dont like make copy paste :)
    Nobody here says that is a copy bro xD

  11. #11

    Re: Source to read .Att and .Map files

    Quote Originally Posted by SmileYzn View Post
    Nobody here says that is a copy bro xD
    then why u assume its from sobieh, show us what u got what u think why u think that :)

  12. #12
    NN - Nord & Noob mauka is offline
    MemberRank
    Jul 2004 Join Date
    1,728Posts

    Re: Source to read .Att and .Map files

    2k8een and still "credit"wars?.. cmon ppl! download and be happy :P

  13. #13
    Novice youxizhanshi is offline
    MemberRank
    Jan 2018 Join Date
    1Posts

    Re: Source to read .Att and .Map files

    could you share ur resuorce about "MuEmu 97D By Pinkof "again? its cilent website cant open anymore. thankyou !(https://www.4shared.com/rar/08MWM7n1...ll_Client.html)



Advertisement