misc_model and misc_gamemodel


(russlndr) #1

Hi

Can anyone tell me the difference between misc_model and misc_gamemodel? Is there some documentation on models or a tutorial? I can only find information on how to create md5 and ase files, not how to use them.


(chavo_one) #2

md5?! Man, you’re 1337!!! :smiley:

The misc_model entity should be used when you want to insert a static object in your map that will get “baked” into the bsp.

The misc_gamemodel entity should be used when the model you are inserting is dynamic, ie. moved around with scripting or toggled default/invisible. (Tank parts, truck parts, etc.)

I’ve also noticed a phenomenon of the bel_lamp models not showing up correctly in game unless they are misc_gamemodels.


(ydnar) #3

A lot of the smaller detail models in some maps (Siwa Oasis being a good example) were misc_gamemodels to keep the size of the BSP down.

Static (non-moving, non-animated) misc_gamemodels are cached on the client side and rendered using special code. You could have a relatively small forest BSP with hundreds of trees using misc_gamemodel entities.

If you add “_cs” “1” key/value pair to the misc_gamemodel entity, it will cast shadows onto the world.

y


(jah) #4

nice tip ydnar :slight_smile:


(tubbie) #5

I’ve noticed that some misc_gamemodels have a key/value “_rs” “1”
I’m guessing this will enable the model to receive shadows from the world?


(ziege) #6

Ah, this was on my ‘list of things that are acting strange’ - I can cross it off now :slight_smile:


(Hewster) #7

We learn somthing new everyday :slight_smile:
I presume this is also the case for RtCW ?
shadows are calculated by q3map2 and are part of the lightmap in the bsp ?

Hewster