PDA

View Full Version : [Tutorial] Netis Advance Map Tutorial


Neti
June 30th, 2008, 12:55 PM
Neti's Advance Map Tutorial



Table of contents

1. General Stuff
2. Map
3. Movement Permissions
4. Events
5. Wild Pokemon
6. Header
7. Block Editor
8. Connection Editor
9. World Map Editor
10. Palette Editor


1. General Stuff

First of all you should know how to open Roms and Maps in Advance Map.
Opening a Rom is quite logical and there shouldnt be problems:
Go to "File" -> "Load Rom" and select your Rom.
Another way of doing this is the context menu for which a registry key is needed.
This registry key should be in the folder in which you installed Advance Map, named AMKontextMenu.dll.
Just copy it to C:\\Windows\system32\ . Then click the windows start button and then "run". enter the following:
regsvr32.exe "c:\windows\system32\AMKontextMenu.dll"
now it should be registered and you can open a rom in advmap via right click.

Once youve opened your Rom, there will be three points appearing at the left tab.
http://nareas.na.ohost.de/lof/tut3/left.png
"From Header" displays the maps from the Rom, "From INI" displays the original Maps saved in an INI which you got with Advance Map and "Map Files" displays Maps saved in the Maps Folder in the folder where Advance Map is installed.
I never used anything else than "From Header"... I never needed them^^
So now just doube click on "From Header" and there will be a long list popping up.
Either its a list of Map Banks, Map Names or Tilesets. You can change the way theyre ordered at the top:
http://nareas.na.ohost.de/lof/tut3/maporder.png
I recommend using "Sort by Map Name".
So now just open one of the categories, eg Pallet Town and there will be more options appearing. Those are the maps. Double Clicking on one of them will open it.

Now you will see the map or its movement permission or Event or whatever Tab youre currently in. You can change the Tabs easily by clicking on them. Theyre located above the big Tab:
http://nareas.na.ohost.de/lof/tut3/tabs.png

Now ill explain the different Tabs and other Functions of Advance Map.


2. Map Tab

The Map Tab is the most important Tab of all, since you build the maps in there.
It is divided into two tabs, one with the map and the other one with the Block Palette.
You can choose which Block you draw on the map by simply clicking on it in the Block Palette.
But you can also draw so-called Big-Blocks, which consist of many small Blocks.
To create such a big Block, hold down CTRL, right-click and hold it on the block where you want to start the selection and then move the mouse over the blocks you want to select. You will see a preview of the Big Block appearing on the Window. When you release the right mouse button and CTRL you can now draw this Big Block with a left click.
The Tile you click on will be the upper left one of the big block.
http://nareas.na.ohost.de/lof/tut3/bigblock.png
This is the preview Window of the Big Block, mapping forests and cities is way faster this way since you can create buildings for example with one click.

Another thing you will notice in the Map Tab is the Border-Block Field above the Block Palette.
The tiles you put in here will create the border, so when the heros gets to the border of the map he will see those tiles. Most often those are trees or normal mountain ground.
In the Pro-Header View you can expand the Border-Tile so it is bigger than 2x2, but ill come back to that later.

So you know about the functions of the Mapping Tab now, you could start mapping right ahead. But you should get some skills first.
I made a Mapping Tutorial to help Beginners not to make the most common mistakes.
You can look it up HERE (http://www.pokecommunity.com/showthread.php?t=134658).


3. Movement Permissions Tab

Sometimes im wondering why so many people dont understand the movement permissions correct and dont know how to use them...
Well, placing them is the same as in the Map Tab: Select one from the palette and click on the map.
The different Types of movement permissions are explained in advance Map, even though many ppl dont seem to notice it! They say D is a sign, or 0 is a ladder... that is wrong!
1 is the easiest of all, its just not walkable... impossible to enter this tile.
Now there is kind of a level system:
C is Level 2, it is the normal walking permission.
10 is Level 3, 14 is Level 5, 18 is Level 6 and so on...
You can not walk from one Level to another one.
There are other Bytes for each Level which will do exactly the same as 1, so theyre kinda pointless...
The only Special Things are the following three bytes:

0 -> It is the crrossing of different Levels. If you want to make your Hero get from Level 2 to Level 3 you must place a 0 between the C and the 10 or the Hero wont be able to go there.

The next special Byte is 4. It is Level 1, which means it is water, you can surf on it.

And the last one is 3C, i espacially like this one: It means the Tile is passable from above and below.
To understand this you have to understand how Blocks work with their Top and Bottom Layer. To make it short: Each Block has a Bottom Layer of tiles which will be dispalyed UNDER the hero and a top layer which will be displayed OVER the hero. But this happens only if the hero is on level 2 or below. If he is higher he will be displayed above the top layer as well.
So for certain Blocks like bridges you need 3C, which means you can walk under and over them. If you enter a tile with 3C movement permission it will remember which permission youve been on before and the 3C Tile will behave as if it had that Movement Permission. That makes it possible to make one tile be passable from above and below.
I know this is kinda confusing... Ill show you an example from a map of Legend of Fenju:
http://nareas.na.ohost.de/lof/tut3/bridge.pnghttp://nareas.na.ohost.de/lof/tut3/move.png
As you can see i made the tile where the bridge is above the mountain 10 and the tiles before that 0, so the player can walk on the level 3 (10) tiles. When he continous walking on the 3C Tiles he will be on/above the bridge and unable to enter the tiles with C Movement Permission. But he will be able to enter the ones with a 10 at the end.
When hes coming from below, he will walk under the bridge cause he will remain on Level 2.
By the way, the meaning of each Movement Permission is displayed at the bottom left when you hover above it with the mouse.


4. Events Tab

This one is kinda easy to understand.
Adding new Events can be done by increasing the amount of the specific Event at the bottom right and click "Change Events".
The new events will appear at the top left of the map.
You can simply drag and drop Events wherever you want.
Ill go more in detail about the specific event types now:

Persons

Persons are of course people walking around, but also items, cut trees and so on.
So to speak, they are things you can interact with.

The first option for a person is its Person Number. Its only needed for Scripts so just leave it like it is.
The Picture Number is the OW Sprite the Person uses. What I really like is the fact that Advance Map loads the OW Sprites from the Rom and displays them, so you can choose the correct one.
The next thing is called unknown, and since it is unknown i dont know what it does...
Then there are two position bytes. Those will change when you move the person on the map and vice versa. They define where the person is when the map loads.
Again: Unknown
Now the Movement Type. Fortunely everything is described in the Dropdown List, thx to Lu-Ho!
The Movement bytes are values for the movement type. Changing them will cause different things with each movement type... for example when you make a person move clockwise you can define how many fields he/she goes down and left before he goes back up and right to where he/she started. If anyone would make a list what they cause for each Movement Type he would be a freak!
The next thing is again unknown.
Now we have a checkbox, simply checking whether the person is a trainer or not. If it is checked the persons script offset will be called when the hero walks into the persons view radius. So you can use this not only for trainers.
Something unknown once again...
The next thing is the View Radius: Its only relevant if you checked the Trainer option. The value in there is how far (in tiles) the persons view radius is. So if it is 3, the person will see the hero if hes standing 3, 2 or 1 tile away from him. Of course the person has to look in the heros direction.
The Script Offset is the Offset which is called when you talk to the person. This way you can start scripts when talking to People.
The Person ID is important when it comes to Scripting. When you set a flag via script which is similar to a Persons ID, the Persons will disappear and never come back unless you clear the flag.

Signposts

Signposts are just Objects which are activated when you talk to them. They can contain Items or Scripts. The Talking Level defines from which Level (described in the Movement Permissions Section) you can activate the Signpost.
The rest should describe itsself...

Warps

Warps are definitely important when it comes to mapping, because without them you couldnt use doors, stairs and stuff. A Warp has to be placed on a Block that has specific Warping Behaviour Bytes or it wont work.
The Values you have to enter are easy to figure out:
Start with "Map bank" and "Map". You can find the numbers when you look at the name of the map you want to warp too at the left tab where you can choose the map. It will say something like "VIRIDIAN CITY (3.5)". Now you already have both Values: 3 is the Bank, 5 is the Map.
The value "To warp no" is also easy to figure out. it defines to which warp on the destination map youll be warped. You can look up the number at the very top of the options when you selected the destination Warp. So just click on it and note the number at "No." directly under the dropdown menu which lets you switch between the different Event Types. Enter that number at the "To Warp no" value of the other warp and youre done.

Scripts

Scripts just call an Offset you enter when you step on them. But they dont work if you dont assign the following Values to them:
Var Number: 4051
Var Value: 0000
I dont know too much about Scripting so I cant explain that xD

Flying Position

This simply is the Position the Player lands on when he flies to that Map. The Location of the Event will be where he lands, thats it. Not all Maps have one!


5. Wild Pokemon Tab

This is like the easiest of all Tabs and it should be really easy to understand.
You can choose which Type of Wild Pokemon you want to edit from the dropdown field.
Then you can edit the encounter ration by editing the value or moving the little marker.
The last thing you can edit is WHICH pokemon you can ecnounter and what their MAX and MIN LEVEL is. you can add Pokemon multiple times if you want.
Grasse can have up to 12 different Pokemon, Water and Headbut Trees or the rock-smash rocks (both defined via "tree") can have up to 5 different ones and the fishing rod has 10 slots.
If you chosse one of the different options from the dropwdown list and there are no options displayed you have to expand the wild pokemon header. Simply click on "Expand" and check the types you want to have on that map, then click "OK".
When youre done with the Wild Pokemon Header click "Save" to save your changes.


6. Header Tab

I think most of the things here described themselves.
You can expand the amount of options by checking "Professional Header View" in the Settings Menu.
The only thing I have to say here is that it is possible to change the Map Dimensions and the Tilesets used in a map. That is important I think.
Even though it explains itsself like the rest in this Tab^^


7. Block Editor

With the Block Editor it is posssible to edit the Block Palette used in the Map Tab.
Check out my Tutorial on how to insert/edit Tiles and edit Block Data. (http://www.pokecommunity.com/showthread.php?t=144054)


8. Connection Editor

Start it via this Button:
http://nareas.na.ohost.de/lof/tut3/connection.png
Many People seem to have problems with it, but its kinda easy if you understood it once.
http://nareas.na.ohost.de/lof/tut3/connections.png
"Connection No" lets you choose which Connection youre editing at the moment.
Direction should be clear...

Offset is probably the hardest part of understanding this...the value entered here means how many tiles the map connecting to this one is delayed.
If your Connection goes Up or Down, it means how many tiles it is delayed to the left (or right if you use negative values) and if you make a connection that goes left or right a positive value what make the connected map be delayed down and a negative one would make it be delayed up.
If you leave it 0 the map will connect without any offset, so the upper border will be the same as the upper border of the current map (if you use Left/right connections). Its the same with the left border when you use connections that go up or down.

Map Bank and Map No can be found out easily the way i described it at the Warps Section.


9. World Map Editor

Start it via this button:
http://nareas.na.ohost.de/lof/tut3/region.png
Advance Maps World Map Editor only edits the position of Routes/Towns and stuff, not the image!

First, select the Tile you want to edit.
Then you can edit its options at the bottom or top layer (the top leayer is used for caves and forests!).
The first thing is the value. You can select one from the dropdown list. The list contains the Map Names which can be chenaged in the Header Tab or at the Name Option under "Name Offset". When the player looks up this tile on the region map, it will display the map name you choose here.
Just leave "Name Offset" as it is or you will cause problems^^
The "Name" Option can be used to edit the Map Name.
The last thing is the position. This position defines where the player symbol will be displayed when he is on a map with the map name you assigned before and then looks up the region map. Just copy those values from the left, under the region map image.
Now you can save it and do the same thing for the whole map! Fun, isnt it?
You can also edit the Flying/display Flag. That is just the flag which is set when you enter a town and makes it possible to fly to that town later on.

That is not all I think, I dont know everything about the World Map Editor yet.


10. Palette Editor

The Palette Editor is Part of the Block Editor.
Open the Block Editor and go to "Palettes" -> "Show Palette Editor". A window like this one will pop up:
http://nareas.na.ohost.de/lof/tut3/palette.png
You can switcch through the palettes with the help of the dropdown Menu.
If you click on one of the colors you can edit it, there are 3 ways:
1. Moving the 3 slide controls
2. Using "Select Color": Click it and then move your mouse to a point anywhere on your screen. It will copy the color from there. When it has the desired color hit Enter on your keyboard.
3. 15Bit GBA Color Value: Just enter a 15 Bit Color Value here and then click "15bit to RGB".

When youve edited a color and youre satisfied with it, click "Apply" and it will be saved.

When youre done editing your Palettes, go back to the Block Editor and choose "Palettes" -> "Write Palette Changes to ROM". This will save all your changes.


The End

Finished another Tutorial Oo
I hope this helps! Again: Thx to Lu-Ho for making such a great Program!

Tyrantrum
June 30th, 2008, 07:21 PM
Neti, ur tuts never disappiont me! :D
U r great at making tuts! ^^
1 question:
It shows here--->http://eugenier.eu.ohost.de/hack/tut3/bigblock.png
When u do the control, right click, drag, how do u make it show more than one tree, as shown in this picture?

X-aveon
July 1st, 2008, 04:12 AM
idk there was a palette editor.

Neti
July 1st, 2008, 08:42 AM
@Eeveon: you can drag it along which tiles ever you want... i dragged it over a group of trees here

Ryousha
July 1st, 2008, 05:33 PM
Nice tutorial yet again, how do you make so fast even though you're taking a vacation O_o

colcolstyles
July 1st, 2008, 06:00 PM
Wow, this is really great. That "big-block" thing really helps!

Neti
July 2nd, 2008, 05:50 AM
Nice tutorial yet again, how do you make so fast even though you're taking a vacation O_o

my vacation starts at 5th of july^^
and i dont thin ill have a computer there...

Wow, this is really great. That "big-block" thing really helps!

yeah when i found out about it i was really happy xD

Makorin
July 2nd, 2008, 05:23 PM
great job neti
im glad i did check this out
the "big block" thing is the best

Greyson
July 8th, 2008, 12:44 PM
Hey thats a really nice tutorial!
It really helped clear up a few things for me.
Oh, and thanks for telling us about the big block thing. I had no idea, so now i can shave an hour off of my maps because I made everything from scratch.

jamieboy30
July 12th, 2008, 03:15 AM
brilliant tutorial, i really needed help on the connection part of A-map, and now it seems so easy, thanks again!

maoh4567
July 31st, 2008, 04:37 AM
your tutorials never disappoint me Neti... I really love your tutorials... good thing you told us about the Big-block, i will now be able to cut my time in making forest ^^

one more thing, can you really make new map names in A-map?

Neti
July 31st, 2008, 04:55 AM
only when replacing old names... go to the header tab
i think theres an option for making new ones but its not enabled

there will be a new tut soon, im awaiting its approval

maoh4567
August 1st, 2008, 03:15 AM
only when replacing old names... go to the header tab
i think theres an option for making new ones but its not enabled

there will be a new tut soon, im awaiting its approval

oh so you will never be able to make new names... oh well, i will w8 to your new tut ^^

Full Metal
August 2nd, 2008, 07:49 AM
Just thought i might add on to this if there are a bunch of the same tiles TOUCHING eachother (not diagonally) you can PUSH the mouse wheel like a button and it will change all those tiles.

Neti
August 3rd, 2008, 01:16 AM
Just thought i might add on to this if there are a bunch of the same tiles TOUCHING eachother (not diagonally) you can PUSH the mouse wheel like a button and it will change all those tiles.

dude thats incredible! i didnt know that function, thx!

X-Buster
August 3rd, 2008, 02:49 AM
And also, you can load the ROM much faster if you drag the ROM to AM, it also saves time..like 8 seconds.. :P
same with VBA.. XD

Neti
August 3rd, 2008, 02:50 AM
lol? it doesnt take 8 seconds at all for me^^

Full Metal
August 3rd, 2008, 08:37 AM
dude thats incredible! i didnt know that function, thx!
eh no prob glad a newer dude is helpful! :P :D

Garth
August 5th, 2008, 05:50 PM
Even though I read this tutorial a week ago. I just joined today.
This tutorial helped me a whole lote. Thanks and thanks again.

And sorry for bumping a thread a few days old. I'm not entirely sure how active you guys are yet >.>

Neti
August 6th, 2008, 12:16 AM
not sure what you mean with the last thing you said, but im glad i could help^^

Garth
August 6th, 2008, 11:32 AM
Just ignore it then, haha


-Garth

Lornami
August 6th, 2008, 04:06 PM
D:
The ctrl+right click+drag doesn't work for me.
The mouse wheel does though.

:'D Thanks for all the info though! It really helps, I can start learning how to map.

EDIT:
Ah, I had an old version of A-Map. Yay! Mass production!

salamance
August 7th, 2008, 11:34 AM
how am i supposed to set the events for my firered hack ?
i want to change the events to pokemon pearl's ?
how am i supposed to take different types of tiles

Neti
August 7th, 2008, 01:35 PM
the events have nothin to do with mappin, you can edit only their locations with it
the tiles can be edited, check my tut about it, the link is in my sig

salamance
August 11th, 2008, 05:15 PM
how am i supposed to get different type of tiles such as dp tiles

Neti
August 12th, 2008, 04:37 AM
rombase, tile sheets.. whatever, this is not the right place to ask for sth like that, it has nothin to do with it

Lafate
August 15th, 2008, 12:24 AM
thanks this was helpful
------------------------

V.L.
August 16th, 2008, 12:45 PM
Great tutorial, but I have one question: Why do some of my warps work and some just take me to blackness, which then freezes the game?

Neti
August 16th, 2008, 12:50 PM
Great tutorial, but I have one question: Why do some of my warps work and some just take me to blackness, which then freezes the game?
that depends^^
i need more dtails about your warps
i think you just did not enter correct warp no. , map bank or map number
the map or warp just doesnt exist, or the map is broken

V.L.
August 16th, 2008, 01:52 PM
That's the thing, I checked multiple times to make sure I had all the right numbers. When I use the warp in Advance Map, it works fine, but on the ROM I just walk through a door into nothing.

The Abyss
August 16th, 2008, 04:19 PM
It might have somthing to do with the tilesets.

Neti
August 17th, 2008, 12:15 AM
you should try checking the behaviour byte of the tiles, maybe its not a warp... but then it normally doesnt warp at all

Ineffable~
September 1st, 2008, 10:10 AM
Um... You were talking about the "unknown" thing. You should let
everyone know that the very top "unknown" value must be "03"
and the rest should be "0000"

Neti
September 1st, 2008, 10:12 AM
Um... You were talking about the "unknown" thing. You should let
everyone know that the very top "unknown" value must be "03"
and the rest should be "0000"
it would have been easier for me to figure out what you mean if you said it...
well, since i dont know what these values do i dont see any sense in making them 03 or 0000. it works with 00 instead of 03 too

Ineffable~
September 1st, 2008, 10:20 AM
You also forgot to mention that Flight positions can be moved to other maps,
and that in Wild pokemon view, if you copy and paste a pokemon's name,
it won't stay. You must type the pokemon's name. I think tat will add to your
tutorial.

it would have been easier for me to figure out what you mean if you said it...
well, since i dont know what these values do i dont see any sense in making them 03 or 0000. it works with 00 instead of 03 too

Oh sorry I thought since the other sprites are 03 that they had
to be 03 and I decided not to mess around with it.

Neti
September 1st, 2008, 10:24 AM
You also forgot to mention that Flight positions can be moved to other maps,
and that in Wild pokemon view, if you copy and paste a pokemon's name,
it won't stay. You must type the pokemon's name. I think tat will add to your
tutorial.
hmm about the flight positions: i think i didnt mention them at all, did i? must have forgotten them
and about the wild pokemon header thing: who in the world gets the idea to copy and paste things in dropdown menus? xD

Ineffable~
September 1st, 2008, 10:36 AM
Wow great tutorial! The palette editing and world map editing helped especially.

hmm about the flight positions: i think i didnt mention them at all, did i? must have forgotten them
No, trust me, you mentioned them.


and about the wild pokemon header thing: who in the world gets the idea to copy and paste things in dropdown menus? xD

I did bcuz it was faster than scrolling, but it helps that they give suggestions while
you type.

Oh, and another thing! If you change a person's sprite to match that of a berry tree and change the movement type
to "hidden," the trainer and view radius will automatically be replaced by something called "plant ID", which is an
option for berry trees.

Anyway, dont think I was trying to be a jerk. I just know it would be useful to newbies if you're tutorial was even better.

Fantomix
October 18th, 2008, 03:46 PM
Lumdedumdedum. Great tutorial!
One question from a noob, how do I make a map with a completely clear 'slate' sort of thing. Like, without having to select a route? Thanks.

Blazichu
October 18th, 2008, 07:12 PM
There is no need to revive month old threads.

*Locks*