Page 1 of 1

Attach Static Object to PCO?

Posted: Fri Feb 17, 2012 1:05 am
by Swaffy
I'd like to make a tank and add wooden planks on the sides of it to block projectiles. They would act as "junkyard armor" (supplemental armor).
In short, if a player hits the extra armor, no direct damage will be dealt. But if they hit the tank body, normal damage will be dealt.

Would this have to be on the same 3D model file with different material IDs, or can I just add a [solid] static object to the PCO?

I think I remember someone asking this before, so that's why I'm asking. (And yes, I am actually trying this.)

Re: Attach Static Object to PCO?

Posted: Fri Feb 17, 2012 4:01 pm
by archer
Both ways work. You can make the armour a simpleobject with mobile, collision and response physics, then attach it to the vehicle's Complex bundle by AddTemplate. The armour needs to have a material ID that does not take any damage when hit. You can also also add the armour to your vehicle's mesh. As long as it has the proper material ID, the vehicle will not take damage when hit.

Re: Attach Static Object to PCO?

Posted: Fri Feb 17, 2012 6:44 pm
by Swaffy
I'm talking about a static object that you can shoot, but that's it. You know ... how static objects can get hit all they want but don't move or get damaged.

Hmm. I'll add wooden planks to the vehicle and see what happens.

Re: Attach Static Object to PCO?

Posted: Sun Feb 19, 2012 4:29 am
by Dennis|8749236
The static object attached to the vehicle take no damage from any projectiles..
I tested it b4..

Re: Attach Static Object to PCO?

Posted: Sun Feb 19, 2012 6:36 am
by Swaffy
I made a video:



(link) http://www.youtube.com/watch?v=M6HAMSqeNEk

Thanks for clearing that up.