[Map] Project >f**k LS, it's ugly<
#1

Hello guys! I've started a new project as I obviously have nothing better do no on my free time

Anyways, this is the thread for my project / showcase of "F**K LS, it's ugly". This is a series of different maps which changes the areas of Los Santos. As usual - I only do one map per code linked below, since some people might only want one of the maps and not the entire shit. My maps during the project will be posted in this thread, and these maps are free for anyone to use as you wish. Wouldn't mind a little credit here and there though. Hope you guys enjoy! (I know some of these maps might have some errors or such, but remember - I do this on my free time for free - so I don't put in 100% effort).

http://i.imgur.com/E5RFOrG.jpg
Код:
RemoveBuildingForPlayer(playerid, 5535, 1918.8516, -1776.3281, 16.9766, 0.25);
RemoveBuildingForPlayer(playerid, 5536, 1866.3281, -1789.7813, 20.9453, 0.25);
RemoveBuildingForPlayer(playerid, 1524, 1910.1641, -1779.6641, 18.7500, 0.25);
RemoveBuildingForPlayer(playerid, 1308, 1831.4688, -1798.2031, 12.7031, 0.25);
RemoveBuildingForPlayer(playerid, 1308, 1867.7188, -1798.2031, 12.7031, 0.25);
RemoveBuildingForPlayer(playerid, 1308, 1904.0703, -1797.5313, 12.7031, 0.25);
RemoveBuildingForPlayer(playerid, 1412, 1917.3203, -1797.4219, 13.8125, 0.25);
RemoveBuildingForPlayer(playerid, 1412, 1912.0547, -1797.4219, 13.8125, 0.25);
RemoveBuildingForPlayer(playerid, 1412, 1906.7734, -1797.4219, 13.8125, 0.25);
RemoveBuildingForPlayer(playerid, 1412, 1927.8516, -1797.4219, 13.8125, 0.25);
RemoveBuildingForPlayer(playerid, 1412, 1922.5859, -1797.4219, 13.8125, 0.25);
RemoveBuildingForPlayer(playerid, 1412, 1938.3906, -1797.4219, 13.8125, 0.25);
RemoveBuildingForPlayer(playerid, 1412, 1933.1250, -1797.4219, 13.8125, 0.25);
RemoveBuildingForPlayer(playerid, 5397, 1866.3281, -1789.7813, 20.9453, 0.25);
RemoveBuildingForPlayer(playerid, 5681, 1921.4844, -1778.9141, 18.5781, 0.25);
RemoveBuildingForPlayer(playerid, 5409, 1918.8516, -1776.3281, 16.9766, 0.25);
RemoveBuildingForPlayer(playerid, 1676, 1941.6563, -1778.4531, 14.1406, 0.25);
RemoveBuildingForPlayer(playerid, 1676, 1941.6563, -1774.3125, 14.1406, 0.25);
RemoveBuildingForPlayer(playerid, 955, 1928.7344, -1772.4453, 12.9453, 0.25);
RemoveBuildingForPlayer(playerid, 1676, 1941.6563, -1771.3438, 14.1406, 0.25);
RemoveBuildingForPlayer(playerid, 1676, 1941.6563, -1767.2891, 14.1406, 0.25);
RemoveBuildingForPlayer(playerid, 1308, 1951.6172, -1824.0234, 12.7031, 0.25);
RemoveBuildingForPlayer(playerid, 1412, 1951.6094, -1821.1250, 13.8125, 0.25);
RemoveBuildingForPlayer(playerid, 1412, 1951.6094, -1815.8594, 13.8125, 0.25);
RemoveBuildingForPlayer(playerid, 1412, 1951.6094, -1810.5938, 13.8125, 0.25);
RemoveBuildingForPlayer(playerid, 1412, 1951.6094, -1805.3281, 13.8125, 0.25);
RemoveBuildingForPlayer(playerid, 1308, 1949.8750, -1798.2031, 12.7031, 0.25);
RemoveBuildingForPlayer(playerid, 1412, 1948.9844, -1797.4219, 13.8125, 0.25);
RemoveBuildingForPlayer(playerid, 1412, 1943.6875, -1797.4219, 13.8125, 0.25);
RemoveBuildingForPlayer(playerid, 1412, 1951.6094, -1800.0625, 13.8125, 0.25);
RemoveBuildingForPlayer(playerid, 1308, 1971.4453, -1772.1484, 12.7031, 0.25);
RemoveBuildingForPlayer(playerid, 1308, 1978.8594, -1742.5703, 12.7031, 0.25);
RemoveBuildingForPlayer(playerid, 1308, 2011.7734, -1734.3438, 12.7031, 0.25);
CreateObject(16781, 1922.94678, -1803.50134, 12.56800,   0.00000, 0.00000, 180.00000);
CreateObject(11469, 1945.17761, -1809.31433, 12.56640,   0.00000, 0.00000, 0.00000);
CreateObject(11470, 1945.71570, -1808.23401, 20.24300,   0.00000, 0.00000, 0.00000);
CreateObject(7971, 1875.57935, -1777.29236, 17.32970,   0.00000, 0.00000, 90.00000);
CreateObject(8661, 1883.82581, -1772.29773, 12.55120,   0.00000, 0.00000, 0.00000);
CreateObject(8661, 1883.84216, -1792.24658, 12.54950,   0.00000, 0.00000, 0.00000);
CreateObject(8661, -1413.29614, 5527.37939, -5655.01904,   0.00000, 0.00000, 0.00000);
CreateObject(8661, 1883.92163, -1803.65820, 12.54700,   0.00000, 0.00000, 346.34201);
CreateObject(8661, 1853.05432, -1796.15234, 12.55120,   0.00000, 0.00000, 346.34201);
CreateObject(8661, 1851.56580, -1772.29773, 12.54950,   0.00000, 0.00000, 0.00000);
CreateObject(8661, 1854.07813, -1782.60400, 12.54950,   0.00000, 0.00000, 90.00000);
CreateObject(1412, 1900.96643, -1815.39307, 13.82220,   0.00000, 0.00000, 270.00000);
CreateObject(1412, 1900.96643, -1810.11877, 13.82220,   0.00000, 0.00000, 270.00000);
CreateObject(1412, 1900.96643, -1804.84778, 13.82220,   0.00000, 0.00000, 270.00000);
CreateObject(1412, 1903.61536, -1802.16992, 13.82220,   0.00000, 0.00000, 180.00000);
CreateObject(1412, 1908.90015, -1802.16992, 13.82220,   0.00000, 0.00000, 180.00000);
CreateObject(9303, 1922.98071, -1771.88623, 17.93370,   0.00000, 0.00000, 90.00000);
CreateObject(9824, 1951.28271, -1769.88818, 15.49790,   0.00000, 0.00000, 0.00000);
CreateObject(19377, 1948.20276, -1766.22644, 11.32830,   0.00000, 0.00000, 0.00000);
CreateObject(19377, 1948.19995, -1773.53943, 11.32830,   0.00000, 0.00000, 0.00000);
CreateObject(1412, 1936.10339, -1802.16992, 13.82220,   0.00000, 0.00000, 180.00000);
CreateObject(1412, 1941.38013, -1802.16992, 13.82220,   0.00000, 0.00000, 180.00000);
CreateObject(1412, 1914.17383, -1802.16992, 13.82220,   0.00000, 0.00000, 180.00000);
CreateObject(1412, 1949.97510, -1824.82422, 13.82220,   0.00000, 0.00000, 270.00000);
CreateObject(1412, 1949.97510, -1819.55115, 13.82220,   0.00000, 0.00000, 270.00000);
CreateObject(1412, 1947.46594, -1826.84473, 13.82220,   0.00000, 0.00000, 167.28001);
CreateObject(1412, 1942.32068, -1825.68115, 13.82220,   0.00000, 0.00000, 167.28000);
CreateObject(1412, 1937.21838, -1824.48486, 13.82220,   0.00000, 0.00000, 166.36386);
CreateObject(1412, 1932.09656, -1823.23926, 13.82220,   0.00000, 0.00000, 166.36391);
CreateObject(1412, 1926.94043, -1822.17175, 13.82220,   0.00000, 0.00000, 170.49190);
CreateObject(1412, 1921.75757, -1821.31104, 13.82220,   0.00000, 0.00000, 170.49190);
CreateObject(1412, 1916.55408, -1820.43726, 13.82220,   0.00000, 0.00000, 170.49190);
CreateObject(1412, 1911.35242, -1819.56470, 13.82220,   0.00000, 0.00000, 170.49190);
CreateObject(1412, 1906.14868, -1818.69324, 13.82220,   0.00000, 0.00000, 170.49190);
CreateObject(3035, 1902.32349, -1817.67041, 13.13390,   0.00000, 0.00000, 172.01286);
Reply
#2

So I guess you will post next map on this thread ? because it won't be that nice to search for a specific map on the forum if all your threads start with the same name :v


looks nice and simple tho.
Reply
#3

If you are going to make a series of maps I suggest you combine all possible RemoveBuildingForPlayer() for instance.

Код:
RemoveBuildingForPlayer(playerid, 1412, 1951.6094, -1821.1250, 13.8125, 0.25);
RemoveBuildingForPlayer(playerid, 1412, 1951.6094, -1815.8594, 13.8125, 0.25);
RemoveBuildingForPlayer(playerid, 1412, 1951.6094, -1810.5938, 13.8125, 0.25);
RemoveBuildingForPlayer(playerid, 1412, 1951.6094, -1805.3281, 13.8125, 0.25);
This is a waste of code and could be re-written into one line of code by finding the centre and increasing the range.
Reply
#4

Quote:
Originally Posted by Kaperstone
Посмотреть сообщение
So I guess you will post next map on this thread ? because it won't be that nice to search for a specific map on the forum if all your threads start with the same name :v


looks nice and simple tho.
Yeah, I'll post all maps on this thread. Thanks for the reply mate



Quote:
Originally Posted by Pottus
Посмотреть сообщение
If you are going to make a series of maps I suggest you combine all possible RemoveBuildingForPlayer() for instance.

Код:
RemoveBuildingForPlayer(playerid, 1412, 1951.6094, -1821.1250, 13.8125, 0.25);
RemoveBuildingForPlayer(playerid, 1412, 1951.6094, -1815.8594, 13.8125, 0.25);
RemoveBuildingForPlayer(playerid, 1412, 1951.6094, -1810.5938, 13.8125, 0.25);
RemoveBuildingForPlayer(playerid, 1412, 1951.6094, -1805.3281, 13.8125, 0.25);
This is a waste of code and could be re-written into one line of code by finding the centre and increasing the range.
Hmh, didn't really think that through. Thanks for the reply though. I might just do one each and then a compilation of all together. I'll have to think that through a bit more
Reply
#5

Here are the steps.
1.) Get the group centre and radius of group centre of removebuilding positions
2.) Check to see if any models of the same id are in range of radius of the group centre
3.) Check to see if there is an object in the list of removebuildings that is in range of 0.25
4.) If there is this is a removebuilding in range skip to step 3 otherwise step 5
5.) Return 0; (Not possible) repeat process with edited list

Just a couple more things typically the best release format is CreateDynamicObject() lets face it if you don't use the streamer plugin yet you are living in the dark ages.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)