Author Topic: Vehicle damage  (Read 2220 times)

doesn't hide/unhide nodes work on vehicles??

and if you can animate parts of vehicles like a bunch do for barnabas' vehicle anim support, im sure you can animate a 1 frame animation where the damaged model "replaces" the normal model. or even just animate the changes into the normal model so you dont' literally double up on the model faces like you would be with the first method.
as for when to change, just package projectile::oncollision for checking if the collided thing is a vehicle, then call vehicle::showDamage to see if the vehicle should change models.
Yes you can hide/unhide nodes, that's what the Custom Vehicle Support does.

And let me rephrase what I said, there could be a script that once the car gets enough the damage the nodes will be replaced from normal to damaged.

Yes you can hide/unhide nodes, that's what the Custom Vehicle Support does.

And let me rephrase what I said, there could be a script that once the car gets enough the damage the nodes will be replaced from normal to damaged.

Hmm.. That sounds like alot of work, Filipe. So your saying that you'd have to create an extra model to clip into the vehicle?
Let's say this duplicated model has a damaged front bumper-like that? Then clip it into the model of a vehicle that supports cvs.

I think this would work basically the same as the damage in GTA Vice City Stories and before. The base model of the car is the car except it doesn't have doors, hood/trunk, or bumpers. Then there's the damage model which IS the doors, hood/trunk, and bumpers, both in non-damage and a damaged state. If someone could script it basically where if you crash into a side of a car going at a certain speed, it'd switch out the models with a single-frame animation (so that you don't have like 5+ models just for damage) and make it look damaged

Hmm.. That sounds like alot of work, Filipe. So your saying that you'd have to create an extra model to clip into the vehicle?
Let's say this duplicated model has a damaged front bumper-like that? Then clip it into the model of a vehicle that supports cvs.
No, it's not a damaged car model that clips into the normal car, imagine the Custom vehicle support, you change parts of the car via it's menu right? So instead of selecting to change the part, the damage the car takes will change the part from a normal bumper, to a damaged model of the same bumper, I believe it's possble on that way.

No, it's not a damaged car model that clips into the normal car, imagine the Custom vehicle support, you change parts of the car via it's menu right? So instead of selecting to change the part, the damage the car takes will change the part from a normal bumper, to a damaged model of the same bumper, I believe it's possble on that way.

Yeah I get you. But if you ever decide to make this-please and I mean please. As i'm begging you: add multiple custom collision sounds for this.