Re: prefabs in hl2, cssource, hl2dm
Posted by ishbog on
Tue Dec 7th 2004 at 4:22pm
ishbog
member
86 posts
19 snarkmarks
Registered:
Dec 7th 2004
Occupation: web designer/game developer
Location: usa
I cant find any prefabs to use, or the prefab factory, etc. if i select a few objects(like parts to make a torch) and says "create prefab" and so i click it, then it gets the save as dialog, and i save it, but its not in my prefab library! also, since i dont really want to make all my own prefabs, how do i get the prefabs from hl2 or hl2dm? even cs source? i need some of that stuff! plz help me out here.
Re: prefabs in hl2, cssource, hl2dm
Posted by SnarkSephiroth on
Tue Dec 7th 2004 at 4:45pm
206 posts
31 snarkmarks
Registered:
Sep 10th 2003
Occupation: Automotive Tech Student
Location: Phoenix, Arizona
Thats because there are no prefabs in Half-Life 2. They are all models. Make a prop_physics or a prop_static and in the properties menu browse for a model. It will open up a window with folders in it and you can select any model in there. Enjoy.
[EDIT] posted by ReNo:
The problem here is probably because you need to ensure you use the correct prop_ entity for the correct models. For example, a light fitting won't appear if you place it as a prop_physics, while a barrel won't appear as a prop_static. In this case you have tried the obvious prop entity types, but you are using a complex prop. The computer is made up of various components that move together and split apart, and these more complex models need to be inserted using either prop_ragdoll or prop_dynamic, depending on the model in question. I think the computer would be inserted using a prop_dynamic, but I guess the only way to be sure would be to test it out :smile:
Hope this cleared things up a bit. [EDIT]
Re: prefabs in hl2, cssource, hl2dm
Posted by TSSThorn on
Tue Dec 7th 2004 at 5:42pm
7 posts
21 snarkmarks
Registered:
Dec 7th 2004
Location: US
Actualy prefabs do work in HL2 worldcraft. Trust me I already saved some prefabs and they worked fine.
Re: prefabs in hl2, cssource, hl2dm
Posted by ReNo on
Tue Dec 7th 2004 at 6:00pm
ReNo
member
5457 posts
1991 snarkmarks
Registered:
Aug 22nd 2001
Occupation: Level Designer
Location: Scotland
They work yes, but that doesn't mean there are any in Half-Life 2. The feature is there for you to make your own prefabs, but there are none provided by valve as there was with earlier editions of hammer.
Re: prefabs in hl2, cssource, hl2dm
Posted by MeatStick on
Tue Dec 7th 2004 at 7:09pm
37 posts
4 snarkmarks
Registered:
Dec 6th 2004
Location: USA
From what I've seen the only prefab that came with Hammer from the SDK is a single BOX prefab. Think that was the name of it. at work so can't see it. From experimenting the prefab is actually INCREDIBLY handy. Build something, a room, with a bunch of stuff, entities, lights, textures, etc. Now just select the entire thing and hit Create Prefab, give it a name and boom. You can now select that prefab any number of times in the future from prefab list and slam into the map instantly. Very nice.
Re: prefabs in hl2, cssource, hl2dm
Posted by TSSThorn on
Wed Dec 8th 2004 at 6:30am
7 posts
21 snarkmarks
Registered:
Dec 7th 2004
Location: US
If you realy need prefabs just go into some already made levels and save what ever you can. I saved about 17 prefabs from lockdown.
Re: prefabs in hl2, cssource, hl2dm
Posted by ishbog on
Wed Dec 8th 2004 at 4:10pm
ishbog
member
86 posts
19 snarkmarks
Registered:
Dec 7th 2004
Occupation: web designer/game developer
Location: usa
kk, i got the models, they work fine, (except trees :/) but i cant seem to create prefabs. i select my stuff, like parts of a torch, and save as torch1.vmf, but after that its not in my prefab section!
Re: prefabs in hl2, cssource, hl2dm
Posted by ReNo on
Wed Dec 8th 2004 at 4:13pm
ReNo
member
5457 posts
1991 snarkmarks
Registered:
Aug 22nd 2001
Occupation: Level Designer
Location: Scotland
Are you saving them as a prefab using the prefab factory (tools -> prefab factory)? I've not tested it yet and I'm not at my computer just now so I can't be sure if its a problem with the editor or just something at your end.
Re: prefabs in hl2, cssource, hl2dm
Posted by ishbog on
Wed Dec 8th 2004 at 4:39pm
ishbog
member
86 posts
19 snarkmarks
Registered:
Dec 7th 2004
Occupation: web designer/game developer
Location: usa
i generally try to use the "create prefab" button in the new objects bar, as i cant see(i used to be able to) the tools/prefab factory anymore.
Re: prefabs in hl2, cssource, hl2dm
Posted by Agent_21 on
Mon Jul 24th 2006 at 10:17am
Posted
2006-07-24 10:17am
19 posts
2 snarkmarks
Registered:
Apr 23rd 2005
Occupation: Mapper
Location: United States
I have this very same problem. Like when you download a prefab from this very site, I don't understand how to put it in, though I learn fast.