Getting red ERROR when trying to use props

Getting red ERROR when trying to use props

Re: Getting red ERROR when trying to use props Posted by Rugalitarian on Fri Jan 23rd 2009 at 12:15am
Rugalitarian
4 posts
Posted 2009-01-23 12:15am
4 posts 0 snarkmarks Registered: Jan 23rd 2009
Howdy.

For some reason, whenever I use one of the prop entities (Prop_detail) I get the red ERROR thing in-game when I go to compile it. The prop appears just fine in the editor. I'm just trying to put one of those steel beams coming out of the ground. What am I doing wrong? :confused:
Re: Getting red ERROR when trying to use props Posted by fishy on Fri Jan 23rd 2009 at 1:59am
fishy
2623 posts
Posted 2009-01-23 1:59am
fishy
member
2623 posts 1476 snarkmarks Registered: Sep 7th 2003 Location: glasgow
I've only known this to happen when a map has been compiled for one game then run in another. Like compiling a map with the sdk set to dod:s, which lets the editor see all the dod:s models, then trying to run the game in hldm or something.
Re: Getting red ERROR when trying to use props Posted by haymaker on Fri Jan 23rd 2009 at 2:25am
haymaker
439 posts
Posted 2009-01-23 2:25am
haymaker
member
439 posts 921 snarkmarks Registered: Apr 1st 2007 Location: CAN
prop_details pretty much refer to automatic things like grass iirc

generally not useable through Hammer
Re: Getting red ERROR when trying to use props Posted by Rugalitarian on Fri Jan 23rd 2009 at 4:24am
Rugalitarian
4 posts
Posted 2009-01-23 4:24am
4 posts 0 snarkmarks Registered: Jan 23rd 2009
Alrighty, so which is the correct entity to use for props such as light posts, trees, desks, flattened cardboard boxes, etc?
Re: Getting red ERROR when trying to use props Posted by haymaker on Fri Jan 23rd 2009 at 5:51am
haymaker
439 posts
Posted 2009-01-23 5:51am
haymaker
member
439 posts 921 snarkmarks Registered: Apr 1st 2007 Location: CAN
prop_static

http://developer.valvesoftware.com/wiki/Prop_Types_Overview

you'll find, if you haven't already, that you may want to use a particular model as static but it doesn't show up in game, you should look at the "info" tab in the model viewer to see what properties that prop was compiled with.

You can set any type using _dynamic_override or _physics_override, and disable motion and collisions on that prop in its property sheet in Hammer afterwards.

It works the other way, too, you can set static compiled props to physics if you want.

Both of these scenarios come with a slight performance hit, so try not to go overboard
Re: Getting red ERROR when trying to use props Posted by Rugalitarian on Fri Jan 23rd 2009 at 4:29pm
Rugalitarian
4 posts
Posted 2009-01-23 4:29pm
4 posts 0 snarkmarks Registered: Jan 23rd 2009
Thanks a lot. I actually got my flattened cardboard boxes working last night with the prop_static entity. I used to make lots of maps for Half-Life 1, and am just now trying to learn all the new features and such of the Source/Orange Box engine.