Spring naar inhoud
NLD Community

Join the NLD Discord channel! discord.png https://discord.gg/0WsKGiYeGHJEAI5q
Breaking News: NLD Community maakt een doorstart!

Aanbevolen Bericht

  • Administrators

Als je dit in je animatedObjects.xml zet moeten de deuren werken.

				<!-- GrainStore Door -->
				<animatedObject index="Door">
					<controls posKey="ANIMATED_OBJECT_OPEN_DOOR" triggerNode="0" posText="input_ANIMATED_OBJECT_OPEN_DOOR" 			negText="input_ANIMATED_OBJECT_CLOSE_DOOR" />
					<sound file="maps/sounds/OpenDoor.wav" pitchOffset="1.00" volume="0.40" indoorVolumeFactor="0.55" indoorLowpassGain="0.85" pitchMax="1.15" />
					<animation initialTime="0" duration="4">
						<part node="1"> <!--index of Door node-->
							<Keyframe time="0" translation="0.700902 0.840007 0.0117912" rotation="0 -0 0"/>
							<Keyframe time="1" translation="0.700902 0.840007 0.0117912" rotation="0 95 0"/>
						</part>
						<part node="1|0"> <!--index of Doorhandle node-->
							<Keyframe time="0" translation="-1.32892 -0.9839 -0.0117912" rotation="0 0 0"/>
							<Keyframe time="0.125" translation="-1.32892 -0.9839 -0.0117912" rotation="0 -0 -14"/>
							<Keyframe time="0.150" translation="-1.32892 -0.9839 -0.0117912" rotation="0 0 0"/>
							<Keyframe time="1" translation="-1.32892 -0.9839 -0.0117912" rotation="0 0 0"/>
						</part>
					</animation>
				</animatedObject>
				
				<!-- GrainStore Foldinggate1 -->
				<animatedObject index="Foldinggate1">
					<controls posKey="ANIMATED_OBJECT_OPEN_DOOR" negKey="ANIMATED_OBJECT_CLOSE_DOOR" triggerNode="0" posText="input_ANIMATED_OBJECT_OPEN_GATE" negText="input_ANIMATED_OBJECT_CLOSE_GATE" />
					<sound file="maps/sounds/Foldinggate.wav" pitchOffset="1.00" volume="0.40" indoorVolumeFactor="0.55" indoorLowpassGain="0.85" pitchMax="1.15" />
					<animation initialTime="0" duration="4">
						<part node="1"> <!--index of Door node-->
							<Keyframe time="0" translation="2.03886 1.96171 0.00635147" rotation="0 -0 0"/>
							<Keyframe time="1" translation="2.03886 1.96171 0.00635147" rotation="0 125 0"/>
						</part>
						<part node="2"> <!--index of Door node-->
							<Keyframe time="0" translation="-2.03886 1.96171 0.00635147" rotation="0 -0 0"/>
							<Keyframe time="1" translation="-2.03886 1.96171 0.00635147" rotation="0 -125 0"/>
						</part>
						<part node="2|0"> <!--index of Door node-->
							<Keyframe time="0" translation="1.04474 0 -0.0375824" rotation="0 -0 0"/>
							<Keyframe time="1" translation="1.04474 0 -0.0375824" rotation="0 178 0"/>
						</part>
						<part node="2|0|0"> <!--index of Door node-->
							<Keyframe time="0" translation="0.988373 0 0.0624619" rotation="0 -0 0"/>
							<Keyframe time="1" translation="0.988373 0 0.0624619" rotation="0 -178 0"/>
						</part>
					</animation>
				</animatedObject>
				
				<!-- GrainStore Foldinggate2 -->
				<animatedObject index="Foldinggate2">
					<controls posKey="ANIMATED_OBJECT_OPEN_DOOR" negKey="ANIMATED_OBJECT_CLOSE_DOOR" triggerNode="0" posText="input_ANIMATED_OBJECT_OPEN_GATE" negText="input_ANIMATED_OBJECT_CLOSE_GATE" />
					<sound file="maps/sounds/Foldinggate.wav" pitchOffset="1.00" volume="0.40" indoorVolumeFactor="0.55" indoorLowpassGain="0.85" pitchMax="1.15" />
					<animation initialTime="0" duration="4">
						<part node="1"> <!--index of Door node-->
							<Keyframe time="0" translation="2.03886 0.61171 0.00635175" rotation="0 -0 0"/>
							<Keyframe time="1" translation="2.03886 0.61171 0.00635175" rotation="0 125 0"/>
						</part>
						<part node="2"> <!--index of Door node-->
							<Keyframe time="0" translation="-2.03886 0.511709 0.00635175" rotation="0 -0 0"/>
							<Keyframe time="1" translation="-2.03886 0.511709 0.00635175" rotation="0 -125 0"/>
						</part>
						<part node="2|0"> <!--index of Door node-->
							<Keyframe time="0" translation="1.04474 -0.511709 -0.0375805" rotation="0 -0 0"/>
							<Keyframe time="1" translation="1.04474 -0.511709 -0.0375805" rotation="0 178 0"/>
						</part>
						<part node="2|0|0"> <!--index of Door node-->
							<Keyframe time="0" translation="0.988373 0 0.0624676" rotation="0 -0 0"/>
							<Keyframe time="1" translation="0.988373 0 0.0624676" rotation="0 -178 0"/>
						</part>
					</animation>
				</animatedObject>
				
				<!-- GrainStore Foldinggate3 -->
				<animatedObject index="Foldinggate3">
					<controls posKey="ANIMATED_OBJECT_OPEN_DOOR" negKey="ANIMATED_OBJECT_CLOSE_DOOR" triggerNode="0" posText="input_ANIMATED_OBJECT_OPEN_GATE" negText="input_ANIMATED_OBJECT_CLOSE_GATE" />
					<sound file="maps/sounds/Foldinggate.wav" pitchOffset="1.00" volume="0.40" indoorVolumeFactor="0.55" indoorLowpassGain="0.85" pitchMax="1.15" />
					<animation initialTime="0" duration="4">
						<part node="1"> <!--index of Door node-->
							 <Keyframe time="0" translation="2.03886 0.511709 -0.00635165" rotation="0 -0 0"/>
							 <Keyframe time="1" translation="2.03886 0.511709 -0.00635165" rotation="0 -125 0"/>
						</part>
						<part node="2"> <!--index of Door node-->
							<Keyframe time="0" translation="-2.03886 2.23517e-08 -0.00635165" rotation="0 -0 0"/>
							<Keyframe time="1" translation="-2.03886 2.23517e-08 -0.00635165" rotation="0 125 0"/>
						</part>
						<part node="2|0"> <!--index of Door node-->
							<Keyframe time="0" translation="1.04489 0 0.0375824" rotation="0 -0 0"/>
							<Keyframe time="1" translation="1.04489 0 0.0375824" rotation="0 -178 0"/>
						</part>
						<part node="2|0|0"> <!--index of Door node-->
							<Keyframe time="0" translation="0.988499 0 -0.0624695" rotation="0 -0 0"/>
							<Keyframe time="1" translation="0.988499 0 -0.0624695" rotation="0 178 0"/>
						</part>
					</animation>
				</animatedObject>
				
				<!-- GrainStore Foldinggate4 -->
				<animatedObject index="Foldinggate4">
					<controls posKey="ANIMATED_OBJECT_OPEN_DOOR" negKey="ANIMATED_OBJECT_CLOSE_DOOR" triggerNode="0" posText="input_ANIMATED_OBJECT_OPEN_GATE" negText="input_ANIMATED_OBJECT_CLOSE_GATE" />
					<sound file="maps/sounds/Foldinggate.wav" pitchOffset="1.00" volume="0.40" indoorVolumeFactor="0.55" indoorLowpassGain="0.85" pitchMax="1.15" />
					<animation initialTime="0" duration="4">
						<part node="1"> <!--index of Door node-->
							<Keyframe time="0" translation="2.03886 0.511709 -0.00634975" rotation="0 -0 0"/>
							<Keyframe time="1" translation="2.03886 0.511709 -0.00634975" rotation="0 -125 0"/>
						</part>
						<part node="2"> <!--index of Door node-->
							<Keyframe time="0" translation="-2.03886 0.56171 -0.00634975" rotation="0 -0 0"/>
							<Keyframe time="1" translation="-2.03886 0.56171 -0.00634975" rotation="0 125 0"/>
						</part>
						<part node="2|0"> <!--index of Door node-->
							 <Keyframe time="0" translation="1.04474 0 0.0375805" rotation="0 -0 0"/>
							 <Keyframe time="1" translation="1.04474 0 0.0375805" rotation="0 -178 0"/>
						</part>
						<part node="2|0|0"> <!--index of Door node-->
							<Keyframe time="0" translation="0.988373 0 -0.0624619" rotation="0 -0 0"/>
							<Keyframe time="1" translation="0.988373 0 -0.0624619" rotation="0 178 0"/>
						</part>
					</animation>
				</animatedObject>
				
				<!-- Ventilation-->
				<animatedObject index="Rotoren">
					<controls posKey="LIGHTSWITCH_CLICK" triggerNode="0" posText="input_ROTORON_CLICK" negText="input_ROTOROFF_CLICK" />
					<sound file="maps/sounds/switch01_0.wav" pitchOffset="1.00" volume="0.40" indoorVolumeFactor="0.55" indoorLowpassGain="0.85" pitchMax="1.15" />
					<animation initialTime="0" duration="0.25">
						<part node="1"> <!--Rotorstatic-->
							<keyFrame time="0.2" visibility="true" />
							<keyFrame time="0.21" visibility="false" />
						</part>
						<part node="2"> <!--Rotorshader-->
							<keyFrame time="0.2" visibility="false" />
							<keyFrame time="0.21" visibility="true" />
						</part>
						<part node="3"> <!--sound-->
							<keyFrame time="0.00" translation="0 -1000 0" />
							<keyFrame time="1" translation="0 0 0" />
						</part>
						<part node="4|1"> <!--switch-->
							<keyFrame time="0.00" translation="0.182 -0.009 0" />
							<keyFrame time="0.50" translation="0.180 -0.009 0" />
							<keyFrame time="1.00" translation="0.182 -0.009 0" />
						</part>
					</animation>
				</animatedObject>	
				
				<!-- IndoorLights -->
				<animatedObject index="lightSwitch90Neg1">
					<controls posKey="LIGHTSWITCH_CLICK" triggerNode="0" posText="input_LIGHTSWITCH_CLICK" negText="input_LIGHTSWITCH_CLICK" />
					<sound file="maps/sounds/switch01_0.wav" pitchOffset="1.00" volume="0.20" indoorVolumeFactor="0.55" indoorLowpassGain="0.85" pitchMax="1.15" />
					<animation initialTime="0" duration="0.5">
						<part node="1|0"> <!--index of Lever of the Lightswitch-->
							<keyFrame time="0.00" rotation="0 0 0" />
							<keyFrame time="1" rotation="-90 0 0" />
						</part>
						<part node="2|0"> <!--index of TG with realLights and emmisive shape-->
							<keyFrame time="0.5" visibility="false" />
							<keyFrame time="0.55" visibility="true" />
						</part>
						<part node="3|0"> <!--index of Lever of the Lightswitch-->
							<keyFrame time="0.00" rotation="0 0 0" />
							<keyFrame time="1" rotation="-90 0 0" />
						</part>
				</animation>
				</animatedObject>

 

Link naar opmerking
Deel via andere websites

Gearchiveerd

Dit topic is nu gearchiveerd en gesloten voor verdere reacties.

×
×
  • Maak Nieuw...

Belangrijke Informatie

By using this site, you agree to our Gebruiksvoorwaarden.