module Base
{
	repeat
	model VVA_Vehicles_[LABEL][Postfix]_Hood
	{
checkprop: LabelModels
		mesh = vehicles/[FILENAME]|Hood_[LABEL][Postfix]_obj,
else
		mesh = vehicles/[FILENAME]|Hood[Postfix]_obj,
end
		shader = vehicle_multiuv_noreflect,
		static = FALSE,
		scale = [SCALE],
  checkprop:	Bones 
  	repeatprop: Bones 
		boneWeight = [Bones] 1.0,
	end
  else
		boneWeight = HoodBone 1.0,
  end
  	}
	model VVA_Vehicles_[LABEL][Postfix]_Hood_nr
	{
checkprop: LabelModels
		mesh = vehicles/[FILENAME]|Hood_[LABEL][Postfix]_obj,
else
		mesh = vehicles/[FILENAME]|Hood[Postfix]_obj,
end
		shader = vehicle_norandom_multiuv_noreflect,
		static = FALSE,
		scale = [SCALE],
  checkprop:	Bones 
  	repeatprop: Bones 
		boneWeight = [Bones] 1.0,
	end
  else
		boneWeight = HoodBone 1.0,
  end
  	}
checkprop: integratedBullbar
	model VVA_Vehicles_[LABEL][Postfix]_Bullbar
	{
checkprop: LabelModels
		mesh = vehicles/[FILENAME]|Bullbar_[LABEL][Postfix]_obj,
else
		mesh = vehicles/[FILENAME]|Bullbar[Postfix]_obj,
end
		shader = vehicle_norandom_multiuv_noreflect,
		static = FALSE,
		scale = [SCALE],
	}
end
	template vehicle VVA_[LABEL][Postfix]_hood {
		part EngineDoor
		{
			model Default
			{
				file = VVA_Vehicles_[LABEL][Postfix]_Hood,
			}
		}
checkprop: integratedBullbar		
		part Bullbar
		{
			parent = EngineDoor,
			model Default
			{
				file = VVA_Vehicles_[LABEL][Postfix]_Bullbar,
			}
			category = nodisplay,
            specificItem = false,
            itemType = Base.LightBulb,
            setAllModelsVisible = true,	
			lua
	    	{
			    create = Vehicles.Create.Default,
	    	}
		}
end		
checkprop:	Nolights
		template! = VVA_Hood_nolights,
else
		template! = VVA_Hood_Common,
end
	}	
	template vehicle VVA_[LABEL][Postfix]_hood_nr {
		part EngineDoor
		{
			model Default
			{
				file = VVA_Vehicles_[LABEL][Postfix]_Hood_nr,
			}
		}
checkprop: integratedBullbar		
		part Bullbar
		{
			parent = EngineDoor,
			model Default
			{
				file = VVA_Vehicles_[LABEL][Postfix]_Bullbar,
			}
			category = nodisplay,
            specificItem = false,
            itemType = Base.LightBulb,
            setAllModelsVisible = true,	
			lua
	    	{
			    create = Vehicles.Create.Default,
	    	}
		}
end
checkprop:	Nolights
		template! = VVA_Hood_nolights,
else
		template! = VVA_Hood_Common,
end
checkprop: Includes
repeatprop: Includes
		template! = VVA_[Includes],
end 
end
	}
	endrepeat
}