prefabs in hl2, cssource, hl2dm

prefabs in hl2, cssource, hl2dm

Re: prefabs in hl2, cssource, hl2dm Posted by ishbog on Tue Dec 7th 2004 at 4:22pm
ishbog
86 posts
Posted 2004-12-07 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
SnarkSephiroth
206 posts
Posted 2004-12-07 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
TSSThorn
7 posts
Posted 2004-12-07 5:42pm
TSSThorn
member
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
5457 posts
Posted 2004-12-07 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 Sparky911 on Tue Dec 7th 2004 at 6:46pm
Sparky911
89 posts
Posted 2004-12-07 6:46pm
89 posts 109 snarkmarks Registered: Nov 7th 2004 Occupation: Auto mechanic Location: Canada
<DIV class=quote>
<DIV class=quotetitle>? quoting TSSThorn</DIV>
<DIV class=quotetext>Actualy prefabs do work in HL2 worldcraft. Trust me I already saved some prefabs and they worked fine.</DIV></DIV>
There is a HL2 worldcraft? All I have is Valve Hammer 4.0 :wink:
Re: prefabs in hl2, cssource, hl2dm Posted by MeatStick on Tue Dec 7th 2004 at 7:09pm
MeatStick
37 posts
Posted 2004-12-07 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
TSSThorn
7 posts
Posted 2004-12-08 6:30am
TSSThorn
member
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 TSSThorn on Wed Dec 8th 2004 at 6:32am
TSSThorn
7 posts
Posted 2004-12-08 6:32am
TSSThorn
member
7 posts 21 snarkmarks Registered: Dec 7th 2004 Location: US
<DIV class=quote>
<DIV class=quotetitle>? quoting Sparky911</DIV>
<DIV class=quotetext>
<DIV class=quote>
<DIV class=quotetitle>? quoting TSSThorn</DIV>
<DIV class=quotetext>Actualy prefabs do work in HL2 worldcraft. Trust me I already saved some prefabs and they worked fine.</DIV></DIV>
There is a HL2 worldcraft? All I have is Valve Hammer 4.0 :wink:

</DIV></DIV>
Oh sorry did not know what they called it this time lol. I would know if I had it but my computer wont run it, so I go to my friends house to make all my maps. Well just for now untill I get a better pc.
Re: prefabs in hl2, cssource, hl2dm Posted by ishbog on Wed Dec 8th 2004 at 4:10pm
ishbog
86 posts
Posted 2004-12-08 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
5457 posts
Posted 2004-12-08 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
86 posts
Posted 2004-12-08 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
Agent_21
19 posts
Posted 2006-07-24 10:17am
Agent_21
member
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.
Re: prefabs in hl2, cssource, hl2dm Posted by ishbog on Mon Jul 24th 2006 at 3:48pm
ishbog
86 posts
Posted 2006-07-24 3:48pm
ishbog
member
86 posts 19 snarkmarks Registered: Dec 7th 2004 Occupation: web designer/game developer Location: usa
yowza, bro, you took a long time gettin back here. The whole prefab
system isn't like hl1 anymore; you generally use models for smaller,
more complex objects. though, some people make prefabs (stairs, etc),
which are just stored as vmf files.
www.nysteo.com

If animals weren't meant to be eaten, then they wouldn't be so delicious and easy to catch!

Face it: if crime didn't pay, there would be very few criminals.