From Project X Wiki
Jump to: navigation, search
Up one category:

This structure describes the parameters of created mine. It's used for making a new mine.

struct CMineParams
	int Radius;
	int Prefuse;
	int Flags;
	int Fuse;
	int Bias;
	int BlastPower;
	int Damage;

Radius - radius of sensor in pixels
Prefuse - delay after worm placed it
Flags - flags, describes objects react on. (see Collision flags)
Fuse - fuse in msec
Bias - positive shift of Y coordinate of explosion
BlastPower - power of blast (100 - default)
Damage - damage