5 Attachment(s)
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!
EncTerrain1.att file corupted! Help!
hi all, mayb my question is out of this thread's purpose, but can anyone upload the file: EncTerrain1.att ( in Data/World1.....) for me??
i'm running server 97 at home(LAN) and tried 2 different versions of client but cant play bcoz of the error: D/Webzem/Mu/data/world1/encterrain1.att file corrupted.. i dun remember exactly but i think there is only one file like that.....
i wanna play other chars not only elf (bcuz i cant us lorencia map)...
thanks
Re: [Guide] How to place Textures and Objects!!! [Skin]
I created an new map his number is 35, i can walk in there but there are no odject, but i copied Lorencia, with all objects and files, put it in folder Object36 and World36 and eveything i see this is textures but no objects plzzz help
Re: [Guide] How to place Textures and Objects!!! [Skin]
Re: [Guide] How to place Textures and Objects!!! [Skin]
Quote:
Originally Posted by
Kyor
Sorry for bumping old thread, but i need this tool without virus. Because that one with warning dont work. I tried to remove antivirus, tried on 3 my own pc's ( windows server 2003, winows xp sp2, sp3 ), my two friends tried it also and it dont work. It just crashes explorer and nothing more. Maybe someone could help with that.