Jump to content

[HELP] How to remove/clone these objects


Rosa

Recommended Posts

  • 5 years later...

i know this thread is old but i found it by searching online, so maybe this will help others that search online.

These objects are indeed mappable objects, but theyre what i like to call irrelevant objects. ones that have no collision, are very hard to work with, and cant really be used with anything; just all- around useless objects. As tails said (hi @Tails ?) try searching for "wire" or "billboard" and "board" for those objects. but if you would like to remove them, you can do one of two things.

The harder of the two would be to edit your .map file to make the problem object into a removeWorldObject manually, but youll need the exact position and object ID for that. the second option would be to make a short script to remove the object forcefully.

This is an example that was found online to remove all the night time building window lights from the server, as they can interfere with custom mapping. im sure this can be edited to include what you need
 

Spoiler

local objtoremove = {9934,9933,9932,9886,6196,6195,6194,6193,6192,5059,5058,5057,4222,4221,4220,4219,4218,4217,
4216,4215,4214,4213,4212,13493,13485,13484,13461,10147,10146,10058,10057,4715,4716,4717,4720,4721,4722,4723,4725,4739,
4740,4741,4742,4743,4744,4745,4746,4747,4748,4749,4750,4751,4752,5661,5662,5665,5990,5991,5992,
7206,7207,7208,7221,7222,7280,7333,9088,9089,9125,9154,9277,9278,9279,9280,9281,9282,9283,9885,
 8502,9159,7233,8981,14628,3437,8371,8370,17957,17956,17955,17954,9129,9128,9127,9126,
9124,9123,9122,9121,8372,7944,7943,7942,7892,7332,7331,7226,7097,14561,14811,7268,9094,9095,11412,11411,11410,11324,14605,
14473,14470,14460,14406,7290,7314,7289,7266,7264,7220,7072,8395,9104,9175,8982,7666,7230,9100,9101,8840,7232}

for _,obj in ipairs (objtoremove) do
removeWorldModel (obj, 10000, 0, 0, 0)
end

 

 

  • Like 1
Link to comment

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...