SA-MP Forums Archive
How to remove that Object ? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to remove that Object ? (/showthread.php?tid=574250)



How to remove that Object ? - GatsbyTrieu - 15.05.2015

I just want to remove all house on Los Santos Vagos Place, but in map editor got only house without door. That Door Automatic spawn in game. I don't know anyway for remove that ! Anyone can help me ?


Re: How to remove that Object ? - Joe Staff - 15.05.2015

Put a big rock on it.


Re: How to remove that Object ? - GatsbyTrieu - 15.05.2015

The object like object built in San Fierro, there are people on sa-mp has deleted it. I think we have one way to remove it completely


Re: How to remove that Object ? - Clergy - 15.05.2015

What map editor do you use? Did you try removing it on an other map editor? Or the doors are meant to be with the ground so you have to delete the ground to remove the door I assume.


Re: How to remove that Object ? - GatsbyTrieu - 15.05.2015

I just try delete the Ground for this but still doesn't work. I think that object auto matic loaded by GTA SA.


Re: How to remove that Object ? - Vince - 15.05.2015

Some objects are created by the mission script when the game loads and cannot be removed by any map editor because they don't exist in the normal map. Interestingly enough, SA-MP did remove some mission related objects, most notably the A96 blast doors.

The doors in question are only opened in one of the final storyline missions, Los Desperados, where some Vagos come running out of the houses. Might be these ones, but I'm not sure:
Код:
$2706 = Object.Create(#AD_FLATDOOR, 1833.36, -1995.45, 12.5)
$2707 = Object.Create(#AD_FLATDOOR, 1819.81, -1994.66, 12.5)
$2708 = Object.Create(#AD_FLATDOOR, 1827.68, -1980.0, 12.5)
$2709 = Object.Create(#AD_FLATDOOR, 1851.84, -1990.67, 12.5)
$2710 = Object.Create(#AD_FLATDOOR, 1867.29, -1984.96, 12.5)
$2711 = Object.Create(#AD_FLATDOOR, 1866.52, -1998.53, 12.5)
$2712 = Object.Create(#AD_FLATDOOR, 1899.75, -1984.95, 12.5)
$2713 = Object.Create(#AD_FLATDOOR, 1914.39, -1992.82, 12.5)
$2714 = Object.Create(#AD_FLATDOOR, 1899.01, -1998.5, 12.5)
$2715 = Object.Create(#AD_FLATDOOR, 1900.89, -2020.11, 12.5)
$2716 = Object.Create(#AD_FLATDOOR, 1914.4, -2020.91, 12.5)
$2717 = Object.Create(#AD_FLATDOOR, 1906.54, -2035.52, 12.5)



Re: How to remove that Object ? - GatsbyTrieu - 15.05.2015

Quote:
Originally Posted by Vince
Посмотреть сообщение
Some objects are created by the mission script when the game loads and cannot be removed by any map editor because they don't exist in the normal map. Interestingly enough, SA-MP did remove some mission related objects, most notably the A96 blast doors.

The doors in question are only opened in one of the final storyline missions, Los Desperados, where some Vagos come running out of the houses. Might be these ones, but I'm not sure:
Код:
$2706 = Object.Create(#AD_FLATDOOR, 1833.36, -1995.45, 12.5)
$2707 = Object.Create(#AD_FLATDOOR, 1819.81, -1994.66, 12.5)
$2708 = Object.Create(#AD_FLATDOOR, 1827.68, -1980.0, 12.5)
$2709 = Object.Create(#AD_FLATDOOR, 1851.84, -1990.67, 12.5)
$2710 = Object.Create(#AD_FLATDOOR, 1867.29, -1984.96, 12.5)
$2711 = Object.Create(#AD_FLATDOOR, 1866.52, -1998.53, 12.5)
$2712 = Object.Create(#AD_FLATDOOR, 1899.75, -1984.95, 12.5)
$2713 = Object.Create(#AD_FLATDOOR, 1914.39, -1992.82, 12.5)
$2714 = Object.Create(#AD_FLATDOOR, 1899.01, -1998.5, 12.5)
$2715 = Object.Create(#AD_FLATDOOR, 1900.89, -2020.11, 12.5)
$2716 = Object.Create(#AD_FLATDOOR, 1914.4, -2020.91, 12.5)
$2717 = Object.Create(#AD_FLATDOOR, 1906.54, -2035.52, 12.5)
I think that what i looking. Thank ya Vince. Anyway how to check the mission object of GTA !


Re: How to remove that Object ? - Tamer - 15.05.2015

Find the model id for it and place the model id for it to removebuildingforplayer at the door's coords, increase the range to check to like 2-3.


Re: How to remove that Object ? - GatsbyTrieu - 15.05.2015

Clean now. Follow the Mission Object i just throw complety that problem


Re: How to remove that Object ? - Vince - 15.05.2015

Quote:
Originally Posted by GatsbyTrieu
Посмотреть сообщение
Anyway how to check the mission object of GTA !
Use SannyBuilder to decompile the main.scm. Then you can read it, although it is very primitive and rather hard to understand. Things to look for are Object.Create and Object.RemoveFromMissionCleanupList.