Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 12 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 General

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 4
Category: CoD4 MP Mapping
CoD 4 mapping and level design for multiplayer.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: prefab building problem
diggersid=SA=
General Member
Since: Dec 25, 2009
Posts: 3
Last: Dec 28, 2009
[view latest posts]
Level 0
Category: CoD4 MP Mapping
Posted: Sunday, Dec. 27, 2009 08:44 pm
help im new to cod4 mods an tools im trying to put buildings in my map an cant seem to find any at all in any models folder or any other for that fact
Share |
DeekCiti
General Member
Since: Mar 13, 2008
Posts: 1293
Last: Jul 9, 2016
[view latest posts]
Level 8
Category: CoD4 MP Mapping
Posted: Sunday, Dec. 27, 2009 09:06 pm
I would suggest to not add prefab buildings to your map. I suggest building your own buildings. It makes mapping much more enjoyable, and you learn how things work much faster than using someone else's work.

If you feel you must, then check the local Tutorials on how to add and work with prefabs.
Share |
diggersid=SA=
General Member
Since: Dec 25, 2009
Posts: 3
Last: Dec 28, 2009
[view latest posts]
Level 0
Category: CoD4 MP Mapping
Posted: Sunday, Dec. 27, 2009 09:12 pm
cheers but i had built a map with my own buildings and got it working then realised i forgot ladders for tunnels so a put them in but after that my wouldnt work again it wouldnt even compile after working on it for a month i wiped it and reinstalled mods an tools but will give it another go
Share |
DeekCiti
General Member
Since: Mar 13, 2008
Posts: 1293
Last: Jul 9, 2016
[view latest posts]
Level 8
Category: CoD4 MP Mapping
Posted: Sunday, Dec. 27, 2009 09:29 pm
Sounds like you just had a simple error in the BSP, unless the tools took a dump on you. Wiping the game and the tools is the last thing I would do! [eek]
Share |
diggersid=SA=
General Member
Since: Dec 25, 2009
Posts: 3
Last: Dec 28, 2009
[view latest posts]
Level 0
Category: CoD4 MP Mapping
Posted: Monday, Dec. 28, 2009 04:29 pm
im not the most patient person in the world lol
Share |
BigAl444
General Member
Since: Jan 5, 2010
Posts: 79
Last: Dec 25, 2012
[view latest posts]
Level 3
Category: CoD4 MP Mapping
Posted: Tuesday, Jan. 5, 2010 11:00 pm
Hey:

I'm right there with you. I just started my first map and found a few things help with this type of issue. After hitting a wall, I'm now going to save, backup and test my map whenever I add a new item. I did what you did - added a ton of stuff then tested only to find it wouldn't compile or play.

Another thing to try is open your map. Hit "I" to select everything. Now open a new blank map. It will ask you "Copy Selected?" Say yes. Now you have all your elements in a map with clean scripts, etc. Compile and cross your fingers. This worked for me. If you have elements like exploding barrels, cars, etc. then you probably need to add that code again. Someone correct me if I'm wrong.

Like I said, I'm new to mapping so I'm learning with you. Just thought I'd share my experience so far.

I'm close to finishing my first map and I added a bunch of foliage and exploding cars. Now my map won't load in game to test. Luckily I found a slightly older version that I'll re-do a few items. I was able to get exploding barrels to work though.

Good luck!

-Big Al
Share |
sherlokpwnz
General Member
Since: May 1, 2009
Posts: 95
Last: Jan 13, 2010
[view latest posts]
Level 3
Category: CoD4 MP Mapping
Posted: Wednesday, Jan. 6, 2010 01:35 am
I know that your problem that your explaining is familiar to what I encountered in cod2 map tools one time. Try to make sure your not putting prefabs inside of prefabs. If that makes any sense If not here is a simpler explanation.

When you make a building and save then right click 2d view and go to misc-prefab then save that map file with the prefab inside it then add that second map file you made as a prefab you will get compile errors.
Share |
BigAl444
General Member
Since: Jan 5, 2010
Posts: 79
Last: Dec 25, 2012
[view latest posts]
Level 3
Category: CoD4 MP Mapping
Posted: Wednesday, Jan. 6, 2010 03:09 am
attachment: image(31.4Kb)
Hmmm. My map has many such prefabs. For example, the attachment aboce is a prefab which contains a desk, PC tower, file cabinet, monitors, keyboard, mouse and chair--all of which are their own prefabs.

Just the outer cubicle is custom built. Everything worked perfectly until yesterday when I tinkered with adding exploding cars.

So in my case, I would be bettter served grouping these items in my map? This is limiting though, if I want to add some more items to the desk. I'd have to go one group at a time. I have 12 of those in my map. Now if I import them as MODELS into my prefab... would I lose the collision properties?



edited on Jan. 5, 2010 10:10 pm by BigAl444

edited on Jan. 5, 2010 10:10 pm by BigAl444
Share |
cskiller86
General Member
Since: Nov 23, 2009
Posts: 528
Last: Oct 25, 2011
[view latest posts]
Level 6
Category: CoD4 MP Mapping
Posted: Wednesday, Jan. 6, 2010 10:42 am
The prefabs in misc_models are the models with clipping brushes (or any other tool textures, like mantle and so on).
The other prefabs are made of brushes (so they are geometry prefabs).

Yes, all misc_model entities are just the model, without any collision (so you'll walk through them).
I don't think it's really a problem to have a prefab inside a prefab.

My advice is to start simple, make all the geometry (terrain, houses, larger models etc), then test it. Next add detail (geometry and small models). Test again. Next add dynamic objects and destructible cars. Test again and again :). Lastly, add scripts and scripted entities (optional). After all this is done, you can start with portalling and lightgrid creation.
Share |
BigAl444
General Member
Since: Jan 5, 2010
Posts: 79
Last: Dec 25, 2012
[view latest posts]
Level 3
Category: CoD4 MP Mapping
Posted: Wednesday, Jan. 6, 2010 01:33 pm
Start simple you say? Ha! I'm the poster boy for power user. I can't help it, but I hear what you're saying. [biggrin]
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 MP Mapping

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»