Integrity and collision damage.

Also added files for upcoming particle stuff.