Prefabs in Hammer?

  • Thread starter Thread starter Anarchist Weasel
  • Start date Start date
A

Anarchist Weasel

Guest
I'm pretty new to mapping, but is it possible to make maps with barrels and furniture?
 
Yup. Either enter in the pre made ones that come with Worldcraft or create your own. Pre made Prefabs are arranged in the drop down box under categories. I.E barrels will be under the crates tab. Then select the prefab you want from the second list just underneath the drop down tabs and hit 'insert original prefab'. (Assuming HL1 mapping, if not, I expect it's similar in new Editor)

prefabs.jpg
 
Err.. I don't think that is what he is asking.

He is talking about CS:S mapping if I'm not mistaken, and he wants physical barrels and such.

(Nice job showing off your map like that :p)

Okay, here's how you do it.

Click the Entity tool on the left bar. (Lightbulb)
In the menu on the right, select prop_physics_multiplayer (something like that)
Click in one of the 2d views, where you want the object. Then hit ENTER.
Go into the properties of the entity, and under World Model, browse for the model you want.

Hope that helped! :D
 
vegeta897 said:
Err.. I don't think that is what he is asking.

He is talking about CS:S mapping if I'm not mistaken, and he wants physical barrels and such.

As I don't have access to the SDK yet I'm just going by my HL1 senses, as I did mention in the original post.
 
vegeta897 said:
Err.. I don't think that is what he is asking.

He is talking about CS:S mapping if I'm not mistaken, and he wants physical barrels and such.

(Nice job showing off your map like that :p)

Okay, here's how you do it.

Click the Entity tool on the left bar. (Lightbulb)
In the menu on the right, select prop_physics_multiplayer (something like that)
Click in one of the 2d views, where you want the object. Then hit ENTER.
Go into the properties of the entity, and under World Model, browse for the model you want.

Hope that helped! :D


Ah, that's it! I was messing around with it last night and I came across that. Thanks!
 
I have a few questions:

1) Can you guys save prefabs and use them in your map (not props... I mean like brush prefabs you made and then tried to convert into a prefab to use in your other maps for example). I tried to but every time I did it, it asked me for a filename, I type it in, then try and place the new prefab but the list comes up empty. I use the prefab factory in the tools menu to try to import them from where I saved them but it turns out it's saving the prefabs without an end extension. Does this happen to you all or just me?

2) I tried placing a desk on my map but no matter what sort of prop entity I set it to it simply refuses to show up in the map. It's a few inches away from the floor so that's not the issue, and all physical items laying on it are also a few inches higher than the actual prop. What's wrong?

The desk I'm trying to place is the one at models/props_interiors/Furniture_Desk01a

Any help on that would be appreciated.
 
Rico said:
I have a few questions:

1) Can you guys save prefabs and use them in your map (not props... I mean like brush prefabs you made and then tried to convert into a prefab to use in your other maps for example). I tried to but every time I did it, it asked me for a filename, I type it in, then try and place the new prefab but the list comes up empty. I use the prefab factory in the tools menu to try to import them from where I saved them but it turns out it's saving the prefabs without an end extension. Does this happen to you all or just me?

2) I tried placing a desk on my map but no matter what sort of prop entity I set it to it simply refuses to show up in the map. It's a few inches away from the floor so that's not the issue, and all physical items laying on it are also a few inches higher than the actual prop. What's wrong?

The desk I'm trying to place is the one at models/props_interiors/Furniture_Desk01a

Any help on that would be appreciated.


1)Lots of people are working on this/trying to figure if it'll work or not. I'm just going to wait to see if/when someone gets it right. As of now, it doesn't seem to be supported, I don't want to do anything "bad".

2) I dunno what's up, but it seems that none of those props work... I just tried 3 random props from different folders and they all work... None in that folder work, ask Valve maybe?
 
Back
Top