Jump to content
Official BF Editor Forums
Sign in to follow this  
destructo

Material Settings And Destroyableobjects

Recommended Posts

I'm setting up some destroyableobjects & have been copying bits & pieces of code from various bf2 destroyables, but was wondering what the materials are doing. In particular, I'd like to know:

1. what are the Destroyable_obj_small (97), Destroyable_obj_large (98) & Destroyable_obj_huge (112) doing?

EDIT: i figured this out- they have different damagemod values, so destobjlarge isn't affected by tank shells, destobjsmall repairs faster etc...

2. is it possible to alter how the impact damage radii of projectiles affect a destroyable?

eg. i have 2 destroyable walls joined end to end. if you shoot/c4 near the join, sometimes both walls blow up at once because of the large explosion radius. so, is there a setting to override this behaviour? i've noticed some 'blast sensitivity' settings in the material code, would these do anything?

Edited by destructo

Share this post


Link to post
Share on other sites

A wall normally doesn't explode at all when you destroy it but simply crumbles :mellow:

You're perhaps get a more realistic wall behaviour if you set its explosionforce and -radius to very low values or even zero.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×