Blockland Forums > Modification Help
Are clinking bullet casings possible?
Red Cube:
--- Quote from: Zloff on April 05, 2011, 10:31:08 AM ---It is possible for a projectile to make a different sound depending on which type of object it hits. And yes, Gravity has made this happen for his weapons when you shoot a vehicle
--- End quote ---
you don't get the point. there is a clink sound when the SHELL (not the bullet) hits an object.
Deathwish:
Pretty sure the debris object class has a built-in onCollision function, I imagine it would turn up in a dump() of a debris datablock/class.
Red Cube:
--- Quote from: Deathwish on April 05, 2011, 05:57:56 PM ---Pretty sure the debris object class has a built-in onCollision function, I imagine it would turn up in a dump() of a debris datablock/class.
--- End quote ---
Hmm. Interesting. I think someone should try that sometime soon.
DrenDran:
I'll do a function dump later and see if debris has an oncollide function, but if it doesn't, why not use more projectiles for the shells?
Treynolds416:
--- Quote from: DrenDran on April 06, 2011, 08:38:42 AM ---I'll do a function dump later and see if debris has an oncollide function, but if it doesn't, why not use more projectiles for the shells?
--- End quote ---
Don't projectiles have more lag than debris?