Prefabs
-
- 25+ Posts
- Posts: 38
- Joined: Thu Jun 30, 2011 1:09 am
Prefabs
How do I open a prefab in hammer?
-
- 50+ Posts
- Posts: 69
- Joined: Wed May 18, 2011 11:23 pm
Re: Prefabs
http://www.gamebanana.com/tuts/3762
Extract the prefab file with a unzip program. (I use winrar.)
Open the extracted folder and mark the .vmf file, then hold ctrl and press c (alternately right click the file and choose copy).
Go to your: accountname\sourcesdk\bin\ep1\bin\prefabs (usual path: C:\Program Files\Valve\Steam\SteamApps\accountname\sourcesdk\bin\ep1\bin\prefabs *see screenshot) and press ctrl+v (or right click and choose paste).
Now it's done, the next time you open Hammer it will be there.
To add a prefab to your existing file, just choose the entity tool and at the bottom right of hammer where it says categories: choose prefabs instead of entities and at object you have all your prefabs.
-
- 25+ Posts
- Posts: 38
- Joined: Thu Jun 30, 2011 1:09 am
Re: Prefabs
I just hit new in hammer and selected the prefab opened. And copied. I meant a way to open in hammer
-
- 50+ Posts
- Posts: 69
- Joined: Wed May 18, 2011 11:23 pm
Re: Prefabs
I'm unsure of what you're asking, I'd like to help but you have to clarify what you're trying to do.
-
- 25+ Posts
- Posts: 38
- Joined: Thu Jun 30, 2011 1:09 am
Re: Prefabs
Ok. I can tell. I am trying to figure out how to open a prefab in my map. Without having to open anything else.
-
- 50+ Posts
- Posts: 69
- Joined: Wed May 18, 2011 11:23 pm
Re: Prefabs
You didn't give me much but I get a feeling you're trying to put the prefab into your actual map. In that case read what I already posted above, it explains how to do that.
If that's not what you are doing then try rephrase what you're saying using verbs other than "open" and be detailed.
If that's not what you are doing then try rephrase what you're saying using verbs other than "open" and be detailed.
-
- 25+ Posts
- Posts: 38
- Joined: Thu Jun 30, 2011 1:09 am
Re: Prefabs
Ok. Obviously this is hard to explain. I would like o load my map (deathrun_bunker). Click a button or something and load the prefab will load directly into the map.... Does that help?
-
- 1000+ Posts
- Posts: 1280
- Joined: Fri Sep 03, 2010 8:51 pm
Re: Prefabs
actually if its the case of your ladder prefab just click the entity tool and then look to the right of the map screen, where it says entitys there should be a prefabs option next to it or somethin, then look for anything with the word ladder in it
Spoiler
Show
Saying "Your lucky i'm peaceful" is pretty much like saying "when i grow up i wanna be an arms race!"-HL2shadowslayer, Area 51 Minecraft
-
- 50+ Posts
- Posts: 69
- Joined: Wed May 18, 2011 11:23 pm
Re: Prefabs
Well in that case do exactly what it says in my first reply.
By "your existing file" it means your already open map.To add a prefab to your existing file, just choose the entity tool and at the bottom right of hammer where it says categories: choose prefabs instead of entities and at object you have all your prefabs.
-
- 25+ Posts
- Posts: 38
- Joined: Thu Jun 30, 2011 1:09 am
Re: Prefabs
Wow. I didn't even know that there. Thankyou. My comment on replies stands firm