How to place Textures and Objects!!! [Skin]

Page 1 of 2 12 LastLast
Results 1 to 25 of 49
  1. #1
    Valued Member petej282 is offline
    MemberRank
    Jul 2005 Join Date
    GermanyLocation
    137Posts

    How to place Textures and Objects!!! [Skin]

    This is a guide how u can edit .map and .att files to let the Server and client know where to put what kind of textures and where u are allowed to go on maps. all programms u need are attached.
    This guide is for advanced skinners! I don't want to release it in order to get loads of noob maps which have been made in about half an hour and look just crapy!


    First step: editing the textures, height and light
    This won't be new for most of u. U can use MuimgGUI from Kamikadze to convert .ozj and .ozt files to .jpg and .tga. So u can edit how the textures look like in a graphic programm. After that u have to reconvert them to ozj/ozt. To edit height u have to convert Terrainheigt.ozb to .bmp using MUimgGUI. U will recieve a grayscale bmp which indicates the heigts in map positions. Low is dark light is high. To edit lighting u have to edit Terrainheigt.ozj where u can directly choose the colour of lighting. Remember that u should use pretty light colors because they look much darker in game.


    Second step: Define where to put textures in map
    Here is where the fun beginns. Texture positions are saved on 3 Layers in the .map file. To edit these files u have to use the tools from Cyberlove and other Skyteam members. First u have to decode Encterrain*.map to Decterrain*.map or what ever u want to call it(doesn't matter). Then u have to open it using Mapto3layer to get 3 .att files that could be converted using Mg Mu Att <=> Bmp tool to editable bmp file. First layer and second layer are two layers of texturesets where color - texture codes are shown in mapediting.gif below. 3.layer defins where to use fist layer (black color) and wher to use secound layer(white) where edges aren't as sharp as they would be defining all the textures on one layer. Other colors in 3.layer can be use for fine adjusting. After u have edit the layers u have to reconvert them to Dec Att(server) out1/2/3.att. Now u have to combine them to a new map file using Mapto3layer with open out1.att. U will receive a file called TerrainXX.map which have to be encoded to Encterrain*.map.


    Third step: Defining where u are able to go on map
    This is saved in EncTerrain*.att client side and Terrain*.att server side. U can convert them to bmp and edit them. Colors are coded like this:

    black(#000000): Free to pass outside
    Blue(#000080): Walls outside where u cant pass but still see textures
    Red(#802000)/Lightgreen(#C0DCC0): Walls that are shown black. Cursor turns into an X when over the position.
    Red(#800000): Free to pass in town
    Violett(#800080):walls in town

    To show an example I have attached .att file of Devias. Remember that u can't set positions for free pass client side when ur not allowed to pass Server side because client will crash when u walk to forbidden zones. But u can use different EncTerrain*.att files on Clients to allow only VIPs (who must have the right EncTerrain*.att at Client) to pass at certain Positions but not normal players.


    Fourth step: Adding Objects
    Yes I made it. People where talking about how to do that in Sky team forum for years and nobody was able to find out how it works to set objects. It took me a lot of time but at least I found it out.
    First u have to decode the EncTerrain*.obj and load it into Hex editor. U will recieve something like that:

    E4 07 01 00
    14 00 D6 F6 A7 45 9B D6 8A 44 08 00 2E 42 00 00 C8 41 00 00 00 00 00 00 70 43 00 00 80 3F

    First 4 Byte is the head of the file. After that there are sets of 30 Byte which each defines an object position. How many object positions (sets of 30 Bytes) are included in the file must be saved at 3. Byte of Head. An object position itself has different attibutes. The meaning of most important Bytes of a set are as following:

    1-2 Byte: Serial Number (00 00 means Object01.bmd, 01 00 Objet02.bmd etc.)
    3-6: X-Position
    7-10: Y Position
    11-14: Z Positon
    15-26: Turning the Object
    29,30: Size (U can make Objects bigger or smaller; normal size is 80 3F)

    The first bytes of an attribute (ex. X Position 3. Byte) doesn't have much effekt and can be used for fine adjustment. The higher Bytes have big effekt. Finally check ur number of sets in header and save the file. Now reencode it to EncTerrain*.obj. Finished!
    Attached Thumbnails Attached Thumbnails mapediting.gif   ter.gif  
    Attached Files Attached Files
    Last edited by petej282; 17-04-06 at 06:30 PM.


  2. #2
    Account Upgraded | Title Enabled! RisingKing2010 is offline
    MemberRank
    Feb 2006 Join Date
    loc( 'RisingKing', 'USA' );Location
    1,362Posts
    could u give me a map edit without a virus :P

  3. #3
    Valued Member petej282 is offline
    MemberRank
    Jul 2005 Join Date
    GermanyLocation
    137Posts
    I know it gives warning but Sky-Team says that this is only because of the program language they use. Don't know if thats right but I used this for a long time and didn't get problems with my Computer. But it's ur own risk to use em and I won't garantee that they are clean. Unfortunally this is the only Prog to convert att. To be save I advice to launch Prog in sandbox.

  4. #4
    Account Upgraded | Title Enabled! RisingKing2010 is offline
    MemberRank
    Feb 2006 Join Date
    loc( 'RisingKing', 'USA' );Location
    1,362Posts
    i cant download it anyway my virus scanner stops me in mid download

  5. #5
    Member jared is offline
    MemberRank
    Sep 2005 Join Date
    PhilippinesLocation
    60Posts
    nice guide.. gonna check it later.. ^_^

  6. #6
    Account Upgraded | Title Enabled! Agilius is offline
    MemberRank
    Jan 2006 Join Date
    Cluj-Napoca,RomaniaLocation
    684Posts
    Verry nice guide man.I will try this sometime :wiggle:

  7. #7
    Account Upgraded | Title Enabled! RisingKing2010 is offline
    MemberRank
    Feb 2006 Join Date
    loc( 'RisingKing', 'USA' );Location
    1,362Posts
    this is a cool guide but like i said b4 i cant download without my virus scanner freaking out but even though u say it "doesn't have a virus" i still feel a little ify so ill post a pic ppl can diside whether to trust the software or not :)

  8. #8
    Valued Member petej282 is offline
    MemberRank
    Jul 2005 Join Date
    GermanyLocation
    137Posts
    to make u use all files except the mu att tool for those who are afraid of possible virus i split the file.

  9. #9
    Main Idea Mr-K is offline
    MemberRank
    Mar 2006 Join Date
    ArgentinaLocation
    609Posts
    Quote Originally Posted by RisingKing2010
    this is a cool guide but like i said b4 i cant download without my virus scanner freaking out but even though u say it "doesn't have a virus" i still feel a little ify so ill post a pic ppl can diside whether to trust the software or not :)
    He told about that warning. If you wanna use the tool... do it, otherwise... you won't be able to edit att files. (it is the only known-working-fine editor)
    NOTE: Please google about Malware. ;) (sometimes till office xp can give you that kind of msg)


    petej282 : Great guide dude!! I´ve tested your bigger stadium desert and it's great... congratz my friend :D
    Last edited by Mr-K; 03-02-11 at 05:07 PM.

  10. #10
    Gamma [GR]SiLvER is offline
    MemberRank
    May 2005 Join Date
    GreeceLocation
    3,074Posts
    Great Guide!
    I gonna try editing a map later.

    //Repsect

  11. #11
    Account Upgraded | Title Enabled! laeryT is offline
    MemberRank
    Jan 2006 Join Date
    Велико ТърновоLocation
    259Posts
    With less work and I will start to edit

  12. #12
    Main Idea Mr-K is offline
    MemberRank
    Mar 2006 Join Date
    ArgentinaLocation
    609Posts
    I agree with [GR]Silver... /Respect petej282
    Releases are important, but sharing knowledge is the way to teach other people how to do their own releases.
    Last edited by Mr-K; 03-02-11 at 05:08 PM.

  13. #13
    Gamma [GR]SiLvER is offline
    MemberRank
    May 2005 Join Date
    GreeceLocation
    3,074Posts
    stuck

  14. #14
    Enthusiast iKest is offline
    MemberRank
    Feb 2006 Join Date
    BobruyskLocation
    36Posts
    14 00 D6 F6 A7 45 9B D6 8A 44 08 00 2E 42 00 00 C8 41 00 00 00 00 00 00 70 43 00 00 80 3F
    1-2 Byte: Serial Number (00 00 means Object01.bmd, 01 00 Objet02.bmd etc.)
    3-6: X-Position
    7-10: Y Position
    11-14: Z Positon
    15-26: Turning the Object ?????
    29,30: Size (U can make Objects bigger or smaller; normal size is 80 3F)
    How to transform it to a DEC?
    To change bytes places?
    Serial Number: 00 41 = 20
    X-Position: F6 D6 45 A7 =....
    Y Position: D6 9B 44 8A =....
    Z Positon: 00 00 43 70 00 00 00 00 00 00 41 C8 00 00 42 2E 00 08 =....
    Turning the Object: 3F 80 =.....
    Last edited by iKest; 19-04-06 at 09:58 PM.

  15. #15
    Member marcelo10 is offline
    MemberRank
    Apr 2005 Join Date
    77Posts
    &#191;?&#191;?&#191;?&#191;?&#191;?&#191;?&#191;?&#191;?&#191;
    i thinked that the color red is city security.....

  16. #16
    Enthusiast Kyor is offline
    MemberRank
    Feb 2006 Join Date
    Salvador-Bahia-BrazilLocation
    46Posts
    I Found it!!!
    A Program without virus,that can be used to edit .att
    ^^
    http://rapidshare.de/files/3493588/A...mapas.rar.html

  17. #17
    Gamma [GR]SiLvER is offline
    MemberRank
    May 2005 Join Date
    GreeceLocation
    3,074Posts
    Quote Originally Posted by Kyor
    I Found it!!!
    A Program without virus,that can be used to edit .att
    ^^
    http://rapidshare.de/files/3493588/A...mapas.rar.html
    That tool don't even runs for me and it includes a bunch of useless software.
    Last edited by [GR]SiLvER; 20-04-06 at 04:12 PM.

  18. #18
    Apprentice KamikazeX36 is offline
    MemberRank
    Jun 2005 Join Date
    5Posts
    oh noes, someone else finally worked out how to edit obj files... im not unique anymore :'( :ohmy:

    That stuff you posted about what the bytes do.. accurate for ID, X Y Z, but after that inaccurate, although only 1 short out of the load u posted as rotation is actually rotation, 10 bytes of it aren't.

    The hardest bit was working out a formula to translate the 4 bytes of coordinate into game coords... would have been easier if i'd known the dumb way bytes, shorts and longs look when you open them in a hex editor... &#172;_&#172;

    I had fun screwing around with objects. I made a big mirror image of stadium and put in a town and a lil castle.. t'was fun... although i never worked out how to get sitting and leaning working on my extra objects.. i'll try to dig up some screenshots.

    oh any just BTW... that att tools thing does have malware in it, that's why it goes off when you run it or MU, but nothing else... there's no reason it should be associated with MU, but MU sets it off. But it's nothing dangerous, just turn off yer antivirus while you use it. skyteam's excuse that it only sets off antiviruses because it uses a thing that lots of viruses use is really weak... for example.. antiviruses don't just say.. "this thing was made with delphi... some viruses are made with delphi, so im going to say this is a virus"

    SiliconShadow (a guy on skyteam) and I were working on a full map editor that edited obj, map and att files, but as far as he got it needed like 12GB of memory to run, then he went all mental and quit everything to do with MU shortly after skyteam broke up.

    Picture1
    The castle i used was the davias east castle. i did that because it was easier than making my own castle and it fitted in with my winter-themed stadium skin that i made.

    Picture2
    It was separateed from the town by a bridge (unfinished in this screenshot) the town had a big gothic door to the bridge, only GMs have the .att file to let them cross the bridge or stand on the triger for the door opening.

    Picture3
    This shows a part of the town i made, and my snow theme. There's objects on top of eachother, accidentally. That big wall isn't there anymore, just those flowerbed object things.

    I put this map on hold while worknig on 1.2d, when 1.2d is released on my server, I'll get back to it. Sorry these screenshots are a bit crap, i didn't really record what i was doing much.
    Last edited by KamikazeX36; 20-04-06 at 02:04 PM. Reason: added shreenshot links

  19. #19
    Valued Member ghell is offline
    MemberRank
    Mar 2006 Join Date
    110Posts
    "The first bytes of an attribute (ex. X Position 3. Byte) doesn't have much effekt and can be used for fine adjustment."

    Heres a hint:

    4 Bytes and a datatype that does this *gasp* what could it be?!

  20. #20
    Member marcelo10 is offline
    MemberRank
    Apr 2005 Join Date
    77Posts
    hey kamidkaze how do you do to make the map more bigger?
    only make bigger the bmp?

  21. #21
    Valued Member petej282 is offline
    MemberRank
    Jul 2005 Join Date
    GermanyLocation
    137Posts
    Every map is stored in 256*256 BMPs. u can only make Maps bigger that doesn't use the whole space provided or u can make gates to different maps.

  22. #22
    Enthusiast iKest is offline
    MemberRank
    Feb 2006 Join Date
    BobruyskLocation
    36Posts
    That stuff you posted about what the bytes do.. accurate for ID, X Y Z, but after that inaccurate, although only 1 short out of the load u posted as rotation is actually rotation, 10 bytes of it aren't.
    14 00 D6 F6 A7 45 9B D6 8A 44 08 00 2E 42 00 00 C8 41 00 00 00 00 00 00 70 43 00 00 80 3F

    May be
    15-16:Free
    17-18:Horizontal turning the Object
    19:24:Free
    25-26:Vertical turning the Object
    27-28:Free

    The hardest bit was working out a formula to translate the 4 bytes of coordinate into game coords... would have been easier if i'd known the dumb way bytes, shorts and longs look when you open them in a hex editor...
    Give me this formula, plizzz. It is in source codes of BmdReader, but I not the programmer.

  23. #23
    Account Upgraded | Title Enabled! RisingKing2010 is offline
    MemberRank
    Feb 2006 Join Date
    loc( 'RisingKing', 'USA' );Location
    1,362Posts
    Quote Originally Posted by Kyor
    I Found it!!!
    A Program without virus,that can be used to edit .att
    ^^
    http://rapidshare.de/files/3493588/A...mapas.rar.html
    thank you:) at least some one is kind enough to think of this

    NO virus it is SAFE!!!!

  24. #24
    Apprentice djcompil is offline
    MemberRank
    Apr 2005 Join Date
    FranceLocation
    11Posts

    Post

    Hello, I have to try to put World7 in World36 not used to see whether his function but once all the files converted I try to play but he says this to me:





    You would not be commen to make in kind arrange the problem?





    *** Sorry For My English ***

  25. #25
    Valued Member petej282 is offline
    MemberRank
    Jul 2005 Join Date
    GermanyLocation
    137Posts
    2. byte of the Obj-file's head defines the mapnumber. In example above head is E4 07 01 00. "07" means that obj-file belongs to World7. To change mapnumber to 36 u have to xchange 2.Byte with "24".



Page 1 of 2 12 LastLast

Advertisement