Not logged inOpenClonk Forum
Up Topic Explosions inside containers

This board is threaded (i.e. has a tree structure). Please use the Reply button of the specific post you are referring to, not just any random button. If you want to reply to the topic in general, use the Post button near the top and bottom of the page.

Post Reply
In Response to Maikel
Current changes pushed:
* ContainBlast is now a property, either false or true.
* RemoveObject(true) first tries to enter its contents into the parent container instead of exiting them altogether.
* Test scenario for explosions in containers.
* Changed explosion behaviour:
  * explode container first and then move up the list of parent containers until a BlastContain one or the last one is found.
  * BlastContain prevents damage to landscape and outside objects / parent containers.
  * exploding in a container means, deal damage to container first, then to contents.
  * if container is destructed, move contents outside (or they are removed), they will be blasted later.
  * explosions propagated to a parent container do not damage the child container (it has already been damaged).
* The lorry now ejects its contents on destruction and also tosses around a few burning fragments.

Only remaining issue:
A BlastContain container which is destroyed, will contain the blast when inside other containers, but not when it is the last one.

What is the expected behaviour there?

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill