I have no idea why there are massive black borders in that video
Features
- Automatic respawn
- Checkpoints
- Lethal materials
Download and extract the attached zip, then copy the Data folder into your main Overgrowth folder.
If you create a level that uses this mod remember to pack these files with your level:
- Data\Scripts\aschar.as
- Data\Materials\kill.xml
- Data\Materials\checkpoint.xml
- Every object that uses kill or checkpoint material.

Go to "Overgrowth\Data\Objects\" and choose the (custom or official) object you want to use as a checkpoint. Copy the object's XML file and rename it.

Open the copied object file in your preferred text editor. Then write somewhere inside the <Object> tags:
(replace the material with one of the materials below)
<MaterialPath>Data/Materials/material_checkpoint.xml</MaterialPath>
Makes the object a checkpoint
<MaterialPath>Data/Materials/material_kill.xml</MaterialPath>
Makes the object kill player when in contact
Possible materials:
- cloth_fabric
- cloth_leather
- default
- dirt
- dirtyrock
- drygrass
- grass
- gravel
- ice
- rock
- rocks
- sand
- snow
- wood

Then just choose your new object from "Load external object" and place it in Overgrowth.
Changing ground material to lethal or checkpoint

Open your levels XML file in your preferred text editor. Inside the <DetailMap> tags and change the materialpath parameter to some special material. For example:
materialpath="Data/Materials/rock.xml" -> materialpath="Data/Materials/rock_kill.xml"
Then just reload your level.
Creating interactive materials

Copy some material to use as base (preferrably a _kill or _checkpoint material, since they already contain the physics tag.

Open the file in preferred text-editor. Change the friction to some value you want. It should be close to 1 if you want the default functionality, but if it's exactly 1 almost every material will trigger your script. Also remember that 1.001337 and 1.001336 are reserved for checkpoints and lethal materials.

Open aschar.as and locate the friction check part. It's in the end of Update() function, about on line 388. Then just write the check of friction in there.
For example this material will set the health of an aschar to 1, if it's an player and if it's still awake.
Then just create an object that uses the material (explained how to do above)
Random Info
- Checkpoints should be on center of a floor, since you can spawn off them if they are on edge of something
- The script interacts with the materials through friction
- Friction of lethal materials: 1.001337
- Friction of checkpoints: 1.001336
Link for the a136 aschar.as: http://dl.dropbox.com/u/1267706/llk/aschar.as
I hope someone will find this mod useful.