Sign in to follow this  
X.Liyones.X

How to delet world Objects (trees/weapons/etc..)

Recommended Posts

Hello Comunity ,
when i was mapping i found problem , i can't remove world objects like treees and weapons etc... i tried many tmes but it won'( , can someone help me or give me solution please :) thanks!

Share this post


Link to post

Click E and you'll get a more precise selection of objects. If this doesn't help, try removing the mapped object straigth out of the map file found in \resources\map-name. 

If you still have no luck, you may have to create your own code to remove the object. To do so:

Find the object on Prineside that you want to remove, in my case, queens_04_SFS. You can use the Model search by map position feature to pinpoint the desired object's location.
https://dev.prineside.com/en/gtasa_samp_model_id/model/10629-queens_04_SFS/

Then, on the object page click "Fullscreen / position export" and it'll give you the X position, Y position and Z position. You'll simply fill those into a removeWorldObject line (as below).

It's possible you'll have to adjust the radius. I believe it defines the deletion radius, so if you have 10 other trees within 50 meters that you want to keep, you'll want to add a very small value if you only intend on deleting one of the trees. Or a value of 50 if you intend on deleting every tree.
(that one was a mere speculation, no confirmation whether that's how it works or not)

 

    <removeWorldObject id="removeWorldObject (queens_04_SFS) (1)" radius="34.332691" interior="0" model="10629" lodModel="10673" posX="-2574.3516" posY="319.96094" posZ="12.07813" rotX="0" rotY="0" rotZ="0"></removeWorldObject>

 

Oh and if that doesn't work either, it's quite possible that it's an object that's spawned through the "grass effect" setting on MTA video setting. They spawn on natural surfaces like grass, dirt, sand etcetera, all depending on the surface material.

  • Thanks 1

Share this post


Link to post
20 hours ago, Tut said:

Click E and you'll get a more precise selection of objects.

this worked for me , thank you !

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.