EOSERV Forum > EOSERV > Map Editor
Topic is locked.
Page: << 1 >>
Map Editor
Author Message
Post #3552 Map Editor

k, here's all my notes for the .emf format.

Creds to Sausage for the ID's and such.

kgo make a map editor someone :)

EMF Format:

// Header
EMF_revisionNumber:4b_mapName:24b_mapType:1b_1_1_1_1_254_width:1b_he

ight:1b_fillTile:2b_map:1b_2_1_1_1_1_1_1_

// Layer - Specification
totalTiles:1b_
{yLoc:1b_totalTiles:1b
  {xLoc:1b_spec:1b}}

// Layer - Warp Tiles
totalTiles:1b
{yLoc:1b_totalTiles:1b
 {xLoc:1b_mapID:2b_warpX:1b_warpY:1b_level:1b_door:2b}}

// Layer - Ground (gfx003.egf)
totalTiles:1b
{yLoc:1b_totalTiles:1b
 {xLoc:1b_gfxID:2b}}

// Layer - Objects (gfx004.egf)
totalTiles:1b
{yLoc:1b_totalTiles:1b
 {xLoc:1b_gfxID:2b}}

// Layer - Mask (gfx005.egf)
totalTiles:1b
{yLoc:1b_totalTiles:1b
 {xLoc:1b_gfxID:2b}}

// Layer - Down Wall (gfx006.egf)
totalTiles:1b
{yLoc:1b_totalTiles:1b
 {xLoc:1b_gfxID:2b}}

// Layer - Right Wall (gfx006.egf)
totalTiles:1b
{yLoc:1b_totalTiles:1b
 {xLoc:1b_gfxID:2b}}

// Layer - Ceiling (gfx007.egf)
totalTiles:1b
{yLoc:1b_totalTiles:1b
 {xLoc:1b_gfxID:2b}}

// Layer - Counter/Small Wall? (?.egf)
totalTiles:1b
{yLoc:1b_totalTiles:1b
 {xLoc:1b_gfxID:2b}}

// Layer - ? (?.egf)
totalTiles:1b
{yLoc:1b_totalTiles:1b
 {xLoc:1b_gfxID:2b}}

1_1

revisionNumber:
Sent to the client, to check if the latest map needs to be sent.

mapName:
Name of the map seen in the sys tab.

mapType:
0 = Normal
3 = PK

width/height:
Size of the map

fillTile:
Default ground tile, covers entire map

map:
0 = Can't use map, 1+= Can use map.

spec:
0 = Wall
1 = Chair (Bottom)
2 = Chair (Left)
3 = Chair (Right)
4 = Chair (Up)
5 = Chair (Bottom + Right)
6 = Chair (Up + Left)
7 = Chair (Any)
8 = Jammed Door?
9 = Chest
10 = Fake [!]
11 = [!]?
12 = Fake [!]
13 = [!]?
14 = [!]?
15 = [!]?
16 = Bank vault
17 = NPC Boundary
18 = Map Edge
19 = Fake wall
20-27 = Town Board
28 = Jukebox
29 = Stepping Stone
30 = Water
32 = Arena/Arena Queue
33 = Ambient Sound source
34 = Spikes
35 = Spikes
36 = Spikes

door:
0 = No Door
1 = Door
2+= Locked Door (KeyID)


Extra Notes:
Layer names from endless-online.com/support-client.html
ontop layer
top layer
wall layer
desk layer
object layer
mask layer
blended layer
ground layer


Edit:
Guess I should tell you how my notes work >.>

Um... MESSAGE:xb
MESSAGE = Name of the byte

x = How many bytes long it is
Eg. name:24b

Is 24 bytes long.


Parts surrounded in {} means it repeats.

15 years, 6 weeks ago
Post #3613 Re: Map Editor

:o a map editor would be neat, i hope someone does make one

15 years, 5 weeks ago
Post #3743 Re: Map Editor

If we make a map editor are you going to be able to make a program that can turn the files we make into proper EMF files?

15 years, 5 weeks ago
Post #3990 Re: Map Editor

I will try to build a load and save command that converts it into an array with x y tile ect and back into an emf o.o

15 years, 5 weeks ago
Post #3996 Re: Map Editor
Tivoilos posted: (13th Apr 2009 07:57 pm)

If we make a map editor are you going to be able to make a program that can turn the files we make into proper EMF files?


A map edittor does JUST that...edits the "map files" which in this case includes the .EMF files (WHICH IS THE MAP).
---
Wish upon a star!
15 years, 5 weeks ago
Post #4085 Re: Map Editor

Maps name is 27 bytes :3 .

It appears to be encrypted, Do you know how to convert it to a name?

Edit:

I cant figure out which bytes link maps together.(Link not warp)

272 is a good example of what I mean.

15 years, 5 weeks ago
Post #9403 Re: Map Editor

When you will relase it RENA:(?

14 years, 47 weeks ago
Post #16442 Re: Map Editor

Sorry to bring back a very old post but I was going trough the GFX files and found that the counter is gfx003.egf along with the other tiles.

Just a quickie so Rena can update it :)

// Layer - Counter/Small Wall? (gfx003.egf)
totalTiles:1b
{yLoc:1b_totalTiles:1b
 {xLoc:1b_gfxID:2b}}

---
I am an alien and not crazy!
14 years, 39 weeks ago
Page: << 1 >>
Topic is locked.
EOSERV Forum > EOSERV > Map Editor