How to remove certain objects from a map?
Moderator: Core Staff
How to remove certain objects from a map?
Hey guys, I know there is a way to make a mod that deletes certain objects in any cod4 map. For example, you can remove the strike stature, or the crossfire bus (for example). I was wondering if anyone is willing to share this?
-
- PS3 Team
- Posts: 408
- Joined: January 25th, 2009, 12:56 am
- PSN ID: x0ozero0x
- Location: London
- Contact:
Re: How to remove certain objects from a map?
I'm not sure you can actually is there like a "forge mode" mod? The only ways I can think of are recreating (editing) the map in radiant or if it's for video use then create it in a 3D modelling program or find a way to port the map files into a version that the program can read and remove what you want.
Re: How to remove certain objects from a map?
I am 100% there is a way to take out certain models out. People who know it say its "secret" and will not release a way. :(
-
- Core Staff
- Posts: 13315
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Re: How to remove certain objects from a map?
You cannot remove models from a map without somehow editing the compiled map. If the model is scripted (such as bomb locations) then it can be removed.
the only other method I have seen is rendering the map into a 3D model and deleting things using a 3D editor
edit: http://www.youtube.com/watch?v=tfjVHgroUkM
the only other method I have seen is rendering the map into a 3D model and deleting things using a 3D editor
edit: http://www.youtube.com/watch?v=tfjVHgroUkM

Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
-
- CJ G0D!
- Posts: 1575
- Joined: June 3rd, 2009, 9:02 pm
- Location: Cardiff University, UK
Re: How to remove certain objects from a map?
I have seen a video of a mod on Black Ops (therefore it couldn't be the map edited in anyway) where a person was able to point at objects and move then, however the objects I remember seemed to be destructible cars, not sure if that makes any difference. It definitely looked like a legit mod, if not it was some insane editing or something. If I find a link i'll post it later.
Not sure if it works on CoD4 or not but theres function that does it, credits to slipknot from ItsMods.
Just realised you were wanting to take models out of map, but pretty much can with this by simply moving them. What I found very surprising is that they keep there collision even when moved, and If this does work on CoD4 i'm very surprised it hasn't been heavily used in mods.
Code: Select all
pickup()
 {
   self endon( "disconnect" );
   for( ;; )
   {
     if(self fragButtonPressed())
     {
       trace = bullettrace(self gettagorigin("j_head"),self gettagorigin("j_head")+anglestoforward(self getplayerangles())*1000000,true,self);
       while( self fragbuttonpressed() )
       {
         trace["entity"] setorigin(self gettagorigin("j_head")+anglestoforward(self getplayerangles())*200);
         trace["entity"].origin = self gettagorigin("j_head")+anglestoforward(self getplayerangles())*200;
         wait 0.05;
       }
     }
     wait .05;
   }
 }
Just realised you were wanting to take models out of map, but pretty much can with this by simply moving them. What I found very surprising is that they keep there collision even when moved, and If this does work on CoD4 i'm very surprised it hasn't been heavily used in mods.
-
-
- Core Staff
- Posts: 13315
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Re: How to remove certain objects from a map?
The model is a script object (like an objective bombsite) so it can be easily manipulated by script.

Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
-
- CJ Wannabe
- Posts: 2
- Joined: October 21st, 2012, 5:30 am
Re: How to remove certain objects from a map?
hey guys im a blackops modder and i had this question ask of me the other week "other then script models ofcorce" and the best way's i could think off are as follows
1. get all textures for said models and make them transparent reconvert to iwi.
2. export a transparent model ie "viewmodel_hands_no_model" or make a simple transparent box in maya its not that hard and convert using assman, make a few copys and rename them to the model name you with to replace.
not to hard at all
1. get all textures for said models and make them transparent reconvert to iwi.
2. export a transparent model ie "viewmodel_hands_no_model" or make a simple transparent box in maya its not that hard and convert using assman, make a few copys and rename them to the model name you with to replace.
not to hard at all

-
- CJ G0D!
- Posts: 1575
- Joined: June 3rd, 2009, 9:02 pm
- Location: Cardiff University, UK
Re: How to remove certain objects from a map?
Welcome to the forums, I recognise you from ItsModsrotceh_dnih wrote:hey guys im a blackops modder and i had this question ask of me the other week "other then script models ofcorce" and the best way's i could think off are as follows
1. get all textures for said models and make them transparent reconvert to iwi.
2. export a transparent model ie "viewmodel_hands_no_model" or make a simple transparent box in maya its not that hard and convert using assman, make a few copys and rename them to the model name you with to replace.
not to hard at all

-
-
- CJ Wannabe
- Posts: 2
- Joined: October 21st, 2012, 5:30 am
Re: How to remove certain objects from a map?
xD thanks man happy to be here and i see there's a few fellow aussies here so even better :p, i didn't think about that and your right the colmaps for the models will very likely still be there i bet you could hexedit out them out from the maps ff but man that would suck if you had lots todo , i'll ask some friends if they can think of a way that's not to painful but it might be a lost cause , ohwell my solution will work for demo files witch is why i was asked this question awhile ago . maybe the only way is if someone updates the cod2 bsp decompiler to work for cod4/5 :0
Who is online
Users browsing this forum: Semrush [Bot] and 6 guests