How to use SA-MP map editor. -
Tamer - 28.12.2012
Welcome there,I will teach you how to use the SA-MP map editor.
I have realised a bunch of can't manage to map,I am aiming to help mappers to be better than usual.
I also realised that a bunch use MTA map editor instead of SA-MP map editor.
Bah,MTA map editor is for MTA! Not SA-MP! Everytime I see a dude posting a map for SA-MP done by MTA map editor I go nuts. (Eh I am mad probs) Anyway..
SA-MP map editor is much more efficient than the MTA editor. Also you may remove buildings here. Most use MTA because they think there is no SA-MP map editor or they think MTA is more efficient. NO it is not. Learn how to use SA-MP map editor and you will be the best mapper! I guarantee!
_______________How to install_____________
Firstly,download the map editor from this link:
https://sampforum.blast.hk/showthread.php?tid=282801
Extract the RAR to your desktop.
You will see a file called "background.txd" Copy it and paste it to your GTA SA folder.
Once you have done it,run the editor.exe file.
__________Loading the editor_________
Once you run the file,you will have 2 choices.
Uploaded with
ImageShack.us
Load:
This will load the editor normally.
Load with COLLS:
This will load collisions with the objects aswell.
Before loading,you will realise the help menu on the left and top.
Now,just for now Click "Load". If you really feel like loading with colls,do it next time.
****If you have an error while loading,go to the "errors" section in the tutorial.
___Wandering around and Movement___
When you load,you will see AREA 51 on your screen.
Right click with your mouse and move it upwards,downwards left or right.
You just learned how to control your camera.
If you have mouse wheel scroll it. This will move your camera forward.
Right click and press W or A or S or D
These will make you move your camera.
You may also press space to move much more faster (just like running ingame)
Now,go and click somewhere on the map.
You will have that object reddish. (It means it is chosen)
________________Tabs___________________
You will see few tabs on top.
Import .pwn:
This will import the map that you have created to a .pwn file.
If you don't have an existing game script,this will not work for you.
Import paste:
This will import the code in your clipboard (copied object code). I will explain what is the code further in the TUT.
Show Code (currently unclickable):
This will show your map code.
Clear All:
Clears all objects you have added. Easy to get rid of everything.
Undo:
This will take back what you last did.
Insert object:
This will insert an object to the map. (I don't suggest you to use this one)
Duplicate:
Will Duplicate the choosen object (reddish object as I stated before)
Delete:
It will delete the object selected.
Test:
This is to test your map,I will explain this more next of the tutorial.
_________Get started to mapping______
You will see 3 sub tabs just on the right top corner. (Views,Objects,Movement)
Click movement.
Be sure the section is ticked "5 automatic (Hotkeys)
Click Objects tab near Movement.
You will see a title "Object Collection"
This is your object stock,you are able to add objects.
Click a random object on your map.
Uploaded with
ImageShack.us
Now,at the Objects tab (you are right now in it)
Click add.
You will have a small photo of the object at your left,click add again.
You wil lrealise there is the object just on the right,click to it once,then move your mouse to the screen and press insert (INS) on your keyboard.
The object is now created where ever your mouse cursor was.
The object is highlighted right now.
Use your arrow keys to move it.
To turn it or to raise it up press ctrl (left) same time the arrow keys.
To raise it up/down: Arrow keys:Up-down.
To turn it right/left: Arrow keys: left-right.
To give it a fast spin,click ctrl (left) and click the object with your mouse, moving your mouse
****If you couldn't manage to do these so far,be sure the object is highlighted.
While the object is highlighted click ctrl+c
Now use your arrow keys or drag your mouse to left or right to see your duplicated object.
Now,click "DEL" on your keyboard.
Well,you have managed to do it!You are now 418 steps away from being a pro mapper! (Hehe)
The main idea is this,but I aint gonna leave you middle of the desert (literally)
Messy map you got over there!Click clear all!!
______________________Tabs_________________
Views Tab:
This is a main tab to manage views.
Camera View:
You may paste coords here to go to a coord.
240.2021 1308.1946 12.9761
Copy these coords and paste them to the box,click "Point Camera at these Coords"
Just teaching ya!
Copy CameraLookAt()coords:
This aint for mappers,its useful for scripters,just makes the player turn their camera to those coords in gamemodes,it is not something for mapping.
Camera Bookmarks:
If you click add,it will copy the place you are and you may easily teleport that place with clicking it.
Game Data loading+rendering options.
Lod distance:
If you are lagging decrease it.
Draw Distance:
Same as above.
Stream:
Same as above (but leave this alone,better)
Water Color:
Reddish water?Naa!
Changing water will not affect your maps,it is just for your own editor.
Speed:
Be speedy like Speedy Gonzales. >Sets your speed to move/move objects etc.
Water Transperency:
Optimize water transperency.
Other things: (Load textures etc.)
Doesn't really matter,they are for design,will not affect your maps
Show colls:
Will show colls if you loaded with "Load Colls"
objects Tab:
You got the training of this,but you got something left to do.
Click "add" again.
You will see a bunch of selections:
search for:
If you type something here,it will give the objects that carry those names.
Ex: tv
Write "tv" and you will get anything that has "TV" in their name.
Sometimes,you may even have televisions that has another name.
Click one of the tv names.
You will see the pic of it at left. You may click that pic to observe it better.
Now,click add at the same window.
Click "add" again which will bring you to the previous search window.
By size:
This just checks for size (Not sure if this function is working yet)
Desccription name:
You may change the object name you are adding from here.
IDE Number:
Object id number.
If you have an object id write it here and click add to have it on your list.
Read "Object ID" section for more information about Object ID's.
Special Tool:
I will explain what is this function on the section "prefabpics"
Movement:
I suggest you to use 5 (automatic hotkeys)
Coordinates:
This shows the coords of the object currently selected.
Please return to the objects tab.
Click "add"
Uploaded with
ImageShack.us
Type in the object id 3244 to IDE number space.
Click "add"
Import your object to your map.
Return to movement.
Move the X angle stick. (Moves your object in X angle)
Move the Y angle stick (moves your object in Y angle)
And goes like that.
Reset angles:
Resets all X Y Z changes done to the object turning it back to normal
Car Colors:
Not working.
Nudge tool:
If you want to make milimetric changes on your object (while you are working very sensitive objects) Use this.
X Y Z, R-X, R-Y,R-Z,learn how to use them and memorise how they do work.
Nudge power:
This will set the nudge power (how sensitive are you working with the object.
Camerative nudge:
Good if you are pointing north on the editor.
Well,you just learned how to move yar objects pal!.
_____Starting to map for real_____
Click "clear all"
Now,add this object to your objects tab by doing.. (DONT MAKE ME EXPLAIN IT! YOU DID IT 2 TIMES!) :P
Add object id
19460
Your first task is to make an area closed from 4 sides. (No need to be realistic,just get the main idea)
Once you are done Click Show code.
When you click here,you will see 4 wierdal stupido texts and numbers trying to tell you something.
Here is mine:
CreateObject(19460, 263.51, 1067.61, 17.89, 0.00, 0.00, 0.00);
CreateObject(19460, 258.68, 1072.39, 17.89, 0.00, 0.00, 89.04);
CreateObject(19460, 253.79, 1067.83, 17.89, 0.00, 0.00, -1.20);
CreateObject(19460, 258.66, 1063.11, 17.89, 0.00, 0.00, 89.04);
Uploaded with
ImageShack.us
Anyway,copy your code. Now click "clear all".
Your map is gone.
Now,click import paste.
Woop!It's back!
So the idea is this,how to store your maps?Eh,well. Create a notepad and paste them there,close your editor,if you want to map it again copy it and import paste!
You may also delete objects that are added!
Simply,click the object and click delete.
Deleted objects are named different.
RemoveBuildingForPlayer(playerid, 16591, 205.4922, 1730.3516, 17.8281, 0.25);
RemoveBuildingForPlayer(playerid, 16209, 205.4922, 1730.3516, 17.8281, 0.25);
Usually like these.
Woop woop!The stupid tut is almost to finish!
Be sure that your objects are added.
Now click "test" on top of the editor.
When you click "test" samp will load.
You are near your objects HOORAY!
It will create your Carl Johnson dude just where your camera is aiming to,so I suggest you to go abit more closer to the ground if you don't think your CJ is a superman or something. (Maybe he is!)
Anyway,by testing you may see your bugs and fix them.
__________Misc_____________
It is possible to map cars,but you can't test them. Due we got "gravity" all floating cars will hit the ground automatically,but floating objects may not.
Double click to an object to see information about it. This is useful for scripters or if you are using SetObjectMaterial (which is for scripters)
Interriors are above the sky. You may fly like a skyrocket and you will see the interriors. It's impossible to miss them.
__________Object ID'S___________
There are around 20,000 objects in the GTA SA.
You may see a list of some of the objects which are useful here:
https://sampwiki.blast.hk/wiki/Model_ID
Also here:
https://sampwiki.blast.hk/wiki/Samp_objects
Car ID's ingame and car ID's in map editor are same.
First 0-300 are skins,they will not appear ingame even if you map them.
_______Known Bugs________
Flying objects:
If you go to another tab (in windows) and return back to the editor the object might fly away. Simply click redo to avoid it.
Invisible objects:
Some objects cannot be seen. Maybe they are huge maybe they have different textures. Rotate them.
Interriors:
If you try to test your map in an interior it will not work and our dude cj will fall down.
To enter an interrior you need to use the entrance.
Detection.
Some small objects under huge objects may not be detected and the editor will think you are clicking another object,only way to fix this is to get closer to the object you wish to click.
______Errors________
Background.txd missing error.
Copy the file to your GTA SA folder.
Graphic Card Error:
Drop your dinasour PC or renew your graphics card. Else,you may update your drivers ofcourse!
Module errors:
No idea how to fix,try to reboot pc.
Range Check error:
Restart your pc.
If that doesn't work re-install SA-MP or GTA SA.
Editor Files are not recognised (Files must be in your gta sa folder)
Copy them to your gta sa folder.
(xxx,yyy,zzz) is not a valid floating value.
Ignore or re-open editor.
Other Errors:
Tell us here if you have any.
_______Prefabpics and editor files__________
Every object you click will be stored as a pic on prefabpics folder on your GTA SA folder.
The render range function is to copy those pics to those folder between a range.
Editor files:
editor_objects.
Right click notepad to see your objects in the list.
Cameras:
Shows your cameras.
_______Tips:________
-Work alot.
Mapping alot will help you get pro'er.
-Learn the GTA SA map.
Knowing where you can find good objects will help you alot.
-Don't give up mapping for a long time
If you quit mapping it will cause you to loose your skill.
-Spend your time mapping.
Map as much as you can,when you are bored,when you want to chill.
-Never give up.
A map may get hard to do,give breaks,but never give up an idea you got.
-Don't make your objects float.
Double check if your objects are meeting the floor!
_________Credits:__________
JerneyL-Thanks to him we got SA-MP Map Editor
Turhan - I wouldn't be here if you didn't force me to learn how to map!
Re: How to use SA-MP map editor? -
Rillo - 28.12.2012
Nice tutorial, I'm sure it will help a lot of players who want to map but don't know where to start.
+Repped
AW: How to use SA-MP map editor? -
Mellnik - 28.12.2012
Well done
+rep
Re: How to use SA-MP map editor? -
LeMoi - 28.12.2012
Good job.
Re: How to use SA-MP map editor? -
viddo - 28.12.2012
Hey i have a question some of the objects i mapped and added diasappears when you go a bit far from them and they disappear quickly than normal mapped objects anyone had this problem before?
Re: How to use SA-MP map editor? -
Tamer - 28.12.2012
Quote:
Originally Posted by viddo
Hey i have a question some of the objects i mapped and added diasappears when you go a bit far from them and they disappear quickly than normal mapped objects anyone had this problem before?
|
Are you running a streamer?Does this happen only on SA-MP map test or in a game script? Are the objects huge or small? What object code are you using? CreateDynamicObject or CreateObject? If it is not Createobject and you have a streamer included in your script,also if you have 1000 objects or more on your script it is normal for you do have that problem.
Re: How to use SA-MP map editor? -
Mrki_Drakula - 24.03.2013
I'm constantly getting this error:
Please install proper drivers for your graphic card. ****** will help you in achieving this task.
But, Device Manager says my graphic drivers are up to date.
Also, after i press OK when that message appears, it says:
Access violation at address 6611955B. Read of address 6611955B.
Any help or solution?
Thanks.
- EDIT -
Fixed. The drivers were problems anyway.
Re: How to use SA-MP map editor? -
Ibrahim.E - 12.04.2013
Nice ! , +REP'ed
Re: How to use SA-MP map editor? -
DiGiTaL_AnGeL - 12.04.2013
Finally, someone who did this. Even if it's not complete, goow work.
Re: How to use SA-MP map editor? -
absolute - 12.04.2013
nice tut bro .
but i think MTA is a lil bit faster for mapping . i've tried samp map editor once or twice but the controls were a lil hard
Re: How to use SA-MP map editor? -
Syntax - 12.04.2013
This is definitely one of the best tutorials I've seen around here.
Re: How to use SA-MP map editor? -
TheSnaKe - 13.04.2013
Nice tutorial
Re: How to use SA-MP map editor? -
Auditore155 - 16.05.2014
How to fix that error?
Re : How to use SA-MP map editor? -
SlimDkhili - 31.07.2014
i can't see anything in editor , only water ??
Re: How to use SA-MP map editor? -
rabya23 - 22.10.2014
How do I put an object in a dimension?
Re: How to use SA-MP map editor? -
Abagail - 22.10.2014
I think you should remove the "?" from the title. Is this a question? No! Is this a guide? Yes! Use proper punctuation please.
Re : How to use SA-MP map editor? -
merouane - 28.09.2015
he i need to i make code de what pwn?