News:

Come Chat with us live! Learn how HERE!

Main Menu

making models solid?

Started by smurftyous, November 17, 2008, 09:29:54 PM

smurftyous

all the models i place are nonsolid  is there a way to make them solid
u Just got smurfted :dretch:

Odin

There are two ways to do this. Add "spawnflags 6" to the model entity, or put playerclip around it. The spawnflags method will cause q3map2 to turn the model into metasurfaces for the bsp(effectively making it a part of the map's geometry), and allows it to be lightmapped and solid. The playerclip method makes the model solid, but can't be lightmapped. The playerclip method is much MUCH faster if your model has a lot of polys, though. It's speed is at the cost of geometric accuracy, though.

your face

Odin, don't encourage questions like this.  But instead post links like this: http://tremulous.net/forum/index.php?topic=9536.0;D

More specifically: http://tremulous.net/forum/index.php?topic=5039.0
Quote from: dolby on February 19, 2003, 06:44:44 PM
spam spam spam, waste waste waste!

Hendrich

I found Odin's answer to be very useful anyways YourFace. If I was Smurf, I would've been glad that Odin hadn't told me off and had instead answered my question quickly. But hey, whatever you think is right, go ahead and tell the guy to search.  ;)

your face

The second url isn't a search.  Except I typed in "model solid" in the search bar. :-[
Quote from: dolby on February 19, 2003, 06:44:44 PM
spam spam spam, waste waste waste!

smurftyous

i how do u set the spawn flags because i made it with player clip and i also wanna try spawn flags?
u Just got smurfted :dretch:

Odin

Quote from: smurftyous on November 18, 2008, 05:21:05 AM
i how do u set the spawn flags because i made it with player clip and i also wanna try spawn flags?
Select the model entity, then press 'N'. Add a new key called "spawnflags"(no quotes) with a value of 6.

cactusfrog

you can also scale the model by typing modlescale in key and the scale you want in value for example
Key modelscale
value .5

Ingar

Google is king:
http://en.wikibooks.org/wiki/Q3Map2/Entity_keys#misc_model_entity

spawnflag 2 enables autoclipping, spannwflag 6 enables both autclipping and autolighting.
Setting _cs and _rs keys to 1 combined with clip brushes is probably the best way to go.