problem creating prefabs

problem creating prefabs

Re: problem creating prefabs Posted by RadiKal on Fri Feb 18th 2005 at 11:43pm
RadiKal
55 posts
Posted 2005-02-18 11:43pm
RadiKal
member
55 posts 265 snarkmarks Registered: Dec 24th 2004 Occupation: student Location: USA
Ok....maybe i'm just a fool...but how do you create prefabs?? I searched and didn't find any tutorials explicitly on creating prefabs. It would seem that all you need to do is select the objects you want to create a prefab out of, go to the tools menu, and hit create prefab. Then, according to the sdk user's guide... it should appear in the new objects menu ready to use. Every time I try, it never shows up. What's the deal? anyone have this same problem?
Re: problem creating prefabs Posted by Guessmyname on Fri Feb 18th 2005 at 11:56pm
Guessmyname
342 posts
Posted 2005-02-18 11:56pm
342 posts 173 snarkmarks Registered: Dec 6th 2004
Select the guff you want to make into a prefab. hold down ctrl and R. Fill in the boxes as required.

To insert prefabs into your level:
Click the brush creation tooly thing. At the right of the screen there is a
box with two drop down lists - categories and objects and a "create
prefab" button.

In the categories list select prefabs

In the objects list select your prefab

Hit the brush creation button again and another button should appear
above the "create prefab" button called "Insert Prefab". Click, and the
prefab is inserted.

To access the Prefab Factory

Its in the tools menu - but only when you don't have a map loaded.
Re: problem creating prefabs Posted by RadiKal on Sat Feb 19th 2005 at 12:29am
RadiKal
55 posts
Posted 2005-02-19 12:29am
RadiKal
member
55 posts 265 snarkmarks Registered: Dec 24th 2004 Occupation: student Location: USA
the problem is that when i save the prefab, select the brush tool, and go to get the prefab from the drop down box, it just isn't there. for some reason it doesn't recognize that I created the prefab at all
Re: problem creating prefabs Posted by RaPtoR on Sat Feb 19th 2005 at 12:35am
RaPtoR
212 posts
Posted 2005-02-19 12:35am
RaPtoR
member
212 posts 61 snarkmarks Registered: Jan 1st 2005 Location: Sweden
Lol, that's an old bug. You see, prefabs are recognized as ".vmf"
files, and when you save the prefab, (no matter what file type
selected), it will be saved without an extention.

The best you can do is to go to that folder and rename the files so
they get that ".vmf" extention. Hammer should recognize your prefab
after that.
Re: problem creating prefabs Posted by French Toast on Sat Feb 19th 2005 at 12:36am
French Toast
3043 posts
Posted 2005-02-19 12:36am
3043 posts 304 snarkmarks Registered: Jan 16th 2005 Occupation: Kicking Ass Location: Canada
Maybe ther're being saved to the wrong place, look in your directories to find out where yours is, and where the other ones are.

Just a suggestion I really have no ideas, I don't use prefabs.