2DWorlds Forums
Property of Terrain to allow explosion damage - Printable Version

+- 2DWorlds Forums (http://2dworlds.buildism.net/forum)
+-- Forum: 2DWorlds (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=4)
+--- Forum: Suggestions (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=19)
+--- Thread: Property of Terrain to allow explosion damage (/showthread.php?tid=113)



Property of Terrain to allow explosion damage - Ghosty - 11-26-2012

My suggestion is to add a Boolean value to the Terrain object that, if true, allows explosions to lower impacted regions of the terrain based on their radius and blast pressure. Supposedly, there is some way to do this with Lua already, but I have tried and failed.


RE: Property of Terrain to allow explosion damage - Kieron - 11-26-2012

You could just build the terrain out of tiny bits, or set the maxforce.


RE: Property of Terrain to allow explosion damage - Ghosty - 11-26-2012

(11-26-2012, 07:54 PM)Kieron Wrote: You could just build the terrain out of tiny bits, or set the maxforce.

MaxForce is currently broken, and having terrain made out of many tiny boxes is terribly inefficient and lag-inducing.

We're talking a 1000-unit-wide world. We'll say 4 by 4 is a decent small block size. If we start out with just a solid flat block that's the size of a normal Ground block (40 units high), that's 1000/4 times 40/4, or 2,500 boxes.


RE: Property of Terrain to allow explosion damage - Kieron - 11-26-2012

But if you think about it, to render the explosive damage, even more little parts would have to be broken off to make the terrain rugged like that.