DdQStats version 1.00
http://www.planetquake.com/qdq/

Modification by Yonatan Donner <ruthd@post.tau.ac.il>,
based on DosDoom (http://www.frag.com/dosdoom/)

What is DdQStats?
-----------------
DdQStats allows you to start any Doom or Doom2 level with different
statistics than the default pistol only and 50 bullets. It is named after
its Quake big brother, QdQStats, by Anthony Bailey <baileya@cs.man.ac.uk>,
also available from the QdQ page.

Usage
-----
DdQStats uses a different cfg file than default.cfg, so you won't have to
mess with your main config file. The config file is named ddq.cfg. (You can
also use others with the -config command line switch, for example ddqstats
-config ddq20.cfg will use ddq20.cfg.) Just copy default.cfg to ddq.cfg and
run ddqstats once. Then, when you quit, it will put the default values into
the cfg file.

You will find the following new lines in ddq.cfg (yes, you will have to edit
it manually to get some good from DdQStats):

ddq_health - this is your starting health
ddq_armortype - the armor type is 2 for blue armor, 1 for other armor, 0 for
		no armor
ddq_armorvalue - how much armor you start with
ddq_rng - random number generator status, this is what allows you to connect
	  lmps from different levels
ddq_weapon - your starting weapon
ddq_bull - starting bullets
ddq_shel - starting shells
ddq_rckt - starting rockets
ddq_cell - starting cells
ddq_haveCS - whether or not you have the chainsaw (0 = no, 1 = yes)
ddq_haveSG - whether or not you have the shotgun (0 = no, 1 = yes)
ddq_haveSSG - whether or not you have the super shotgun (0 = no, 1 = yes)
ddq_haveCG - whether or not you have the chaingun (0 = no, 1 = yes)
ddq_haveRL - whether or not you have the rocket launcher (0 = no, 1 = yes)
ddq_havePG - whether or not you have the plasmagun (0 = no, 1 = yes)
ddq_haveBFG - whether or not you have the BFG9000 (0 = no, 1 = yes)
ddq_backpack - whether or not you have the backpack (0 = no, 1 = yes)

Change them the way you want to have them. Now, to find out with what stats
a certain lmp ends, just timedemo it:

ddqstats -timedemo whatever

This will play whatever.lmp quickly and in the end, display some values that
you should be able to figure out on your own, but in case you can't:

H x: health is x
A x y: armor type is x, armor value is y
R x: random number generator status is x
C x: the player's weapon is x
Ammo b s r c: the player has b bullets, s shells, r rockets and c cells

You'll have to figure out on your own which weapons the player has and
whether or not he has the backpack.

I'm sorry this documentation is not very comprehensive, but I have no time
currently to write a full tutorial on the process of making a connected Doom
run. Just experiment with DdQStats and hopefully you'll succeed. If anyone
does write such a tutorial, it will probably appear on the QdQ page
(http://www.planetquake.com/qdq/).

- Yonatan Donner <ruthd@post.tau.ac.il>
