	class Default // default state
	{
		// Base
			access = ReadOnlyVerified;
			terminal = false; // all movement stops here
			// only some animations need to be resident 
			preload = false;
		
		// RTM FUNC
			file=""; // default - no file
			looped=true;
			onLandBeg=false;
			onLandEnd=false;
			onLadder=false;
			visibleSize = 1;
			AimPrecision = 1; // default is 1
			recoilSuffix = "";
			relSpeedMin=1.0;
			relSpeedMax=1.0;
			soundEnabled=true;
			soundOverride=""; // default - no override
			soundEdge1=0.5;
			soundEdge2=1; // in what relative positions sound should start
			speed=0.5;
			
		// RTM CLASS
			duty=-0.5;
			legs = legsDefault;
			head = headDefault;


		
		#define STANCESTAND \
			
		#define STANCECROUCH \
			
		#define STANCELYING \

			
			
			
		// STATEFUNC
			actions = "RifleSafeStandActions"; // was StandActions
			variantsPlayer[]={}; // variants for player
			variantsAI[]={""}; // variants for AI - default is to use players variants
			equivalentTo=""; // whioch move is this variant of
			connectAs=""; // connection same as some other state
			variantAfter[]={5,10,20}; // min, mid, max: time after which variant should be run
			connectFrom[]={}; // after which state may be this one played
			connectTo[]={}; // which state may be played after this one
			interpolateWith[]={}; // which states may we interpolate with
			interpolateTo[]={}; // which states may we interpolate with
			interpolateFrom[]={}; // which states may we interpolate with
			interpolationSpeed=6; // inverse of interpolation time
			interpolationRestart=false;
		
		// STATECLASS
			showItemInHand = false;
			showItemInRightHand = false;
			showHandGun = false;


	};
	
	DEFAULT
	enableMissile=1;
	showHandGun=1; \
	aiming=aimingPistol;
	disableWeapons=true; \
	disableWeaponsLong=true;
	
	aiming;disableweapons;optics -> RTM
	
	show/hide weapons/items --> StateClass
	
AT
#define StateConst \
	enableMissile=1;
ATPISTOL	
#define StateConst \
	showHandGun=1; \
	aiming=aimingPistol;
ATSAFE
#define StateConst \
	limitGunMovement=0; \
	aiming=aimingNo; \
	disableWeapons=true; \
	disableWeaponsLong=true;
Civil
#define StateConst \
	aiming=aimingNo; \
	disableWeapons=1;
Pistol
#define StateConst \
	showHandGun=1; \
	aiming=aimingPistol;
PistolSafe
#define StateConst \
	limitGunMovement=1; \
	aiming=aimingNo; \
	disableWeapons=true; \
	disableWeaponsLong=true;
Rifle
#define StateConst
RiflePistol
#define StateConst \
	showHandGun=1; \
	aiming=aimingPistol;
RifleSafe
#define StateConst \
	limitGunMovement=0; \
	aiming=aimingNo; \
	disableWeapons=true; \
	disableWeaponsLong=true;