Removing entities

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
agentmad007
Brigadier General
Posts: 570
Joined: Tue Feb 24, 2004 3:52 pm

Removing entities

Post by agentmad007 »

Hello all ,


The topic title is obvious , i d like to know how to remove entities from a map But without knowing the origins.
I tried decompiling the map in question but strangely , all the entites i want to remove dont figure on the map .

I also copied the .bsp file ( only the worldspawn part) into .txt and finaly it gave me all the entities on the map expet the ones i needed :s

After that i tried :

removeclass
removeent

with server cheats 1 but when i do that it suddenly switch to cheats 0 :s

If someone could help to remove thoses damn static hedgehog plz .

Thx
Deadly and slient.
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Re: Removing entities

Post by Rookie One.pl »

These
agentmad007 wrote:removeclass
removeent
are script, not console commands. You've got to put them in script. Well, to be honest, it's not possible to remove a hedgehog from a map without affecting the whole game. :(
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
fuhrer
Captain
Posts: 253
Joined: Sun Mar 14, 2004 3:36 am

Post by fuhrer »

hedgehogs are just models right? must be able to remove them, fraid i dunno how but nothings impossibel if u can imagine it, unless of course ur a pikie, (cough EA cough pikies cough)
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post by lizardkid »

it's not possible to remove a hedgehog from a map without affecting the whole game.
:?

it just removes the hedgehogs in the level.. oh maybe thats what you meant, i thought ou were talkin about messing up brushes and junk,

removeclass just removes all of that type in the level. removeent i think requires a $targetname and removes just that one, i've never opened the .bsp but i think it should list ents and their targetnames, if not, give them one and remove it.
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

By affecting the whole game I meant replacing the model with a dummy.tik. If you remove the model's class from the level (which is, I think, object), you'll remove 99% if not 100% of the static models from the map.
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
Post Reply