module Base
{
	repeat
checkprop: !BaseWindow
checkprop: !WindowS, WindowF
    model VVA_Vehicles_[LABEL][Postfix]_RearWindow
	{
checkprop: LabelModels
		mesh = vehicles/[FILENAME]|RearWindow_[LABEL][Postfix]_obj,
else
		mesh = vehicles/[FILENAME]|RearWindow[Postfix]_obj,
end
		shader = vehicle_multiuv_vva,
		static = [STATIC],
		scale = [SCALE],
	}
end
end
checkprop: WindowS
    model VVA_Vehicles_[LABEL][Postfix]_RearWindow_static
	{
checkprop: LabelModels
		mesh = vehicles/[FILENAME]|RearWindow_[LABEL][Postfix]_sobj,
else
		mesh = vehicles/[FILENAME]|RearWindow[Postfix]_sobj,
end
		shader = vehicle_multiuv_vva,
		scale = [SCALE],
		static = TRUE,
	}
end
	template vehicle VVA_[LABEL][Postfix]_RearWindow {
checkprop: BaseWindow
		template! =  VVA_[LABEL]_RearWindow,
end
		part WindshieldRear
		{
checkprop: !BaseWindow
checkprop: !WindowS, WindowF
			model Default
			{
				file = VVA_Vehicles_[LABEL][Postfix]_RearWindow,
			}
end 
end
checkprop: WindowS
			model Static
			{
				file = VVA_Vehicles_[LABEL][Postfix]_RearWindow_static,
			}
end
		}
checkprop: Includes
repeatprop: Includes
		template! = VVA_[Includes],
end 
end
	}
	endrepeat
}