Tremulous Forum

Media => Mapping Center => Topic started by: smurftyous on November 17, 2008, 09:29:54 pm

Title: making models solid?
Post by: smurftyous on November 17, 2008, 09:29:54 pm
all the models i place are nonsolid  is there a way to make them solid
Title: Re: making models solid?
Post by: Odin on November 17, 2008, 10:59:56 pm
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.
Title: Re: making models solid?
Post by: your face on November 18, 2008, 12:27:52 am
Odin, don't encourage questions like this.  But instead post links like this: http://tremulous.net/forum/index.php?topic=9536.0 (http://tremulous.net/forum/index.php?topic=9536.0).  ;D

More specifically: http://tremulous.net/forum/index.php?topic=5039.0 (http://tremulous.net/forum/index.php?topic=5039.0)
Title: Re: making models solid?
Post by: Hendrich on November 18, 2008, 01:22:22 am
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.  ;)
Title: Re: making models solid?
Post by: your face on November 18, 2008, 01:34:19 am
The second url isn't a search.  Except I typed in "model solid" in the search bar. :-[
Title: Re: making models solid?
Post by: 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?
Title: Re: making models solid?
Post by: Odin on November 18, 2008, 05:46:34 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.
Title: Re: making models solid?
Post by: cactusfrog on November 20, 2008, 03:06:11 am
you can also scale the model by typing modlescale in key and the scale you want in value for example
Key modelscale
value .5
Title: Re: making models solid?
Post by: Ingar on November 21, 2008, 08:48:09 pm
Google is king:
http://en.wikibooks.org/wiki/Q3Map2/Entity_keys#misc_model_entity (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.