Tuesday, September 22, 2009

Explosion

Here's a concept for an explosion. Basically it consists of three parameters: a shockwave, fire and smoke. These can be set for different types of explosive weapons. For instance a molotov cocktail should have a very low shock, a lot of fire and some smoke, whereas a fragmentation grenade should have a high shock, some fire and perhaps a little bit of smoke. The damage and knockback of a shock should scale with 1/r², with r the distance to the explosion center, since the pressure forces are divided over the surface of a growing sphere. Next to that, flames should damage players on hit depending on fire temperature (color). Smoke should do nothing except for maybe blocking the view or looking cool. Fire is subject to gravity, smoke has an additional rising force. Here's an example of an explosion with a medium shock, a low amount of fire and some smoke.




No comments:

Post a Comment