Converting a Race MTA map to SAMP
#1

Hello
When i try converting my map in Delux GTA Map converter it says
Quote:

Error: Not supported format / Malformed Map file
The format you tried to convert is not supported or malformed.

Try the following:
If you tried to convert a MTA .map file, please check if the root <map> element has a correctly specified mod attribute.
Supported are the values "deathmatch" for MTAM and "race" for MTA:Race.
Correct would be for example <map mod="race">.

My Map is
Quote:

<map edf:definitions="race,editor_main">
<object id="object (cuntyeland04) (1)" doublesided="false" model="12814" interior="0" dimension="0" posX="3305.3999023438" posY="-2148.1000976563" posZ="3.2999999523163" rotX="0" rotY="0" rotZ="143.99996948242"></object>
<object id="object (vgsSairportland06) (1)" doublesided="false" model="8171" interior="0" dimension="0" posX="3366.8999023438" posY="-2194.1999511719" posZ="2.7999999523163" rotX="0" rotY="0" rotZ="54"></object>
<object id="object (vgsSairportland06) (2)" doublesided="false" model="8171" interior="0" dimension="0" posX="3477.3999023438" posY="-2274.6000976563" posZ="2.7999999523163" rotX="0" rotY="0" rotZ="53.997802734375"></object>
<object id="object (vgsSairportland06) (3)" doublesided="false" model="8171" interior="0" dimension="0" posX="3582.8999023438" posY="-2351.1999511719" posZ="2.7999999523163" rotX="0" rotY="0" rotZ="53.997802734375"></object>
<object id="object (vgsSairportland06) (4)" doublesided="false" model="8171" interior="0" dimension="0" posX="3656.3999023438" posY="-2427.5" posZ="2.7999999523163" rotX="0" rotY="22" rotZ="55.997802734375"></object>
<object id="object (vgsSairportland06) (5)" doublesided="false" model="8171" interior="0" dimension="0" posX="3716.1999511719" posY="-2485.1000976563" posZ="9.1000003814697" rotX="0" rotY="39.99462890625" rotZ="55.997314453125"></object>
<object id="object (vgsSairportland06) (7)" doublesided="false" model="8171" interior="0" dimension="0" posX="3800" posY="-2517.6000976563" posZ="2.7999999523163" rotX="0" rotY="0" rotZ="53.997802734375"></object>
<object id="object (vgsSairportland06) (" doublesided="false" model="8171" interior="0" dimension="0" posX="3899.5" posY="-2575.1999511719" posZ="2.7999999523163" rotX="0" rotY="306" rotZ="53.997802734375"></object>
<racepickup id="racepickup (Hunter) (1)" type="vehiclechange" vehicle="425" respawn="0" posX="3952.1999511719" posY="-2600" posZ="20.200000762939" rotX="0" rotY="0" rotZ="220.13989257813"></racepickup>
<checkpoint id="checkpoint () (1)" type="checkpoint" color="#00F9" size="2.25" posX="3953.6000976563" posY="-2600.1000976563" posZ="20.299999237061" rotX="0" rotY="0" rotZ="0"></checkpoint>
<spawnpoint id="spawnpoint (NRG-500) (1)" vehicle="522" posX="3304.8999023438" posY="-2145.5" posZ="4" rotX="0" rotY="0" rotZ="226"></spawnpoint>
<spawnpoint id="spawnpoint (NRG-500) (2)" vehicle="522" interior="0" posX="3303.8999023438" posY="-2146.8999023438" posZ="4" rotX="0" rotY="0" rotZ="225.99975585938"></spawnpoint>
<spawnpoint id="spawnpoint (NRG-500) (3)" vehicle="522" interior="0" posX="3303" posY="-2148.1000976563" posZ="4" rotX="0" rotY="0" rotZ="225.99975585938"></spawnpoint>
<spawnpoint id="spawnpoint (NRG-500) (4)" vehicle="522" interior="0" posX="3301.6999511719" posY="-2149.8999023438" posZ="4" rotX="0" rotY="0" rotZ="225.99975585938"></spawnpoint>
<spawnpoint id="spawnpoint (NRG-500) (5)" vehicle="522" interior="0" posX="3300.3999023438" posY="-2151.6000976563" posZ="4" rotX="0" rotY="0" rotZ="225.99975585938"></spawnpoint>
<spawnpoint id="spawnpoint (NRG-500) (6)" vehicle="522" interior="0" posX="3299.1999511719" posY="-2153.1999511719" posZ="4" rotX="0" rotY="0" rotZ="225.99975585938"></spawnpoint>
<spawnpoint id="spawnpoint (NRG-500) (7)" vehicle="522" interior="0" posX="3298.1999511719" posY="-2154.6000976563" posZ="4" rotX="0" rotY="0" rotZ="225.99975585938"></spawnpoint>
<spawnpoint id="spawnpoint (NRG-500) (" vehicle="522" interior="0" posX="3296.8999023438" posY="-2156.3999023438" posZ="4" rotX="0" rotY="0" rotZ="225.99975585938"></spawnpoint>
<spawnpoint id="spawnpoint (NRG-500) (9)" vehicle="522" interior="0" posX="3295.6999511719" posY="-2158" posZ="4" rotX="0" rotY="0" rotZ="225.99975585938"></spawnpoint>
<spawnpoint id="spawnpoint (NRG-500) (10)" vehicle="522" interior="0" posX="3294.3999023438" posY="-2159.8000488281" posZ="4" rotX="0" rotY="0" rotZ="225.99975585938"></spawnpoint>
<spawnpoint id="spawnpoint (NRG-500) (11)" vehicle="522" interior="0" posX="3292.8999023438" posY="-2161.8000488281" posZ="4" rotX="0" rotY="0" rotZ="225.99975585938"></spawnpoint>
<spawnpoint id="spawnpoint (NRG-500) (12)" vehicle="522" interior="0" posX="3291.6000976563" posY="-2163.6000976563" posZ="4" rotX="0" rotY="0" rotZ="225.99975585938"></spawnpoint>
<spawnpoint id="spawnpoint (NRG-500) (13)" vehicle="522" interior="0" posX="3290.6000976563" posY="-2165" posZ="4" rotX="0" rotY="0" rotZ="225.99975585938"></spawnpoint>
<spawnpoint id="spawnpoint (NRG-500) (14)" vehicle="522" interior="0" posX="3287.3999023438" posY="-2161.3999023438" posZ="4" rotX="0" rotY="0" rotZ="225.99975585938"></spawnpoint>
<spawnpoint id="spawnpoint (NRG-500) (15)" vehicle="522" interior="0" posX="3289.3000488281" posY="-2158.8000488281" posZ="4" rotX="0" rotY="0" rotZ="225.99975585938"></spawnpoint>
<spawnpoint id="spawnpoint (NRG-500) (16)" vehicle="522" interior="0" posX="3291.5" posY="-2155.8000488281" posZ="4" rotX="0" rotY="0" rotZ="225.99975585938"></spawnpoint>
<spawnpoint id="spawnpoint (NRG-500) (17)" vehicle="522" interior="0" posX="3293.6999511719" posY="-2152.8000488281" posZ="4" rotX="0" rotY="0" rotZ="225.99975585938"></spawnpoint>
<spawnpoint id="spawnpoint (NRG-500) (1" vehicle="522" interior="0" posX="3296.1999511719" posY="-2149.3999023438" posZ="4" rotX="0" rotY="0" rotZ="225.99975585938"></spawnpoint>
<spawnpoint id="spawnpoint (NRG-500) (19)" vehicle="522" interior="0" posX="3298.3000488281" posY="-2146.6000976563" posZ="4" rotX="0" rotY="0" rotZ="225.99975585938"></spawnpoint>
<spawnpoint id="spawnpoint (NRG-500) (20)" vehicle="522" interior="0" posX="3300.8000488281" posY="-2143.1999511719" posZ="4" rotX="0" rotY="0" rotZ="225.99975585938"></spawnpoint>
<spawnpoint id="spawnpoint (NRG-500) (21)" vehicle="522" interior="0" posX="3302.6999511719" posY="-2140.6000976563" posZ="4" rotX="0" rotY="0" rotZ="225.99975585938"></spawnpoint>
<spawnpoint id="spawnpoint (NRG-500) (22)" vehicle="522" interior="0" posX="3304.5" posY="-2138.1999511719" posZ="4" rotX="0" rotY="0" rotZ="225.99975585938"></spawnpoint>
<spawnpoint id="spawnpoint (NRG-500) (23)" vehicle="522" interior="0" posX="3306.3999023438" posY="-2135.6000976563" posZ="4" rotX="0" rotY="0" rotZ="225.99975585938"></spawnpoint>
<spawnpoint id="spawnpoint (NRG-500) (24)" vehicle="522" interior="0" posX="3308.5" posY="-2132.8000488281" posZ="4" rotX="0" rotY="0" rotZ="225.99975585938"></spawnpoint>
<spawnpoint id="spawnpoint (NRG-500) (25)" vehicle="522" interior="0" posX="3310.6000976563" posY="-2130" posZ="4" rotX="0" rotY="0" rotZ="225.99975585938"></spawnpoint>
<spawnpoint id="spawnpoint (NRG-500) (26)" vehicle="522" interior="0" posX="3312.5" posY="-2127.3999023438" posZ="4" rotX="0" rotY="0" rotZ="225.99975585938"></spawnpoint>
<spawnpoint id="spawnpoint (NRG-500) (27)" vehicle="522" interior="0" posX="3317.6000976563" posY="-2129" posZ="4" rotX="0" rotY="0" rotZ="225.99975585938"></spawnpoint>
<spawnpoint id="spawnpoint (NRG-500) (2" vehicle="522" interior="0" posX="3314.8999023438" posY="-2132.6000976563" posZ="4" rotX="0" rotY="0" rotZ="225.99975585938"></spawnpoint>
<spawnpoint id="spawnpoint (NRG-500) (29)" vehicle="522" interior="0" posX="3311" posY="-2137.8000488281" posZ="4" rotX="0" rotY="0" rotZ="225.99975585938"></spawnpoint>
<spawnpoint id="spawnpoint (NRG-500) (30)" vehicle="522" interior="0" posX="3308.3000488281" posY="-2142.6999511719" posZ="4" rotX="0" rotY="0" rotZ="225.99975585938"></spawnpoint>
</map>

I try removing "editor_main" in MTA through the "Defonitions" but it doesnt go on the map file.

So can you guys help me, i really need to convert this map to SAMP.

Thanks!
Reply
#2

You need to convert it from mta object to samp object:
www.convertffs.com
Reply
#3

I have converted it.
Quote:

CreateVehicle(406,0.00000000,0.00000000,0.00000000 ,0.00000000,-1,-1,15); //Dumper
CreateVehicle(406,0.00000000,0.00000000,0.00000000 ,0.00000000,-1,-1,15); //Dumper
CreateVehicle(406,0.00000000,0.00000000,0.00000000 ,0.00000000,-1,-1,15); //Dumper
CreateVehicle(406,0.00000000,0.00000000,0.00000000 ,0.00000000,-1,-1,15); //Dumper
CreateVehicle(406,0.00000000,0.00000000,0.00000000 ,0.00000000,-1,-1,15); //Dumper
CreateVehicle(406,0.00000000,0.00000000,0.00000000 ,0.00000000,-1,-1,15); //Dumper
CreateVehicle(406,0.00000000,0.00000000,0.00000000 ,0.00000000,-1,-1,15); //Dumper
CreateVehicle(406,0.00000000,0.00000000,0.00000000 ,0.00000000,-1,-1,15); //Dumper
CreateVehicle(406,0.00000000,0.00000000,0.00000000 ,0.00000000,-1,-1,15); //Dumper
CreateVehicle(406,0.00000000,0.00000000,0.00000000 ,0.00000000,-1,-1,15); //Dumper
CreateVehicle(406,0.00000000,0.00000000,0.00000000 ,0.00000000,-1,-1,15); //Dumper
CreateVehicle(406,0.00000000,0.00000000,0.00000000 ,0.00000000,-1,-1,15); //Dumper
CreateVehicle(406,0.00000000,0.00000000,0.00000000 ,0.00000000,-1,-1,15); //Dumper
CreateVehicle(406,0.00000000,0.00000000,0.00000000 ,0.00000000,-1,-1,15); //Dumper
CreateVehicle(406,0.00000000,0.00000000,0.00000000 ,0.00000000,-1,-1,15); //Dumper
CreateVehicle(406,0.00000000,0.00000000,0.00000000 ,0.00000000,-1,-1,15); //Dumper
CreateVehicle(406,0.00000000,0.00000000,0.00000000 ,0.00000000,-1,-1,15); //Dumper
CreateVehicle(406,0.00000000,0.00000000,0.00000000 ,0.00000000,-1,-1,15); //Dumper
CreateVehicle(406,0.00000000,0.00000000,0.00000000 ,0.00000000,-1,-1,15); //Dumper
CreateVehicle(406,0.00000000,0.00000000,0.00000000 ,0.00000000,-1,-1,15); //Dumper
CreateVehicle(406,0.00000000,0.00000000,0.00000000 ,0.00000000,-1,-1,15); //Dumper
CreateVehicle(406,0.00000000,0.00000000,0.00000000 ,0.00000000,-1,-1,15); //Dumper
CreateVehicle(406,0.00000000,0.00000000,0.00000000 ,0.00000000,-1,-1,15); //Dumper
CreateVehicle(406,0.00000000,0.00000000,0.00000000 ,0.00000000,-1,-1,15); //Dumper
CreateVehicle(406,0.00000000,0.00000000,0.00000000 ,0.00000000,-1,-1,15); //Dumper
CreateVehicle(406,0.00000000,0.00000000,0.00000000 ,0.00000000,-1,-1,15); //Dumper
CreateVehicle(406,0.00000000,0.00000000,0.00000000 ,0.00000000,-1,-1,15); //Dumper
CreateVehicle(406,0.00000000,0.00000000,0.00000000 ,0.00000000,-1,-1,15); //Dumper
CreateVehicle(406,0.00000000,0.00000000,0.00000000 ,0.00000000,-1,-1,15); //Dumper
CreateVehicle(406,0.00000000,0.00000000,0.00000000 ,0.00000000,-1,-1,15); //Dumper
CreateObject(1337,0.00000000,0.00000000,0.00000000 ,0.00000000,0.00000000,0.00000000); //
CreateObject(1337,0.00000000,0.00000000,0.00000000 ,0.00000000,0.00000000,0.00000000); //
CreateObject(1337,0.00000000,0.00000000,0.00000000 ,0.00000000,0.00000000,0.00000000); //
CreateObject(1337,0.00000000,0.00000000,0.00000000 ,0.00000000,0.00000000,0.00000000); //
CreateObject(1337,0.00000000,0.00000000,0.00000000 ,0.00000000,0.00000000,0.00000000); //
CreateObject(1337,0.00000000,0.00000000,0.00000000 ,0.00000000,0.00000000,0.00000000); //
CreateObject(1337,0.00000000,0.00000000,0.00000000 ,0.00000000,0.00000000,0.00000000); //
CreateObject(1337,0.00000000,0.00000000,0.00000000 ,0.00000000,0.00000000,0.00000000); //

But then its not a race and it doesnt have spawns. Converting an MTA:Race to samp should have spawns..
Reply
#4

You need to code your own race script or use someone else his race script.
Sa-mp doesnt support mta spawnpoints and checkpoints so copy the coords and make by yourself
Reply
#5

Try this:
pawn Код:
CreateObject(12814,3305.39990234,-2148.10009766,3.29999995,0.00000000,0.00000000,143.99996948); //object(cuntyeland04) (1)
CreateObject(8171,3366.89990234,-2194.19995117,2.79999995,0.00000000,0.00000000,54.00000000); //object(vgssairportland06) (1)
CreateObject(8171,3477.39990234,-2274.60009766,2.79999995,0.00000000,0.00000000,53.99780273); //object(vgssairportland06) (2)
CreateObject(8171,3582.89990234,-2351.19995117,2.79999995,0.00000000,0.00000000,53.99780273); //object(vgssairportland06) (3)
CreateObject(8171,3656.39990234,-2427.50000000,2.79999995,0.00000000,22.00000000,55.99780273); //object(vgssairportland06) (4)
CreateObject(8171,3716.19995117,-2485.10009766,9.10000038,0.00000000,39.99462891,55.99731445); //object(vgssairportland06) (5)
CreateObject(8171,3800.00000000,-2517.60009766,2.79999995,0.00000000,0.00000000,53.99780273); //object(vgssairportland06) (7)
CreateObject(8171,3899.50000000,-2575.19995117,2.79999995,0.00000000,306.00000000,53.99780273); //object(vgssairportland06) (

/*
Objects converted: 8
Vehicles converted: 0
Vehicle models found: 0
----------------------
In the time this conversion took to finish a hummingbird could have flapped it's wings 7.16 times!
*/
I converted it again using convertffs if you still have problem I will try it using other method.
Reply
#6

Tehe im not having a problem with the map conversion. I must have had the wrong idea. I wanted to convert the MTA Race map into samp so it would work just the same as it does in MTA but i cant do that:/ Does anyone know where i can get a race script? Would help alot ty
Reply
#7

LOL! now I got what you want to say! In your language, "The checkpoints don't work same as in other servers". LOL! LMFAO! You must script all the the things for it.
Reply
#8

Quote:
Originally Posted by KingyKings
Посмотреть сообщение
Tehe im not having a problem with the map conversion. I must have had the wrong idea. I wanted to convert the MTA Race map into samp so it would work just the same as it does in MTA but i cant do that:/ Does anyone know where i can get a race script? Would help alot ty
try using this for a race script its really nice, but its a little glitchy. lol but if you have any problems with it PM me ill show you how to fix them.

samp forum thread : https://sampforum.blast.hk/showthread.php?tid=143764
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)