Models


12-03-2003, 10:37 AM
Ok, ive searched for a tut on this, but couldn't find one.

Basically, all I want to do is add a tree or two to my map. (arc_xer_tree1)

I was told to create a new ent, ent_model, and select the model I wanted. Is that right? doesn't work for me.

If someone could provide a detailed tut it'd be great.

Quakah
12-03-2003, 10:56 AM
you don't need a tutorial to do that ;) just browse trough your entity list and see for the env_model entity. If you don't have it you'll need the dod1.0 fgd(or 1.1 when it's out). Also, if you place it you will notice you can walk trough it, so you'll have to make a brush around the tree with the right texture(in hlbasics.wad you'll see the cr_wood texture). Take that texture for the tree, tie it to a func_wall, set the "Render mode" to "texture" and the "FX amount" to "0". Voila, there's your non-walk-trough tree model :).

12-03-2003, 11:36 AM
That doesn't work for me. I select the model in env_model, and when I compile it, i see nothing.

Quakah
12-03-2003, 11:40 AM
the model in hammer has an X in the middle, make sure it isn't in a brush, also make sure you didn't gave the model "Render mode" - "texture" and "FX amount" - "0" by accident.

12-03-2003, 12:23 PM
Ok. I'm not getting this

Here's what I'm doing:

Making a new entity

Making it an env_model

Selecting model > models/mapmodels/arc_pine.mdl

Compiling.

Nothing. No model.



:confused:

It's not in any brush..

Should I be able to see the model in Hammer?

I'm pretty much a newbie to mapping. Could you please explain how to do this step by step?

Quakah
12-03-2003, 12:30 PM
hmmm, are you sure you have the right fgd for dod? Placing a model step by step is doing this: go to your entity list, select the env_model, place it wherever you want it to be. Go to model name: select the model. And there you should have your model, but maybe it could be because your model could be higher then the skybox and then you won't see it.

12-03-2003, 12:43 PM
I'm pretty sure I have the right FGD.

Should I be tying a brush to the entity env_model?


Man this sucks.:mad:

Quakah
12-03-2003, 12:45 PM
Originally posted by Skynyrd
I'm pretty sure I have the right FGD.

Should I be tying a brush to the entity env_model?


Man this sucks.:mad:

nono, don't do that, if this doesn't work, tying it to a brush doesn't either then. Try another model to see if other models work, then maybe it's just the model fault.

12-03-2003, 01:47 PM
an env_model should just be 1 single point entity.

as for making sure u have the right fgd use mine, a link to it is in my sig.

12-03-2003, 02:14 PM
Well, get this.


The model is there, because I can "bump" into it & can't walk through it.

So it's loading, but I can't see it. Solution?

Craftos
12-03-2003, 02:33 PM
You are hitting clipping brush not model. Models are 'transparent" to walking.

From pic I see that you are probably not using Hammer beta 3.5 that displays models. I this version you will se models in editor as they appear in game. Then in 2D views they are displayed as bounding red box with red X at some point inside. Now thant X have to be "inside" map (it seems right) but it have to be outside world brush. If you have made clipping brush as world brush it won't be seen in game. Use brush entities (func_walls in Texture or Additive mode with full transparence).

12-03-2003, 02:51 PM
Originally posted by Craftos
If you have made clipping brush as world brush it won't be seen in game. Use brush entities (func_walls in Texture or Additive mode with full transparence).

I don't get what you're trying to say.

12-03-2003, 04:09 PM
sky listen up this should fix your problems


In the HL engine there are 2 types of entitys. brush absed and point based.

to create a brush based entity you darw a brush, then tunr it into an entity throguh menu options
to create a point based entity you select the little lightbulb. now u place th crosshair where u want it to appear, and hit enter.


an env_model is a point based entity. never type in the name for an entity unless u are sure of the typ. simply look in the drop down menu. if you place the env_model as a point based entity set its properties it should work. you will be able to wlak though the model however. for hjlep on this use th search button

12-03-2003, 05:12 PM
Yes. I know.

I'm creating a point-based entity.

I've tried everything suggested in this thread, still nothing

I just downloaded the Hammer beta, and the model shows up in 3d view, but not in game.

Is there some property in env_model I'm not doing right?

Renderfx: Normal
Rendermode: Normal
FXAmount: 0
FXColor 0 0 0
Model Name models/mapmodels/arc_xer_tree2.mdl
Skin: 1
Body: 1
Behavior when on: Freeze when sequence ends

12-03-2003, 07:00 PM
are you running 1.1?

if so then maybe it has a different dir in the .gcf so when DOD runs it can't find it even though its right as far as 1.0 cares

12-03-2003, 07:41 PM
Well, actually...

I'm running regular Half-Life when I compile to test the map. It's faster - dod takes forever to startup. (yes, I copied all the dod models into the halflife/valve directory in their right folders)Should I use the halflife fgd or dod fgd?

I'm currently using both.

Quakah
12-04-2003, 05:43 AM
Try and set body and skin values of your model to "0"

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.