Breakable Models?

  • If you're asking a question make sure to set the thread type to be a question!

xomp

L1: Registered
Jun 28, 2008
33
8
I'm trying to figure out, how to make models break after x amount of damage is dealt. I understand this is possible with func_breakable, but cannot figure out if it's possible any other way. Additionally, I'm unable to see where I can specify a model with func_breakable (outside of Gib Model).

Would anyone know a way to do this? Thanks
 

xomp

L1: Registered
Jun 28, 2008
33
8
Probably have the func-breakable soak the damage up, then "OnBreak > Set animation " on the model. And set the animation to something broken. Or spawn in gibs?

Worked perfectly, thank you very much!
 

xomp

L1: Registered
Jun 28, 2008
33
8
I may have spoken too soon. My client shows the props gibs just fine. However, on my server the gibs do not appear and the model just disappears once destroyed. No idea why there are inconsistencies with this.. Any ideas?

Here is an example in video format:

Model breaks into gibs fine on Client:
http://youtu.be/g3gH1lRUPXI

Exact same Model breaks into glass gibs and disappears on Server:
http://youtu.be/BdftBzGMomc
 
Last edited:

Fruity Snacks

Creator of blackholes & memes. Destroyer of forums
aa
Sep 5, 2010
6,394
5,571
Models need to be able to be used as physics entities.
While using the model browser thingy, click on the tab 'info'. If it doesn't have 'physics' checked, it aint gonna work. Only the checked stuff would be useable.

To add to this, you can compile your models as physics objects. I'm unsure on how that works because I'm a scrub when it comes to modeling... But thats what you're looking for.
 

xomp

L1: Registered
Jun 28, 2008
33
8
Models need to be able to be used as physics entities.
While using the model browser thingy, click on the tab 'info'. If it doesn't have 'physics' checked, it aint gonna work. Only the checked stuff would be useable.

Thanks -- The model I'm using does in-fact have physics checked in the info tab. Any other ideas?