modified idtech4 engine. check readme for details