No bullet holes on custom props?!

Got problems with your models? Struggling with textures? Get help with your custom assets.

No bullet holes on custom props?!

Postby Sathor on Mon Oct 11, 2010 10:54 am

My custom props just won't show any bullet hole decals. They have correct collision models (smoothing groups etc) and usually use a standard qc like this:

$modelname xxx\xxx\xxx.mdl
$cdmaterials xxx\xxx\materials\props\
$scale 1
$body studio "xxx_ref.smd"
$staticprop
$surfaceprop "metal"
$sequence idle "xxx_still" loop fps 1
$collisionmodel "xxx_phys.smd"
{
$Mass 10
$concave
}

Everything else is alright with the props - only those bullet hole decals won't appear on them. Any ideas? Do I miss something?
User avatar
Sathor
Senior Member
Senior Member
 
Joined: Sat Jan 20, 2007 10:31 pm
Location: Germany

Re: No bullet holes on custom props?!

Postby Habboi on Mon Oct 11, 2010 12:18 pm

No that looks right to me. Is this a mod you're working on or just EP2 etc?

What I found was the collision model had to be almost skin tight around the body to let bullets essentially hit it.
http://www.habboi.co.uk - Habboi's Portfolio

3D Art Director working on indie title "A Hat in Time" by Gears for Breakfast.
http://hatintime.com/
User avatar
Habboi
Veteran
Veteran
 
Joined: Fri Apr 15, 2005 9:52 pm

Re: No bullet holes on custom props?!

Postby marks on Mon Oct 11, 2010 2:25 pm

Well, the bullethole decals are going to appear on the surface of the collision model, not the prop model. So if your collision model is slightly smaller, the decals will appear inside the model, your collision should always be slightly bigger than the model actually is.
User avatar
marks
Creative Assembly
Creative Assembly
 
Joined: Tue Aug 16, 2005 5:07 pm

Re: No bullet holes on custom props?!

Postby crazycarl on Mon Oct 11, 2010 5:44 pm

They get projected from the collision model to the nearest point on the visible mesh. So they just have to be close.
crazycarl
Been Here A While
Been Here A While
 
Joined: Tue Jan 12, 2010 9:12 pm

Return to Custom Asset Help

Who is online

Users browsing this forum: No registered users

cron