PDA

View Full Version : Fix for bulletwounds not appearing



LaXu
02-13-2004, 01:36 PM
You know when you shoot someone from far away and go check the body and there are no bullet wounds on the guy?

Well, I noticed that it was caused by the level-of-detail models. Whenever a LOD model is used bullethit decals do not appear, it's a bug in the engine. So basically to get them to appear always we just need to use the main model (highest detail) at all times.

You can do this with the console command
<pre class="ip-ubbcode-code-pre">ca_LODBias 0.0</pre>
Default value is 0.125f (don't know what the f is for though).

The variable controls how close you have to be to an enemy for the highest detail model to be used. Obviously turning the LOD models off will cause a fps hit, but at least on my system it wasn't much.

Try experimenting with the ca_LODBias value to find a compromise where you can still shoot characters that are far away and have bulletholes but LOD models will be used for enemies that are so far you can't hit 'em.

Note: This doesn't work for OpenGL because in OpenGL mode you can't see bulletwounds in the first place.

Hopefully all this will be fixed in the full game.

LaXu
02-13-2004, 01:36 PM
You know when you shoot someone from far away and go check the body and there are no bullet wounds on the guy?

Well, I noticed that it was caused by the level-of-detail models. Whenever a LOD model is used bullethit decals do not appear, it's a bug in the engine. So basically to get them to appear always we just need to use the main model (highest detail) at all times.

You can do this with the console command
<pre class="ip-ubbcode-code-pre">ca_LODBias 0.0</pre>
Default value is 0.125f (don't know what the f is for though).

The variable controls how close you have to be to an enemy for the highest detail model to be used. Obviously turning the LOD models off will cause a fps hit, but at least on my system it wasn't much.

Try experimenting with the ca_LODBias value to find a compromise where you can still shoot characters that are far away and have bulletholes but LOD models will be used for enemies that are so far you can't hit 'em.

Note: This doesn't work for OpenGL because in OpenGL mode you can't see bulletwounds in the first place.

Hopefully all this will be fixed in the full game.

LaXu
02-15-2004, 01:21 PM
It seems that the setting gets reset every time you start the game even if it's in a config file, so you have to type it again each time.

0.035f seems like a good value..the guys really far away will use low detail lod but otherwise it'll be the high detail one.