<?xml version="1.0" encoding="utf-8"?>
<!--
	Beispiel: Modell-XML eines SimObjects "Wache" mit zwei Toren, Dolly und Alarmlicht.
	Example: model XML of a "station" SimObject with two doors, a dolly and an alarm light.

	Die Knoten- und Animationsnamen (Tor_links, Tor_rechts, Dolly, Blitzer_Glas, Rundumleuchte)
	stehen im glTF aus Blender; eigene Namen hier eintragen. Die GUID durch eine eigene ersetzen.
	Node and animation names come from the glTF exported from Blender; use your own names here.
	Replace the GUID with your own.
-->
<ModelInfo guid="{00000000-0000-0000-0000-000000000000}" version="1.1">
	<LODS>
		<LOD minSize="0" ModelFile="Wache.gltf"/>
	</LODS>
	<Behaviors>
		<Include ModelBehaviorFile="SimRESC\Wache.xml"/>

		<!-- Tor 1: 120 Bilder, in 12 s offen / door 1: 120 frames, open in 12 s -->
		<Component ID="Tor_links" Node="Tor_links">
			<UseTemplate Name="SIMRESC_WACHE_TOR">
				<ANIM_NAME>Tor_links</ANIM_NAME>
				<TOR>1</TOR>
				<ANIM_LENGTH>120</ANIM_LENGTH>
				<ANIM_LAG>10</ANIM_LAG>
			</UseTemplate>
		</Component>

		<!-- Tor 2 -->
		<Component ID="Tor_rechts" Node="Tor_rechts">
			<UseTemplate Name="SIMRESC_WACHE_TOR">
				<ANIM_NAME>Tor_rechts</ANIM_NAME>
				<TOR>2</TOR>
				<ANIM_LENGTH>120</ANIM_LENGTH>
				<ANIM_LAG>10</ANIM_LAG>
			</UseTemplate>
		</Component>

		<!-- Dolly: 200 Bilder, in 40 s draussen / dolly: 200 frames, out in 40 s -->
		<Component ID="Dolly" Node="Dolly">
			<UseTemplate Name="SIMRESC_WACHE_DOLLY">
				<ANIM_NAME>Dolly</ANIM_NAME>
				<ANIM_LENGTH>200</ANIM_LENGTH>
				<ANIM_LAG>5</ANIM_LAG>
			</UseTemplate>
		</Component>

		<!-- Alarmlicht: blinkendes Glas und drehende Rundumleuchte / flashing lens and rotating beacon -->
		<Component ID="Blitzer_Glas" Node="Blitzer_Glas">
			<UseTemplate Name="SIMRESC_WACHE_ALARM_BLINKEN">
				<PERIODE>0.8</PERIODE>
			</UseTemplate>
		</Component>
		<Component ID="Rundumleuchte" Node="Rundumleuchte">
			<UseTemplate Name="SIMRESC_WACHE_ALARM_DREHEN">
				<ANIM_NAME>Rundumleuchte</ANIM_NAME>
				<ANIM_LENGTH>100</ANIM_LENGTH>
				<UMDREHUNGEN>1.5</UMDREHUNGEN>
			</UseTemplate>
		</Component>
	</Behaviors>
</ModelInfo>
