ChassisLocations

From Battletech Modding Wiki
Jump to: navigation, search

Enum, that define chasis location

       [Flags]
	public enum ChassisLocations
	{
		None = 0,
		Head = 1,
		LeftArm = 2,
		LeftTorso = 4,
		CenterTorso = 8,
		RightTorso = 16,
		RightArm = 32,
		LeftLeg = 64,
		RightLeg = 128,
		All = 255,
		Arms = 34,
		Torso = 28,
		MainBody = 62,
		Legs = 192
	}
 

Used in component def files to set allowed and forbidden locations. You can combine values with comma-separated list. For example to allow component only to left side of Mech "LeftArm,LeftLeg,LeftTorso"