DIR Return Create A Forum - Home
---------------------------------------------------------
Ultimate Stunt SA-MP Server
HTML https://ultimatestuntsampserver.createaforum.com
---------------------------------------------------------
*****************************************************
DIR Return to: Mods and Tutorials
*****************************************************
#Post#: 191--------------------------------------------------
Tutorial - Testing MTA maps in SAMP
By: DetoNater Date: June 11, 2012, 4:20 am
---------------------------------------------------------
Hello.
This tutorial is very long and i don't think it is easy to
understand for beginners, but i hope i have explained everything
well.
In this tutorial you will learn how to add MTA maps to SA-MP
server, how to test them in samp, also adding vehicles, spawn
locations, removing objects from samp to get the best testing.
This tutorial is for mappers.
Beginning
To view full pictures, open them in new tab.
For testing you will need to open samp server, so you need its
files which you can download from here
HTML http://www.mediafire.com/?md139ii8p2prqtm.
Unrar this. In the folder "Testing server" are all files which
you will need for testing.
Attention: don't remove any of the file from that folder if you
don't know what every file does!
Adding maps from MTA San Andreas to SA-MP
I won't talk about how to make maps in mta, i hope you
understand it. When you create a map, you save it with a name.
If you want to add it to samp, you will need map's code. You
need to convert mta code to samp code. Your map file can be
found in mta san andreas folder.
The location usually is C:\Program Files\MTA San Andreas
1.1\server\mods\deathmatch\resources
HTML http://www.part.lt/img/198d984e081e6cd2aa9af166ffd092c1970.png
It can be different due to different mta versions.
Go to the folder which has the name of your map. For example my
map's name is "eventmap", so i go to that folder. When you go to
that folder, there will be 2 files. One is named as folder,
another one is "meta.xml". You need the first file's location,
because it is that file where is the code. In my case, this
file's location is C:\Program Files\MTA San Andreas
1.1\server\mods\deathmatch\resources\eventmap
Now we will convert this file to samp code. Go to this website
HTML http://gtamap.delux-host.com/converter/
HTML http://gtamap.delux-host.com/converter/
and press "Select the
file"(1) (it will probably be in your language, at least this
button is for me). You need to select your map file, so just
insert the location of it or find it if you know where is it(2).
Then select the file i mentioned before (3) and press "Open"
(4).
HTML http://www.part.lt/img/4ed7aa541e3a8e897ca93b3fde51a859298.png
You need code for samp, so where it is "IPL file format", select
"PAWN code for SA-MP".
HTML http://www.part.lt/img/0517ee9bf2c3cf7b866428c323a34184180.png
In the bottom code will appear. You will need this code later,
so don't close the browser.
Go to folder you downloaded at the beginning, go to "gamemodes"
folder and open "mapstesting.pwn" file.
HTML http://www.part.lt/img/d16c8c8784939d31371c19a96c1f30cf756.png
I think you might be confused when you open this file, but don't
worry, i will explain everything.
Scroll down this file till you see "Maps()".
HTML http://www.part.lt/img/1efb5ccfb2674d95e288916378f805c775.png
You can delete everything inside { and }, because i only wrote
it as examples. Then go to the code which you have converted,
copy it and paste it between those brackets (everything must be
between { and } ).
For me it looks like this:
HTML http://www.part.lt/img/40888a18eec3ac4eba25c676dd5a43ac99.png
However, you need to add something to those lines or your
objects won't appear.
In every line "CreateObject ...." you need to add "300.0" at the
end.
For example
line before: CreateObject(989, 1418.0999755859, 7.4000000953674,
1008.700012207, 0, 0, 286);
line after adding: CreateObject(989, 1418.0999755859,
7.4000000953674, 1008.700012207, 0, 0, 286, 300.0);
So add this to every line of your map, after i am done, i have
this:
HTML http://www.part.lt/img/4e82c713f68d586e9f8636f196eddd23965.png
You have added your map to your server script. Now press F5,
this window will appear and it means you made everything
correct.
HTML http://www.part.lt/img/4112b34f3abed18cc2b6080ad650f662206.png
You can close this file and go to your main folder. Run a file
"samp-server.exe"(1), you will see this(2):
HTML http://www.part.lt/img/5aa534ee39040b6f3e20a294ee959374464.png
You have opened the server. DO NOT close samp-server.exe or
server won't work! Now go to your sa-mp program and add server
with this ip: 127.0.0.1:7777 . This is local host ip, and it
means nobody else can join it, only you. If you did everything
correct, you will see the server online:
HTML http://www.part.lt/img/1fa6b2a5817a36c5d117ab794d5b69aa437.png
Congratulations, you have opened a server and now you can join
it and test your maps.
After testing, close samp-server.exe and the server will stop to
work.
I hope somebody has understood what i have told in all this
above
~~~~~~~~~~~~~~~~~~~~~~~~~~
Adding vehicles, removing objects and adding spawn locations
will be later...
However, if you understand how everything works in samp, i think
you can try it doing by yourself.
by [BF]Kiets[VC]
#Post#: 192--------------------------------------------------
Re: Tutorial - Testing MTA maps in SAMP
By: Jarnu_Girdhar Date: June 11, 2012, 4:25 am
---------------------------------------------------------
This Tutorial Is Not YOURS!.. Give Credits to the Original
Creator of this Tutorial! Or I Will remove the TOPIC!
#Post#: 193--------------------------------------------------
Re: Tutorial - Testing MTA maps in SAMP
By: DetoNater Date: June 11, 2012, 4:57 am
---------------------------------------------------------
Lol I just posted the tutorial, even its not mine, my friend
kiets did it, he is an admin @ *no need to adv
#Post#: 195--------------------------------------------------
Re: Tutorial - Testing MTA maps in SAMP
By: Jarnu_Girdhar Date: June 11, 2012, 7:54 am
---------------------------------------------------------
20% Warning Added For Advertising.
#Post#: 196--------------------------------------------------
Re: Tutorial - Testing MTA maps in SAMP
By: Rishabh Date: June 11, 2012, 12:02 pm
---------------------------------------------------------
you should use MTA map loader fs for this SAMP
#Post#: 197--------------------------------------------------
Re: Tutorial - Testing MTA maps in SAMP
By: ALFA_C Date: June 11, 2012, 11:31 pm
---------------------------------------------------------
Xd now I dont care for any tutorials ;) I got SAMP 0.3c + 0.3e
objects in MTA map editor...just the college timings have added
a lot of complication.
#Post#: 231--------------------------------------------------
Re: Tutorial - Testing MTA maps in SAMP
By: Axcel Date: June 14, 2012, 3:32 am
---------------------------------------------------------
didn't work for me....my windows is 64 bit
*****************************************************