Home   Help Search Login Register  

Author Topic: Getting rid of map objects  (Read 799 times)

0 Members and 1 Guest are viewing this topic.

HotShotAce

  • Guest
Getting rid of map objects
« on: 25 Dec 2004, 16:09:49 »
When I Click "Show IDs" on the map editor it shows me the ids of all the objects. I want to get rid of one of them but I forgot the code for it. Thnx in advance.  

By the way I already searched the forums ;)
« Last Edit: 25 Dec 2004, 16:11:45 by HotShotAce »

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Getting rid of map objects
« Reply #1 on: 25 Dec 2004, 16:13:16 »
The only way I know of to remove an object from an island is to delete it from the .wrp file in an island editor.

To the best of my knowledge there is no other way.


Planck
I know a little about a lot, and a lot about a little.

HotShotAce

  • Guest
Re:Getting rid of map objects
« Reply #2 on: 25 Dec 2004, 16:45:54 »
I've done it before, its got something to do with writin the ID in an init field or something. I just need to remember how...

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Getting rid of map objects
« Reply #3 on: 25 Dec 2004, 16:56:34 »
I think it used to be possible, but BIS disabled it in one of their updates to prevent cheating in MP.



Planck
I know a little about a lot, and a lot about a little.

HotShotAce

  • Guest
Re:Getting rid of map objects
« Reply #4 on: 25 Dec 2004, 16:59:00 »
Oh well, thnx anyway

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Getting rid of map objects
« Reply #5 on: 25 Dec 2004, 17:03:56 »
You could always try something like:

deletevehicle (object XXXX)

or

(object XXXX) setpos [0,0,0]

XXX being the object ID

But I think you will find that it won't work.


Planck
I know a little about a lot, and a lot about a little.

HotShotAce

  • Guest
Re:Getting rid of map objects
« Reply #6 on: 25 Dec 2004, 17:08:25 »
ok thanks, i'll try that.

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Getting rid of map objects
« Reply #7 on: 26 Dec 2004, 02:30:26 »
you can "kill" objects, with setdammage

Offline TonyRanger

  • Members
  • *
  • I'm a llama!
Re:Getting rid of map objects
« Reply #8 on: 26 Dec 2004, 08:51:11 »
You could always try something like:

deletevehicle (object XXXX)

or

(object XXXX) setpos [0,0,0]

XXX being the object ID

But I think you will find that it won't work.


Planck  

dawn,these only worked under 1.75-
if you are 1.91+ you can't do this
 
 

DBR_ONIX

  • Guest
Re:Getting rid of map objects
« Reply #9 on: 26 Dec 2004, 13:34:56 »
Setdammange is the only thing I could find that worked  :-\
Tried deletevehicle, setpos etc
- Ben

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Getting rid of map objects
« Reply #10 on: 26 Dec 2004, 15:02:22 »
Quote
Planck

dawn,these only worked under 1.75-
if you are 1.91+ you can't do this

I realise this TonyRanger, that is more or less what I said previous to my last post.   ;)


Planck
I know a little about a lot, and a lot about a little.

Offline Tyger

  • Former Staff
  • ****
  • I was at OFPEC when it still had dirt floors...
    • OFPEC
Re:Getting rid of map objects
« Reply #11 on: 26 Dec 2004, 20:36:50 »
if only there was a vaporizeobject objectnumber :P
"People sleep soundly at night only because rough men stand ready to do violence on their behalf." - George Orwell

MSG Mike Everret - We Will Never Forget - '75-'08