Importing CSS models into Hammer Created 17 years ago2007-12-14 11:17:21 UTC by WhiteRAZOR WhiteRAZOR

Created 17 years ago2007-12-14 11:17:21 UTC by WhiteRAZOR WhiteRAZOR

Posted 17 years ago2007-12-14 11:17:21 UTC Post #240882
Hi, I've been looking in the options and settings for ages in Hammer...

How can I import models from CSS into Hammer so when I build a map, I can place prop_static (or whatever) as an item from CSS?

For example, I want to place stuff like the chairs and tables seen in the CSS Map Office into my maps, so when I open up the map (using "map" command) in HL2 or GMod, I can see these office style chairs/tables.

Thanks in advance.
Posted 17 years ago2007-12-14 11:31:46 UTC Post #240883
Do you want to create a map for CSS or another Source game?

If it's a CSS map, you're creating:
  • Add an entity prop_static
  • Go to its properties
  • select world model
  • push browse
  • look under "props", "cs_office"
  • there u have your chair_office.mdl
Hope that what you were asking for.
Posted 17 years ago2007-12-14 21:03:25 UTC Post #240983
Nar, I'm creating more of a HL2 map. When I load Hammer, I seem to only do it for Episode 2, Portal, and Team Fortress 2. I load the maps in Garry's Mod because it's easier to use.

I use Episode 2 (it doesn't have HL2 for some reason). I hope this doesn't restrict anything.

I want to import CSS props/models because I can't seem to get them under "world model".
Posted 17 years ago2007-12-14 21:38:43 UTC Post #240985
No, I don't think you can get those models, when doing a map for a different game. Don't know how you can import them.

About your HL2 missing: Your Source SDK seems to start with the new orange box games. When you want it to show older games like HL2 you have to start the SDK with the old engine (from Episode 1). Add "-engine ep1" to the launch options of your source SDK in Steam.
Posted 17 years ago2007-12-14 22:29:08 UTC Post #240988
Hmm okay. That's annoying.

I tired loading my map using the "HL2 Hammer" (as in, I used the -engine ep1 command) and when I browse the World Models, it crashes!

This is annoying... I just want office equipment :'(

Can anybody give me an answer? There has to be somebody else other than R1Co that views this thread :(
Posted 17 years ago2007-12-15 06:28:54 UTC Post #241009
Anybody know where I can get the model files for CSS and import them manually into Hammer?
Posted 17 years ago2007-12-15 10:25:38 UTC Post #241029
he's right. you gotta use the "-engine ep1" command.
Put it in the launch options for the SDK then restart steam and try loading it that way.

http://img136.imageshack.us/img136/8026/28339440yy4.jpg
Tetsu0 Tetsu0Positive Chaos
Posted 17 years ago2007-12-15 11:02:52 UTC Post #241032
Thanks, I did that before. It worked, but it sort of messes things up for some reason. Like, Hammer goes all "flashy". And also, some things are set out differently like the entity properties. It's all very confusing. I guess I can try to get used to it.

Also, I'm having another problem. Some prop_static items I put in don't appear when I load up the map... Including the office chair I put in.

Once I put a stove in, and then tried putting another item (both in which were prop_static) the second item doesn't appear! It's so fustrating.
Posted 17 years ago2007-12-15 11:13:01 UTC Post #241033
Actually, it turns out it's like any props I put down now... prop_static, prop_dynamic, prop_detail... etc.

I have no idea what the difference is between these. If somebody can please address my previous post, as well as define what the common props are (as in, what's static, and which prop is like a normal item in game (ie, I can pick up and toss with grav gun)) that'll be great. Thanks in advance.
Posted 17 years ago2007-12-17 12:45:47 UTC Post #241343
Sorry, it's me again. :)

Good tutorial about physics:
http://twhl.co.za/tutorial.php?id=100

Explanation of the different prop_ entities:
http://developer.valvesoftware.com/wiki/Prop_Types_Overview

Edit: I just deleted what I wrote here before, because it wasn't quite accurate. Just read what's under the links above.
Posted 17 years ago2007-12-18 08:55:22 UTC Post #241436
Haha, don't apologise R1Co! Thanks for the help! I'll have a lookie :)
Posted 17 years ago2007-12-19 21:55:52 UTC Post #241546
If you're using the VGUI model browser then it should have a tab with ticked boxes for the types of prop entities you can use that prop on. (If it's ticked static, you use it on a static prop entity for instance.)

As for the CSS content, you can extract it with a utility called GCFScape from the CSS GCF. Be sure to retain the same directory structure within the models folder, and extract the props folders to steamapps/your username/half-life 2/hl2/models. Do the same with their materials, as well, again retaining the same directory structure. Note however that redistributing that content to anyone who doesn't own CSS Is a violation of the EULA, or so Valve says, although I'm sure it happens quite a bit...
RabidMonkey RabidMonkeymapmapmapfapmap
You must be logged in to post a response.