Map Making Tutorial II
#31
(09-19-2017, 03:38 PM)Johnny Wrote: Maybe someone else will generate your maps, I won't do it anymore. Your map is quite boring, I just felt like helping you with your first one.

I can something did not understand,the map has been uploaded to the server or not,I can't find it in the list,or you need to upload, if so then you can short instructions
"Good job" admins.
protection of violators 10 \ 10
Reply
#32
it seems to me that I'm not in the topic post ..
and a bit on the map, I initially wanted to do it purely for Moto bike. but the roads were not narrow enough, a round of mini arena,it's spawn,of course you can make one for cars, but for them these lines are too narrow, this still of the opinion that it is better to do the first card for the only moto in which the parameter must be move ON

CreateObject(9043, 3320.54, 936.42, 37.55, 0.00, 0.00, 0.00);
CreateObject(9043, 3176.44, 810.41, 37.55, 0.00, 0.00, 0.00);
CreateObject(9043, 3320.54, 810.50, 37.55, 0.00, 0.00, 0.00);
CreateObject(9043, 3176.38, 936.38, 37.55, 0.00, 0.00, 0.00);
CreateObject(9043, 3257.29, 872.16, 37.55, 0.00, 0.00, 0.00);
CreateObject(13646, 3165.40, 789.98, 38.55, 0.00, 0.00, 0.00);
CreateObject(13646, 3349.19, 789.86, 38.55, 0.00, 0.00, 1.93);
CreateObject(13646, 3349.60, 953.90, 38.55, 0.00, 0.00, 6.97);
CreateObject(13646, 3165.56, 954.54, 38.55, 0.00, 0.00, 16.07);
CreateObject(13646, 3084.06, 1018.54, 38.55, 0.00, 0.00, 21.21);
CreateObject(13646, 3084.21, 728.32, 38.55, 0.00, 0.00, 18.75);
CreateObject(13646, 3412.48, 728.35, 38.55, 0.00, 0.00, 21.81);
CreateObject(13646, 3412.51, 1018.80, 38.55, 0.00, 0.00, 21.61);
CreateObject(13646, 3268.98, 893.40, 38.55, 0.00, 0.00, 21.61);
CreateObject(13646, 3269.16, 853.64, 38.55, 0.00, 0.00, 28.15);
CreateObject(13646, 3227.70, 853.51, 38.55, 0.00, 0.00, 28.15);
CreateObject(13646, 3227.68, 893.35, 38.55, 0.00, 0.00, 28.15);
CreateObject(13646, 3231.22, 1019.28, 38.55, 0.00, 0.00, 18.28);
CreateObject(13646, 3265.10, 1019.28, 38.55, 0.00, 0.00, 18.28);
CreateObject(13646, 3413.34, 889.63, 38.55, 0.00, 0.00, 28.04);
CreateObject(13646, 3413.34, 857.37, 38.55, 0.00, 0.00, 28.04);
CreateObject(13646, 3265.55, 727.62, 38.55, 0.00, 0.00, 21.09);
CreateObject(13646, 3231.53, 727.60, 38.55, 0.00, 0.00, 21.09);
CreateObject(13646, 3083.45, 857.14, 38.55, 0.00, 0.00, 26.90);
CreateObject(13646, 3083.73, 889.84, 38.55, 0.00, 0.00, 26.90);
"Good job" admins.
protection of violators 10 \ 10
Reply
#33
(04-13-2016, 10:12 PM)Redirect Left Wrote: The map has been added to the server, and will begin appearing randomly as part of the cycle.


In one of my maps it is required that the water rise, and go down. How can this be done?
"Good job" admins.
protection of violators 10 \ 10
Reply
#34
http://wiki.sa-mp.com/wiki/MoveObject
Reply
#35
(09-23-2017, 08:10 PM)Johnny Wrote: http://wiki.sa-mp.com/wiki/MoveObject

This hard(
"Good job" admins.
protection of violators 10 \ 10
Reply
#36
I've tried submitting this map few years ago, but wasn't able to, so gave up. Don't have the original MTA files anymore, so can't really check on it, but still have the converted objects that I found in the old email when trying to make it work with another admin. https://pastebin.com/FBtXRrRq

If anyone is willing to work with this, feel free to take half the credit and alter/decorate the map if you like (as long as the slides remain as the main point of the map ;P).

Map Name: Let It Slide
Will not work with bikes or tiny cars, not sure about others. It was initially built for Sandkings.
[Image: sig.php?name=Dasher]
Reply
#37
(09-26-2017, 06:04 PM)DeivuxxX Wrote: I've tried submitting this map few years ago, but wasn't able to, so gave up. Don't have the original MTA files anymore, so can't really check on it, but still have the converted objects that I found in the old email when trying to make it work with another admin. https://pastebin.com/FBtXRrRq

If anyone is willing to work with this, feel free to take half the credit and alter/decorate the map if you like (as long as the slides remain as the main point of the map ;P).

Map Name: Let It Slide
Will not work with bikes or tiny cars, not sure about others. It was initially built for Sandkings.

if there were no moving objects in the map and it was simple, then it could be created if it were not for the fact that the meyan's are burning, and yes the vertical lines are not for me anyway for the ride (test for 4x4 cars)
"Good job" admins.
protection of violators 10 \ 10
Reply
#38
Now we can start mapping! Join the server, and type /help. You can use the commands to place and move objects. The best tool for finding object IDs in this map editor, once installed you simply click an object and it gives you the ID. You can also use object catalogues and the SA:MP wiki to find object ids.


I m stuck at this very point,clues please
[Image: giphy.gif]
Reply
#39
Where exactly are you stucked at? /Help shows all relevant functions. Just give it a try if you don't know what they are doing.
Reply
#40
(09-26-2017, 06:04 PM)DeivuxxX Wrote: I've tried submitting this map few years ago, but wasn't able to, so gave up. Don't have the original MTA files anymore, so can't really check on it, but still have the converted objects that I found in the old email when trying to make it work with another admin. https://pastebin.com/FBtXRrRq

If anyone is willing to work with this, feel free to take half the credit and alter/decorate the map if you like (as long as the slides remain as the main point of the map ;P).

Map Name: Let It Slide
Will not work with bikes or tiny cars, not sure about others. It was initially built for Sandkings.

Done, mapID 656.

Edit: You'll get rewarded with premium, I did it for you.
Reply
#41
Quote:CreateObject(8228, 1097.39, 1293.23, 212.48, 0.00, 0.00, 0.00);
CreateObject(8232, 1097.39, 1293.16, 209.74, 0.00, 0.00, 0.00);
CreateObject(8230, 1166.72, 1354.21, 211.78, 0.00, 0.00, 0.00);
CreateObject(8136, 1038.61, 1263.43, 214.69, 0.00, 0.00, 0.00);
CreateObject(8557, 1172.10, 1183.92, 217.92, 0.00, 0.00, 90.00);
CreateObject(8557, 1167.42, 1183.91, 217.92, 0.00, 0.00, 90.00);
CreateObject(1632, 1169.24, 1228.13, 211.00, 0.00, 0.00, 180.00);
CreateObject(8557, 1144.70, 1166.27, 217.92, 0.00, 0.00, 0.00);
CreateObject(8557, 1144.70, 1170.73, 217.92, 0.00, 0.00, 0.00);
CreateObject(8557, 1129.98, 1170.78, 217.92, 0.00, 0.00, 0.00);
CreateObject(8557, 1105.19, 1250.45, 210.75, 0.00, 25.00, 0.00);
CreateObject(8557, 1129.98, 1166.26, 217.92, 0.00, 0.00, 0.00);
CreateObject(8010, 1136.84, 1372.96, 209.73, 0.00, 0.00, 90.00);
CreateObject(8231, 1166.64, 1354.20, 211.49, 0.00, 0.00, 0.00);
CreateObject(5182, 1219.93, 1415.52, 212.84, 0.00, 0.00, -90.00);
CreateObject(5168, 1255.12, 1386.90, 215.89, 0.00, 0.00, 180.00);
CreateObject(6400, 1237.03, 1408.18, 210.71, 0.00, 0.00, 0.00);
CreateObject(6400, 1237.06, 1403.74, 210.71, 0.00, 0.00, 0.00);
CreateObject(6400, 1225.29, 1396.56, 210.71, 0.00, 0.00, 90.00);
CreateObject(6400, 1229.76, 1396.60, 210.71, 0.00, 0.00, 90.00);
CreateObject(6400, 1234.19, 1396.64, 210.71, 0.00, 0.00, 90.00);
CreateObject(6400, 1236.35, 1394.42, 210.71, 0.00, 0.00, 358.99);
CreateObject(6400, 1238.52, 1380.02, 210.71, 0.00, 0.00, 88.13);
CreateObject(6400, 1242.34, 1380.04, 210.71, 0.00, 0.00, 88.13);
CreateObject(6400, 1236.99, 1408.90, 210.71, 0.00, 0.00, 0.00);
CreateObject(10828, 1254.84, 1411.98, 217.31, 0.00, 0.00, 0.00);
CreateObject(11153, 1280.83, 1508.36, 212.95, 0.00, 0.00, -180.00);
CreateObject(8557, 1255.99, 1427.65, 208.37, 0.00, 0.00, 0.00);
CreateObject(8557, 1255.98, 1422.72, 208.37, 0.00, 0.00, 0.00);
CreateObject(8557, 1262.60, 1427.60, 208.37, 0.00, 0.00, 0.00);
CreateObject(7493, 1273.22, 1569.97, 213.40, 0.00, 0.00, 0.00);
CreateObject(8557, 1262.62, 1422.65, 208.37, 0.00, 0.00, 0.00);
CreateObject(8557, 1242.91, 1503.21, 210.37, 0.00, -20.00, 90.00);
CreateObject(8557, 1250.34, 1503.16, 210.38, 0.00, -20.00, 90.00);
CreateObject(1632, 1257.99, 1486.57, 219.75, 0.00, 0.00, 180.00);
CreateObject(7195, 1270.88, 1505.25, 218.35, 0.00, 90.00, 0.00);
CreateObject(7195, 1266.95, 1505.26, 218.35, 0.00, 90.00, 0.00);
CreateObject(7195, 1263.01, 1505.23, 218.35, 0.00, 90.00, 0.00);
CreateObject(7195, 1259.05, 1505.19, 218.35, 0.00, 90.00, 0.00);
CreateObject(7195, 1255.37, 1505.28, 218.35, 0.00, 90.00, 0.00);
CreateObject(13607, 1000.70, 1553.71, 213.31, 0.00, 0.00, 0.00);
CreateObject(8010, 1047.69, 1457.77, 209.75, 0.00, -0.22, 0.00);
CreateObject(13607, 1091.96, 1562.34, 213.31, 0.00, 0.00, 0.00);
I'll leave it here, since I can not develop a good map from this, if someone has enough imagination and the ability to make something good out of it, you can finish it
the name was originally "Parking Trinity"
"Good job" admins.
protection of violators 10 \ 10
Reply
#42
On the map of ParKING 3 I would like to create processing zones, for example, on the map of "repair mania", which would be interesting for people to roll over the floors, I want this random occurrence on the occasionally floor
"Good job" admins.
protection of violators 10 \ 10
Reply
#43
It's easy to make a zone that triggers a special effect. You just need to get the co-ordinates to identify the area to trigger.
Below is the source code for the Gas Mania map, the function of relevance is the RZone function, but that map also demonstrates how to award achievements and add extra missions.
https://pastebin.com/FSQXQDGr
[Image: sEUTTDLR.png]
[17:42:17] <@SugarMommy> *aaah daddy~ .. spank me.. HArd~*
Reply
#44
(10-18-2017, 02:29 AM)Redirect Left Wrote: It's easy to make a zone that triggers a special effect. You just need to get the co-ordinates to identify the area to trigger.
Below is the source code for the Gas Mania map, the function of relevance is the RZone function, but that map also demonstrates how to award achievements and add extra missions.
https://pastebin.com/FSQXQDGr
I put a lot of effort into trying to figure this out, but nothing happened, I'm confused with caviar machines and that it's Gtank
I will not even understand the simple code for raising / lowering objects
This is even more difficult
Quote: SetupDynamicSpawns();
// Finished custom settings. Now lets tell Sumo to begin the game, map is finalized.
FinalizeLoading();
SetTimer("RST",5000,1);
SetTimerEx("RZone",1000,1,"d",-1);
return 1;
}

forward RZone(why);
public RZone(why){
new Float:X, Float:Y, Float:Z;
if(why == -1)
{
new string[100];
for(new i = 0; i < SUMOSLOTS; i++)
{
if(IsPlayerInAnyVehicle(i))
{
GetVehiclePos(GetPlayerVehicleID(i),X,Y,Z);
if(X > -2337.2563 && X < -2328.0999 && Y < 2127.3240 && Y > 2111.3308 && Z < 8.0 && RZoneTime[i] > 0){
if(overtime == false){
format(string,sizeof(string),"Car Wash Repair: ~n~~b~%d seconds",RZoneTime[i]);
GameTextForPlayer(i,string,1100,3);
RZoneTime[i]--;
}else{
GameTextForPlayer(i,"Car Wash Repair: ~n~~b~Closed during overtime!",1100,3);
}
}else{ RZoneTime[i] = 20; }
if(RZoneTime[i] == 0){
if(overtime == false)
{
format(string,sizeof(string),"Car Wash Repair: ~n~~b~FULL REPAIR",RZoneTime[i]);
aHistory[i][lkvhealth] = 999.9;
vInfo[aHistory[i][vehID]][wasBurning] = false;
GameTextForPlayer(i,string,1100,3);
RZoneTime[i] = 20;
RepairVehicle(GetPlayerVehicleID(i));
wasrepaired[i] = true;
incrementVRank(playerid,100,"car wash repair");
}else{
GameTextForPlayer(i,"Car Wash Repair: ~n~~b~Closed during overtime!",1100,3);
}
}
}
}
}else{
// It's for achievement, position check only
GetVehiclePos(GetPlayerVehicleID(why),X,Y,Z);
if(X > -2337.2563 && X < -2328.0999 && Y < 2127.3240 && Y > 2111.3308 && Z < 8.0)
return 1;
else return 0;
}
return 1;
}

forward RST();
public RST(){
for(new i = 0; i < 200; i++)
{
if(IsValidObject(i))
{
if(i == GTank1 || i == GTank2 || i == GTank3 || i == GTank4 || i == GTank5 || i == GTank6 || i == GTank7 || i == GTank8){
DestroyObject(i);
}else if(i == GTank9 || i == GTank10 || i == GTank11 || i == GTank12 || i == GTank13 || i == GTank14 || i == GTank15 || i == GTank16 ){
DestroyObject(i);
}else if(i == GTank16 || i == GTank17 || i == GTank18 || i == GTank19 || i == GTank20 || i == GTank21 || i == GTank22 || i == GTank23 || i == GTank24){
DestroyObject(i);
}
}
}
GTank1 = CreateObject(1686,-2293.01,2119.35,6.05,0.00,0.00,180.00);
GTank2 = CreateObject(1686,-2304.01,2119.35,6.05,0.00,0.00,180.00);
GTank3 = CreateObject(1686,-2293.01,2114.35,6.05,0.00,0.00,180.00);
GTank4 = CreateObject(1686,-2293.01,2124.35,6.05,0.00,0.00,180.00);
GTank6 = CreateObject(1686,-2304.01,2114.35,6.05,0.00,0.00,180.00);
GTank7 = CreateObject(1686,-2304.01,2124.35,6.05,0.00,0.00,180.00);
GTank5 = CreateObject(1686,-2305.42,2055.93,6.05,0.00,0.00,270.00);
GTank8 = CreateObject(1686,-2310.42,2055.93,6.05,0.00,0.00,270.00);
GTank9 = CreateObject(1686,-2300.42,2055.93,6.05,0.00,0.00,270.00);
GTank10 = CreateObject(1686,-2305.42,2044.93,6.05,0.00,0.00,270.00);
GTank11 = CreateObject(1686,-2310.42,2044.93,6.05,0.00,0.00,270.00);
GTank12 = CreateObject(1686,-2300.42,2044.93,6.05,0.00,0.00,270.00);
GTank13 = CreateObject(1686,-2223.55,2039.56,5.80,0.00,0.00,180.00);
GTank14 = CreateObject(1686,-2223.55,2034.56,5.80,0.00,0.00,180.00);
GTank15 = CreateObject(1686,-2223.55,2029.56,5.80,0.00,0.00,180.00);
GTank16 = CreateObject(1686,-2234.45,2029.56,5.80,0.00,0.00,180.00);
GTank17 = CreateObject(1686,-2234.45,2034.56,5.80,0.00,0.00,180.00);
GTank18 = CreateObject(1686,-2234.45,2039.56,5.80,0.00,0.00,180.00);
GTank19 = CreateObject(1686,-2222.58,2090.82,5.81,0.00,0.00,270.00);
GTank20 = CreateObject(1686,-2222.58,2101.57,5.81,0.00,0.00,270.00);
GTank21 = CreateObject(1686,-2227.58,2101.57,5.81,0.00,0.00,270.00);
GTank22 = CreateObject(1686,-2217.58,2101.57,5.81,0.00,0.00,270.00);
GTank23 = CreateObject(1686,-2217.58,2090.82,5.81,0.00,0.00,270.00);
GTank24 = CreateObject(1686,-2227.58,2090.82,5.81,0.00,0.00,270.00);
return 1;
}
"Good job" admins.
protection of violators 10 \ 10
Reply
#45
GTank is unrelated to what you are looking for, as I mentioned, only RZone function is relevant to what you want. GTank is recreating the gas pump object each time they're destroyed.
[Image: sEUTTDLR.png]
[17:42:17] <@SugarMommy> *aaah daddy~ .. spank me.. HArd~*
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)